#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProtoRocksDbTuningParameters {
#[prost(message, optional, tag = "1")]
pub compaction_style: ::core::option::Option<
proto_rocks_db_tuning_parameters::ProtoCompactionStyle,
>,
#[prost(uint64, tag = "2")]
pub optimize_compaction_memtable_budget: u64,
#[prost(bool, tag = "3")]
pub level_compaction_dynamic_level_bytes: bool,
#[prost(int32, tag = "4")]
pub universal_compaction_target_ratio: i32,
#[prost(int32, optional, tag = "5")]
pub parallelism: ::core::option::Option<i32>,
#[prost(message, optional, tag = "6")]
pub compression_type: ::core::option::Option<
proto_rocks_db_tuning_parameters::ProtoCompressionType,
>,
#[prost(message, optional, tag = "7")]
pub bottommost_compression_type: ::core::option::Option<
proto_rocks_db_tuning_parameters::ProtoCompressionType,
>,
#[prost(uint64, tag = "8")]
pub batch_size: u64,
#[prost(message, optional, tag = "9")]
pub retry_max_duration: ::core::option::Option<::mz_proto::ProtoDuration>,
#[prost(uint32, tag = "10")]
pub stats_log_interval_seconds: u32,
#[prost(uint32, tag = "11")]
pub stats_persist_interval_seconds: u32,
#[prost(uint32, optional, tag = "12")]
pub point_lookup_block_cache_size_mb: ::core::option::Option<u32>,
#[prost(uint64, tag = "13")]
pub shrink_buffers_by_ratio: u64,
#[prost(uint64, optional, tag = "14")]
pub write_buffer_manager_memory_bytes: ::core::option::Option<u64>,
#[prost(double, optional, tag = "15")]
pub write_buffer_manager_memory_fraction: ::core::option::Option<f64>,
#[prost(bool, tag = "16")]
pub write_buffer_manager_allow_stall: bool,
}
pub mod proto_rocks_db_tuning_parameters {
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProtoCompactionStyle {
#[prost(oneof = "proto_compaction_style::Kind", tags = "1, 2")]
pub kind: ::core::option::Option<proto_compaction_style::Kind>,
}
pub mod proto_compaction_style {
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum Kind {
#[prost(message, tag = "1")]
Level(()),
#[prost(message, tag = "2")]
Universal(()),
}
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct ProtoCompressionType {
#[prost(oneof = "proto_compression_type::Kind", tags = "1, 2, 3, 4")]
pub kind: ::core::option::Option<proto_compression_type::Kind>,
}
pub mod proto_compression_type {
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, Copy, PartialEq, ::prost::Oneof)]
pub enum Kind {
#[prost(message, tag = "1")]
Zstd(()),
#[prost(message, tag = "2")]
Snappy(()),
#[prost(message, tag = "3")]
Lz4(()),
#[prost(message, tag = "4")]
None(()),
}
}
}