Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Query Log Generation

Bouncner edited this page Jan 9, 2020 · 2 revisions

The branch bp2019/query_log_export is a rather hacky way that emits queries and their names on the console when a benchmark is executed.

You can use it like that: ./hyriseBenchmarkTPCH -s 1.0 -r 100 > tpch_query_log.txt This would create 100 instances of each TPC-H query for scale factor 1.0.

Besides, there is a simple Python script in the main folder named extract_queries_from_log.py.

Usage: ./extract_queries_from_log.py $PATH_TO/tpch_query_log.txt

This script will generate a folder named query_log_output (which is deleted and recreated every time the script runs) and create files for each query.

Clone this wiki locally