Skip to content

Instantly share code, notes, and snippets.

@benyaminsalimi
Last active February 26, 2025 17:54
Show Gist options
  • Select an option

  • Save benyaminsalimi/cb98cc2e19bd7939bd59ea28283c6c53 to your computer and use it in GitHub Desktop.

Select an option

Save benyaminsalimi/cb98cc2e19bd7939bd59ea28283c6c53 to your computer and use it in GitHub Desktop.
DuckDb Benchmark config
-- enabling profile mode
PRAGMA enable_profile;
SET enable_profiling = 'query_tree_optimizer';
SET profiling_mode = 'DETAILED';
SET enable_progress_bar_print=true;
SET enable_progress_bar=true;
SET explain_output='ALL';
SET preserve_insertion_order = false; -- allow to bigger than memory query.
set temp_directory='/tmp/duckdb-temp';
SET parquet_metadata_cache=false;
-- low config
SET max_memory = '500 MiB';
SET memory_limit = '500 MiB';
SET threads=1;
-- high config
SET max_memory = '4096 MiB';
SET memory_limit = '4096 MiB';
SET threads=8;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment