A set of string constants for the parameter AdminRebalanceRequest.options. More…
Static Public Attributes | |
| const string | REBALANCE_SHARDED_DATA = “rebalance_sharded_data” |
| If TRUE, sharded data will be rebalanced approximately equally across the cluster. | |
| const string | TRUE = “true” |
| A boolean constant for the AdminRebalanceRequest.Options options. | |
| const string | FALSE = “false” |
| A boolean constant for the AdminRebalanceRequest.Options options. | |
| const string | REBALANCE_UNSHARDED_DATA = “rebalance_unsharded_data” |
| If TRUE, unsharded data (a.k.a. | |
| const string | TABLE_INCLUDES = “table_includes” |
| Comma-separated list of unsharded table names to rebalance. | |
| const string | TABLE_EXCLUDES = “table_excludes” |
| Comma-separated list of unsharded table names to not rebalance. | |
| const string | AGGRESSIVENESS = “aggressiveness” |
| Influences how much data is moved at a time during rebalance. | |
| const string | COMPACT_AFTER_REBALANCE = “compact_after_rebalance” |
| Perform compaction of deleted records once the rebalance completes to reclaim memory and disk space. | |
| const string | COMPACT_ONLY = “compact_only” |
| If set to TRUE, ignore rebalance options and attempt to perform compaction of deleted records to reclaim memory and disk space without rebalancing first. | |
| const string | REPAIR_INCORRECTLY_SHARDED_DATA = “repair_incorrectly_sharded_data” |
| Scans for any data sharded incorrectly and re-routes the data to the correct location. | |
Detailed Description
A set of string constants for the parameter AdminRebalanceRequest.options.
Optional parameters.
Definition at line 44 of file AdminRebalance.cs.
Member Data Documentation
◆ AGGRESSIVENESS
| static |
Influences how much data is moved at a time during rebalance.
A higher AGGRESSIVENESS will complete the rebalance faster. A lower AGGRESSIVENESS will take longer but allow for better interleaving between the rebalance and other queries. Valid values are constants from 1 (lowest) to 10 (highest). The default value is ‘10’.
Definition at line 136 of file AdminRebalance.cs.
◆ COMPACT_AFTER_REBALANCE
| static |
Perform compaction of deleted records once the rebalance completes to reclaim memory and disk space.
Default is TRUE, unless REPAIR_INCORRECTLY_SHARDED_DATA is set to TRUE. Supported values:
The default value is TRUE.
Definition at line 160 of file AdminRebalance.cs.
◆ COMPACT_ONLY
| static |
◆ FALSE
| static |
A boolean constant for the AdminRebalanceRequest.Options options.
Definition at line 77 of file AdminRebalance.cs.
◆ REBALANCE_SHARDED_DATA
| static |
If TRUE, sharded data will be rebalanced approximately equally across the cluster.
Note that for clusters with large amounts of sharded data, this data transfer could be time consuming and result in delayed query responses. Supported values:
The default value is TRUE.
Definition at line 69 of file AdminRebalance.cs.
◆ REBALANCE_UNSHARDED_DATA
| static |
If TRUE, unsharded data (a.k.a.
randomly-sharded) will be rebalanced approximately equally across the cluster. Note that for clusters with large amounts of unsharded data, this data transfer could be time consuming and result in delayed query responses. Supported values:
The default value is TRUE.
Definition at line 102 of file AdminRebalance.cs.
◆ REPAIR_INCORRECTLY_SHARDED_DATA
| static |
Scans for any data sharded incorrectly and re-routes the data to the correct location.
Only necessary if Kinetica.adminVerifyDb reports an error in sharding alignment. This can be done as part of a typical rebalance after expanding the cluster or in a standalone fashion when it is believed that data is sharded incorrectly somewhere in the cluster. Compaction will not be performed by default when this is enabled. If this option is set to TRUE, the time necessary to rebalance and the memory used by the rebalance may increase. Supported values:
The default value is FALSE.
Definition at line 211 of file AdminRebalance.cs.
◆ TABLE_EXCLUDES
| static |
Comma-separated list of unsharded table names to not rebalance.
Not applicable to sharded tables because they are always rebalanced. Cannot be used simultaneously with TABLE_INCLUDES. This parameter is ignored if REBALANCE_UNSHARDED_DATA is FALSE.
Definition at line 124 of file AdminRebalance.cs.
◆ TABLE_INCLUDES
| static |
Comma-separated list of unsharded table names to rebalance.
Not applicable to sharded tables because they are always rebalanced. Cannot be used simultaneously with TABLE_EXCLUDES. This parameter is ignored if REBALANCE_UNSHARDED_DATA is FALSE.
Definition at line 113 of file AdminRebalance.cs.
◆ TRUE
| static |
A boolean constant for the AdminRebalanceRequest.Options options.
Definition at line 73 of file AdminRebalance.cs.
The documentation for this struct was generated from the following files:
- _build/public-os_ubuntu24.04-arch_amd64-cc_gcc_13.3.0/install/Kinetica/Protocol/AdminRebalance.cs
- Kinetica/Protocol/AdminRebalance.cs