Detailed documentation for the privacy DuckDB extension. The docs are grouped by
layer: the shared SQL syntax; the mode-agnostic SIMD aggregation engine (simd-asa/);
the PAC privacy layer (pac/); and the differential-privacy layer (dp/).
| Document | Description |
|---|---|
| syntax.md | SQL syntax / DDL (CREATE PU TABLE, PRIVACY_KEY, PRIVACY_LINK, PROTECTED) — shared by all modes |
| build/README.md | Build instructions |
| test/README.md | Running SQL and C++ tests |
| Document | Description |
|---|---|
| simd-asa/aggregates.md | The 64-counter SIMD stochastic aggregates (COUNT/SUM/AVG/MIN/MAX), SWAR, clip & sample variants |
| Document | Description |
|---|---|
| pac/query_operators.md | Query rewriting / compilation pipeline |
| pac/internal_operators.md | Internal operator transformations (Top-K pushdown, etc.) |
| pac/runtime_checks.md | Runtime safety checks |
| pac/ptracking.md | Persistent secret p-tracking |
| pac/utility.md | Utility diff for accuracy measurement |
| Document | Description |
|---|---|
| dp/dp_mechanisms.md | Implementation reference for all three DP modes (dp_standard, dp_elastic, dp_sass) |
| dp/dp_sass_smooth_sensitivity.md | dp_sass smooth-sensitivity deep-dive |
| Document | Description |
|---|---|
| benchmark/README.md | Benchmark overview |
| benchmark/tpch.md | TPC-H benchmark instructions |
| benchmark/imdb.md | IMDB / JOB benchmark instructions |
| benchmark/microbenchmarks.md | Microbenchmark suite |
| benchmark/clickbench.md | ClickBench benchmark |
| benchmark/sqlstorm.md | SQLStorm benchmark |
| benchmark/utility.md | DP utility metrics and diagnostics |
| repro.md | Paper reproduction instructions |
For the main documentation (syntax, examples, configuration), see the README.md in the repository root.