Configuring the Database Memory Size When Running the Two-Shared-Data-Node Geometry (SRC CLI)
When you run the two-shared-data-node geometry, you need to configure the size of the database memory. In this geometry, the memory is shared by all components, unlike the two-data-node and four-data-node geometries, which allocate all available memory to the data node process. The SRC CLI command show database memory-requirement can help you estimate the memory size based on the current schema and the maximum number of rows you specify in each table.
Use the following configuration statement to configure the management server on a client node:
shared database cluster (primary) nodes database-size {
data-memory data-memory;
index-memory index-memory;
}
To configure the size of the database memory:
- (Optional) From configuration mode, access the statement
to configure the size of the database memory. user@host# edit shared database cluster primary nodes database-size
- (Optional) Specify data-memory size for each data node. [edit shared database cluster primary nodes database-size]user@host# set data-memory data-memory
- (Optional) Specify index-memory size for each data node. [edit shared database cluster primary nodes database-size]user@host# set index-memory index-memory