Globals documentation
I have a client with cache instance that is growing by 10-30G/day. In order to determine what is consuming space I ran "DO ^%GSIZE" to generate a report. From the report the bulk of the space consumption is from a couple of globals which appear to be built in globals not user defined. I would like to find documentation that details the function of these globals to help me understand how and why space is being consumed at such a rapid pace. The two globals of immediate concern are STRELPERF and STSRCHAUDIT but If there is reference where globals are defined that would be a useful tool going forward.
Product version: Caché 2017.1
Hi Kevin,
Try 'Do ^%RFIND' to find out in what code these globals are referenced.
Kevin,
Those appear to be application specific globals. I would suggest reaching out to the support team for the application to request additional information on what those globals are used for.
I trying using the 'Do ^%RFIND' to determine the routines referencing the global. I specified 'STRELPERF' to search for and I stipulated to ignore case. Nothing was found. That doesn't make since since the global is 700+G in size. So I must be doing something incorrect. If they are application specific globals as noted I will again ask the client for details.
There are also other ways code can use globals :
- routines that are stored in other namespaces
- code in globals (yes, i admit very unlikely but possible)
- indirection (also unlikely but possible)
If journaling is enabled, you could also look in the journal file via management portal, and search for the global to see when it is used.