Salesforce

How much memory is needed for -tablerangesize and -indexrangesize

« Go Back

Information

 
TitleHow much memory is needed for -tablerangesize and -indexrangesize
URL NameP131946
Article Number000128707
EnvironmentProduct: Progress
Version: 9.x
Product: OpenEdge
Version: 10.x, 11.x
OS: All supported platforms
Question/Problem Description
How much more memory needed when the -tablerangesize -indexrangesize database startup parameters are increased?
How much memory do -tablerangesize and -indexrangesize need?
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
The range of tables and indices monitored is defined by the database server startup parameters:
  • Tables:     -basetable n                    -tablerangesize n
  • Indices:    -baseindex n                    -indexrangesize n
The basetable and baseindex can be changed at run-time by updating the _StatBase VST.
The ranges cannot be changed at run-time because the backing shared memory needs to be pre-allocated at startup.

The shared memory cost is based on the size of the table and index ranges specified at startup:
   
+ 32 bytes per table per user (-n)
+ 40 bytes per index per user (-n).

Example: 100 (-n value) users monitoring 100 tables (tablerangesize) and 100 indexes (indexrangesize):

100 (users) * 100 (tables) * 32 (bytes per table) + 100 (users) * 100 (indexes)  * 40 (bytes per index) = 720,000 bytes (about 0.5 MB of shared memory)
Workaround
Notes
Keyword Phrase
Last Modified Date11/20/2020 7:38 AM

Powered by