Previous Topic

Next Topic

SNAPSHOT Statistics for c-treeACE SQL Statement Cache Counters

The SNAPSHOT API can now report on c-treeACE SQL statement cache counters. The following information was added to each gcache_t object.

struct gcache_snapshot
{
   dh_longlong_t	requests;
   dh_longlong_t	hits;
   dh_i32_t		max_entries;
   dh_i32_t		entries;  
   dh_i32_t		high_entries; /* highest number on entries */
};

This information is available through the ctSNAPSHOT() call for the static and dynamic statement cache objects. At this time this feature is available only on the Windows platform.