You can create custom tablespaces by modifying the storage-config.xml file, that is located in the config directory of the Management Server installation.
Group A (configuration) tables can only be created using the SQL scripts available in the <foglight_home>/scripts/sql directory. This can be done using the database tool, foglight-database-tool.jar. For complete information, about this tool, see the Foglight Installation and Setup Guide set.
Group B (observation) tables can also be added. Adding them before the server starts for the first time causes them to be created in the custom tablespace. If the default tablespace already contains group B tables at the time storage-config.xml is updated, they remain in that tablespace until the server rolls up or purges the data in those tables.
1 |
Open the storage-config.xml file for editing. |
4 |
If the database user has not been granted a quota on the newly created tablespaces, after creating tablespaces in the storage-config.xml file, the database administrator must edit the scripts/sql/oracle_create_db.sql script and add grants for the custom tablespaces, like the one that grants a quota on the USERS tablespace. |
a |
Run the database tool, foglight-database-tool.jar, to create the group A tables in the specified tablespaces. |
b |
Instruct the server to update the configuration and create the group B tables using the JMX console. In the JMX console, invoke the mergeConfiguration() method on the Storage Manager Service MBean in the JMX console. This only affects the Group B tables that the server creates from that time on. |
1 |
Ensure that your user account has appropriate permissions to access the <FOGLIGHT HOME>\server\default\conf directory: |
• |
Windows®: Log in as an Administrator. |
• |
• |
• |
• |
b |
a |
Add min-pool-size and max-pool-size elements between password and before prepared-statement-cache-size, as follows: |
1 |
Ensure that your user account has appropriate permissions to access the <FOGLIGHT HOME>\server\default\conf directory: |
• |
Windows®: Log in as an Administrator. |
• |
• |
• |
• |
b |
a |
Add min-pool-size and max-pool-size elements between password and before prepared-statement-cache-size, as follows: |
© ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center