## 2.10.2 Latch class 23 reduction 

Although this enhancement is not related to the Db2 logging environment, it is described here because it also reduces Db2 latch contention. 

Latch Class 23 (LC23) is used by the Db2 Buffer Manager component to serialize a number of different types of events. One is related to serializing access to information that is related to (buffer manager) page latch contention. As a result, when high page latch contention is observed in a certain workload, more high LC23 contention occurs, which aggravates the situation. 

During the Db2 12 development process, this code path was reexamined and the cases where storing the extra page latch information was not necessary were eliminated. Therefore, in addition to the efforts to reduce page latch contention (for example, by using the Db2 12 Insert Algorithm 2) even during scenarios that still show high page latch contention, the LC23 contention that often resulted from that effort was greatly reduced or eliminated. 

