Thanks to visit codestin.com
Credit goes to github.com

Skip to content

prestodb/pbench

PBench

PBench is a toolkit for Presto and Trino performance testing and operations. Originally a replacement for Benchto, PBench has grown to include:

  • Benchmarking — run configurable, concurrent query workloads with results capturing and correctness verification
  • Workload replay — replay recorded production query traffic against a cluster
  • Query forwarding — monitor a source cluster and forward queries to one or more target clusters in real time
  • Table schema saving — export table metadata and statistics for reproducing schemas across environments
  • Result comparison — diff query output directories to detect regressions
  • DDL generation — generate CREATE/INSERT scripts for benchmark datasets (TPC-DS, TPC-H, etc.)
  • Query JSON analysis — load query info JSON files into databases for offline analysis

For a detailed explanation of PBench's design and architecture, see Comprehensive Performance Benchmarking, Monitoring, and Reporting Infrastructure for Presto and Prestissimo.

Getting Started

Writing Benchmarks

  • Configuring PBench — create stage JSON files to define queries, sessions, and execution order
    • Parameters — complete reference for all stage JSON parameters

Running Benchmarks

All Commands

Contributing

  • Development — building, testing, and contributing to PBench

About

Presto/Prestissimo Benchmark Toolset

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors 24