should be it

This commit is contained in:
2025-10-24 19:21:19 -05:00
parent a4b23fc57c
commit f09560c7b1
14047 changed files with 3161551 additions and 1 deletions

View File

@@ -0,0 +1,27 @@
# name: benchmark/micro/logger/logging_overhead/duckdb_persistent_q1_with_default_logging.benchmark
# description: Test overhead on query that writes lineitem sf1 to a duckdb database and runs Q1 on it
# group: [logging_overhead]
name Q1 (Parquet)
group logger
subgroup logging_overhead
require parquet
require tpch
load
CALL dbgen(sf=1);
CALL enable_logging(storage_path='${BENCHMARK_DIR}/duckdb_persistent_q1_with_default_logging')
run
ATTACH '${BENCHMARK_DIR}/duckdb_persistent_q1_with_default_logging.db' as my_db;
CREATE OR REPLACE TABLE my_db.lineitem AS FROM memory.lineitem;
use my_db;
PRAGMA tpch(1);
cleanup
CALL truncate_duckdb_logs();
use memory;
DETACH my_db;
result extension/tpch/dbgen/answers/sf1/q01.csv

View File

@@ -0,0 +1,24 @@
# name: benchmark/micro/logger/logging_overhead/parquet_q1_with_default_logging.benchmark
# description: Test overhead on query that writes lineitem sf1 to a duckdb database and runs Q1 on it
# group: [logging_overhead]
name Q1 (Parquet)
group logger
subgroup logging_overhead
require parquet
require tpch
load
CALL dbgen(sf=1, suffix='_normal');
CALL enable_logging(storage_path='${BENCHMARK_DIR}/parquet_q1_with_logging')
run
COPY lineitem_normal TO '${BENCHMARK_DIR}/parquet_q1_with_logging.parquet';
CREATE OR REPLACE VIEW lineitem AS SELECT * FROM read_parquet('${BENCHMARK_DIR}/parquet_q1_with_logging.parquet');
PRAGMA tpch(1)
cleanup
CALL truncate_duckdb_logs()
result extension/tpch/dbgen/answers/sf1/q01.csv

View File

@@ -0,0 +1,24 @@
# name: benchmark/micro/logger/logging_overhead/parquet_q1_with_filesystem_logging.benchmark
# description: Execute Q1 over lineitem stored in a parquet file with filesystem logging enabled. This comes at a significant, but reasonable overhead.
# group: [logging_overhead]
name Q1 (Parquet)
group logger
subgroup logging_overhead
require parquet
require tpch
load
CALL dbgen(sf=1, suffix='_normal');
CALL enable_logging('FileSystem', storage_path='${BENCHMARK_DIR}/parquet_q1_with_logging')
run
COPY lineitem_normal TO '${BENCHMARK_DIR}/parquet_q1_with_logging.parquet';
CREATE OR REPLACE VIEW lineitem AS SELECT * FROM read_parquet('${BENCHMARK_DIR}/parquet_q1_with_logging.parquet');
PRAGMA tpch(1)
cleanup
CALL truncate_duckdb_logs()
result extension/tpch/dbgen/answers/sf1/q01.csv