IBM Support

How to monitor the data dictionary cache and adjust the Dictionary Cache

Question & Answer


Question

How to monitor the data dictionary cache and adjust the Dictionary Cache. The dictionary cache retrieves and caches information about the tables accessed by Informix. This includes information such as column names, data types, indexes, and extents. Although Informix also places the actual pages for the system catalog tables, also known as partition pages, in the buffer pool, the dictionary cache is always used and generally presents a huge performance advantage for repeated access to the table information

Answer

To improve performance the IDS database server stores table information read from system catalog tables in an area of memory called the data dictionary cache. The data dictionary cache uses a hash table to make locating this information fast.
A hash value is computed based on a table's name and is affected by how many slots the data dictionary cache has in it. Ideally we would like for each table to have a unique hash value but in real life this is nearly impossible.
When more than one table has the same hash value associated with it, values are stored in a linked list for that particular slot in the data dictionary cache.
This attached word document will explain how to monitor the data dictionary cache with onstat and how to spot potential performance problems and areas that may need improvement.

[{"Product":{"code":"SSGU8G","label":"Informix Servers"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"11.5;11.7;12.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
16 June 2018

UID

swg21686291