Skip to main content
pub struct AlterWalRequestOptions 
    pub max_segment_size: String,
    pub segment_count: String,
    pub sync_policy: String,
    pub flush_frequency: String,
    pub checksum: String,
    pub override_non_default: String,
    pub restore_system_settings: String,
    pub persist: String,

Optional parameters for the /alter/wal endpoint.

Default::default() is the empty set: only options set explicitly are sent, and anything left empty falls back to the server’s own default.

Fields

max_segment_size: String

Maximum size of an individual segment file.

segment_count: String

Approximate number of segment files to split the WAL across. Must be at least two.

sync_policy: String

How write-ahead log entries are synchronized to disk.

flush_frequency: String

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 ‘*’.

checksum: String

If true each entry will be checked against a protective checksum. Server default: true.

override_non_default: String

If true tables with unique WAL settings will be overridden when applying a system level change. Server default: false.

restore_system_settings: String

If true tables with unique WAL settings will be reverted to the current global settings. Cannot be used in conjunction with any other option. Server default: false.

persist: String

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. Server default: true.

Implementations

Converts the set (non-empty) options into the wire-format string map.

Trait Implementations

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more