Estimates the size in memory of one or more global indexes from the actual number of keys, the configured number of keys and the average key size. The estimate could be slightly higher or lower than the actual size. An estimate can be provided for more than one index in one invocation by providing multiple sets of options.
global-index-size --numKeys 10000000 --averageKeySize 10
global-index-size --numKeys 10000000 --averageKeySize 10 --numKeys 20000000 \ --averageKeySize 20
global-index-size --numKeys 10000000 --configuredNumKeys 100000000 \ --averageKeySize 10 --numKeys 20000000 --configuredNumKeys 100000000 \ --averageKeySize 20
-V
--version
Description | Display Directory Proxy Server version information |
-H
--help
Description | Display general usage information |
--help-debug
Description | Display help for using debug options |
Advanced | Yes |
-n {actualNumKeys}
--numKeys {actualNumKeys}
Description | The actual number of keys stored in the index |
Lower Bound | 1 |
Required | Yes |
Multi-Valued | Yes |
-a {numBytes}
--averageKeySize {numBytes}
Description | The average size of a key in bytes. For attribute indexes the key is simply the attribute value. For the built-in RDN index, the key is the RDN directly below the balancing base DN (so uid=user.0,dc=example,dc=com for example is a 10 byte key when the balancing base DN is dc=example,dc=com). Non-ASCII characters are the size of their UTF-8 encoding |
Lower Bound | 1 |
Required | Yes |
Multi-Valued | Yes |
-c {configuredNumKeys}
--configuredNumKeys {configuredNumKeys}
Description | The configured number of keys (the value provided to the index-size configuration property) |
Lower Bound | 1 |
Required | No |
Multi-Valued | Yes |
--script-friendly
Description | Use script-friendly mode |