Lune

S&P2017Top-tier venue

vSQL: Verifying Arbitrary SQL Queries over Dynamic Outsourced Databases

Yupeng Zhang, Daniel Genkin, Jonathan Katz, Dimitrios Papadopoulos, Charalampos Papamanthou

Abstract

Cloud database systems such as Amazon RDS or Google Cloud SQL enable the outsourcing of a large database to a server who then responds to SQL queries. A natural problem here is to efficiently verify the correctness of responses returned by the (untrusted) server. In this paper we present vSQL, a novel cryptographic protocol for publicly verifiable SQL queries on dynamic databases. At a high level, our construction relies on two extensions of the CMT interactive-proof protocol [Cormode et al., 2012]: (i) supporting outsourced input via the use of a polynomial-delegation protocol with succinct proofs, and (ii) supporting auxiliary input (i.e., non-deterministic computation) efficiently. Compared to previous verifiable-computation systems based on interactive proofs, our construction has verification cost polylogarithmic in the auxiliary input (which for SQL queries can be as large as the database) rather than linear. In order to evaluate the performance and expressiveness of our scheme, we tested it on SQL queries based on the TPC-H benchmark on a database with 6 × 10 6 rows and 13 columns. The server overhead in our scheme (which is typically the main bottleneck) is up to 120× lower than previous approaches based on succinct arguments of knowledge (SNARKs), and moreover we avoid the need for query-dependent pre-processing which is required by optimized SNARK-based schemes. In our construction, the server/client time and the communication cost are comparable to, and sometimes smaller than, those of existing customized solutions which only support specific queries.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

34 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Nova: Recursive Zero-Knowledge Arguments from Folding Schemes cites Doubly-Efficient zkSNARKs Without Trusted Setup
  • Nova: Recursive Zero-Knowledge Arguments from Folding Schemes cites Marlin: Preprocessing zkSNARKs with Universal and Updatable SRS
  • Doubly-Efficient zkSNARKs Without Trusted Setup cites Ligero: Lightweight Sublinear Arguments Without a Trusted Setup
  • Doubly-Efficient zkSNARKs Without Trusted Setup cites Hash First, Argue Later: Adaptive Verifiable Computations on Outsourced Data
  • Transparent Polynomial Delegation and Its Applications to Zero Knowledge Proof cites Ligero: Lightweight Sublinear Arguments Without a Trusted Setup
  • Transparent Polynomial Delegation and Its Applications to Zero Knowledge Proof cites Doubly-Efficient zkSNARKs Without Trusted Setup
  • Transparent Polynomial Delegation and Its Applications to Zero Knowledge Proof cites Hash First, Argue Later: Adaptive Verifiable Computations on Outsourced Data
  • Marlin: Preprocessing zkSNARKs with Universal and Updatable SRS cites Ligero: Lightweight Sublinear Arguments Without a Trusted Setup
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers34

  1. Doubly-Efficient zkSNARKs Without Trusted SetupRiad S. Wahby, Ioanna Tzialla, Abhi Shelat, Justin Thaler et al.S&P 2018 · 356 citations
  2. Marlin: Preprocessing zkSNARKs with Universal and Updatable SRSAlessandro Chiesa, Yuncong Hu, Mary Maller, Pratyush Mishra et al.EUROCRYPT 2020 · 356 citations
  3. Ligero: Lightweight Sublinear Arguments Without a Trusted SetupScott Ames, Carmit Hazay, Yuval Ishai, Muthuramakrishnan VenkitasubramaniamCCS 2017 · 338 citations
  4. Transparent Polynomial Delegation and Its Applications to Zero Knowledge ProofJiaheng Zhang, Tiancheng Xie, Yupeng Zhang, Dawn SongS&P 2020 · 192 citations
  5. Nova: Recursive Zero-Knowledge Arguments from Folding SchemesAbhiram Kothapalli, Srinath T. V. Setty, Ioanna TziallaCRYPTO 2022 · 123 citations

Builds on1

  1. Hash First, Argue Later: Adaptive Verifiable Computations on Outsourced DataDario Fiore, Cédric Fournet, Esha Ghosh, Markulf Kohlweiss et al.CCS 2016 · 71 citations

Related papers

  1. Volatile and Persistent Memory for zkSNARKs via Algebraic Interactive ProofsAlex Ozdemir, Evan Laufer, Dan BonehS&P 2025
  2. Rogue: Updatable Matrix Lookup Arguments and Applications to Verifiable DatabasesChristodoulos Pappas, Zhuo Cai, Dimitrios PapadopoulosCCS 2026
  3. qedb: Expressive and Modular Verifiable Databases (without SNARKs)Vincenzo Botta, Simone Bottoni, Matteo Campanelli, Emanuele Ragnoli et al.CCS 2026 · 3 citations
  4. Scaling Verifiable Computation Using Efficient Set AccumulatorsAlex Ozdemir, Riad S. Wahby, Barry Whitehat, Dan BonehUSENIX Security 2020
  5. "Check-Before-you-Solve": Verifiable Time-Lock PuzzlesJiajun Xin, Dimitrios PapadopoulosS&P 2025
Dusk over the sea between two cliffs drawn in fine vertical lines