GPUdb C++ API
Version 7.2.2.4
|
A set of parameters for GPUdb::adminRebalance. More...
#include <gpudb/protocol/admin_rebalance.h>
Public Member Functions | |
AdminRebalanceRequest () | |
Constructs an AdminRebalanceRequest object with default parameters. More... | |
AdminRebalanceRequest (const std::map< std::string, std::string > &options_) | |
Constructs an AdminRebalanceRequest object with the specified parameters. More... | |
Public Attributes | |
std::map< std::string, std::string > | options |
Optional parameters. More... | |
A set of parameters for GPUdb::adminRebalance.
Rebalance the data in the cluster so that all nodes contain an equal number of records approximately and/or rebalance the shards to be equally distributed (as much as possible) across all the ranks.
The database must be offline for this operation, see GPUdb::adminOffline
NOTE: Replicated data will not move as a result of this call
This endpoint's processing time depends on the amount of data in the system, thus the API call may time out if run directly. It is recommended to run this endpoint asynchronously via GPUdb::createJob.
Definition at line 45 of file admin_rebalance.h.
|
inline |
Constructs an AdminRebalanceRequest object with default parameters.
Definition at line 50 of file admin_rebalance.h.
|
inline |
Constructs an AdminRebalanceRequest object with the specified parameters.
[in] | options_ | Optional parameters.
|
Definition at line 233 of file admin_rebalance.h.
std::map<std::string, std::string> gpudb::AdminRebalanceRequest::options |
Optional parameters.
The default value is an empty map.
Definition at line 362 of file admin_rebalance.h.