Package com.gpudb.protocol
Class AlterWalRequest.Options
- java.lang.Object
-
- com.gpudb.protocol.AlterWalRequest.Options
-
- Enclosing class:
- AlterWalRequest
public static final class AlterWalRequest.Options extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringBACKGROUNDWAL entries are periodically written instead of immediately after each operationstatic StringCHECKSUMIfTRUEeach entry will be checked against a protective checksum.static StringFALSEstatic StringFLUSHProtects entries in the event of a database crashstatic StringFLUSH_FREQUENCYSpecifies how frequently WAL entries are written with background sync.static StringFSYNCProtects entries in the event of an OS crashstatic StringMAX_SEGMENT_SIZEMaximum size of an individual segment filestatic StringNONEDisables the WALstatic StringOVERRIDE_NON_DEFAULTIfTRUEtables with unique WAL settings will be overridden when applying a system level change.static StringPERSISTIfTRUEand a system-level change was requested, the system configuration will be written to disk upon successful application of this request.static StringRESTORE_SYSTEM_SETTINGSIfTRUEtables with unique WAL settings will be reverted to the current global settings.static StringSEGMENT_COUNTApproximate number of segment files to split the WAL across.static StringSYNC_POLICYMaximum size of an individual segment file.static StringTRUE
-
-
-
Field Detail
-
MAX_SEGMENT_SIZE
public static final String MAX_SEGMENT_SIZE
Maximum size of an individual segment file- See Also:
- Constant Field Values
-
SEGMENT_COUNT
public static final String SEGMENT_COUNT
Approximate number of segment files to split the WAL across. Must be at least two.- See Also:
- Constant Field Values
-
SYNC_POLICY
public static final String SYNC_POLICY
Maximum size of an individual segment file. Supported values:NONE: Disables the WALBACKGROUND: WAL entries are periodically written instead of immediately after each operationFLUSH: Protects entries in the event of a database crashFSYNC: Protects entries in the event of an OS crash
- See Also:
- Constant Field Values
-
NONE
public static final String NONE
Disables the WAL- See Also:
- Constant Field Values
-
BACKGROUND
public static final String BACKGROUND
WAL entries are periodically written instead of immediately after each operation- See Also:
- Constant Field Values
-
FLUSH
public static final String FLUSH
Protects entries in the event of a database crash- See Also:
- Constant Field Values
-
FSYNC
public static final String FSYNC
Protects entries in the event of an OS crash- See Also:
- Constant Field Values
-
FLUSH_FREQUENCY
public static final String FLUSH_FREQUENCY
Specifies how frequently WAL entries are written with background sync. This is a global setting and can only be used with the system {options.table_names} specifier '*'.- See Also:
- Constant Field Values
-
CHECKSUM
public static final String CHECKSUM
IfTRUEeach entry will be checked against a protective checksum. Supported values: The default value isTRUE.- See Also:
- Constant Field Values
-
TRUE
public static final String TRUE
- See Also:
- Constant Field Values
-
FALSE
public static final String FALSE
- See Also:
- Constant Field Values
-
OVERRIDE_NON_DEFAULT
public static final String OVERRIDE_NON_DEFAULT
IfTRUEtables with unique WAL settings will be overridden when applying a system level change. Supported values: The default value isFALSE.- See Also:
- Constant Field Values
-
RESTORE_SYSTEM_SETTINGS
public static final String RESTORE_SYSTEM_SETTINGS
IfTRUEtables with unique WAL settings will be reverted to the current global settings. Cannot be used in conjunction with any other option. Supported values: The default value isFALSE.- See Also:
- Constant Field Values
-
PERSIST
public static final String PERSIST
IfTRUEand a system-level change was requested, the system configuration will be written to disk upon successful application of this request. This will commit the changes from this request and any additional in-memory modifications. Supported values: The default value isTRUE.- See Also:
- Constant Field Values
-
-