Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the default values for scale testing #162

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions fabfile/pgbench_confs/scale_test.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,21 @@ sql_command: CREATE INDEX i6 ON test_table USING GIST(value_3);
pgbench_command: pgbench -c128 -j16 -T 600 -P 10 -n -r -f fabfile/pgbench_scripts/insert_complex.sql

[muti_row_insert]
pgbench_command: pgbench -c32 -j16 -T 600 -P 10 -n -r -f fabfile/pgbench_scripts/scale_multi_row_insert.sql
pgbench_command: pgbench -c128 -j16 -T 600 -P 10 -n -r -f fabfile/pgbench_scripts/scale_multi_row_insert.sql

[router_select]
pgbench_command: pgbench -c128 -j16 -T 600 -P 10 -n -r -f fabfile/pgbench_scripts/router_select.sql

[realtime_select]
pgbench_command: pgbench -c4 -j4 -T 600 -P 10 -n -r -f fabfile/pgbench_scripts/realtime_select.sql
pgbench_command: pgbench -c128 -j16 -T 600 -P 10 -n -r -f fabfile/pgbench_scripts/realtime_select.sql

[insert_select_pushdown]
sql_command: CREATE TABLE test_table_target (key int, occurred_at timestamp DEFAULT now(), value_1 jsonb, value_2 text[], value_3 int4range, value_4 complex NOT NULL);
distribute_table_command: SELECT create_distributed_table('test_table_target', 'key');
pgbench_command: pgbench -c4 -j4 -T 600 -P 10 -n -r -f fabfile/pgbench_scripts/insert_select_pushdown.sql
pgbench_command: pgbench -c128 -j16 -T 600 -P 10 -n -r -f fabfile/pgbench_scripts/insert_select_pushdown.sql

[insert_select_coordinator]
pgbench_command: pgbench -c16 -j8 -T 600 -P 10 -n -r -f fabfile/pgbench_scripts/insert_select_coordinator.sql
pgbench_command: pgbench -c128 -j16 -T 600 -P 10 -n -r -f fabfile/pgbench_scripts/insert_select_coordinator.sql

[copy]
sql_command: COPY (SELECT * FROM test_table LIMIT 100) TO '${HOME}/scale_test_data.csv';
Expand All @@ -61,7 +61,7 @@ pgbench_command: pgbench -c8 -j8 -T 600 -P 10 -n -r -f fabfile/pgbench_scripts/s
pgbench_command: pgbench -c16 -j8 -T 600 -P 10 -n -r -f fabfile/pgbench_scripts/scale_copy.sql@1 -f fabfile/pgbench_scripts/scale_multi_row_insert.sql@25 -D HOME=${HOME}

[mix_them_all]
pgbench_command: pgbench -c8 -j4 -T 600 -P 10 -n -r \
pgbench_command: pgbench -c128 -j16 -T 600 -P 10 -n -r \
-f fabfile/pgbench_scripts/insert_complex.sql@5 \
-f fabfile/pgbench_scripts/scale_multi_row_insert.sql@5 \
-f fabfile/pgbench_scripts/router_select.sql@5 \
Expand Down