Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   Effect of Configuration on Memory Utilization >

Memory Latches

The database server uses latches to control access to shared memory structures such as the buffer pool or the memory pools for the SQL statement cache.

You can obtain statistics on latch use and information on specific latches. These statistics provide a measure of the system activity. The statistics include the number of times that threads had to wait to obtain a latch. A large number of latch waits typically results from a high volume of processing activity in which the database server is logging most of the transactions.

Information on specific latches includes a listing of all the latches that are held by a thread and any threads that are waiting for latches. This information allows you to locate any specific resource contentions that exist.

You, as the database administrator, cannot configure or tune the number of latches. However, you can increase the number of memory structures on which the database server places latches to reduce the number of latch waits. For example, you can tune the number of SQL statement cache memory pools or the number of SQL statement cache LRU queues. For more information, see Multiple SQL Statement Cache Pools.

Warning:
Never kill a database server process that is holding a latch. If you do, the database server immediately initiates an abort.
Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]