← Lab /Systems

DPSQL+ enables substantially more queries under a fixed privacy budget

DPSQL+ simultaneously enforces user-level (ε,δ)-DP and the minimum frequency rule and permits more queries than prior DP SQL libraries for a given privacy budget

Systems arXiv 26 Feb 2026 Method Prototype evidence

Published as “DPSQL+: A Differentially Private SQL Library with a Minimum Frequency Rule”

Why it matters

Analysts can run a larger number of differentially private SQL queries, including joins and variance calculations, within a fixed privacy budget, easing compliance with governance rules that require minimum-frequency suppression.

Summary

DPSQL+ enables substantially more queries under a fixed global privacy budget than prior DP-SQL libraries while delivering comparable or better accuracy across basic aggregates, joins, and higher-order statistics. Experiments on the TPC-H benchmark (scale factor 1.0) show lower mean relative error for variance, stddev, and covariance, and a higher maximum query count versus SmartNoise SQL. The evidence comes from head-to-head comparisons with Qrlew and SmartNoise SQL over 25 trials per setting, but the minimum-frequency rule was not exercised (set to 1) in the evaluation.

What they found 2

  1. DPSQL+ permits more queries than SmartNoise SQL under the same global privacy budget.

    “DPSQL+ allows more queries than SmartNoise SQL in both the ε- and δ-limited regimes, reflecting the more favorable composition bounds under (ε, δ)-DP accounting.”

  2. For higher-order statistics (VAR, STDDEV, COVAR), DPSQL+ consistently achieves the lowest error.

    “For higher-order statistics (VAR, STDDEV, and COVAR), DPSQL+ consistently attains the lowest error, attributable to improved formulations enabled by the B ́ ezier mechanism.”

Caveats 4

  • For DPSQL+, the minimum frequency was fixed to 1; this effectively imposes no constraint, consistent with the behavior of the baseline libraries.
  • To ensure user-level (ε, δ)-DP, DPSQL+ restricts query expressiveness (e.g., requiring aggregations and prohibiting nested subqueries) and introduces computational overhead via sensitivity analysis and contribution bounding.
  • The integrated accountant tracks privacy loss only for the lifetime of an engine instance. Since budget tracking is not persisted across system restarts, host applications must implement external state management to enforce long-term privacy budgets.
  • DPSQL+ focuses on algorithmic privacy against output-based inference. It does not mitigate physical side-channel attacks (e.g., timing analysis) or runtime-induced leakages (e.g., integer overflows).

What’s new here 4

  • Simultaneous enforcement of user-level (ε,δ)-DP and a minimum frequency rule.
  • Integrated multi-query privacy accounting using Rényi DP and Privacy Loss Distributions for tighter composition.
  • Support for a broader class of SQL queries, including JOIN and GROUPBY JOIN, plus optimized estimators for variance and covariance.
  • Modular architecture separating validation, accounting, and backend execution to ease extensibility across database engines.