Displays main or temp buffer cache activity in detail. Critical fields are Finds, HR%, and BWaits.
monitor_options -cache
Output field |
Description |
---|---|
Finds |
Find requests to the buffer cache. If the Finds value suddenly drops to zero and remains zero, the server is deadlocked. When the server has any activity, the Finds value is expected to be non-zero. |
Creats |
Requests to create a page within the database |
Dests |
Requests to destroy a page within the database |
Dirty |
Number of times the buffer was dirtied (modified) |
HR% |
Hit rate, the percentage of above satisfied by the buffer cache without requesting any I/O. The higher the Hit Rate the better, usually 90% - 100% if you set the cache large enough. For a large query, Hit Rate may be low at first, but increase as prefetching starts to work. |
BWaits |
Find requests forced to wait for a busy page (page frame contention). Usually it is low, but is some special cases it may be high. For example, if identical queries are started at the same time, both need the same page, so the second request must wait for the first to get that page from disk. |
ReReads |
Approximate number of times the same portion of the store needed to be reread into the cache within the same transaction. Should always be low, but a high number is not important for Sybase IQ 12.4.2 and above. |
FMiss |
False misses, number of times the buffer cache needed multiple lookups to find a page in memory. This number should be 0 or very small. If the value is high, it is likely that a rollback occurred, and certain operations needed to be repeated |
Cloned |
Number of buffers that Sybase IQ needed to make a new version for a writer, while it had to retain the previous version for concurrent readers. A page only clones if other users are looking at that page. |
Reads/Writes |
Physical reads and writes performed by the buffer cache |
PF/PFRead |
Prefetch requests and reads done for prefetch. |
GDirty |
Number of times the LRU buffer was grabbed dirty and Sybase IQ had to write it out before using it. This value should not be greater than 0 for a long period. If it is, you may need to increase the number of sweeper threads or move the wash marker. |
Pin% |
Percentage of pages in the buffer cache in use and locked. |
Dirty% |
Percentage of buffer blocks that were modified. Try not to let this value exceed 85-90%; otherwise, GDirty will become greater than 0. |