pub struct TuneInputs {
pub platform: Platform,
pub resources: HostResources,
pub pg_major: u32,
pub max_connections: u32,
pub lz4_wal_supported: bool,
pub temp_file_limit_kib: Option<u64>,
}Expand description
Everything needed to compute a full tuning set.
Fields§
§platform: Platform§resources: HostResources§pg_major: u32The server’s major version (e.g. 16).
max_connections: u32The max_connections to size around.
lz4_wal_supported: boolWhether the running server reports lz4 as a supported WAL compression
method. When unknown, pass false.
temp_file_limit_kib: Option<u64>The temp_file_limit, in kibibytes, when it could be derived from the
data volume. Emitted only when present.
Trait Implementations§
Source§impl Clone for TuneInputs
impl Clone for TuneInputs
Source§fn clone(&self) -> TuneInputs
fn clone(&self) -> TuneInputs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TuneInputs
Auto Trait Implementations§
impl Freeze for TuneInputs
impl RefUnwindSafe for TuneInputs
impl Send for TuneInputs
impl Sync for TuneInputs
impl Unpin for TuneInputs
impl UnsafeUnpin for TuneInputs
impl UnwindSafe for TuneInputs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more