pub struct ExecutionMemoryConfig {Show 13 fields
pub query_memory_bytes: NonZeroUsize,
pub batch_rows: NonZeroUsize,
pub batch_payload_bytes: NonZeroUsize,
pub blocking_operator_bytes: NonZeroUsize,
pub graph_expansion_budget: Option<GraphExpansionBudget>,
pub max_spill_bytes: NonZeroU64,
pub max_spill_runs: NonZeroUsize,
pub max_total_spill_bytes: NonZeroU64,
pub max_total_spill_runs: NonZeroUsize,
pub min_spill_free_bytes: NonZeroU64,
pub spill_free_space_probe_interval_bytes: NonZeroU64,
pub spill_orphan_grace_period: Duration,
pub spill_directory: PathBuf,
}Fields§
§query_memory_bytes: NonZeroUsizeMaximum tracked resident bytes owned by one query across all operators.
batch_rows: NonZeroUsizeMaximum row count in an executor-owned transfer batch.
batch_payload_bytes: NonZeroUsizeMaximum estimated resident bytes in an executor-owned transfer batch.
blocking_operator_bytes: NonZeroUsizeMaximum estimated bytes retained for blocking state, including sort, aggregation, deduplication, graph traversal state and selected top-K. Source reads use the shared query budget independently of this cap.
graph_expansion_budget: Option<GraphExpansionBudget>Override the row and cumulative payload limits of each seeded expansion.
Live allocations still obey the operator, batch and shared query budgets.
None uses the optimizer’s seed-window-derived limits.
max_spill_bytes: NonZeroU64Maximum cumulative serialized spill bytes, including merge passes.
max_spill_runs: NonZeroUsizeMaximum cumulative spill runs created, including merge passes.
max_total_spill_bytes: NonZeroU64Maximum live spill bytes shared by all queries using the spill directory.
max_total_spill_runs: NonZeroUsizeMaximum live spill runs shared by all queries using the spill directory.
min_spill_free_bytes: NonZeroU64Free space preserved on the filesystem containing the spill directory.
spill_free_space_probe_interval_bytes: NonZeroU64Reserved bytes between filesystem free-space probes for one spill pool.
spill_orphan_grace_period: DurationMinimum age before a spill file from an earlier process is removed.
spill_directory: PathBufDirectory governed as one shared spill pool.
Implementations§
Source§impl ExecutionMemoryConfig
impl ExecutionMemoryConfig
Sourcepub fn spill_pool_snapshot(&self) -> Result<SpillPoolSnapshot>
pub fn spill_pool_snapshot(&self) -> Result<SpillPoolSnapshot>
Returns process-wide spill usage for this configured directory.
Trait Implementations§
Source§impl Clone for ExecutionMemoryConfig
impl Clone for ExecutionMemoryConfig
Source§impl Debug for ExecutionMemoryConfig
impl Debug for ExecutionMemoryConfig
Source§impl Default for ExecutionMemoryConfig
impl Default for ExecutionMemoryConfig
impl Eq for ExecutionMemoryConfig
Source§impl PartialEq for ExecutionMemoryConfig
impl PartialEq for ExecutionMemoryConfig
impl StructuralPartialEq for ExecutionMemoryConfig
Auto Trait Implementations§
impl Freeze for ExecutionMemoryConfig
impl RefUnwindSafe for ExecutionMemoryConfig
impl Send for ExecutionMemoryConfig
impl Sync for ExecutionMemoryConfig
impl Unpin for ExecutionMemoryConfig
impl UnsafeUnpin for ExecutionMemoryConfig
impl UnwindSafe for ExecutionMemoryConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
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> ⓘ
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