Class AlterWalRequest.Options

    • 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 WAL
        • BACKGROUND: WAL entries are periodically written instead of immediately after each operation
        • FLUSH: Protects entries in the event of a database crash
        • FSYNC: Protects entries in the event of an OS crash
        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_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
      • OVERRIDE_NON_DEFAULT

        public static final String OVERRIDE_NON_DEFAULT
        If TRUE tables with unique WAL settings will be overridden when applying a system level change. Supported values: The default value is FALSE.
        See Also:
        Constant Field Values
      • RESTORE_SYSTEM_SETTINGS

        public static final String RESTORE_SYSTEM_SETTINGS
        If TRUE tables 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 is FALSE.
        See Also:
        Constant Field Values
      • PERSIST

        public static final String PERSIST
        If TRUE and 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 is TRUE.
        See Also:
        Constant Field Values