Skip to main content

HotPathProfileSnapshot

Struct HotPathProfileSnapshot 

Source
pub struct HotPathProfileSnapshot {
Show 161 fields pub parser: ParserHotPathProfileSnapshot, pub background_status_time_ns: u64, pub background_status_checks: u64, pub op_cx_background_gates: u64, pub statement_dispatch_background_gates: u64, pub prepared_lookup_time_ns: u64, pub prepared_schema_refresh_time_ns: u64, pub prepared_schema_refreshes: u64, pub prepared_schema_lightweight_refreshes: u64, pub prepared_schema_full_reloads: u64, pub pager_publication_refreshes: u64, pub memory_autocommit_fast_path_begins: u64, pub cached_read_snapshot_reuses: u64, pub cached_read_snapshot_parks: u64, pub begin_setup_time_ns: u64, pub begin_refresh_count: u64, pub commit_refresh_count: u64, pub memdb_refresh_count: u64, pub execute_body_time_ns: u64, pub direct_write_flush_calls: u64, pub direct_write_flush_time_ns: u64, pub commit_pre_txn_time_ns: u64, pub commit_txn_roundtrip_time_ns: u64, pub commit_finalize_seq_time_ns: u64, pub commit_handle_finalize_time_ns: u64, pub commit_post_write_maintenance_time_ns: u64, pub finalize_post_publish_time_ns: u64, pub concurrent_commit_plan_attempts: u64, pub concurrent_commit_plan_successes: u64, pub concurrent_commit_plan_errors: u64, pub concurrent_commit_plan_busy_snapshot_errors: u64, pub concurrent_commit_plan_pending_pages: u64, pub concurrent_commit_plan_write_pages: u64, pub concurrent_commit_plan_held_lock_pages: u64, pub concurrent_commit_plan_uncontended_fast_paths: u64, pub concurrent_commit_plan_candidate_free_fast_paths: u64, pub concurrent_commit_plan_full_validations: u64, pub pager_commit: PagerCommitProfileSnapshot, pub cached_write_txn_reuses: u64, pub cached_write_txn_parks: u64, pub retained_autocommit_reuses: u64, pub retained_autocommit_parks: u64, pub retained_autocommit_flushes: u64, pub retained_autocommit_read_after_write_flushes: u64, pub retained_autocommit_overlay_hits: u64, pub retained_autocommit_overlay_misses: u64, pub column_default_evaluation_passes: u64, pub prepared_table_engine_fresh_allocs: u64, pub prepared_table_engine_reuses: u64, pub prepared_insert_fast_lane_hits: u64, pub prepared_insert_instrumented_lane_hits: u64, pub prepared_update_delete_fast_lane_hits: u64, pub prepared_update_delete_instrumented_lane_hits: u64, pub prepared_update_delete_fallback_returning: u64, pub prepared_update_delete_fallback_sqlite_sequence: u64, pub prepared_update_delete_fallback_without_rowid: u64, pub prepared_update_delete_fallback_live_vtab: u64, pub prepared_update_delete_fallback_trigger: u64, pub prepared_update_delete_fallback_foreign_key: u64, pub prepared_update_delete_dml_direct_handoff_runs: u64, pub prepared_table_dml_affected_only_runs: u64, pub autoincrement_sequence_fast_path_updates: u64, pub autoincrement_sequence_scan_refreshes: u64, pub direct_indexed_equality_query_hits: u64, pub direct_rowid_lookup_query_hits: u64, pub direct_rowid_range_query_hits: u64, pub direct_count_star_query_row_hits: u64, pub direct_rowid_lookup_query_row_hits: u64, pub direct_count_star_rowid_range_query_row_hits: u64, pub direct_count_indexed_rowid_probe_query_row_hits: u64, pub prepared_direct_insert_executions: u64, pub prepared_direct_update_executions: u64, pub prepared_direct_delete_executions: u64, pub prepared_direct_update_leaf_patch_run_start_attempts: u64, pub prepared_direct_update_leaf_patch_run_start_hits: u64, pub prepared_direct_update_leaf_patch_run_start_time_ns: u64, pub prepared_direct_update_leaf_patch_run_active_attempts: u64, pub prepared_direct_update_leaf_patch_run_active_hits: u64, pub prepared_direct_update_leaf_patch_run_active_misses: u64, pub prepared_direct_update_leaf_patch_run_active_time_ns: u64, pub prepared_direct_update_leaf_patch_run_flushes: u64, pub prepared_direct_update_leaf_patch_run_dirty_flushes: u64, pub prepared_direct_update_leaf_patch_run_flush_time_ns: u64, pub prepared_direct_delete_leaf_run_start_attempts: u64, pub prepared_direct_delete_leaf_run_start_hits: u64, pub prepared_direct_delete_leaf_run_start_time_ns: u64, pub prepared_direct_delete_leaf_run_active_attempts: u64, pub prepared_direct_delete_leaf_run_active_hits: u64, pub prepared_direct_delete_leaf_run_active_misses: u64, pub prepared_direct_delete_leaf_run_active_miss_shape_mismatches: u64, pub prepared_direct_delete_leaf_run_active_miss_staged_runs: u64, pub prepared_direct_delete_leaf_run_active_miss_rowid_not_in_leaf: u64, pub prepared_direct_delete_leaf_run_active_miss_already_deleted: u64, pub prepared_direct_delete_leaf_run_active_miss_nonroot_would_empty_leaf: u64, pub prepared_direct_delete_leaf_run_active_miss_nonroot_last_cell: u64, pub prepared_direct_delete_leaf_run_active_miss_noncompact_cell_area: u64, pub prepared_direct_delete_leaf_run_active_miss_cell_shape_or_overflow: u64, pub prepared_direct_delete_leaf_run_active_time_ns: u64, pub prepared_direct_delete_leaf_run_flushes: u64, pub prepared_direct_delete_leaf_run_dirty_flushes: u64, pub prepared_direct_delete_leaf_run_flush_time_ns: u64, pub prepared_direct_delete_preflush_time_ns: u64, pub prepared_direct_delete_rowid_lookup_time_ns: u64, pub prepared_direct_delete_active_leaf_probe_time_ns: u64, pub prepared_direct_delete_cursor_setup_time_ns: u64, pub prepared_direct_delete_memdb_abandon_calls: u64, pub prepared_direct_delete_memdb_abandon_time_ns: u64, pub prepared_direct_delete_memory_sync_calls: u64, pub prepared_direct_delete_memory_sync_time_ns: u64, pub prepared_direct_delete_qf_time_ns: u64, pub prepared_direct_delete_seek_time_ns: u64, pub prepared_direct_delete_physical_delete_time_ns: u64, pub prepared_direct_insert_row_build_time_ns: u64, pub prepared_direct_insert_preserialize_time_ns: u64, pub prepared_direct_insert_preserialize_cell_time_ns: u64, pub prepared_direct_insert_preserialize_eval_time_ns: u64, pub prepared_direct_insert_preserialize_affinity_time_ns: u64, pub prepared_direct_insert_preserialize_layout_time_ns: u64, pub prepared_direct_insert_preserialize_encode_time_ns: u64, pub prepared_direct_insert_row_value_build_time_ns: u64, pub prepared_direct_insert_cursor_setup_time_ns: u64, pub prepared_direct_insert_serialize_time_ns: u64, pub prepared_direct_insert_btree_insert_time_ns: u64, pub prepared_direct_insert_memdb_apply_time_ns: u64, pub prepared_direct_insert_schema_validation_time_ns: u64, pub prepared_direct_insert_autocommit_begin_time_ns: u64, pub prepared_direct_insert_change_tracking_time_ns: u64, pub prepared_direct_insert_autocommit_resolve_time_ns: u64, pub prepared_direct_insert_autocommit_executions: u64, pub prepared_direct_insert_page_run_flushes: u64, pub prepared_direct_insert_page_run_records: u64, pub prepared_direct_insert_page_run_bytes: u64, pub prepared_direct_insert_page_run_owned_flushes: u64, pub prepared_direct_insert_page_run_arena_flushes: u64, pub prepared_direct_insert_page_run_repeated_flushes: u64, pub prepared_direct_insert_page_run_empty_root_bulk_load_hits: u64, pub prepared_direct_insert_page_run_depth2_bulk_append_hits: u64, pub prepared_direct_insert_page_run_row_append_fallback_flushes: u64, pub prepared_direct_insert_page_run_row_append_fallback_rows: u64, pub arena_alloc_bytes: u64, pub arena_reset_count: u64, pub fallback_to_general_allocator_count: u64, pub page_buffer_pool_hits: u64, pub page_buffer_pool_misses: u64, pub window_func_partitions_total: u64, pub statement_global_executions: u64, pub statement_reuse_count: u64, pub statement_reuse_distance_sum: u64, pub statement_max_reuse_distance: u64, pub statement_lane_local_reuses: u64, pub statement_cross_lane_reuses: u64, pub statement_first_hit_count: u64, pub statement_first_hit_time_ns: u64, pub statement_warmed_hit_count: u64, pub statement_warmed_hit_time_ns: u64, pub background_compile_interference_count: u64, pub background_compile_interference_time_ns: u64, pub btree_copy_kernels: BtreeCopyProfileSnapshot, pub btree_leaf_reuse: BtreeLeafReuseSnapshot, pub record_decode: RecordHotPathProfileSnapshot, pub vdbe: VdbeMetricsSnapshot,
}

Fields§

§parser: ParserHotPathProfileSnapshot§background_status_time_ns: u64§background_status_checks: u64§op_cx_background_gates: u64§statement_dispatch_background_gates: u64§prepared_lookup_time_ns: u64§prepared_schema_refresh_time_ns: u64§prepared_schema_refreshes: u64§prepared_schema_lightweight_refreshes: u64§prepared_schema_full_reloads: u64§pager_publication_refreshes: u64§memory_autocommit_fast_path_begins: u64§cached_read_snapshot_reuses: u64§cached_read_snapshot_parks: u64§begin_setup_time_ns: u64§begin_refresh_count: u64

bd-db300.5.2.2.1: Times autocommit-begin did refresh work.

§commit_refresh_count: u64

bd-db300.5.2.2.1: Times autocommit-commit did publication refresh.

§memdb_refresh_count: u64

bd-db300.5.2.2.1: Times memdb-from-pager refresh was executed (not skipped).

§execute_body_time_ns: u64§direct_write_flush_calls: u64§direct_write_flush_time_ns: u64§commit_pre_txn_time_ns: u64§commit_txn_roundtrip_time_ns: u64§commit_finalize_seq_time_ns: u64§commit_handle_finalize_time_ns: u64§commit_post_write_maintenance_time_ns: u64§finalize_post_publish_time_ns: u64§concurrent_commit_plan_attempts: u64§concurrent_commit_plan_successes: u64§concurrent_commit_plan_errors: u64§concurrent_commit_plan_busy_snapshot_errors: u64§concurrent_commit_plan_pending_pages: u64§concurrent_commit_plan_write_pages: u64§concurrent_commit_plan_held_lock_pages: u64§concurrent_commit_plan_uncontended_fast_paths: u64§concurrent_commit_plan_candidate_free_fast_paths: u64§concurrent_commit_plan_full_validations: u64§pager_commit: PagerCommitProfileSnapshot§cached_write_txn_reuses: u64§cached_write_txn_parks: u64§retained_autocommit_reuses: u64§retained_autocommit_parks: u64§retained_autocommit_flushes: u64§retained_autocommit_read_after_write_flushes: u64§retained_autocommit_overlay_hits: u64§retained_autocommit_overlay_misses: u64§column_default_evaluation_passes: u64§prepared_table_engine_fresh_allocs: u64§prepared_table_engine_reuses: u64§prepared_insert_fast_lane_hits: u64§prepared_insert_instrumented_lane_hits: u64§prepared_update_delete_fast_lane_hits: u64§prepared_update_delete_instrumented_lane_hits: u64§prepared_update_delete_fallback_returning: u64§prepared_update_delete_fallback_sqlite_sequence: u64§prepared_update_delete_fallback_without_rowid: u64§prepared_update_delete_fallback_live_vtab: u64§prepared_update_delete_fallback_trigger: u64§prepared_update_delete_fallback_foreign_key: u64§prepared_update_delete_dml_direct_handoff_runs: u64§prepared_table_dml_affected_only_runs: u64§autoincrement_sequence_fast_path_updates: u64§autoincrement_sequence_scan_refreshes: u64§direct_indexed_equality_query_hits: u64§direct_rowid_lookup_query_hits: u64

Multi-row query/query_with_params hits on the rowid-lookup lane.

bd-lcz7b: record_query_hit historically ignored SimpleRowidLookup, so the lane was invisible on the query path even when engaged — the bd-dqdoe read attribution misread that blind spot as a missed lane.

§direct_rowid_range_query_hits: u64§direct_count_star_query_row_hits: u64§direct_rowid_lookup_query_row_hits: u64§direct_count_star_rowid_range_query_row_hits: u64§direct_count_indexed_rowid_probe_query_row_hits: u64§prepared_direct_insert_executions: u64§prepared_direct_update_executions: u64§prepared_direct_delete_executions: u64§prepared_direct_update_leaf_patch_run_start_attempts: u64§prepared_direct_update_leaf_patch_run_start_hits: u64§prepared_direct_update_leaf_patch_run_start_time_ns: u64§prepared_direct_update_leaf_patch_run_active_attempts: u64§prepared_direct_update_leaf_patch_run_active_hits: u64§prepared_direct_update_leaf_patch_run_active_misses: u64§prepared_direct_update_leaf_patch_run_active_time_ns: u64§prepared_direct_update_leaf_patch_run_flushes: u64§prepared_direct_update_leaf_patch_run_dirty_flushes: u64§prepared_direct_update_leaf_patch_run_flush_time_ns: u64§prepared_direct_delete_leaf_run_start_attempts: u64§prepared_direct_delete_leaf_run_start_hits: u64§prepared_direct_delete_leaf_run_start_time_ns: u64§prepared_direct_delete_leaf_run_active_attempts: u64§prepared_direct_delete_leaf_run_active_hits: u64§prepared_direct_delete_leaf_run_active_misses: u64§prepared_direct_delete_leaf_run_active_miss_shape_mismatches: u64§prepared_direct_delete_leaf_run_active_miss_staged_runs: u64§prepared_direct_delete_leaf_run_active_miss_rowid_not_in_leaf: u64§prepared_direct_delete_leaf_run_active_miss_already_deleted: u64§prepared_direct_delete_leaf_run_active_miss_nonroot_would_empty_leaf: u64§prepared_direct_delete_leaf_run_active_miss_nonroot_last_cell: u64§prepared_direct_delete_leaf_run_active_miss_noncompact_cell_area: u64§prepared_direct_delete_leaf_run_active_miss_cell_shape_or_overflow: u64§prepared_direct_delete_leaf_run_active_time_ns: u64§prepared_direct_delete_leaf_run_flushes: u64§prepared_direct_delete_leaf_run_dirty_flushes: u64§prepared_direct_delete_leaf_run_flush_time_ns: u64§prepared_direct_delete_preflush_time_ns: u64§prepared_direct_delete_rowid_lookup_time_ns: u64§prepared_direct_delete_active_leaf_probe_time_ns: u64§prepared_direct_delete_cursor_setup_time_ns: u64§prepared_direct_delete_memdb_abandon_calls: u64§prepared_direct_delete_memdb_abandon_time_ns: u64§prepared_direct_delete_memory_sync_calls: u64§prepared_direct_delete_memory_sync_time_ns: u64§prepared_direct_delete_qf_time_ns: u64§prepared_direct_delete_seek_time_ns: u64§prepared_direct_delete_physical_delete_time_ns: u64§prepared_direct_insert_row_build_time_ns: u64§prepared_direct_insert_preserialize_time_ns: u64§prepared_direct_insert_preserialize_cell_time_ns: u64§prepared_direct_insert_preserialize_eval_time_ns: u64§prepared_direct_insert_preserialize_affinity_time_ns: u64§prepared_direct_insert_preserialize_layout_time_ns: u64§prepared_direct_insert_preserialize_encode_time_ns: u64§prepared_direct_insert_row_value_build_time_ns: u64§prepared_direct_insert_cursor_setup_time_ns: u64§prepared_direct_insert_serialize_time_ns: u64§prepared_direct_insert_btree_insert_time_ns: u64§prepared_direct_insert_memdb_apply_time_ns: u64§prepared_direct_insert_schema_validation_time_ns: u64§prepared_direct_insert_autocommit_begin_time_ns: u64§prepared_direct_insert_change_tracking_time_ns: u64§prepared_direct_insert_autocommit_resolve_time_ns: u64§prepared_direct_insert_autocommit_executions: u64§prepared_direct_insert_page_run_flushes: u64§prepared_direct_insert_page_run_records: u64§prepared_direct_insert_page_run_bytes: u64§prepared_direct_insert_page_run_owned_flushes: u64§prepared_direct_insert_page_run_arena_flushes: u64§prepared_direct_insert_page_run_repeated_flushes: u64§prepared_direct_insert_page_run_empty_root_bulk_load_hits: u64§prepared_direct_insert_page_run_depth2_bulk_append_hits: u64§prepared_direct_insert_page_run_row_append_fallback_flushes: u64§prepared_direct_insert_page_run_row_append_fallback_rows: u64§arena_alloc_bytes: u64§arena_reset_count: u64§fallback_to_general_allocator_count: u64§page_buffer_pool_hits: u64§page_buffer_pool_misses: u64§window_func_partitions_total: u64§statement_global_executions: u64

Total statement executions tracked (global sequence counter).

§statement_reuse_count: u64

Number of statement reuse events (statement executed again).

§statement_reuse_distance_sum: u64

Sum of reuse distances (divide by reuse_count for average).

§statement_max_reuse_distance: u64

Maximum observed reuse distance.

§statement_lane_local_reuses: u64

Reuses on the same thread (lane-local).

§statement_cross_lane_reuses: u64

Reuses on a different thread (cross-lane).

§statement_first_hit_count: u64

Count of first-hit statement executions (cache miss requiring parse+compile).

§statement_first_hit_time_ns: u64

Total time (ns) for first-hit statement executions.

§statement_warmed_hit_count: u64

Count of warmed-hit statement executions (cache hit, reusing compiled plan).

§statement_warmed_hit_time_ns: u64

Total time (ns) for warmed-hit statement executions.

§background_compile_interference_count: u64

Times foreground was blocked waiting for background compile.

§background_compile_interference_time_ns: u64

Time (ns) spent waiting for background compile.

§btree_copy_kernels: BtreeCopyProfileSnapshot§btree_leaf_reuse: BtreeLeafReuseSnapshot§record_decode: RecordHotPathProfileSnapshot§vdbe: VdbeMetricsSnapshot

Trait Implementations§

Source§

impl Clone for HotPathProfileSnapshot

Source§

fn clone(&self) -> HotPathProfileSnapshot

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for HotPathProfileSnapshot

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for HotPathProfileSnapshot

Source§

impl PartialEq for HotPathProfileSnapshot

Source§

fn eq(&self, other: &HotPathProfileSnapshot) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for HotPathProfileSnapshot

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, _span: NoopSpan) -> Self

Instruments this future with a span (no-op when disabled).
Source§

fn in_current_span(self) -> Self

Instruments this future with the current span (no-op when disabled).
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more