[SQL Server] several status IDs of spids

Source: Internet
Author: User
Several status IDs of spids

The background spid is executing a background task.
Sleeping spid is not currently executed. It usually indicates that the spid is waiting for applicationProgramIssue a command.
Runnable spid is currently being executed.
Dormant is similar to sleeping, but dormant also indicates that the spid has been reset after an RPC event is completed. The reset operation clears the resources used during RPC event execution. This is a normal state. spid is not only available, but is waiting to execute subsequent commands.
Rollback: The spid is in the transaction rollback status.
Defwakeup indicates that the spid is waiting for resources in the release process. The waitresource field indicates the resource being discussed.
The spinloop process is waiting for the time it tries to obtain the spin lock used for concurrency control on the SMP system.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.