Skip to content

[Subtask]: Reduce scan predicate materialization, repeated compaction and type-invariant decode work #30850

Open

Description

@aunjgr

Parent Issue

#30838

Detail of Subtask

Current implementation — 2026-10-31

PR #31785 retains the final native-operator preference at measured candidate dedb4595c2: a standalone native BETWEEN keeps its fused vector evaluator; compound admitted integer/DATE/Decimal64 predicates use cached exact filtering. The unsuccessful range-kernel experiment was reverted. Both measurement sides include merged #31620. Later changes merge catalog/DML fixes from main and repair only test admission/deadline handling; the measured source pins remain explicit.

Local warm SF10 now has a qualified full Q1–Q22 screen; broader acceptance remains open. Three complete pairs qualify, with five warm calls/query/arm. Q6 −36.46%, Q14 −21.99% and Q15 −29.21% retain lower latency. Q7 +0.82% is inconclusive (observed pair range −4.71% to +13.47%); no equivalence/speedup claim. The sole consistently slower screen signal, Q18 +1.65%, did not reproduce in an independent four-pair, 16-warm-call comparison: +0.03%, small-sample interval −1.03% to +1.85%. Campaigns remain separate.

The prior full-suite measurement gap was traced to runtime-loaded libraries outside the initial software pin set. Both arms now pin the complete observed closure, including its bytes in the existing application budget. All eight full-screen arms had zero physical I/O, spill and swap; one whole pair was excluded for background CPU. No resource threshold was relaxed. Earlier invalid runs and the historical Q7 +3.82% failure remain historical evidence. Gains elsewhere do not waive confirmed regressions.

Existing functional/static/BVT evidence is retained for unchanged scan behavior. Real-Q7 profiling verifies native BETWEEN/evalFilter fallback. The new coverage repair separates cluster admission from each SQL/recovery work deadline; fresh CI applies to the delivery head. All broader SF100/mixed-I/O/control acceptance checkboxes remain unchanged, and the issue stays open.

Full table, source/ELF pins, raw timings and resource receipts. Previous target-only evidence. Historical Q7 failure.

Implementation result — 2026-10-28

The lazy identity-selection candidate stopped at its exposure gate: seven current-main SF10 queries had zero identity-selection rows in scan batches larger than 256 rows. No kernel patch or PR. Partial-filter construction and compaction remain open.

Detailed measurements and decision.

Evidence reassessment — 2026-10-26

Historical reassessment status: DIAGNOSIS/VALIDATION OPEN. Existing selection/decode mechanisms and recent fixes must be included in the baseline.

Observed: Historical SF100 Q6 has LZ4 21.56% and TableScan.evalFilter 13.63% of user samples, plus predicate/boolean handling. Source shows materialization/selection/compaction steps and type-invariant non-JSON admission calls. Generic vector-copy leaves also occur in shuffle, joins, cache hits and background merges; they are not all scan-compaction cost.

Not yet established: The actual avoidable passes and bytes in each current scan/predicate caller, and whether direct selection or invariant dispatch saves more than it adds on simple inputs.

Next discriminating experiment: Split decode, predicate-result construction, selection construction, compaction and validation by caller. Count actual passes/bytes for equivalent work, including setup and NULL/mask/tail handling. Verify that a supposedly redundant check is type-invariant while preserving payload-dependent checks.

Measured target: Unchanged Q6/Q12/Q19 with fewer attributable passes/materialized bytes and lower CPU/latency.

Mandatory controls and total cost boundary: Nonselective, tiny/empty and NULL-heavy batches; constants; JSON and malformed offsets/payloads; filtered-row errors; varlen lifetimes and already-selected input.

Performance acceptance and rejection

  • Freeze current-main/candidate sources, executables, real caller shapes and effective settings. Use the unchanged qualification SQL and complete result consumption; exclude cold runs and keep profiles separate from latency scoring.
  • Demonstrate the named work/CPU reduction and an attributable uninstrumented target-query improvement. Include the controls below and full Q1-Q22 comparison; component wins, source changes, functional tests, SCA, merging and profile percentages are separate evidence.
  • A confirmed affected/control slowdown fails; unresolved slower signals are inconclusive. Confirm with an independent longer balanced run. No gain elsewhere, favorable average or self-approved tolerance waives a regression.
  • Complete applicable SF10/SF100 and memory/mixed-I/O acceptance before issue closure under the umbrella protocol. Report uncertainty, absolute CPU/instructions/work, allocations/copies and the same whole-application budget, effective cache, I/O/spill/swap/pressure evidence. Benchmark scripts do not verify input/table/schema/row counts/reference results/checksums.

Semantics and lifecycle requirements retained

  • Focused tests preserve nullable/constant predicates, expression errors and evaluation semantics, selection order, varlen offsets/corruption checks and actual JSON validation.
  • Profiles/counters demonstrate fewer predicate-result/selection/compaction passes or invariant helper calls for the same logical input.
  • Report warmed unchanged Q6/Q12/Q19 CPU/instructions, allocation/copy evidence and latency; include nonselective, NULL-heavy and JSON/invalid-payload controls.
  • Each proposed micro-optimization is measured separately before combining; coordinate borrowed-cache vectors with [Tech Request]: support read from cache without copy  #16387 and the decoded-cache task.

Describe implementation you've considered

Use existing selection/search contracts or hoist a proven invariant only where a matched experiment supports it. Compare eager materialization with delayed selected-row copies. Keep validation and expression error/evaluation semantics intact.

Coordination: #30849 owns cache hits, #30845 shuffle/join copies, #30860 cross-expression fusion. Do not count the same removed copy twice.

Additional information

Pinned implementation / plan references

Activity

  1. self-assigned this
    on Oct 22, 2026
  2. added
    severity/s0
    on Oct 22, 2026
  3. aunjgr commented on Oct 28, 2026

    @aunjgr
    ContributorAuthor

    Current-main exposure result: stop the lazy identity-selection candidate

    Measured main 6d1f5d7f2d31b119f201986f0bf6f9c7f2e78d89 locally at SF10. The bounded diagnostic ran separately from the normal CPU profiles, reset its counters after the cold run, and recorded one warm execution of each query. It inspected selection shapes, without verifying inputs, rows or results.

    Query Boolean rows visited by flat scan filters Rows belonging to identity selections in batches over 256 rows
    Q1 59,986,052 0
    Q4 78,970,738 0
    Q6 99,071,889 0
    Q9 2,000,001 0
    Q10 79,543,896 0
    Q12 109,261,415 0
    Q19 79,434,431 0

    Some diagnostic executions included a single-row identity selection from incidental work. Those do not justify a TPC-H optimization. All diagnostic buckets stayed within the fixed 256-bucket cap, with zero overflow.

    Decision: stop this candidate at its pre-implementation exposure gate. No lazy-selection production patch or PR was created. This does not close the broader issue: partial-filter selection construction and compaction still have material cost. Normal, uninstrumented profiles attribute 10.88%, 9.08% and 3.59% of sampled user CPU to TableScan.evalFilter itself in Q6, Q12 and Q19 respectively. Those are whole-function costs, not an estimate of avoidable identity writes.

    The next design must target an actually exercised operation and preserve ordered predicate errors, NULL handling and eager/late row mappings. Decoding and owned-output copies belong to #30849; they must not also be counted as selection savings here.

    Resource scope: CPUs 0–7, controller CPUs 8–15, explicit 16 GiB SHARED memory cache and 32 GiB whole-application budget, native SF10 image staged in RAM. All completed exposure/profile arms passed zero physical reads/writes, spill, swap, OOM and pressure gates. Profile latency was not used as performance acceptance. Local evidence: build/exec-copy-scan-wave-20261028 and build/execution-kernels-wave/copy-scan-wave-exposure-v4-sf10.

  4. aunjgr commented on Oct 29, 2026

    @aunjgr
    ContributorAuthor

    Proposed row-map-copy PR: stopped at exposure gate

    The approved design required evidence that the first partial late-materialized filter copies its selection into filterRows in current TPC-H execution before implementing a buffer transfer.

    A separate diagnostic build from main b01e952ad1021ef8f188641f3a11a1360c001218 counted that exact branch after the cold run was excluded. Warm Q1, Q2, Q6, Q10, Q12 and Q19 recorded zero calls to it. The diagnostic also observed active CHAR preparation in Q1/Q10/Q12, confirming that the reset/export path was functioning. All accepted diagnostic arms passed the recorded all-memory resource gates; one interrupted Q12 setup is retained separately and was not used as evidence.

    The current late-materialization eligibility requires a qualifying deferred varlen payload; ordinary fixed-column partial filtering does not establish that eligibility. The target copy is therefore not an exposed optimization for these measured qualification queries. No production buffer-transfer patch or PR was created. This follows the approved stop condition; it does not close #30850 or establish that partial-filter selection and compaction have no remaining cost.

    The wider issue still needs an actually exercised operation with ordered predicate errors, NULL semantics and row mappings preserved. This experiment changes neither eligibility nor SQL to manufacture exposure.

    Evidence is retained locally under build/cache-scan-group-wave-20261029/admission-scan-char-exposure-sf10 and late-rowmap-exposure-sf10. Measurements used eight physical application CPUs, an effective 16 GiB cache and a 32 GiB whole-application budget. Diagnostics recorded bounded operator-work counters, not input or result verification; their elapsed time is not a performance score.

  5. aunjgr commented on Oct 29, 2026

    @aunjgr
    ContributorAuthor

    Exact cached scan filtering: implementation and preliminary exposure evidence

    Ready PR #31785: #31785

    Candidate implementation is isolated from CHAR grouping and targets complete deterministic fixed-width predicates on ordinary committed blocks. It uses one existing cache read/lease, applies current visibility first, evaluates exact predicates privately, and materializes owned survivors once. Unsupported expressions and representations retain generic evaluation. No cache-limit, stored-format or planning change is introduced.

    Final-source correctness and delivery

    Candidate a4c1bc97392acb2de92450320d62258327bd69d6 merges current main 1c80f16a2bc2fd59d5ca5cadd8b5fb418f8b8244. Owning ObjectIO/ioutil, table-scan, block-read, readutil and IVFFLAT tests passed; focused race passed; focused tests cover physical selection order and duplicates. Full SCA passed with zero findings. The final normal SIMD/v3 binary passed the minimal DATE/Decimal64 SQL BVT twice on one instance, including database teardown, and MO stopped with SIGINT.

    Preliminary prototype timing — one complete pair, not final-source acceptance

    An earlier frozen prototype completed one resource-qualified Q1–Q22 pair against main containing merged cache fix #31767. Three warm calls/query; cold call excluded. Eight physical application CPUs, effective 16 GiB CN cache, 32 GiB whole-application budget. The benchmark executes/drains and does not verify input/schema/table/row/reference/results/checksums. Profiles are separate from latency scoring.

    This sample predates the final typed-view and storage-selection-order corrections. It is exploratory evidence, not a final-binary speedup or a regression-free result. A single pair has insufficient independent replication for an uncertainty interval.

    Query Main median (s) Prototype median (s) Change
    Q01 0.721634 0.741547 +2.76%
    Q02 0.043648 0.044423 +1.78%
    Q03 0.232405 0.233504 +0.47%
    Q04 0.194335 0.217253 +11.79%
    Q05 0.217431 0.211309 -2.82%
    Q06 0.089631 0.067338 -24.87%
    Q07 0.187246 0.196549 +4.97%
    Q08 0.192027 0.198650 +3.45%
    Q09 0.670477 0.623749 -6.97%
    Q10 0.382810 0.378928 -1.01%
    Q11 0.072149 0.083538 +15.78%
    Q12 0.195543 0.201186 +2.89%
    Q13 0.376660 0.380127 +0.92%
    Q14 0.121200 0.090493 -25.34%
    Q15 0.216266 0.167062 -22.75%
    Q16 0.125572 0.125308 -0.21%
    Q17 0.158058 0.134628 -14.82%
    Q18 0.487630 0.490002 +0.49%
    Q19 0.243739 0.281041 +15.30%
    Q20 0.293850 0.285093 -2.98%
    Q21 0.767696 0.786561 +2.46%
    Q22 0.075528 0.077190 +2.20%

    Q6 is lower by about 25% in this preliminary pair. Whole-run CPU is essentially unchanged (129.47 s main versus 129.55 s prototype), so this sample does not establish an overall CPU improvement. Higher control estimates (including Q4/Q11/Q19) remain unresolved; gains elsewhere do not waive any confirmed regression. No acceptance checkbox or issue closure follows from this sample.

    Arm Peak memory (GiB) Pinned software (GiB) Whole-app CPU (s) Physical read/write bytes Swap before/after Spill events
    scan 20.345 0.434 129.547 0/0 [0, 0] 0
    main 20.145 0.434 129.470 0/0 [0, 0] 0

    Prototype executable and patch identities (the prototype had local changes; the patch hash identifies that exact source snapshot):

    • main: base/head ee8b20692e560a54ef18fddbb439b875dc0b52c2; executable SHA256 84ca145251b48a9db4d3c70296197b9a299ff35d11519d51aee486928df2b70a; patch SHA256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b.
    • scan: base/head 79feea4051c922f69de6409c3b1ed8212b27fbca; executable SHA256 0019210b2de62d2bbba8f0950450df57928995204af08abdba71d1e31879db09; patch SHA256 e61d81015e14c3cf7aab7487eb1192714f103e46663f0400281bc75a54452785.

    Why the change targets scan work

    A temporary bounded post-cache structural probe on current-main Q6 records 1,679,609,456 eagerly materialized fixed-value bytes and 99,071,889 Boolean selection positions per warm call. Normal-source exploratory profiles show evalFilter, DATE getters, memmove and fixed-vector shrink; the candidate prototype profile moves the hot work into exact typed comparison kernels. These captures had recorded host activity and are attribution evidence only; sample percentages or CPU-per-call estimates are not acceptance. Q12/Q19 string/OR expressions remain generic in this stage.

    Remaining performance acceptance

    The final candidate and clean current-main binaries are built and pinned. The owning table-scan package and two-run SQL BVT also passed after merging the temporal-warning changes on main. The initial final-binary attempt could not obtain a compiler-free window within two minutes. A fresh retry against the published source ran two candidate arms; both were excluded as whole attempts for external CPU and Cargo/Rust overlap, exhausting the one-retry rule. Both had zero physical reads/writes, zero spill and zero application swap, but there is no accepted final-source pair. Unrelated jobs were left running, task-owned MO processes stopped, and CPU masks were restored. Final balanced Q1–Q22 timings and independent slower-control confirmations remain required before merge. Earlier nonzero-I/O attempts are excluded, not pooled.

    Run the final-source balanced Q1–Q22 comparison and independent slower-control confirmations in a compiler-free local window; keep cold runs excluded and retain the strict I/O/spill/swap/pressure/CPU gates. The broader SF100 and memory/mixed-I/O acceptance stays open under the parent issue. A confirmed slowdown blocks merge/acceptance; inconclusive signals are reported as such.

  6. aunjgr commented on Oct 29, 2026

    @aunjgr
    ContributorAuthor

    Published exact scan filter: local warm SF10 — Q7 blocks acceptance

    Baseline 1c80f16a2bc2fd59d5ca5cadd8b5fb418f8b8244; candidate a4c1bc97392acb2de92450320d62258327bd69d6 (PR #31785). Each candidate is isolated from the CHAR PR.

    The full-query screen completed seven process pairs: four initial pairs plus three resource-driven follow-ups. Only pairs passing every original gate on both arms are included in the qualified table. Each query has three measured warm calls/arm after discarding its cold call. Normal Go1.27.1 SIMD/v3 builds; eight physical application CPUs8–15; effective16GiB CN cache;32GiB whole-application budget. The benchmark executes/drains only and performs no input/schema/table/row/reference/result/checksum verification. No new engine build or test campaign was run for this measurement.

    Following the request to bench now while unrelated jobs remained active, the measurement controller completed both sides and preserved CPU/build observations. It does not abort solely for build presence. All original qualification thresholds remain in force; whole pairs with a failed arm are excluded from qualified analysis. Clippy compiler processes are also recorded. No unrelated jobs were stopped.

    Completed arms: 14; qualified complete pairs: [3, 4]. Table scope: Qualified pairs only.

    Query Main warm median (s) Candidate warm median (s) Paired change Observed paired range (2 pairs)
    Q01 0.730472 0.690082 -5.46% -7.83% to -3.10%
    Q02 0.040048 0.039791 -0.37% -8.19% to +7.46%
    Q03 0.197321 0.174370 -11.62% -12.27% to -10.98%
    Q04 0.161772 0.156857 -2.93% -5.46% to -0.41%
    Q05 0.168424 0.167097 -0.78% -1.51% to -0.04%
    Q06 0.080061 0.047804 -40.29% -41.32% to -39.26%
    Q07 0.154033 0.159644 +3.64% +2.53% to +4.76%
    Q08 0.176980 0.173120 -1.94% -6.76% to +2.87%
    Q09 0.537306 0.509162 -5.23% -5.81% to -4.65%
    Q10 0.305937 0.294526 -3.68% -7.05% to -0.31%
    Q11 0.066304 0.067953 +2.58% -1.69% to +6.84%
    Q12 0.178967 0.181930 +2.36% -11.53% to +16.24%
    Q13 0.293071 0.292796 -0.09% -0.47% to +0.28%
    Q14 0.103036 0.078748 -23.57% -25.06% to -22.07%
    Q15 0.186025 0.134347 -27.78% -28.40% to -27.15%
    Q16 0.104489 0.102385 -2.01% -3.03% to -0.99%
    Q17 0.121394 0.122116 +0.63% -2.46% to +3.71%
    Q18 0.415096 0.428988 +3.38% +1.36% to +5.39%
    Q19 0.207793 0.211189 +1.63% +0.16% to +3.11%
    Q20 0.235549 0.225251 -4.27% -7.26% to -1.27%
    Q21 0.694193 0.691637 -0.34% -1.86% to +1.18%
    Q22 0.073840 0.073385 -0.61% -1.64% to +0.42%

    The paired change is the median of per-process-pair ratios, with one median of three warm calls per query/arm. It can differ from the ratio of the two displayed medians. The full-query qualified sample currently contains only two independent pairs; its bootstrap intervals are therefore sparse and need cautious interpretation. Contaminated pairs are not included in this table. A descriptive comparison under host interference cannot establish a causal speedup or regression and does not clear merge acceptance. Confirmed slower controls still block acceptance; gains elsewhere never offset them.

    Pair Arm Qualified arm Whole-app CPU (s) Peak memory (GiB) Physical read/write bytes Spill Swap before/after Failed gates
    0 scan False 128.214 19.679 0/0 0 [0, 0] background_cpu_window, compiler_free_window
    0 main False 130.828 19.787 0/0 0 [0, 0] background_cpu_window, compiler_free_window
    1 main False 130.666 19.838 0/0 0 [0, 0] background_cpu_window, compiler_free_window
    1 scan False 111.661 19.839 0/0 0 [0, 0] compiler_free_window
    2 scan False 111.560 19.795 0/0 0 [0, 0] background_cpu_window, compiler_free_window
    2 main False 112.881 20.023 0/0 0 [0, 0] background_cpu_window, compiler_free_window
    3 main True 112.179 20.170 0/0 0 [0, 0] None
    3 scan True 108.078 19.803 0/0 0 [0, 0] None
    4 scan True 106.791 20.385 0/0 0 [0, 0] None
    4 main True 110.658 20.210 0/0 0 [0, 0] None
    5 main True 110.066 20.221 0/0 0 [0, 0] None
    5 scan False 113.565 20.221 0/0 0 [0, 0] background_cpu_window
    6 scan False 106.790 20.342 135168/0 0 [0, 0] zero_physical_reads
    6 main True 110.331 20.060 0/0 0 [0, 0] None

    The conservative memory gate additionally includes pinned software bytes. Peak memory is a whole-arm measurement, not per-query allocation. Profiles and previous prototype timings are excluded from these latency scores.

    Remaining: independently confirm any slower qualified signals, resolve CHAR Q11/NULL controls separately, and finish broader SF100/memory/mixed-I/O acceptance before closing the parent subtasks.

    Independent slower-control confirmation

    Q7/Q18/Q19 were selected from the qualified full-query screen before this independent run. Four balanced qualified process pairs completed, with twelve measured warm calls/query after excluding the cold call. Source/binaries, SQL, CPU placement, effective cache and whole-application budget were unchanged. Resource-invalid pairs are excluded in full, never selected by timing.

    Query Main warm median (s) Candidate warm median (s) Independent paired change 95% paired bootstrap interval Conclusion
    Q07 0.148829 0.154348 +3.82% +0.04% to +5.21% Slower signal reproduced; acceptance fails
    Q18 0.330967 0.322088 -1.29% -6.49% to -0.76% Initial slowdown did not reproduce
    Q19 0.205889 0.208709 +1.46% -2.55% to +3.02% Inconclusive

    Local acceptance: FAILED / do not merge yet. Q7 is +3.64% in the qualified full-query screen and +3.82% in the independent longer comparison. The independent four-pair interval is +0.04% to +5.21%; the sample remains small, but the slower direction was reproduced. Q6's −40.29%, Q14's −23.57%, Q15's −27.78% and the roughly −3.98% sum of query medians do not waive Q7. No source-level cause is asserted yet; short Q7 CPU profiles were captured separately from latency scoring to guide the correction.

    The full-query table is based on two qualified balanced pairs and therefore displays their observed ratio range, not a nominal 95% confidence interval. The independent table uses four qualified pairs and paired bootstrap intervals. The broader SF100 and memory/mixed-I/O acceptance remains open.

    Separate Q7 profiling

    Both normal-source profiles completed 64 warm Q7 calls after excluding the cold call and passed all resource/host checks. No profile timing is included in the latency tables.

    Profile metric per warm call Main Candidate Change
    Whole-application CPU, profiled (s) 1.044441 1.087519 +4.12%
    User cycles (billions) 5.3887 5.5940 +3.81%
    User instructions (billions) 10.6414 12.7932 +20.22%

    PMU counters reported 100% running time. Exclusive user CPU-clock samples show main opBetweenFixed[int32] at5.65%, evalFilter at5.22%, unionT[int64] at1.57%, and runtime.memmove at10.04%. Candidate selectExactOrdered[int32,int32] is18.00%, unionT[int64]11.46%, and memmove1.98%. These are exclusive leaves; shared copy leaves can have multiple callers, so their entire percentages are not assigned to scan.

    Source inspection shows that main's constant-bound BETWEEN loop checks both bounds in one pass (operator_between.go), while the candidate compiler lowers BETWEEN into GE and LE descriptors (table_scan/exact_scan_filter.go:51). The profile is consistent with extra selection/gather work offsetting the saved copies. Single-pass range execution and the selected-copy path are the next hypotheses for an isolated correction; the precise causal split is not yet established. Raw recordings, PMU counters and exact engine binaries are preserved locally for that analysis.

  7. aunjgr commented on Oct 30, 2026

    @aunjgr
    ContributorAuthor

    #31785 Q7 review response — final admission-only repair

    Final measured candidate dedb4595c215857aa5ddb64c3e250365ad1a94da; current-main baseline d1594899b7381c5f0d44fa4590d21da1b09fa109. Both sides include merged #31620. The repair is independent of that PR.

    The exact-filter optimization removes repeated residual evaluation/materialization. A lone native BETWEEN already evaluates both bounds in one fused loop. Replacing that plan form with cached selection/gather added work and caused the documented Q7 slowdown. The final compiler now leaves a standalone native BETWEEN on its existing evaluator. BETWEEN inside a larger eligible conjunction still participates in cached exact filtering. Admission checks the executable operator shape; there is no query/table ID, data-dependent cutoff or configuration switch.

    An experimental single-pass range kernel reduced instructions but still reproduced Q7+3.24% in a clean longer context. It was reverted. The separate selected-copy dependency probe was diagnostic only and is not part of this repair or its qualification. No favorable component result waived the Q7 regression.

    Final current-main Q7 and affected controls

    Four balanced independent process pairs planned, plus two main-first resource replacements for the rejected main-first pairs; qualified complete pairs: [1, 2, 100]. Twelve measured warm calls/query after excluding each cold call. Same Go1.27.1 SIMD/v3/alignment64, identical release metadata, source-validated native build, eight physical CPUs, effective16GiB CN cache and32GiB whole-application budget including pinned software. Default randomized hash seeds. Scripts execute/drain only; no input/schema/table/row/reference/result/checksum verification.

    Query Main median(s) Candidate median(s) Paired change Small-sample interval / observed range Signal
    Q07 0.165498 0.170403 +2.96% -1.26% to +9.30% no_directional_signal
    Q06 0.087961 0.058943 -32.92% -33.61% to -28.47% faster
    Q14 0.117148 0.092379 -19.21% -26.57% to -18.00% faster

    Percentile intervals from small process samples are limited. Inconclusive is not proof of equivalence or a query speedup. A confirmed slowdown is not waived by gains elsewhere.

    An earlier independent longer run of the same admission repair, before the final common-main merge, retained four qualified24-warm-call pairs: Q7−2.22% (interval−8.15% to+0.06%), Q6−33.45%, Q14−25.37%. Source pins and raw data are separate below; the campaigns are not pooled.

    Execution and path receipts

    • Portable/default Go mode, GOAMD64=v1: mo-cgo-test -count=1 -timeout=3m ./pkg/sql/colexec/table_scan passes(0.093s). The existing fixture proves native BETWEEN fallback, retained compound admission in separate-expression and AND forms, real scan Prepare, nil/unsupported fallback, and existing accounting/reset/reuse.
    • Scoped configured lint/vet for table_scan passes with0issues. The full mandatory pre-push gate is recorded in the final publication receipt.
    • The existing minimal SQL BVT passes twice on the owned instance using normal expected-result comparison, with database teardown and SIGINT shutdown confirmed. These functional result checks are separate from benchmark scripts.
    • A separate real-Q7 CPU profile of the final admission logic shows native opBetweenFixed and TableScan.evalFilter; no exact-filter selection kernel appears among the reported leaves. This is path diagnosis, not a latency score.

    Full-suite qualification limit

    Final-admission Q1–Q22 execution was attempted with four paired processes and five warm calls/query. There were no qualified complete pairs: paging/physical-read and CPU/reclaim gates rejected at least one arm of every pair. Therefore no current full-suite all-memory performance PASS is claimed. Those receipts are retained below. The scoped current-main Q7 review comparison above is qualified; broader issue30850 SF10 full-suite/SF100/mixed-I/O acceptance and issue closure remain open.

    Measurement metadata is RAM-backed during capture and persisted afterward. Post-warm CPU readiness waits for an observable quiet condition. Timed-window CPU/compiler/I/O/spill/swap/OOM/pressure/pinning limits are unchanged. Failed immediate/admission-observer attempts were excluded; instrumentation writeback was not treated as engine performance.

    Campaign Arm Source head ELF SHA-256
    native_target main 75e39644734c4492cf066816b78e4a6584a6002b ecc4361d9fd88cda2ddb08bf470f1aa97adfa851121b3e29fb99b849392df270
    native_target scan 9b78b2924205817cdf9f37da28ae1af42d617fcd 87ca3c15c524aa7967b1f0d55f3c3b22845735a0e7d6f086b22fc99a5f6d46c5
    publish_target main d1594899b7381c5f0d44fa4590d21da1b09fa109 702ffe3ffb7a39eec6e5c7fa4fc36544ba973edf81e236f6c0dad775d058923b
    publish_target scan dedb4595c215857aa5ddb64c3e250365ad1a94da a84614724dbd96ef2b116c89b70f9b162306724f37b2650a0a59546eeec2cb6e
    publish_replacements main d1594899b7381c5f0d44fa4590d21da1b09fa109 702ffe3ffb7a39eec6e5c7fa4fc36544ba973edf81e236f6c0dad775d058923b
    publish_replacements scan dedb4595c215857aa5ddb64c3e250365ad1a94da a84614724dbd96ef2b116c89b70f9b162306724f37b2650a0a59546eeec2cb6e
    All target and full-screen resource receipts
    campaign,pair,arm,qualified,physical_read,physical_write,spill,swap_before_after,CPU_s,peak_GiB,failed_gates
    native_target,0,main,True,0,0,0,"[0, 0]",63.973258,9.5401,
    native_target,0,scan,True,0,0,0,"[0, 0]",53.295591,9.5926,
    native_target,1,scan,True,0,0,0,"[0, 0]",53.578051,9.5866,
    native_target,1,main,True,0,0,0,"[0, 0]",64.3849,9.6082,
    native_target,2,scan,True,0,0,0,"[0, 0]",51.024938,9.6226,
    native_target,2,main,True,0,0,0,"[0, 0]",68.279491,9.6136,
    native_target,3,main,True,0,0,0,"[0, 0]",69.112111,9.6314,
    native_target,3,scan,True,0,0,0,"[0, 0]",56.884314,9.6358,
    publish_target,0,main,True,0,0,0,"[0, 0]",34.464567,9.7223,
    publish_target,0,scan,False,0,0,0,"[0, 0]",27.945252,9.6892,background_cpu_window
    publish_target,1,scan,True,0,0,0,"[0, 0]",27.625283,9.6961,
    publish_target,1,main,True,0,0,0,"[0, 0]",33.856758,9.7052,
    publish_target,2,scan,True,0,0,0,"[0, 0]",27.51546,9.7033,
    publish_target,2,main,True,0,0,0,"[0, 0]",29.875272,9.7007,
    publish_target,3,main,True,0,0,0,"[0, 0]",33.806564,9.7087,
    publish_target,3,scan,False,0,0,0,"[0, 0]",24.284072,9.7068,background_cpu_window
    publish_replacements,0,main,True,0,0,0,"[0, 0]",32.796948,9.7048,
    publish_replacements,0,scan,True,0,0,0,"[0, 0]",28.169209,9.6999,
    publish_replacements,1,main,True,0,0,0,"[0, 0]",32.458488,9.7070,
    publish_replacements,1,scan,False,0,0,0,"[0, 0]",24.06835,9.7018,background_cpu_window
    native_full,0,main,False,0,0,0,"[0, 0]",215.247161,20.2901,background_cpu_window
    native_full,0,scan,True,0,0,0,"[0, 0]",222.442202,20.4283,
    native_full,1,scan,False,118784,0,0,"[0, 0]",194.198726,20.0066,zero_physical_reads;background_cpu_window
    native_full,1,main,False,413696,0,0,"[0, 0]",205.457177,19.9526,zero_physical_reads
    native_full,2,scan,False,180224,0,0,"[0, 0]",200.513938,19.9970,zero_physical_reads
    native_full,2,main,False,188416,0,0,"[0, 0]",205.343074,20.0072,zero_physical_reads
    native_full,3,main,False,155648,0,0,"[0, 0]",204.075272,20.2265,zero_physical_reads
    native_full,3,scan,True,0,0,0,"[0, 0]",204.429902,20.0931,
    Raw qualified target/control warm calls(seconds)
    campaign,query,pair,arm,warm_call_seconds
    native_target,Q07,0,main,0.209715493;0.165449564;0.164537767;0.161306315;0.162618092;0.179547659;0.163022531;0.158519102;0.167056470;0.158224843;0.162523002;0.164582037;0.159119230;0.178435862;0.161099485;0.171453030;0.175956628;0.158960621;0.169718034;0.178032563;0.173468224;0.165209134;0.164225127;0.160885115
    native_target,Q06,0,main,0.086028274;0.089485046;0.083148462;0.104927336;0.084965407;0.085922935;0.097668325;0.086068483;0.089703745;0.082738422;0.084358368;0.098704812;0.083439610;0.084380439;0.083636280;0.084252898;0.092932936;0.099607950;0.084315548;0.083990139;0.084223778;0.084076189;0.090749862;0.083564770
    native_target,Q14,0,main,0.132967107;0.132414247;0.120993356;0.112740567;0.120151588;0.123145821;0.113450095;0.115348751;0.126856901;0.123279000;0.111305280;0.114182773;0.115207091;0.110386192;0.126395912;0.113283605;0.131522700;0.127751489;0.117121955;0.114740061;0.121513215;0.113423854;0.113887644;0.118678482
    native_target,Q07,0,scan,0.176577843;0.161263892;0.171380606;0.161092042;0.163275147;0.159575766;0.164031164;0.185195701;0.165419511;0.173871620;0.166809068;0.169199141;0.177716960;0.160696003;0.167564176;0.162150809;0.165290081;0.161397361;0.196139793;0.166899657;0.158727847;0.161945060;0.160748092;0.162572778
    native_target,Q06,0,scan,0.080840246;0.054710211;0.068329477;0.056951056;0.055595599;0.056277797;0.055325370;0.057201705;0.053894713;0.056271547;0.053549984;0.065109165;0.053291835;0.057587134;0.054797681;0.055933688;0.056166158;0.055181820;0.054203153;0.077804722;0.057639574;0.079817897;0.054252083;0.056311257
    native_target,Q14,0,scan,0.106644110;0.104783305;0.097011734;0.087925377;0.108587415;0.087563949;0.093588673;0.096486656;0.088861775;0.093793002;0.090047572;0.088518376;0.089683222;0.092345296;0.089085514;0.095125599;0.082781120;0.087503748;0.090030392;0.089024335;0.089520013;0.089617203;0.088895674;0.087542988
    native_target,Q07,1,scan,0.178317155;0.157590448;0.172715740;0.181573957;0.161332148;0.176068141;0.159662272;0.184194650;0.158970224;0.163633293;0.161584618;0.159537373;0.170160866;0.159100294;0.162306466;0.167966501;0.162371795;0.164975229;0.192292579;0.159300144;0.166225385;0.163222013;0.165878956;0.166836604
    native_target,Q06,1,scan,0.060595716;0.056614545;0.056438666;0.054521161;0.055016140;0.056761835;0.055955637;0.054449111;0.057187735;0.064053836;0.056095387;0.070993998;0.056575936;0.057366604;0.052977195;0.058711850;0.056299257;0.053118384;0.052884056;0.068301346;0.055036250;0.061411863;0.054490171;0.052340687
    native_target,Q14,1,scan,0.117706100;0.088496985;0.090501169;0.088927133;0.088096185;0.087988176;0.088155696;0.092390514;0.087776236;0.089436212;0.088789804;0.087064088;0.098791169;0.097854460;0.095018847;0.096087035;0.093359062;0.096642424;0.098194870;0.097782130;0.087957335;0.089026983;0.089426092;0.097323331
    native_target,Q07,1,main,0.207469447;0.160425068;0.186711240;0.161761504;0.169666704;0.161053116;0.161826144;0.185867293;0.184671436;0.162036104;0.162257833;0.168358557;0.191307668;0.158674962;0.190170421;0.185702132;0.162968491;0.157502125;0.172454276;0.168382667;0.175088080;0.165509804;0.162363162;0.172148038
    native_target,Q06,1,main,0.113128790;0.083912925;0.083721145;0.084410323;0.083648225;0.103873533;0.083972054;0.083593956;0.083864704;0.083590625;0.099014905;0.083493735;0.084658433;0.083350376;0.083990694;0.094395598;0.106847305;0.093397920;0.084606483;0.085429720;0.085803990;0.104575281;0.083713935;0.086901426
    native_target,Q14,1,main,0.125480818;0.134751124;0.114866295;0.135347463;0.111709773;0.118708535;0.112188582;0.110248316;0.132261770;0.117554448;0.116531171;0.116783780;0.114651355;0.121208158;0.122693045;0.111017134;0.129082178;0.144783888;0.116249271;0.136074220;0.128320500;0.122144396;0.117059669;0.121376748
    native_target,Q07,2,scan,0.184999101;0.164794374;0.172658093;0.182055819;0.160518245;0.178388158;0.158863389;0.160213546;0.157871782;0.149614243;0.161343193;0.161192403;0.165159273;0.151801808;0.165237512;0.149056664;0.151134429;0.151879057;0.155862826;0.191671483;0.163730006;0.154417870;0.168898153;0.167981175
    native_target,Q06,2,scan,0.081346080;0.052359355;0.057105103;0.065159111;0.053178672;0.052844964;0.047728397;0.049726521;0.049305642;0.069684580;0.052696574;0.048882484;0.061336761;0.048234995;0.057380372;0.048762044;0.067485456;0.048208535;0.059963925;0.049401822;0.051861625;0.056302434;0.075146335;0.047998095
    native_target,Q14,2,scan,0.109222847;0.084975430;0.116313080;0.088965810;0.085958058;0.086015208;0.081316649;0.102381025;0.082542677;0.097628857;0.082035307;0.083084015;0.078817616;0.083089995;0.087811632;0.081279440;0.080271762;0.090616226;0.099773992;0.077149501;0.086392157;0.082226987;0.081396430;0.079532044
    native_target,Q07,2,main,0.185844617;0.173888828;0.195188102;0.167730664;0.168014773;0.156057604;0.190242615;0.189370167;0.190195115;0.177266238;0.183432052;0.169295069;0.176008502;0.174760835;0.172514351;0.175159144;0.191187232;0.171053295;0.174441796;0.167439444;0.172972589;0.198861282;0.181309348;0.179075364
    native_target,Q06,2,main,0.123158630;0.086745194;0.099480571;0.084826749;0.089367777;0.097610066;0.096025220;0.085419988;0.087207093;0.092626489;0.085985947;0.087208753;0.091922691;0.112316117;0.125876282;0.091676641;0.094544474;0.090237635;0.092582019;0.110559002;0.091224763;0.093230488;0.092001210;0.092668598
    native_target,Q14,2,main,0.126515541;0.139006319;0.116291087;0.119470849;0.131440798;0.125464574;0.127311089;0.130099301;0.138068651;0.125288254;0.117059836;0.136078376;0.126724000;0.124598706;0.164003183;0.125929642;0.134244490;0.138749128;0.122736980;0.120159147;0.125850713;0.128775085;0.155350385;0.128250706
    native_target,Q07,3,main,0.183159951;0.178573853;0.178313254;0.172099160;0.177641765;0.169254527;0.173503946;0.180027309;0.191350469;0.175521600;0.176585218;0.175161571;0.198254070;0.176706478;0.177315865;0.181417255;0.179096201;0.169169207;0.168424118;0.199597987;0.171175372;0.178207813;0.177985344;0.172887487
    native_target,Q06,3,main,0.097180835;0.086471844;0.102117883;0.087536310;0.089680676;0.105960062;0.087162402;0.095511350;0.097022096;0.090578543;0.118701849;0.090916252;0.092550188;0.088857928;0.096942446;0.091778420;0.095754649;0.089657125;0.091435071;0.090527453;0.088620237;0.092533548;0.107977477;0.089919015
    native_target,Q14,3,main,0.150550267;0.124295275;0.126868798;0.122938989;0.122505829;0.139696335;0.126845288;0.125882380;0.148411301;0.126040410;0.129859480;0.133671820;0.125079292;0.161051028;0.131951635;0.126381179;0.126670388;0.136275813;0.134982496;0.122348659;0.145898398;0.130133579;0.122230579;0.123387436
    native_target,Q07,3,scan,0.183124728;0.175297179;0.169897033;0.174182952;0.175330019;0.177222034;0.167797939;0.191187037;0.169514444;0.193481381;0.167779198;0.174219481;0.171274280;0.170845640;0.173601893;0.172189456;0.171533708;0.174773460;0.169095905;0.182764938;0.192922532;0.171545199;0.176198956;0.172379536
    native_target,Q06,3,scan,0.084314738;0.061308019;0.064929109;0.064066051;0.062298816;0.062688175;0.059412173;0.062037476;0.062412635;0.059064315;0.058225586;0.101004875;0.059045155;0.072319759;0.062630116;0.060794240;0.062488066;0.061779558;0.063817512;0.063484353;0.060872989;0.066446264;0.060998949;0.063828802
    native_target,Q14,3,scan,0.115922045;0.093282664;0.106015281;0.095310449;0.088990205;0.091642468;0.091359620;0.101140004;0.089953764;0.096090247;0.089374105;0.097995032;0.092015898;0.097016755;0.091865208;0.101009764;0.091569398;0.101736932;0.095328549;0.094618021;0.091143460;0.093793723;0.090398412;0.098680680
    publish_target,Q07,1,scan,0.180385643;0.187825822;0.168005507;0.185853748;0.167530678;0.177622310;0.169541173;0.173344822;0.167600898;0.172277795;0.165680124;0.168662065
    publish_target,Q06,1,scan,0.059523766;0.056393055;0.056777903;0.061473341;0.058772878;0.059085277;0.056180295;0.072233531;0.059086127;0.060508614;0.058801648;0.058446199
    publish_target,Q14,1,scan,0.094838829;0.094191380;0.096335424;0.089935102;0.089211174;0.087507489;0.089240654;0.095440177;0.089664193;0.110746625;0.098196459;0.090567320
    publish_target,Q07,1,main,0.173638561;0.176192144;0.178442067;0.169934491;0.168411786;0.173665441;0.171180258;0.185316819;0.173707031;0.171811596;0.172538124;0.171910855
    publish_target,Q06,1,main,0.096008165;0.090560760;0.090295141;0.087127310;0.088784194;0.115578921;0.088095927;0.088533765;0.087121929;0.087358799;0.110458525;0.088770025
    publish_target,Q14,1,main,0.122664121;0.119229291;0.128598775;0.148132910;0.121423465;0.126962249;0.124666486;0.127363619;0.142734946;0.120930786;0.120663327;0.129728392
    publish_target,Q07,2,scan,0.190387813;0.173208781;0.167222798;0.179423274;0.164638845;0.160973976;0.162322561;0.189274367;0.161650303;0.178815456;0.160960575;0.163853827
    publish_target,Q06,2,scan,0.068494511;0.060498063;0.061541340;0.069718417;0.051598947;0.056041455;0.056844463;0.056551344;0.051577748;0.054466750;0.058540008;0.071898091
    publish_target,Q14,2,scan,0.100382023;0.087693838;0.094104050;0.097203321;0.099480755;0.086047772;0.089210373;0.089617122;0.084954566;0.084674226;0.090700139;0.087350729
    publish_target,Q07,2,main,0.169224232;0.145866806;0.148210400;0.152457598;0.145048699;0.165550282;0.150336944;0.147662301;0.172475163;0.156628286;0.164912674;0.151179662
    publish_target,Q06,2,main,0.085731623;0.078753642;0.077325356;0.090586020;0.078962892;0.079025801;0.077965474;0.080522947;0.098835716;0.085393664;0.080789007;0.083699179
    publish_target,Q14,2,main,0.111610361;0.119479809;0.107613292;0.104864230;0.101417459;0.103010655;0.109958626;0.111391402;0.115390681;0.111580151;0.103819992;0.114862763
    publish_replacements,Q07,100,main,0.189641461;0.160820421;0.156849402;0.173453766;0.160449142;0.160171943;0.165840916;0.206282864;0.165154619;0.174201124;0.158655347;0.170191995
    publish_replacements,Q06,100,main,0.089856889;0.087264626;0.103830470;0.088658022;0.084436064;0.100923038;0.083851416;0.083658047;0.086255329;0.086589768;0.111885487;0.090162908
    publish_replacements,Q14,100,main,0.129806137;0.117067573;0.120551233;0.138865292;0.114905389;0.117228603;0.110559261;0.111108800;0.146993279;0.114947059;0.113206304;0.129408778
    publish_replacements,Q07,100,scan,0.169981986;0.186686034;0.167682182;0.163226733;0.180063240;0.187339112;0.169118699;0.166856034;0.182026966;0.170808224;0.169998016;0.179656121
    publish_replacements,Q06,100,scan,0.057799312;0.057782372;0.056276967;0.067890847;0.068796485;0.054111152;0.060202116;0.072431345;0.069370542;0.056281716;0.056719095;0.068853454
    publish_replacements,Q14,100,scan,0.096457234;0.089288672;0.089142062;0.089761371;0.099910765;0.097870620;0.089320052;0.101318311;0.095655176;0.101747490;0.094215590;0.099014977
  8. aunjgr commented on Oct 30, 2026

    @aunjgr
    ContributorAuthor

    #31785: qualified SF10 Q1–Q22 screen and independent Q18 confirmation

    The full-suite evidence gap in the previous update is now closed for local warm SF10. Three complete Q1–Q22 process pairs qualify under the original resource limits. Q6/Q14/Q15 retain lower latency. Q7 remains inconclusive. The only consistent slower screen signal, Q18, did not reproduce in a separate longer balanced comparison. This is neither a Q7 speedup/equivalence claim nor SF100/mixed-I/O acceptance; issue closure remains open.

    Measured baseline d1594899b7381c5f0d44fa4590d21da1b09fa109 and candidate dedb4595c215857aa5ddb64c3e250365ad1a94da both include merged #31620. This measures the final native standalone-BETWEEN preference, with the unsuccessful range-kernel experiment reverted. The later CI repair changes only test deadline/admission handling. Subsequent common-main changes concern declared catalog metadata and INSERT/UPDATE CTE target binding, not the admitted scan/reader/native BETWEEN/aggregation execution closures. These are source-pinned measurements, not newly rebuilt measurements of the later merge.

    Measurement correction and qualification

    A separate syscall/mmap diagnostic found 29 runtime-loaded paths (about 20.2 MiB) outside the initial ldd-derived software closure, including libraries loaded dynamically. Both arms now pin the complete observed closure before measurement; software pinning and its bytes remain included in the 32 GiB whole-application budget. Every arm of the new full screen has zero physical read/write bytes. The diagnostic itself was traced, had an unsuccessful wrapper teardown, and contributes no latency result; its owned processes were subsequently stopped.

    Unchanged local settings: Go1.27.1, SIMD/v3/alignment64, matched release metadata, eight physical CPUs, effective 16 GiB CN cache, RAM-backed database image and measurement metadata, 32 GiB application budget. Default randomized hash seeds. Cold calls are excluded. Scripts execute/drain only: no input/schema/table/row/reference/result/checksum verification. Profiles are separate from latency scoring.

    Four alternating-order independent pairs were planned; complete qualified pairs are 0, 2 and 3, with five measured warm calls/query/arm. Pair 1 is excluded in full because its candidate arm exceeded the existing background-CPU gate. No CPU/compiler/I/O/spill/swap/OOM/pressure/pinning threshold was relaxed. All eight arms had zero physical I/O, swap and spilling.

    Full SF10 screen

    Paired change is the median of candidate/main ratios of matched process medians. The two pooled timing columns need not have that ratio. With only three complete pairs, the range below is the observed pair range, not a precise confidence interval. Screen signals guide confirmation; they are not proof of equivalence or attribution for every small difference.

    Query Main median (s) Candidate median (s) Paired change Observed pair range Screen signal
    Q01 0.713572 0.705746 -1.10% -5.40% to +2.54% inconclusive
    Q02 0.043585 0.044065 -1.16% -1.86% to +36.58% inconclusive
    Q03 0.224838 0.202727 -3.85% -12.68% to -3.61% lower in all 3 pairs
    Q04 0.184525 0.175310 +0.51% -10.88% to +6.02% inconclusive
    Q05 0.187742 0.181063 -2.77% -9.44% to -0.82% lower in all 3 pairs
    Q06 0.085728 0.054716 -36.46% -39.72% to -35.72% lower in all 3 pairs
    Q07 0.168622 0.167043 +0.82% -4.71% to +13.47% inconclusive
    Q08 0.189633 0.190253 +0.53% -11.66% to +2.29% inconclusive
    Q09 0.595260 0.605292 +0.30% -1.66% to +6.66% inconclusive
    Q10 0.354856 0.342827 -6.18% -8.60% to +1.75% inconclusive
    Q11 0.069034 0.068385 +0.86% -7.57% to +2.88% inconclusive
    Q12 0.196221 0.183256 -8.08% -9.77% to -2.21% lower in all 3 pairs
    Q13 0.356343 0.349192 -2.16% -9.67% to +0.12% inconclusive
    Q14 0.121298 0.089348 -21.99% -30.56% to -13.19% lower in all 3 pairs
    Q15 0.210420 0.147400 -29.21% -35.80% to -28.30% lower in all 3 pairs
    Q16 0.117047 0.118285 +0.11% -5.05% to +2.45% inconclusive
    Q17 0.133721 0.129665 -3.03% -12.46% to +20.46% inconclusive
    Q18 0.455874 0.464601 +1.65% +0.32% to +9.46% higher in all 3; see confirmation
    Q19 0.244608 0.224661 -4.07% -8.91% to -2.35% lower in all 3 pairs
    Q20 0.271606 0.250207 -7.88% -10.20% to +0.23% inconclusive
    Q21 0.752042 0.779329 +3.63% -2.55% to +4.81% inconclusive
    Q22 0.078734 0.075730 -2.24% -6.59% to +0.33% inconclusive

    Q18 independent confirmation

    Four new balanced qualified process pairs, 16 warm calls/arm, same binaries and unchanged gates: main median 0.386786s; candidate 0.386573s. Paired change +0.03%, small-sample bootstrap interval -1.03% to +1.85%. Individual pair changes: +1.85%, +0.37%, -0.30%, -1.03%. The screen's +1.65% Q18 result did not reproduce as a directional signal. This removes that unconfirmed screen flag; gains elsewhere were not used to waive it.

    Q7 is +0.82% in the full screen, with a wide −4.71% to +13.47% observed range. Earlier publication-head target-only measurements were also inconclusive. The campaigns are not pooled. Real-Q7 profiling and the admission fixture establish native BETWEEN/evalFilter fallback; latency evidence does not establish equivalence. External reassessment remains appropriate.

    Exact source and executable identity

    Arm Source commit ELF SHA-256
    main d1594899b7381c5f0d44fa4590d21da1b09fa109 702ffe3ffb7a39eec6e5c7fa4fc36544ba973edf81e236f6c0dad775d058923b
    scan dedb4595c215857aa5ddb64c3e250365ad1a94da a84614724dbd96ef2b116c89b70f9b162306724f37b2650a0a59546eeec2cb6e
    All full-screen and Q18 resource receipts
    campaign,pair,arm,qualified,physical_read_bytes,physical_write_bytes,spill_events,swap_before_after,CPU_s,peak_GiB,software_pinned_bytes,conservative_application_GiB,failed_gates
    runtime_pinned_full,0,main,True,0,0,0,"[0, 0]",212.941123,19.9358,545278556,20.4436,
    runtime_pinned_full,0,scan,True,0,0,0,"[0, 0]",199.252985,20.2467,545353036,20.7546,
    runtime_pinned_full,1,scan,False,0,0,0,"[0, 0]",198.640554,20.2609,545353036,20.7688,background_cpu_window
    runtime_pinned_full,1,main,True,0,0,0,"[0, 0]",204.262105,20.2819,545278556,20.7898,
    runtime_pinned_full,2,scan,True,0,0,0,"[0, 0]",197.367188,20.1424,545353036,20.6503,
    runtime_pinned_full,2,main,True,0,0,0,"[0, 0]",208.339736,20.3177,545278556,20.8255,
    runtime_pinned_full,3,main,True,0,0,0,"[0, 0]",202.943868,19.7798,545278556,20.2877,
    runtime_pinned_full,3,scan,True,0,0,0,"[0, 0]",199.076649,20.3693,545353036,20.8772,
    runtime_pinned_q18,0,main,True,0,0,0,"[0, 0]",45.202961,8.4213,545278556,8.9291,
    runtime_pinned_q18,0,scan,True,0,0,0,"[0, 0]",46.487095,8.4640,545353036,8.9719,
    runtime_pinned_q18,1,scan,True,0,0,0,"[0, 0]",45.496976,8.4535,545353036,8.9614,
    runtime_pinned_q18,1,main,True,0,0,0,"[0, 0]",45.135270,8.4487,545278556,8.9566,
    runtime_pinned_q18,2,scan,True,0,0,0,"[0, 0]",45.406806,8.4425,545353036,8.9504,
    runtime_pinned_q18,2,main,True,0,0,0,"[0, 0]",45.514239,8.4524,545278556,8.9602,
    runtime_pinned_q18,3,main,True,0,0,0,"[0, 0]",45.691479,8.4626,545278556,8.9704,
    runtime_pinned_q18,3,scan,True,0,0,0,"[0, 0]",45.591620,8.4452,545353036,8.9531,
    Raw qualified warm calls, separately by query/pair/arm (seconds)
    campaign,query,pair,arm,warm_call_seconds
    runtime_pinned_full,Q01,0,main,0.708335802;0.735513927;0.794075574;0.708752533;0.713572428
    runtime_pinned_full,Q02,0,main,0.047777860;0.045183088;0.041912728;0.043071575;0.044899689
    runtime_pinned_full,Q03,0,main,0.232857858;0.238667190;0.226160859;0.208493785;0.218587973
    runtime_pinned_full,Q04,0,main,0.172848716;0.189825303;0.184525490;0.181874139;0.189437955
    runtime_pinned_full,Q05,0,main,0.181808588;0.270323810;0.187742170;0.177654872;0.209109394
    runtime_pinned_full,Q06,0,main,0.087183086;0.108126331;0.090767255;0.102932907;0.087426455
    runtime_pinned_full,Q07,0,main,0.178530078;0.180191934;0.170905643;0.167176525;0.173850554
    runtime_pinned_full,Q08,0,main,0.220287007;0.224491524;0.207661218;0.181763339;0.211953674
    runtime_pinned_full,Q09,0,main,0.649874586;0.664271951;0.603480753;0.561956484;0.586749297
    runtime_pinned_full,Q10,0,main,0.417424617;0.383512184;0.370902194;0.360880826;0.397355322
    runtime_pinned_full,Q11,0,main,0.078530183;0.090731795;0.070698668;0.073962448;0.070865338
    runtime_pinned_full,Q12,0,main,0.205016155;0.204275078;0.195484066;0.205850093;0.203261801
    runtime_pinned_full,Q13,0,main,0.444287102;0.378787049;0.386567685;0.359597020;0.389600747
    runtime_pinned_full,Q14,0,main,0.137060049;0.124791957;0.125620505;0.120164343;0.127631449
    runtime_pinned_full,Q15,0,main,0.244964820;0.214045837;0.237842522;0.201747196;0.226653248
    runtime_pinned_full,Q16,0,main,0.128891314;0.121373729;0.124581589;0.120136092;0.131078298
    runtime_pinned_full,Q17,0,main,0.155323582;0.129059784;0.133721489;0.130127541;0.151600844
    runtime_pinned_full,Q18,0,main,0.540791979;0.434633053;0.446155148;0.442067062;0.451192183
    runtime_pinned_full,Q19,0,main,0.244607800;0.251087581;0.234663793;0.271148168;0.223432589
    runtime_pinned_full,Q20,0,main,0.324133401;0.263044213;0.277474858;0.271605987;0.263507072
    runtime_pinned_full,Q21,0,main,0.863820453;0.744058101;0.820758911;0.792575461;0.760039604
    runtime_pinned_full,Q22,0,main,0.100523214;0.077884695;0.076935598;0.078734253;0.082000462
    runtime_pinned_full,Q01,0,scan,0.781343252;0.691560225;0.701983762;0.705745791;0.711555075
    runtime_pinned_full,Q02,0,scan,0.044065432;0.048591598;0.041465720;0.047164483;0.043500384
    runtime_pinned_full,Q03,0,scan,0.237183097;0.217999667;0.198241140;0.230108280;0.199668086
    runtime_pinned_full,Q04,0,scan,0.196191096;0.199974174;0.191725450;0.178988590;0.195628358
    runtime_pinned_full,Q05,0,scan,0.197652341;0.191208361;0.185832518;0.184473913;0.186206697
    runtime_pinned_full,Q06,0,scan,0.067104899;0.056206474;0.054179040;0.054715789;0.052872705
    runtime_pinned_full,Q07,0,scan,0.178226472;0.165661091;0.166158600;0.165461252;0.164296316
    runtime_pinned_full,Q08,0,scan,0.187240714;0.183498886;0.193849593;0.186496147;0.190671713
    runtime_pinned_full,Q09,0,scan,0.633680455;0.613598719;0.605291956;0.605163926;0.594209962
    runtime_pinned_full,Q10,0,scan,0.351343510;0.350532902;0.345820348;0.349353837;0.365309407
    runtime_pinned_full,Q11,0,scan,0.072505393;0.076830769;0.067419629;0.068365266;0.067882278
    runtime_pinned_full,Q12,0,scan,0.214775578;0.177713134;0.186631156;0.184323283;0.179492649
    runtime_pinned_full,Q13,0,scan,0.358447027;0.344505432;0.343947154;0.349191638;0.356311516
    runtime_pinned_full,Q14,0,scan,0.091424394;0.084242097;0.085513732;0.087225777;0.090779806
    runtime_pinned_full,Q15,0,scan,0.145503844;0.142330534;0.152005904;0.144353959;0.146228252
    runtime_pinned_full,Q16,0,scan,0.119156787;0.119073197;0.114137453;0.115652748;0.118285240
    runtime_pinned_full,Q17,0,scan,0.129664664;0.129088506;0.127725810;0.145304985;0.132236617
    runtime_pinned_full,Q18,0,scan,0.537388667;0.468766472;0.494488812;0.488345333;0.447559261
    runtime_pinned_full,Q19,0,scan,0.222701442;0.265979908;0.225199516;0.238867103;0.255748381
    runtime_pinned_full,Q20,0,scan,0.296736911;0.249241509;0.256790196;0.250206557;0.250105537
    runtime_pinned_full,Q21,0,scan,0.800427604;0.763569290;0.771206756;0.784273607;0.772333075
    runtime_pinned_full,Q22,0,scan,0.092656779;0.074260268;0.075323545;0.078996682;0.079351922
    runtime_pinned_full,Q01,2,scan,0.701684513;0.706134509;0.695940711;0.688003076;0.702096333
    runtime_pinned_full,Q02,2,scan,0.044028723;0.043077826;0.047029994;0.041802241;0.042260329
    runtime_pinned_full,Q03,2,scan,0.208958062;0.196336531;0.203229940;0.194734136;0.189579872
    runtime_pinned_full,Q04,2,scan,0.174652998;0.179617533;0.189725521;0.169511164;0.169659744
    runtime_pinned_full,Q05,2,scan,0.171205868;0.174212509;0.167702910;0.175060167;0.170757611
    runtime_pinned_full,Q06,2,scan,0.070730641;0.052794216;0.055505168;0.054456951;0.051691359
    runtime_pinned_full,Q07,2,scan,0.178569416;0.168775177;0.192077744;0.191330647;0.192391034
    runtime_pinned_full,Q08,2,scan,0.190252729;0.211015375;0.190259800;0.184660447;0.187552398
    runtime_pinned_full,Q09,2,scan,0.614774202;0.573506721;0.568201467;0.555418928;0.547888542
    runtime_pinned_full,Q10,2,scan,0.340778963;0.332943747;0.339462117;0.325276161;0.323674427
    runtime_pinned_full,Q11,2,scan,0.071820957;0.067843299;0.072150026;0.067658380;0.068385108
    runtime_pinned_full,Q12,2,scan,0.183256141;0.177576629;0.177061681;0.188039607;0.190345590
    runtime_pinned_full,Q13,2,scan,0.352989715;0.355455177;0.347640442;0.348641309;0.346097957
    runtime_pinned_full,Q14,2,scan,0.089261983;0.110257088;0.105299983;0.105965551;0.087873397
    runtime_pinned_full,Q15,2,scan,0.182789483;0.150624193;0.144006374;0.150877852;0.162519056
    runtime_pinned_full,Q16,2,scan,0.123419627;0.120315317;0.119726548;0.118623252;0.115932971
    runtime_pinned_full,Q17,2,scan,0.136420666;0.126782297;0.132883608;0.127227086;0.127962803
    runtime_pinned_full,Q18,2,scan,0.534250303;0.452695916;0.440788283;0.461896718;0.457321882
    runtime_pinned_full,Q19,2,scan,0.239314067;0.224661203;0.220093527;0.224555284;0.227899744
    runtime_pinned_full,Q20,2,scan,0.251905118;0.250953181;0.244388872;0.238285401;0.236518706
    runtime_pinned_full,Q21,2,scan,0.808879460;0.777921547;0.783151621;0.757659361;0.806767459
    runtime_pinned_full,Q22,2,scan,0.084053640;0.075199587;0.075172987;0.077669879;0.075042178
    runtime_pinned_full,Q01,2,main,0.720983408;0.761764362;0.741704435;0.739723121;0.758130095
    runtime_pinned_full,Q02,2,main,0.044685262;0.043192407;0.043584555;0.041149273;0.047962002
    runtime_pinned_full,Q03,2,main,0.239203799;0.214568646;0.224837914;0.208774614;0.260405094
    runtime_pinned_full,Q04,2,main,0.206200862;0.171893818;0.195978624;0.181670298;0.214603966
    runtime_pinned_full,Q05,2,main,0.199267303;0.180188063;0.189042995;0.178020249;0.244237485
    runtime_pinned_full,Q06,2,main,0.085708064;0.086608612;0.085658635;0.085335366;0.093117372
    runtime_pinned_full,Q07,2,main,0.168621988;0.162619917;0.165110029;0.173743612;0.186470164
    runtime_pinned_full,Q08,2,main,0.184147260;0.214790975;0.189248574;0.186284444;0.201857185
    runtime_pinned_full,Q09,2,main,0.625967982;0.577774722;0.577460274;0.559817567;0.584803241
    runtime_pinned_full,Q10,2,main,0.390112273;0.354856442;0.357228104;0.332041203;0.337385737
    runtime_pinned_full,Q11,2,main,0.070295772;0.067799510;0.067645631;0.067163132;0.085004887
    runtime_pinned_full,Q12,2,main,0.191910166;0.200032711;0.187390820;0.176875563;0.177646650
    runtime_pinned_full,Q13,2,main,0.356342677;0.351420033;0.358233201;0.346503388;0.365388620
    runtime_pinned_full,Q14,2,main,0.116306131;0.121040795;0.121298105;0.147509204;0.137255595
    runtime_pinned_full,Q15,2,main,0.212795691;0.201402047;0.207190289;0.234328015;0.210420419
    runtime_pinned_full,Q16,2,main,0.119964658;0.113653428;0.115943461;0.137814083;0.116866969
    runtime_pinned_full,Q17,2,main,0.156219217;0.126666098;0.152384818;0.146178978;0.133254217
    runtime_pinned_full,Q18,2,main,0.553824075;0.448966460;0.455873760;0.520691559;0.441143046
    runtime_pinned_full,Q19,2,main,0.221553554;0.246630907;0.221506004;0.250062436;0.278734668
    runtime_pinned_full,Q20,2,main,0.277568571;0.272138738;0.264427272;0.341102175;0.260026916
    runtime_pinned_full,Q21,2,main,0.744930944;0.748177954;0.747205978;0.819944584;0.744990445
    runtime_pinned_full,Q22,2,main,0.076919862;0.079209795;0.075019778;0.077276581;0.075317087
    runtime_pinned_full,Q01,3,main,0.714728172;0.702116381;0.683806038;0.692807121;0.745034480
    runtime_pinned_full,Q02,3,main,0.042914067;0.046657576;0.044028734;0.042471869;0.042668389
    runtime_pinned_full,Q03,3,main,0.218790584;0.221162127;0.210843889;0.204841257;0.207803989
    runtime_pinned_full,Q04,3,main,0.174425501;0.180296693;0.170741512;0.186703894;0.168906769
    runtime_pinned_full,Q05,3,main,0.186224125;0.181038931;0.189834664;0.179601155;0.187600271
    runtime_pinned_full,Q06,3,main,0.095498935;0.085145457;0.105098096;0.085728445;0.084102231
    runtime_pinned_full,Q07,3,main,0.189620014;0.164757401;0.162891947;0.174749201;0.165681738
    runtime_pinned_full,Q08,3,main,0.186868413;0.195236057;0.179424275;0.189633314;0.206039464
    runtime_pinned_full,Q09,3,main,0.618814048;0.597915223;0.595260022;0.584702105;0.582715151
    runtime_pinned_full,Q10,3,main,0.359365040;0.330796108;0.347478667;0.336914840;0.336676041
    runtime_pinned_full,Q11,3,main,0.069034457;0.071125731;0.066936904;0.071882818;0.067927340
    runtime_pinned_full,Q12,3,main,0.199570023;0.196220874;0.204806187;0.174746650;0.176286956
    runtime_pinned_full,Q13,3,main,0.354117487;0.351968163;0.350523928;0.352045053;0.352250933
    runtime_pinned_full,Q14,3,main,0.132825960;0.113280200;0.114538056;0.113666469;0.114569336
    runtime_pinned_full,Q15,3,main,0.208215307;0.228915103;0.204680738;0.192395246;0.224863346
    runtime_pinned_full,Q16,3,main,0.117047348;0.117493647;0.109969210;0.120986927;0.113665339
    runtime_pinned_full,Q17,3,main,0.125951441;0.126362660;0.129581580;0.143925125;0.123854968
    runtime_pinned_full,Q18,3,main,0.545920854;0.443690139;0.458588804;0.451499596;0.457037639
    runtime_pinned_full,Q19,3,main,0.234195417;0.223394860;0.259322159;0.220816549;0.233925868
    runtime_pinned_full,Q20,3,main,0.258488491;0.264934842;0.255376792;0.256802227;0.252428701
    runtime_pinned_full,Q21,3,main,0.744893230;0.773122743;0.752042018;0.742774947;0.779844063
    runtime_pinned_full,Q22,3,main,0.078191359;0.082221786;0.098692515;0.074645959;0.081071659
    runtime_pinned_full,Q01,3,scan,0.751426853;0.700668850;0.719983131;0.697869909;0.739238312
    runtime_pinned_full,Q02,3,scan,0.047922422;0.060432204;0.061051671;0.058610090;0.041753121
    runtime_pinned_full,Q03,3,scan,0.231576136;0.202216126;0.201498949;0.205143627;0.202726545
    runtime_pinned_full,Q04,3,scan,0.181806320;0.173642255;0.170144006;0.175310090;0.189810176
    runtime_pinned_full,Q05,3,scan,0.192596466;0.181063461;0.186852364;0.178487010;0.178691669
    runtime_pinned_full,Q06,3,scan,0.055107520;0.054239303;0.054359432;0.055689458;0.058487270
    runtime_pinned_full,Q07,3,scan,0.174112923;0.162649059;0.164932012;0.167043285;0.177265904
    runtime_pinned_full,Q08,3,scan,0.199027776;0.183662714;0.181719899;0.193979273;0.199634395
    runtime_pinned_full,Q09,3,scan,0.656515166;0.608207166;0.634899274;0.637254346;0.600828979
    runtime_pinned_full,Q10,3,scan,0.344649547;0.330658210;0.342827044;0.332709964;0.347861038
    runtime_pinned_full,Q11,3,scan,0.070557153;0.071019781;0.071992308;0.072764196;0.067618772
    runtime_pinned_full,Q12,3,scan,0.180368394;0.180260685;0.180681303;0.178379760;0.185467098
    runtime_pinned_full,Q13,3,scan,0.362255084;0.352456314;0.355135495;0.352202675;0.348267797
    runtime_pinned_full,Q14,3,scan,0.094862227;0.090471931;0.085592186;0.082538345;0.089348115
    runtime_pinned_full,Q15,3,scan,0.148403603;0.158457902;0.146043400;0.147400086;0.144598724
    runtime_pinned_full,Q16,3,scan,0.124341917;0.119268123;0.117177559;0.116452151;0.113209981
    runtime_pinned_full,Q17,3,scan,0.141006185;0.160618335;0.152839589;0.149329720;0.152221311
    runtime_pinned_full,Q18,3,scan,0.552548247;0.465184286;0.454416459;0.464600788;0.439533216
    runtime_pinned_full,Q19,3,scan,0.229951781;0.226493091;0.224405379;0.224111569;0.217959508
    runtime_pinned_full,Q20,3,scan,0.260457917;0.260970526;0.256051500;0.257392977;0.235032816
    runtime_pinned_full,Q21,3,scan,0.793790803;0.849620051;0.779328729;0.774133455;0.754491375
    runtime_pinned_full,Q22,3,scan,0.075730116;0.076898183;0.077013102;0.073608653;0.074621100
    runtime_pinned_q18,Q18,0,main,0.472530144;0.399087479;0.388882290;0.386574077;0.390183687;0.381440693;0.376937597;0.383035338;0.380547026;0.382246490;0.383682666;0.376255699;0.398384001;0.392400619;0.389090210;0.383574636
    runtime_pinned_q18,Q18,0,scan,0.519019693;0.391522402;0.377103257;0.393593626;0.419459417;0.393001858;0.383431367;0.391136833;0.396454618;0.387645095;0.379963888;0.399501818;0.395116961;0.385034442;0.393424057;0.381028664
    runtime_pinned_q18,Q18,1,scan,0.484975047;0.386971537;0.379908339;0.384082465;0.406269128;0.379402600;0.385738090;0.380987035;0.399710518;0.386013260;0.387953364;0.372367871;0.392920679;0.382566241;0.385202632;0.387173106
    runtime_pinned_q18,Q18,1,main,0.473934061;0.383574287;0.386978227;0.384771174;0.397315995;0.381195945;0.383224338;0.387815004;0.405701470;0.376109610;0.384159126;0.375693761;0.411810541;0.379794509;0.380228278;0.399213129
    runtime_pinned_q18,Q18,2,scan,0.467654401;0.391067195;0.377340457;0.377362026;0.391743893;0.384403675;0.385596192;0.378330394;0.393361198;0.398388972;0.376724479;0.385925190;0.388616022;0.384754624;0.388950162;0.399810959
    runtime_pinned_q18,Q18,2,main,0.468851837;0.392927450;0.389469860;0.383673387;0.389559720;0.387997314;0.378151934;0.377467067;0.376863218;0.401693953;0.382209322;0.387431926;0.375258113;0.395374672;0.388888762;0.398275743
    runtime_pinned_q18,Q18,3,main,0.478744608;0.414783573;0.387476776;0.382382921;0.399441450;0.385511392;0.381874103;0.390879066;0.391444644;0.379151942;0.389017162;0.389458721;0.396633549;0.383182409;0.398119644;0.386448279
    runtime_pinned_q18,Q18,3,scan,0.467939801;0.399693399;0.382253092;0.385442943;0.390608887;0.389190341;0.392502501;0.385011054;0.381322735;0.396049510;0.383170720;0.381562954;0.380840867;0.379033462;0.377890796;0.400193457
  9. assigned and unassigned on Nov 18, 2026
  10. XuPeng-SH commented on Nov 18, 2026

    @XuPeng-SH
    Contributor

    转交 QA:cached exact scan filter 已合入

    @Ariznawlll 请接手回归。本次转测不代表完整性能验收或关闭 issue。

    • perf(scan): filter cached fixed-width columns before materialization #31785 已合入 main:0df8dded57f4a2ffa6fc16ce79ee8398881e9c25。在已有 column-cache lease 内评估完整、有序、可接纳的定宽复合谓词,再一次物化存活物理行;独立 native BETWEEN 保留原有 fused evaluator,unsupported/varlen/appendable/rowid/Top-K 等保留 generic 路径。不宣称后续所有 scan/materialization 优化均完成。
    • 完整 review 已核:早期 Q7 concern 经 native BETWEEN admission 修正及后续证据关闭,最终 d8443d85765fd6f45d06de581da87c369f506ab9 review approve,无 actionable defects。该 reviewer 报告六个 affected package suites 正常及 race/vet 通过;SQL/topology 依赖所提供 CI/作者报告,并未本地跑 BVT。这些是已有证据,本次巡检没有执行测试。
    • 性能原始证据:测量为 main d1594899b7 / candidate dedb4595c2,不是最终 merge 的新基准。SF10 Q1–Q22 三个 qualified process pairs 中 Q6/Q14/Q15 分别 -36.46%/-21.99%/-29.21%;Q7 +0.82%(观察范围 -4.71% 至 +13.47%)不确定。Q18 的 +1.65% screen signal 经独立四对、每臂 16 warm calls 变为 +0.03%(-1.03% 至 +1.85%),未复现。旧 candidate 的 Q7 +3.82% 不应作为最终实现的现存反例;也不声称统计等价。
    • 未测/验收边界:最终合并版本独立复测、SF100/mixed-I/O 及更广部署仍待 QA。基准仅 execute/drain,没有 input/schema/row/result/checksum 验证,正确性测试与计时证据须分开。本次未运行 SQL、package/race 或 benchmark。
    • 建议优先验证 standalone/compound BETWEEN admission、integer/DATE/Decimal64、NULL 与 tombstone 可见性、谓词错误顺序、physical row order/duplicates、allocation/metadata、lease 生命周期、reset/free 和 unsupported fallback;同时复核 Q7/Q18 及泛用路径性能。
    • umbrella 中 non-JSON/CHAR specialization、partial-prefilter/varlen 等后续设计建议不在本次窄交付中宣称完成,也不将可选进一步优化自动设为本组件转测前置条件。
  11. Ariznawlll commented on Nov 19, 2026

    @Ariznawlll
    Collaborator

    QA 本轮验收:功能探针与 focused Go 测试通过,完整优化/性能验收未闭环

    本轮针对已合入 main 的 #31785(merge 0df8dded57f4a2ffa6fc16ce79ee8398881e9c25)追加独立验证。结论不是发现了新的 SQL 结果错误,而是现有证据不足以完成本 issue 的优化命中与性能验收,保持 OPEN。

    验证版本与范围

    • 本地运行实例:035af996806917b23d9428695e0295b65cb16356,git_version()=035af99680,version()=8.0.30-MatrixOne-v1.3.0。
    • focused Go 验证树 HEAD:3b95c0878f88b3da58bf3e65c369b7ef4d13104e。
    • 已用 Git 祖先关系核对:perf(scan): filter cached fixed-width columns before materialization #31785 的 merge commit 同时位于上述运行实例和 Go 验证树的祖先链中。
    • 本轮只覆盖 main 交付线,不外推到 4.2-dev/hotfix;没有修改产品源码。

    本轮实际通过项

    1. 持久化定宽表的真实 SQL 探针已执行;flush 前后结果符合预期,OR fallback 探针也返回预期结果。
    2. pkg/objectio 以下测试实跑 PASS:
      • TestExactScanOwnsSelectedOutputAndReusesState
      • TestExactScanScalarBoundariesAndConstants
      • TestExactScanAllocationFailureClearsBorrowedViews
      • TestExactScanPrimitiveTruthTables
      • TestExactScanAllNoneAndMalformedSource
    3. TestCompileExactScanFilterAdmission PASS。
    4. TestBlockDataReadWithFilterDefersPayload 及其 tombstone、zero-survivor、metadata、fallback 等子测试全部 PASS。

    这些结果支持 cached exact scan filter 的组件语义、所有权和部分异常路径,但不能单独证明普通客户端 SQL 在最终合并版本中命中了目标 fast path。

    尚未通过验收的项目

    • 普通 EXPLAIN ANALYZE 没有公开 ExactScanStats.Applied 等可直接判定 exact fast-path 命中的统计;本轮也未取得等价的公开 profile/counter 证据。
    • 尝试 EXPLAIN FOR CONNECTION 返回 not supported: EXPLAIN FOR CONNECTION。这是本次诊断手段的限制,不单独记作新的产品结果反例。
    • 不能由查询返回正确行数反推 exact fast path 已执行;generic filter 同样可能返回正确结果。
    • 本轮没有完成最终合并版本的固定源/固定二进制、同机配对、完整结果消费的独立性能复测,也未补齐原 issue 要求的 SF100、mixed-I/O、资源成本及完整对照矩阵。
    • 历史 Q7/Q18 数据仍按原测量记录处理;本轮没有独立复测,既不把它当作新的性能通过证据,也不把它改写成本轮新发现的产品回归。

    QA 结论

    功能探针和 focused Go 测试通过;真实 SQL 公共路径的直接优化命中证据与完整性能验收仍未闭环。 后续至少需要一项能对应到真实 SQL 的 exact-path 命中计数或可信 profile,以及符合原 issue 资源和对照要求的独立性能结果,才能据此完成整项验收。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/subtaskseverity/s0

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions