sys.configurations
or sp_configure
sys.databases
sys.dm_wait_stats
RUNNING
. Once the request is made, the scheduler checks what type of lock is required. For example, if the request is to UPDATE
a table, then it needs an exclusive lock. The scheduler checks whether an exclusive lock can be acquired or not. If not, the thread will have to wait. It will be in SUSPENDED
queue. Meanwhile, the other customers behind the RUNNABLE
queue will move up and become a RUNNING
thread.
RUNNABLE
status.