content_image/995195.jpg content_image/995204.jpg
<img src='content_image/995195.jpg'>

## 5.6.3 Message queue insert and delete 

This test scenario simulates a message queue management application. The Db2 table is treated as a queue. A task inserts some rows sequentially into this queue table, while it also starts to process and delete rows at the front of the queue table. This scenario features the following configuration: 

GLYPH<SM590000> A PBG table space 

GLYPH<SM590000> Row level locking 

GLYPH<SM590000> Multi-row insert with 10 rows per commit 

GLYPH<SM590000> A one-way and two-way Db2 data sharing group 

The CPU time results that are shown in Figure 5-19 show a Db2 class 2 CPU time improvement of 6% for the one-way and two-way benchmarks in Db2 12 compared to Db2 11. Log write latch contention (LC19) removal and buffer manager timer latch (LC23) removal are the biggest contributors to the class 2 CPU time reduction. 

<img src='content_image/995204.jpg'>

