Skip to main content

Module tpcds

Module tpcds 

Source
Expand description

TPC-DS adapter.

TPC-DS is a benchmark control environment, not a real workload — we use it for the perturbation harness (see crate::perturbation) so that every motif class can be evaluated against an injected, known-window ground truth. The crate ships a fully-deterministic exemplar that mimics the structure of a TPC-DS scale-1 trace under each perturbation class. To run on real TPC-DS data, install duckdb with the tpcds extension and call scripts/build_tpcds.sh which writes a CSV in the same format as the exemplar.

Trace CSV columns:

  • query_id (one of q1..q99)
  • t_seconds (wall-clock since trace start)
  • latency_ms, est_rows, actual_rows
  • optional wait_event, wait_seconds, cache_hit_ratio

Structs§

TpcDs