pub struct AdaptiveConfig {
pub delta_max_rows: usize,
pub cache_max_mb: usize,
pub compaction_interval_secs: u64,
}Expand description
적응형 워크로드 설정
Fields§
§delta_max_rows: usizeDelta 최대 크기 (행 수). OLTP에서 작게, OLAP에서 크게.
cache_max_mb: usizeColumnar Cache 최대 크기 (MB). OLAP에서 크게.
compaction_interval_secs: u64Compaction 주기 (초). OLAP에서 자주.
Implementations§
Source§impl AdaptiveConfig
impl AdaptiveConfig
Sourcepub fn oltp_heavy() -> Self
pub fn oltp_heavy() -> Self
OLTP 중심 (포인트 쿼리 70%+)
Sourcepub fn olap_heavy() -> Self
pub fn olap_heavy() -> Self
OLAP 중심 (포인트 쿼리 30%-)
Trait Implementations§
Source§impl Clone for AdaptiveConfig
impl Clone for AdaptiveConfig
Source§fn clone(&self) -> AdaptiveConfig
fn clone(&self) -> AdaptiveConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AdaptiveConfig
impl Debug for AdaptiveConfig
Source§impl PartialEq for AdaptiveConfig
impl PartialEq for AdaptiveConfig
impl StructuralPartialEq for AdaptiveConfig
Auto Trait Implementations§
impl Freeze for AdaptiveConfig
impl RefUnwindSafe for AdaptiveConfig
impl Send for AdaptiveConfig
impl Sync for AdaptiveConfig
impl Unpin for AdaptiveConfig
impl UnsafeUnpin for AdaptiveConfig
impl UnwindSafe for AdaptiveConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more