标签:
A latch is a short-term lightweight synchronization object. The following list describes the different types of latches:
Latch_X用于内部资源的同步
PageIOLatch_X用于将disk中的数据页同步到内存
PageLatch_X 用于内存中数据页的访问同步。
The following table lists the different latch waittypes that you may notice in the master.dbo.sysprocesses system table in SQL Server 2000 and SQL Server 2005.
Lastwaittype | Waittype | Description |
---|---|---|
LATCH_NL | 0x400 | Null latch |
LATCH_KP | 0x401 | Keep latch |
LATCH_SH | 0x402 | Shared latch |
LATCH_UP | 0x403 | Update latch |
LATCH_EX | 0x404 | Exclusive latch |
LATCH_DT | 0x405 | Destroy latch |
PAGELATCH_NL | 0x410 | Null buffer page latch |
PAGELATCH_KP | 0x411 | Keep buffer page latch |
PAGELATCH_SH | 0x412 | Shared buffer page latch |
PAGELATCH_UP | 0x413 | Update buffer page latch |
PAGELATCH_EX | 0x414 | Exclusive buffer page latch |
PAGELATCH_DT | 0x415 | Destroy buffer page latch |
PAGEIOLATCH_NL | 0x420 | Null buffer page I/O latch |
PAGEIOLATCH_KP | 0x421 | Keep buffer page I/O latch |
PAGEIOLATCH_SH | 0x422 | Shared buffer page I/O latch |
PAGEIOLATCH_UP | 0x423 | Update buffer page I/O latch |
PAGEIOLATCH_EX | 0x424 | Exclusive buffer page I/O latch |
PAGEIOLATCH_DT | 0x425 | Destroy buffer page I/O latch |
标签:
原文地址:http://www.cnblogs.com/ljhdo/p/4916862.html