Skip to main content

◆ checkTable() [1/4]

CheckTableResponse gpudb::GPUdb::checkTable (const CheckTableRequest &request_) const

Scans the requested tables as specified in tableNames for integrity.

Any table chunks which fail the check will be marked as corrupt. By default the database will automatically repair corrupt tables (via truncating). Note that since this reads every table column from disk it may be a potentially long-running operation. The option local_only can be used to skip any table files already written to a remote storage. Returns table corruption results.

Parameters
[in]request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

◆ checkTable() [2/4]

CheckTableResponse & gpudb::GPUdb::checkTable (const CheckTableRequest &request_,
CheckTableResponse &response_ ) const

Scans the requested tables as specified in tableNames for integrity.

Any table chunks which fail the check will be marked as corrupt. By default the database will automatically repair corrupt tables (via truncating). Note that since this reads every table column from disk it may be a potentially long-running operation. The option local_only can be used to skip any table files already written to a remote storage. Returns table corruption results.

Parameters
[in]request_Request object containing the parameters for the operation.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).

◆ checkTable() [3/4]

CheckTableResponse gpudb::GPUdb::checkTable (const std::vector< std::string > &tableNames,
const std::map< std::string, std::string > &options ) const

Scans the requested tables as specified in tableNames for integrity.

Any table chunks which fail the check will be marked as corrupt. By default the database will automatically repair corrupt tables (via truncating). Note that since this reads every table column from disk it may be a potentially long-running operation. The option local_only can be used to skip any table files already written to a remote storage. Returns table corruption results.

Parameters
[in]tableNamesList of tables to query. An asterisk returns all tables.
[in]optionsOptional parameters.The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ checkTable() [4/4]

CheckTableResponse & gpudb::GPUdb::checkTable (const std::vector< std::string > &tableNames,
const std::map< std::string, std::string > &options,
CheckTableResponse &response_ ) const

Scans the requested tables as specified in tableNames for integrity.

Any table chunks which fail the check will be marked as corrupt. By default the database will automatically repair corrupt tables (via truncating). Note that since this reads every table column from disk it may be a potentially long-running operation. The option local_only can be used to skip any table files already written to a remote storage. Returns table corruption results.

Parameters
[in]tableNamesList of tables to query. An asterisk returns all tables.
[in]optionsOptional parameters.The default value is an empty map.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).