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: StringMaximum size of an individual segment file.
segment_count: StringApproximate number of segment files to split the WAL across. Must be at least two.
sync_policy: StringHow write-ahead log entries are synchronized to disk.
flush_frequency: StringSpecifies 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: StringIf true each entry will be checked against a protective checksum. Server default: true.
override_non_default: StringIf true tables with unique WAL settings will be overridden when applying a system level change. Server default: false.
restore_system_settings: StringIf 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: StringIf 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
Trait Implementations
impl Clone for AlterWalRequestOptions
fn clone(&self) -> AlterWalRequestOptions
fn clone_from(&mut self, source: &Self)
source. Read more