From 66739b1ea17264754f7f300ac8f12dd15fd4aa98 Mon Sep 17 00:00:00 2001 From: Shantanu Gupta Date: Tue, 23 Jul 2024 14:46:09 +0530 Subject: [PATCH 1/2] Increased Pkey range to avoid out of bound error --- .../postgres/MG2_multi_statement_transaction.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/yugabyte/regression_pipelines/miscellaneous/postgres/MG2_multi_statement_transaction.yaml b/config/yugabyte/regression_pipelines/miscellaneous/postgres/MG2_multi_statement_transaction.yaml index 86469a6e3..56851168b 100644 --- a/config/yugabyte/regression_pipelines/miscellaneous/postgres/MG2_multi_statement_transaction.yaml +++ b/config/yugabyte/regression_pipelines/miscellaneous/postgres/MG2_multi_statement_transaction.yaml @@ -5,7 +5,7 @@ username: {{username}} password: {{password}} batchsize: 128 isolation: TRANSACTION_REPEATABLE_READ -loaderthreads: 1 +loaderThreads: 1 terminals: 24 collect_pg_stat_statements: true yaml_version: v1.0 @@ -107,11 +107,11 @@ microbenchmark: - query: INSERT INTO audit_table_1(account_id_1, event_id_1, user_id_1, delta_1) VALUES(?,?,?,?) bindings: - util: PrimaryIntGen - params: [ 2000000, 100000000 ] + params: [ 2000000, 10000000000 ] - util: PrimaryDateGen params: [ 100000000 ] - util: PrimaryIntGen - params: [ 2000000, 100000000 ] + params: [ 2000000, 10000000000 ] - util: RandomNoWithDecimalPoints params: [ 1, 1000000, 2 ] - query: UPDATE accounts_1 SET bal_1 = ? WHERE account_id_1 = ? and user_id_1 = ? From bf386f40c42d919ee5bd6297ef407ba8b94e6c64 Mon Sep 17 00:00:00 2001 From: Shantanu Gupta Date: Wed, 24 Jul 2024 15:54:53 +0530 Subject: [PATCH 2/2] Changed the date function for the insert query --- .../postgres/MG2_multi_statement_transaction.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/yugabyte/regression_pipelines/miscellaneous/postgres/MG2_multi_statement_transaction.yaml b/config/yugabyte/regression_pipelines/miscellaneous/postgres/MG2_multi_statement_transaction.yaml index 56851168b..bbb891e6a 100644 --- a/config/yugabyte/regression_pipelines/miscellaneous/postgres/MG2_multi_statement_transaction.yaml +++ b/config/yugabyte/regression_pipelines/miscellaneous/postgres/MG2_multi_statement_transaction.yaml @@ -108,8 +108,8 @@ microbenchmark: bindings: - util: PrimaryIntGen params: [ 2000000, 10000000000 ] - - util: PrimaryDateGen - params: [ 100000000 ] + - util: RandomDate + params: [ 2000, 2024 ] - util: PrimaryIntGen params: [ 2000000, 10000000000 ] - util: RandomNoWithDecimalPoints