Many modern database IDEs and servers include built-in benchmarking or performance-profiling features: TPC-H Homepage

: The Transaction Processing Performance Council (TPC) provides official specifications and tools like dbgen for generating large, business-oriented datasets. You can download the latest TPC current specs and source code directly from their site.

: A versatile multi-threaded benchmark tool particularly popular for MySQL and PostgreSQL . You can download and configure it through its official repositories to measure CPU, memory, and database I/O performance.

: Native to PostgreSQL , this tool is built into most distributions and is ideal for measuring performance on different hardware setups.