Common Causes of Latch Contention
- High concurrency: Many sessions accessing the same data or resources simultaneously.
- Inefficient SQL: SQL statements that cause high parsing or execution overhead.
- Lack of indexing or poor indexing: Insufficient or poorly designed indexing can lead to high buffer cache activity and latch contention.
- Mismatch between index design and query goals.