Package com.gpudb.protocol
Class AdminVerifyDbRequest.Options
java.lang.Object
com.gpudb.protocol.AdminVerifyDbRequest.Options
Enclosing class:
A set of string constants for the
AdminVerifyDbRequest parameter options.
Optional parameters.
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringWhenTRUE, allows this endpoint to be run safely with other concurrent database operations.static final StringIfTRUE, orphaned table directories found on workers for which there is no corresponding metadata will be deleted.static final Stringstatic final String[DEPRECATED] Use the Rebuild DB feature of GAdmin instead.static final StringWhenTRUE, replicated tables whose record counts differ across the worker ranks and toms are repaired: the copy with the most records is kept, and every other copy is replaced with it.static final StringComma-separated list of table names to exclude when verifying table consistency on wokers.static final StringComma-separated list of table names to include when verifying table consistency on wokers.static final Stringstatic final StringWhenTRUE, verifies that null values are set to zero.static final StringIfTRUE, only the presence of orphaned table directories will be checked, all persistence and table consistency checks will be skipped.static final StringWhenTRUE, persistent objects will be compared against their state in memory and workers will be checked for orphaned table data in persist.static final StringIfTRUE, compare rank0 table metadata against workers’ metadata.
Field Details
VERIFY_PERSIST
WhenTRUE, persistent objects will be compared against their state in memory and workers will be checked for orphaned table data in persist. To check for orphaned worker data, either setCONCURRENT_SAFEinoptionstoTRUEor place the database offline. Supported values:The default value isFALSE.See Also:DELETE_ORPHANED_TABLES
IfTRUE, orphaned table directories found on workers for which there is no corresponding metadata will be deleted. It is recommended to run this while the database is offline OR setCONCURRENT_SAFEinoptionstoTRUE. Supported values:The default value isFALSE.See Also:REPAIR_REPLICATED_TABLES
WhenTRUE, replicated tables whose record counts differ across the worker ranks and toms are repaired: the copy with the most records is kept, and every other copy is replaced with it. That copy may include records from a load that did not complete, or records that a delete did not remove. A table whose copies all have the same number of records is not detected, even if their contents differ. TheverifiedOkflag anderrorListstill report the inconsistencies found before the repair; run the verification again to confirm the repair. Only the tables selected byTABLE_INCLUDESorTABLE_EXCLUDESare repaired. RequiresCONCURRENT_SAFEto beTRUE, and cannot be used withVERIFY_ORPHANED_TABLES_ONLY. The repaired tables are listed in theREPAIRED_REPLICATED_TABLESentry of the responseinfomap. Supported values:The default value isFALSE.See Also:TABLE_INCLUDES
Comma-separated list of table names to include when verifying table consistency on wokers. Cannot be used simultaneously withTABLE_EXCLUDES.See Also:TABLE_EXCLUDES
Comma-separated list of table names to exclude when verifying table consistency on wokers. Cannot be used simultaneously withTABLE_INCLUDES.See Also: