XSci

XplainDB: Constraint-Driven Index Optimisation and Evidential Reporting for PostgreSQL

Salam Fuseini, Eldad Antwi-Bekoe, Rose-Mary Owusuaa Mensah Gyening, Maxwell Dorgbefu Jnr, Mavis Serwaa Boateng

Submitted by Eldad Antwi-Bekoe

Published October 27, 2026 · Version v1, October 27, 2026 · DOI 10.66977/xsci.2610.002y

Database Systems, Index Advisor, Query Optimization

Abstract

Indexes can reduce query-processing work but consume storage and add maintenance when rows change. Existing index advisors can recommend portfolios without exposing how query priorities and resource limits shaped the choice, whether the solver proved its result, or whether estimated benefits persisted after materialisation. This paper proposes XplainDB, a PostgreSQL index advisor that records this evidence. It evaluates candidate B-tree indexes using PostgreSQL and HypoPG. Three stages minimise estimated workload cost within an index allowance, seek a smaller portfolio within an estimated-cost margin, and minimise cost at that size. Evaluation used TPC Benchmark H (TPC-H), TPC Benchmark DS (TPC-DS), the Join Order Benchmark, three strategy-inspired baselines, runtime tests, and data-modification tests. On TPC-H, three XplainDB indexes reduced estimated workload cost by 99.86%, within 0.01 percentage points of the highest five-index strategy result. On TPC-DS, priority-aware selection increased priority-weighted utility from 57.69% to 61.79%. A 15% estimated-cost margin reduced the TPC-H portfolio from five indexes to two while estimated improvement decreased by 0.0204 percentage points. The materialised priority-aware TPC-H portfolio reduced summed comparable per-query median runtime by 20.76%. XplainDB records each selected index’s estimated contribution, affected queries, alternatives, active constraints, and solver certainty. An optional local language model explains recorded evidence without changing the recommendation. The study contributes a transparent, evidence-aligned approach to index selection, while offering a reproducible foundation for explainable and priority-aware index advisors.

View PDF

Review reports

Reviewer3 (AI review)

November 1, 2026

AI Review (reviewer3.com)

Overview

Three-Phase Constraint Optimization

Contribution

The authors develop a three-phase CP-SAT optimization procedure that minimizes estimated query workload cost within a maximum allowance, reduces index portfolio size within an accepted cost tolerance, and re-minimizes cost at the retained size.

Integrated Evidential Reporting Framework

Contribution

This study establishes an index-selection reporting framework for PostgreSQL that pairs recommended index portfolios with phase-specific solver certainty, leave-one-out attribution, evaluated excluded alternatives, and separate physical validation results.

Comments (9)

1. Core CLI record omits per-index alternatives for multi-index portfolios — Major

recommendation records. TPC-DS LOO losses and uniquely helped queries come from its frozen record; its per-index alternatives were exhaustively computed from the frozen 3,171-candidate cost matrix.

Although the methodology and Table 8 present per-index closest excluded alternatives (Equations 13 and 14) as a standard component of deterministic attribution, the core command-line record only computes a single global best swap across the entire portfolio. For TPC-DS in Table 8, the per-index alternatives were not produced by the frozen recommendation record at all, but had to be computed retrospectively from the cost matrix.

2. Insufficient details on the local LLM challenge suite and mismatches — Major

The optional explanation evaluation used a frozen six-case challenge suite. Each predefined case encoded an evidence-boundary condition and ten expected structured fields. Qwen2.5-1.5B was called through the local Ollama

The supplementary evaluation of the local LLM (Qwen2.5-1.5B) reports an 89.44% accuracy across 6 predefined cases (19 mismatches out of 180 fields), but neither the main text nor Online Resource 1 specifies what the 6 boundary cases are, what the 10 expected JSON schema fields represent, or which factual boundaries accounted for the 19 errors.

3. Baselines lack stopping tolerances and match Phase 1 without tolerance — Major

With a maximum allowance of five indexes and a 10% estimated-cost tolerance, XplainDB selected three TPC-H indexes and achieved 99.86% surrogate improvement. Table 5 compares the TPC-H, TPC-DS, and JOB planner- level portfolios at this setting; improvements are reported to four decimal places. The highest result exceeded

The three strategy-inspired baselines are forced to select up to the maximum allowance B = 5 without any minimum marginal-benefit threshold or cost-tolerance stopping rule, whereas XplainDB is given a 10% cost tolerance to prune indexes in Phase 2. Notably, when XplainDB is run at epsilon = 0% (Phase 1), it achieves the exact same planner-cost objective as Relaxation-inspired backward elimination on TPC-H (2.579e6), TPC-DS (1.471e8), and JOB (3.838e6), indicating that the reported compactness advantage stems from applying a tolerance threshold only to XplainDB rather than from the combinatorial solver outperforming greedy or backward search.

4. Portfolio size is not held constant across priority conditions — Major

candidate identifiers. The TPC-H skewed-priority portfolio shifts toward lineitem(l_discount,l_shipdate) and lineitem(l_partkey,l_suppkey) . TPC-DS retains its catalog_sales and item indexes and adds store_ sales(ss_quantity)

Because Phase 2 minimises index count using a relative ceiling of 1.10 * F_hat_1 and reweighting queries changes the ratio of F_hat_1 to F_0, the uniform and skewed-priority configurations select different numbers of indexes (3 vs. 2 on TPC-H, and 2 vs. 3 on TPC-DS). This confounds the effect of query reweighting with changes in portfolio cardinality; on TPC-DS, for example, the skewed-priority portfolio simply retains both uniform-priority indexes and adds a third index on store_sales, improving both high-priority and low-priority subsets simply because the portfolio is larger.

5. TPC-H runtime reduction is driven by smaller portfolio size, not priorities — Major

The two-index XplainDB portfolio selected under skewed priorities reduced the sum of comparable per-query median runtimes, denoted by R Σ , by 20.76% (post-hoc 95% bootstrap confidence interval (CI): 16.37%–28.75%) and improved all 20 comparable queries. Its geometric-mean per-query speedup, denoted by

The paper highlights that the skewed-priority XplainDB portfolio on TPC-H achieved a 20.76% comparable runtime reduction whereas the uniform XplainDB portfolio degraded comparable runtime by -16.46%. However, the skewed-priority portfolio only helped 3 of the 20 comparable queries in the planner model (Q6, Q14, Q15) and differed mainly by having 2 indexes on lineitem instead of 3; attributing the runtime advantage to priority-aware selection without isolating the effect of simply materialising fewer indexes on a heavily scanned table overstates what the runtime test confirms.

6. Separate unsynchronised baselines and unrandomised portfolio order — Major

0 indicates a lower configured sum. The comparison is within each baseline/configured validation; repetitions were not synchronised between phases. The geometric-mean per-query speedup is

In the physical validation experiments, portfolios were executed sequentially in a fixed launch order with a separate baseline measurement taken before each portfolio, rather than randomising portfolio execution order or sharing a common baseline. Noticeable drift across the TPC-H baseline totals in Table S1 (ranging from 386.068s to 390.204s across identical baseline setups) indicates that time-varying host or container conditions can confound comparisons of R_Sigma across portfolios.

7. Cost tolerance is parameterised on remaining cost rather than savings — Critical

Let F_1 be the Phase 1 incumbent and define the accepted integer cost ceiling as F_acc = ceil((1 + epsilon)F_1), where ceil(.) is the mathematical ceiling function, which rounds its argument up to the next integer, and epsilon >= 0 is the fractional estimated-cost tolerance.

Phase 2 defines the accepted cost ceiling as ceil((1 + epsilon) * F_hat_1), applying the fractional tolerance epsilon to the remaining total workload cost rather than to the cost reduction (F_0 - F_1) achieved in Phase 1. As a result, the behaviour of epsilon is highly inconsistent across workloads: when Phase 1 reduces cost by 99.86% (TPC-H), a 10% tolerance permits sacrificing only 0.014% of the savings, whereas when Phase 1 reduces cost by 13.75% (JOB), a 10% tolerance permits sacrificing over 62% of the achieved savings.

8. Unpaired bootstrap resampling ignores within-repetition temporal pairing — Major

Runtime intervals resample the saved successful repetitions independently within each comparable query and each condition. Each resample recomputes the query medians, their sum-based runtime reduction, and the geometric- mean per-query speedup. The set of comparable queries remains fixed. Write-maintenance intervals similarly

The 95% confidence intervals for R_Sigma, G, and W_Sigma are computed by bootstrapping the 7 baseline repetitions and 7 configured repetitions independently within each query or DML operation. While independent resampling is valid for unpaired runs, the 7 repetitions are small samples and resampling medians from 7 observations produces discrete, jumpy bootstrap distributions that can yield overly wide or skewed percentile intervals.

9. Single-index surrogate omits multi-index interactions and size constraints — Critical

beneficial candidate cost. The surrogate chooses the best independently observed option per query and models isolated candidate effects. Physical validation supplies the separate runtime evidence.

The core selection formulation evaluates each candidate index in isolation via C_q(S) = min({c_q^0} union {c_qi : I_i in S}) and restricts portfolios solely by an unweighted index count B rather than storage footprint or write-maintenance cost. Because multi-table analytical queries frequently rely on multiple indexes simultaneously across different joins or predicates, and because B-tree index sizes vary by orders of magnitude across tables (e.g., lineitem vs. item), optimising a single-index-per-query surrogate under a raw count constraint can mischaracterise both portfolio benefit and resource consumption.

xPeerd (AI review)

November 1, 2026

AI Review (xPeerd — DAReview)

Summary

This manuscript, titled XplainDB: Constraint-Driven Index Optimisation and Evidential Reporting for PostgreSQL, presents an offline PostgreSQL index-advisor framework that combines constrained optimisation with evidential reporting. The system selects B-tree index portfolios through a three-stage “cost–count–cost” procedure and records solver certainty, attribution, excluded alternatives, and separate physical-validation evidence. The study evaluates the method on TPC-H, TPC-DS, and JOB/IMDb, compares it against three strategy-inspired baselines, and includes an optional local LLM layer restricted to post-selection explanation. The manuscript’s principal strengths are its clear problem framing, explicit separation between planner estimates and physical measurements, and a commendable attempt to make index recommendations auditable and reproducible. The work is also appropriately cautious in several places about what its planner-level gains do and do not imply physically.

Its main weaknesses concern external validity, methodological scope, and evidentiary sufficiency for some of the stronger framing claims. The evaluation is limited to benchmark workloads, restricted candidate classes, a narrow priority-setting design, modest repetition counts, and comparisons that omit full contemporary systems. Some central claims about transparency, explanation usefulness, and practical effectiveness are plausible but not yet strongly demonstrated for real DBA use. The manuscript appears coherent and technically serious, and I do not see strong paper-mill or fabrication signals; however, several claims should be narrowed or better qualified to align with the presented evidence.

Potential Major Revisions

  1. The manuscript’s practical-contribution claim is stronger than the validation presently supports.

The abstract states that the study contributes “a transparent, evidence-aligned approach to index selection, while offering a reproducible foundation for explainable and priority-aware index advisors” and that “An optional local language model explains recorded evidence without changing the recommendation.” These are reasonable as design claims, but parts of the paper occasionally imply practical user-facing value that has not yet been demonstrated. The manuscript itself acknowledges this gap: “Whether the record improves practitioners’ understanding and trust requires a separate user study.” That sentence is methodologically important and should shape the paper’s contribution claims more strongly throughout the abstract, discussion, and conclusion.

I would recommend reframing the contribution as a system and evaluation of evidence recording, not yet an established advance in human interpretability or operational decision quality. At present, the LLM evaluation checks structured factual consistency on “six predefined, non-held-out cases” with one local model, which is useful as a bounded integrity test but not evidence of explanation quality, usefulness, or robustness in practice.

  1. The empirical basis for generalisation is too narrow for some of the broader conclusions.

The paper explicitly notes that “The study uses three analytical workload families rather than production traces or mixed online transaction processing and analytical systems,” and that these “conditions limit generalisation to other workloads, systems, and explanation users.” This limitation is substantial. The method is evaluated on TPC-H, TPC-DS, and JOB/IMDb, all standard and useful, but still controlled benchmarks. Claims with practical phrasing such as “supporting decision transparency through traceable evidence” and “The results have three implications for index-advisor use” should be more explicitly bounded to benchmark-based offline advisory settings.

In particular, the architecture is limited to “offline PostgreSQL B-tree selection with at most two ordered key columns,” while “Independent assessment omits joint multi-index effects and bitmap combinations.” That means the proposed approach does not yet address many realistic indexing scenarios. I would ask the authors to tighten the scope language throughout the paper and avoid wording that could be read as evidence for broad practical deployment.

  1. The comparison design is informative but incomplete relative to the paper’s positioning.

The manuscript compares XplainDB with “three strategy-inspired baselines” rather than complete deployed advisors. It later acknowledges that “Comparisons are limited to strategy-inspired baselines; performance relative to learning-based advisors was not evaluated.” That limitation matters because the related-work framing includes modern learning-based and LLM-based systems, including SWIRL, AutoIndex, DBA Bandits, and LLMIA.

If the paper’s novelty is primarily evidential reporting rather than recommendation superiority, the authors should state that more sharply and avoid any implied competitiveness beyond the restricted baseline setting. If, however, they intend a stronger systems-comparison contribution, they need at least one more realistic end-to-end comparator or a much more explicit rationale for why such comparison is not feasible. As written, the paper risks over-positioning relative to the breadth of current advisor paradigms discussed in the literature review.

  1. The handling of runtime validation is careful, but the evidence still leaves interpretive ambiguity that deserves greater emphasis.

One of the strongest aspects of the paper is its honesty that planner estimates and runtime can diverge. The authors explicitly state, “The materialised runtime validation indicates that planner ranking does not determine physical performance.” This is important because the planner-level results are visually impressive, especially the “99.86%” TPC-H estimated improvement reported in the abstract. Yet the paper itself clarifies that this value is driven by concentration in Q20 and does “not represent uniform near-total improvement across all 22 queries.”

That clarification should be promoted earlier and more prominently. Otherwise, non-specialist readers may over-interpret the planner-level percentages. The runtime table further complicates interpretation: the “XplainDB, uniform” TPC-H portfolio shows “-16.46” for RΣ despite a geometric-mean speedup above 1 and 14/20 improved queries, while the skewed-priority portfolio shows stronger sum-based gains. This is not a flaw in itself, but it shows how sensitive the summary is to metric choice and timeout/comparability definitions. The authors should add a fuller methodological explanation in the main text for why these metrics diverge and what operational conclusions a DBA should or should not draw from them.

  1. The priority-sensitivity design is too narrow to support strong claims about priority-aware behavior.

The paper states that “The four high-priority queries in each workload were chosen manually, and only one 120:1 priority ratio was tested.” It also notes that the analysis “fixes fq = 1 and varies pq, so it tests sensitivity to stated importance rather than to changing execution frequencies.” This means the current evidence supports only a narrow form of priority sensitivity under hand-specified conditions.

Because “priority-aware” is part of the paper’s framing and keywords, the authors should either expand the experiments or narrow the claim. As it stands, the evidence shows that the optimiser responds to one manually curated weighting scenario, not that the system has been robustly validated for broader priority-aware tuning. A more systematic sweep over priority ratios, priority subset sizes, and observed-frequency patterns would substantially strengthen this part.

  1. Reproducibility is partially supported, but full independent verification is constrained by access conditions.

The manuscript deserves credit for recording many implementation settings, seeds, and hardware/software details. Table 3 and associated text are unusually explicit. However, the “Code availability” and “Data availability” statements specify that materials are available “from the corresponding author upon reasonable request.” For a paper whose contribution is strongly tied to traceability, evidence, and reproducibility, this is weaker than ideal.

I would recommend depositing code, frozen candidate files, cost matrices, timing outputs, and evaluation scripts in a public archival repository. Without that, readers must trust the authors’ description of the evidential layers rather than directly inspect them. This is not fatal, but it undercuts the reproducibility framing of the contribution.

  1. The LLM-related evaluation is too limited to support much discussion beyond boundary preservation.

The paper is mostly careful here, but some prose could still encourage over-reading. The local-model evaluation uses “six predefined, non-held-out cases,” “three repetitions,” and one model, Qwen2.5-1.5B via Ollama, yielding “Mean factual-field accuracy 89.44%.” This is a narrow schema-conformance experiment, not a substantive evaluation of explanation quality, user comprehension, hallucination risk under open interaction, or robustness across models.

The authors should make explicit that this component validates only constrained post hoc verbalisation fidelity under a fixed challenge suite. They should also discuss whether exact-field matching is sufficient as a metric for explanation faithfulness, since semantically correct but differently phrased outputs may be penalised, while superficially compliant outputs may still omit useful nuance.

  1. The write-maintenance evaluation is currently too weak to sustain practical inferences.

The manuscript acknowledges that the DML benchmark is “a rollback-based single-row microbenchmark rather than a transaction-throughput test” and that “portfolio launch order was not randomised.” It also states that “The small single-row microbenchmark does not support a general throughput claim.” This candor is appropriate. However, because write-maintenance cost is one of the central trade-offs motivating index selection, the limited design leaves a major practical gap.

I recommend either strengthening this experimental component substantially or reducing its prominence. At minimum, the paper should stress even more clearly that write results are exploratory and insufficient for broader operational claims.

Potential Minor Revisions

  1. Terminology and claim-calibration edits

Several passages would benefit from tighter wording to avoid overstatement.

  • In the abstract, “offering a reproducible foundation for explainable and priority-aware index advisors” is somewhat stronger than the current “upon reasonable request” reproducibility posture.
  • In the introduction, “This paper formulates PostgreSQL index recommendation as a computational optimisation problem coupled with evidential reporting” is accurate, but later phrasing sometimes slips from formulation/evaluation into broader practical implication.
  • In the conclusion, “The results have three implications for index-advisor use” would be more precise if bounded to the tested benchmark/offline setting.
  1. Clarify the distinction between surrogate improvement and end-to-end performance earlier

The manuscript does eventually explain that “The near-100% TPC-H surrogate value reflects concentration in the baseline objective and does not imply equivalent physical speed-up.” This is crucial and should appear earlier, ideally near the first reporting of the 99.86% result in the abstract or results narrative. Otherwise, the headline number is easy to misread.

  1. Improve readability around notation

The paper is technically readable overall, but several notation-heavy passages could be smoothed for broader systems readers. For example, the definitions around weights and tolerance in Section 3.1 are correct but somewhat dense: “For workload Q, let q ∈ Q identify one query. Query importance is defined as wq = fq pq...” Consider adding one intuitive prose example of how a priority change affects selection.

  1. Explain solver-status implications more directly

The distinction between OPTIMAL and FEASIBLE is methodologically important and well stated: “An optimal later stage certifies its restricted subproblem, not the first-stage global minimum.” This should perhaps be accompanied by a short plain-language interpretation for readers less familiar with CP-SAT output, especially because solver certainty is one of the core contribution claims.

  1. Formatting and naming consistency
  • File/module names such as “cost matrix.py” appear with a space in the snippet, which is unusual for Python modules and may be a typesetting artifact. This should be checked for consistency.
  • The manuscript alternates between terms like “write-maintenance,” “data-modification tests,” and “DML maintenance.” The variation is understandable, but a primary term should be chosen and used consistently.
  1. Typographic and style issues visible in extracted text

A few visible issues in the extracted text should be checked in the source PDF/LaTeX:

  • “University of Skill training and Entrepreneurial Development” may need verification for institutional capitalisation consistency.
  • “microsoft SQL server” in Reference [3] appears to require standard capitalisation as “Microsoft SQL Server.”
  • In supplementary pseudocode, spacing artifacts such as “m i n i m u m _ c o u n t _ p r o v e n” and “reta ined_cou nt” suggest formatting corruption in listing export and should be corrected in typesetting.
  • The phrase “the authors supervised these activities, checked the outputs and take full responsibility” may need grammatical parallelism review; “took” may be more consistent if the tense elsewhere is past.
  1. AI content analysis

The manuscript contains an explicit declaration of AI assistance: “The figure preparation, Python and LaTeX code debugging and readability were aided by OpenAI’s ChatGPT.” Based on the visible prose, I assess the manuscript as likely human-led with selective AI-assisted editing rather than predominantly AI-generated text. My rough estimate is 15–30% AI-assisted surface generation or revision, concentrated in polished explanatory passages and declarations rather than in the technical core. The text is comparatively consistent, domain-specific, and methodologically anchored, which argues against heavy end-to-end automatic drafting. The epistemic impact of this level of assistance appears limited so long as the authors indeed verified all technical and empirical claims, but the LLM-related sections warrant especially careful human checking because they discuss generated explanation behavior and could invite inadvertent over-smoothing of limitations. The explicit declaration is a positive transparency signal rather than a concern.

Recommendations

The manuscript is promising and technically substantive, with a clear niche: auditable, evidence-rich offline index recommendation for PostgreSQL. I do not see strong signs of fraud or paper-mill construction. The paper is coherent, limitations are often candidly stated, and the empirical artifacts described are detailed enough to suggest genuine implementation work. Still, the current version should be revised before acceptance in a strong venue.

The most important practical recommendation is to sharpen the claimed contribution so that it matches the demonstrated evidence. I would present the paper primarily as a constrained optimisation and evidential-recording framework, not yet as a validated human-centered explainability solution. The authors should systematically temper all generalisations beyond benchmarked offline advisory settings, especially where practical DBA benefit is implied.

Second, I would strengthen reproducibility by releasing code and frozen evaluation artifacts publicly rather than only on request. Given that traceability and evidential reporting are central to the paper’s identity, this would materially improve credibility.

Third, I would expand or more clearly narrow the empirical scope of the priority-aware, write-maintenance, and LLM-explanation claims. If more experiments are not feasible, the prose should explicitly mark these components as preliminary. In particular, the priority design should be described as a limited sensitivity study, and the LLM layer as a boundary-preserving verbalisation module evaluated under a constrained schema-based protocol, not a general explanation engine.

Finally, the paper would benefit from a stronger pedagogical treatment of its most important interpretive nuance: planner-level improvement is not runtime improvement, and the strongest abstract percentage is heavily concentrated in one query. Bringing that warning forward would make the paper more rigorous and harder to misread.

Overall recommendation: promising work with genuine technical merit, but requiring major revision to align claims with evidence, strengthen reproducibility, and better delimit the scope of the empirical findings.

XSci (AI review)

November 1, 2026

Summary

The manuscript addresses the opacity of index advisors: a recommended portfolio rarely records how priorities and resource limits shaped it, what the solver proved, or whether estimated benefits survived materialisation. XplainDB evaluates PostgreSQL B-tree candidates in isolation through HypoPG, freezes a candidate-query planner-cost matrix, and runs three ordered CP-SAT phases: minimise weighted surrogate cost under an index-count allowance, minimise portfolio size within a fractional cost tolerance, then re-minimise cost at that size. Each recommendation is stored with phase-specific solver status, bound and gap, leave-one-out attribution, uniquely helped queries and the closest excluded alternative; runtime and single-row DML tests are reported separately. Evaluation covers TPC-H and TPC-DS at SF1 and JOB/IMDb against three strategy-inspired baselines, reporting 99.86% estimated cost reduction with three TPC-H indexes and a 20.76% runtime reduction after materialisation.

Contribution and Significance

The core contribution is a discipline rather than an algorithm: the selection model is frozen before solving, each phase is certified separately, and every physical measurement is kept strictly downstream of the recommendation. Section 3.3 is precise about what a certificate buys — "Later OPTIMAL statuses certify only the Phase 2 or Phase 3 subproblem conditioned on the Phase 1 incumbent and tolerance" — and Section 4.1.2 reports the full phase census, including 21 FEASIBLE and 6 UNKNOWN outcomes on TPC-DS. That separation yields the most interesting result in the paper: the planner-best TPC-H portfolio is the runtime-worst (Table 5: backward elimination at 99.8632%; Table 9: R_Σ = −68.16%, G = 0.703×).

The advance over the closest prior work is narrower than Section 2.3 states. The pganalyze CP-SAT formulation [5] already seeks the smallest index set meeting a performance criterion and already reports which index supplies each scan's cost; CoPhy [4] already returns solution-quality information alongside a weighted-workload BIP; and deployed advisors already surface affected queries and estimated benefit per recommendation. What is genuinely new is phase-scoped certification combined with a strictly post-selection physical layer in one record — worth reporting, but the record's central promise, that it helps a DBA judge a recommendation, is never tested, as the authors concede ("Whether the record improves practitioners' understanding and trust requires a separate user study").

Strengths

  • The disclosure in Section 4.1.1 that TPC-H Q20 alone contributes 99.71% of F₀, and that the 99.86% figure "does not represent uniform near-total improvement across all 22 queries", is the kind of self-criticism most advisor papers omit.
  • Table 9 reports that four of five materialised portfolios, including XplainDB's own uniform portfolio (−16.46%), increase summed runtime; publishing a negative result about one's own default configuration is unusual and useful.
  • The protocol is specified to a level that would let a third party repeat it: frozen cost matrices, solver seed 20260715, analysis seed 20260812, the bootstrap recipe in Online Resource 1, transaction-scoped validation with verified rollback (Fig. S7), and the Table S1 timeout-ceiling sensitivity.
  • Every quantity I could re-derive is internally consistent: the Table 4 densities, the 0.94% Phase 1 gap in Table 7, the 0.0204-percentage-point tolerance figure, and Table S1 against Table 9.

Recommendation

Major Revision for Knowledge and Information Systems. The approach, implementation and reporting discipline are sound, but each headline empirical claim rests on an uncontrolled comparison: compactness against baselines pinned at five indexes, priority-awareness against the objective the portfolio itself optimised, and runtime against a per-portfolio baseline. None is fatal, and the authors appear to hold most of the data needed to settle them, but the claims as stated are not yet supported.

Major Concerns

  1. The compactness claim is not size-controlled (Table 5, Figs 3a–5a, Section 3.4). The baselines as implemented cannot return fewer indexes than the allowance: greedy "repeatedly adds" candidates and backward elimination "removes the candidate whose removal causes the smallest weighted-cost increase until the maximum allowance is met", so all three spend the full allowance of five, while XplainDB alone has a cardinality-minimising phase. The comparison therefore measures a difference in stopping rule, not in selection quality; the original advisors [1, 3, 10] do stop early under their storage constraints. Section 3.4 states that the comparison "evaluates all four selectors for maximum index allowances of 1, 2, 3, 5, 7, 10, 15, and 20", yet only B = 5 baseline results are shown and Fig. S3 gives the sweep for XplainDB alone; report the full cost-versus-size curve for all four selectors, so greedy at two and three indexes can be read against XplainDB at the same sizes. On JOB the compact portfolio already loses more than half the improvement (6.39% with one index against 13.75% with five), so this trade-off belongs in the paper as a curve, not a single favourable point.

  2. The runtime evidence does not support the headline (Table 9, Table S1, Section 4.2). R_Σ = 20.76% is the only positive value among five portfolios, and the comparison is unpaired: "Each portfolio has a separately measured baseline", and "repetitions were not synchronised between phases". Table S1 shows how large that variation is: each row contains 14 timed-out baseline runs scored at the 180 s ceiling, contributing exactly 360 s, so the twenty remaining baseline medians sum to 30.204, 26.068, 26.963, 28.254 and 27.104 s across five nominally identical baselines — a 15.9% spread against a claimed effect of 20.76%, with the best-reported portfolio holding the highest baseline. The bootstrap intervals resample within each condition and cannot capture this drift, as Online Resource 1 acknowledges. Relatedly, Equation 2 caps every candidate at the baseline cost, so no portfolio can worsen any query in the model, yet four of five materialised portfolios increase summed runtime; the OPTIMAL certificates that carry the transparency claim therefore certify a model whose ordering the authors' own measurements reverse. Interleaving baseline and configured repetitions, or sharing one baseline across portfolios, would settle this; until then the 20.76% figure should not lead the abstract.

  3. The priority-sensitivity result is near tautological and confounded by size (Section 3.2.1, Equations 4 and 5, Tables 6 and 7). The fixed priority-weighted evaluation vector uses "v_q = 120 for q ∈ H and 1 otherwise" — identical to the skewed selection weights of Equation 4 — so the skewed portfolio is scored on exactly the objective it was selected to optimise, and the increase from 57.69% to 61.79% is expected by construction rather than evidence that priority-awareness works. The comparison is also not size-matched: Table 7 shows the TPC-DS uniform selection retaining two indexes and the skewed selection three. A corroborating anomaly is that the skewed portfolio also beats the uniform one on unweighted utility (68.90% against 68.79%), which the uniform run was selected to maximise, confirming its Phase 1 incumbent is suboptimal. Please compare at equal cardinality, under a vector independent of both conditions.

  4. No comparison with an actual index advisor (Section 3.4). The stated reason — "Direct comparisons with learning-based index advisors were outside the available computational budget" — covers only learned systems. Non-learned advisors (Extend, DTA, Relaxation, CoPhy, DB2Advis, AutoAdmin, Drop) are re-implemented in the public platform of Kossmann J, Halfpap S, Jankrift M, Schlosser R (2020), "Magic mirror in my hand, which is the best in the land? An experimental evaluation of index selection algorithms", PVLDB 13(11):2382–2395, which requires no training, is the natural harness here and is not cited. At least one unmodified published advisor should appear in Table 5.

Minor Comments

  1. The TPC-DS Phase 1 incumbent (147,143,199.17, Table 7) is worse than greedy's 147,032,845.98 at the same allowance on the same matrix (Table 5); warm-starting CP-SAT from greedy, with more than one worker, should remove this.
  2. The 15% tolerance result is a 15% relative increase in the optimised objective and reads as 0.0204 percentage points only because F₀ is dominated by Q20; report both figures.
  3. The allowance B is an index count, not storage, so "resource limits" in the abstract overstates it: a keyword index and a two-column lineitem index over 8,661,245 rows are not interchangeable units.
  4. Equations 9–11 as typeset give no objective for Phases 2 and 3, only constraints, and the text after Equation 11 writes the ceiling as F̄_acc where Equation 8 defines F̂_acc.
  5. Section 4.3 gives no numbers for the explanation layer, although Table S3 (89.44% factual-field accuracy, 3 of 18 perfect runs, provider named "Oklahoma" rather than Ollama) bears on the transparency claim.
  6. "Code availability ... upon reasonable request" contradicts the abstract's "reproducible foundation", and the SHA-256 digests of Section 3.5 verify nothing without a deposited archive.
  7. Section 4.1.2 counts 6 UNKNOWN TPC-DS phases and 4 on JOB without stating where they occurred or what the fallback returned.
  8. The DML comparison shuffles baseline and configured operations under different seeds (20260715 and 20260716) and does not randomise portfolio launch order.
  9. Evaluation is confined to SF1 with warm cache on an 8,192 MB machine where TPC-H (1,477 MB) largely fits within effective_cache_size; SF10 and a cold cache would be more persuasive.
  10. Only one priority ratio (120:1) and one manually fixed high-priority subset per workload are tested (Table 1); a sweep over both is needed before the sensitivity claim generalises.
  11. Proofreading: "for 1PC-H" in Section 4.1.1, and Table 8 renders lineitem keys as 1_partkey, 1_discount and 1_suppkey with a digit one.