Skip to content

Commit e9904bc

Browse files
Harden SQL insert hot path
Restore strict SQL insert scale coverage and reduce repeated INSERT overhead without relaxing row counts or timing budgets. Cache parameterized INSERT plans with DDL invalidation, route PK and UNIQUE checks through one indexed constraint path, and avoid repeated hot-path schema and row clones.
1 parent 11227f4 commit e9904bc

6 files changed

Lines changed: 416 additions & 287 deletions

File tree

crates/contextdb-core/tests/timestamp_audit.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,15 @@ fn timestamp_audit_no_new_txid_shaped_columns() {
117117
("tests/acceptance/query_surface.rs".to_string(), 1114u32),
118118
(
119119
"tests/integration/indexed_scan_filter_tests.rs".to_string(),
120-
1969u32,
120+
1964u32,
121121
),
122122
(
123123
"tests/integration/indexed_scan_filter_tests.rs".to_string(),
124-
1995u32,
124+
1990u32,
125125
),
126126
(
127127
"tests/integration/indexed_scan_filter_tests.rs".to_string(),
128-
2879u32,
128+
2924u32,
129129
),
130130
("tests/integration/retention_tests.rs".to_string(), 1366u32),
131131
("tests/integration/retention_tests.rs".to_string(), 1414u32),

0 commit comments

Comments
 (0)