Skip to content

Commit 37fad20

Browse files
committed
Update citus, PG and HammerDB default versions
1 parent b3e2e12 commit 37fad20

22 files changed

+65
-55
lines changed

README.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -388,10 +388,10 @@ even if it fails.
388388
389389
You can find your test results in https://github.com/citusdata/release-test-results under `periodic_job_results` folder. Test results will be pushed to a branch which is in the format ${rg_name}/${month_day_year_uniqueID}.
390390
391-
By default the tests will be run against `release-9.2` and the latest released version. If you want to test on a custom branch you should change the config files of relevant tests with your custom branch name in:
391+
By default the tests will be run against `release-11.1` and the main branch. If you want to test on a custom branch you should change the config files of relevant tests with your custom branch name in:
392392
393393
```text
394-
postgres_citus_versions: [('12.1', 'your-custom-branch-name-in-citus'), ('12.1', 'release-9.1')]
394+
postgres_citus_versions: [('15.1', 'release-11.1'), ('15.1', 'your-custom-branch-name-in-citus')]
395395
```
396396
397397
*Note*: While you can run multiple tests by adding more elements to the array above, the results of the tests after the first might
@@ -514,7 +514,7 @@ If you want to run only the tpcc benchmark or the analytical queries, you should
514514
515515
You can change the thread count and initial sleep time for analytical queries from `build-and-run.sh` with `CH_THREAD_COUNT` and `RAMPUP_TIME` variables respectively.
516516
517-
If you want to run hammerdb4.0 change `hammerdb_version` to `4.0` in `create-run.sh`.
517+
If you want to run hammerdb4.5 change `hammerdb_version` to `4.5` in `create-run.sh`.
518518
519519
By default a random region will be used, if you want you can specify the region with `AZURE_REGION` environment variable prior to running `create-run.sh` such as `export AZURE_REGION=westus2`.
520520
@@ -558,7 +558,7 @@ fab add.shards-on-coordinator
558558
On the coordinator node:
559559
560560
```bash
561-
# This will run default pgBench tests with PG=12.1 and Citus 9.2 and 8.3 release branches
561+
# This will run default pgBench tests with PG=15.1 and Citus release-11.1 and main branches
562562
# and it will log results to pgbench_results_{timemark}.csv file
563563
# Yes, that's all :) You can change settings in fabfile/pgbench_confs/pgbench_default.ini
564564
fab run.pgbench-tests
@@ -573,7 +573,7 @@ fab run.pgbench-tests --config-file=pgbench_default_without_transaction.ini
573573
On the coordinator node:
574574
575575
```bash
576-
# This will run scale tests with PG=12.1 and Citus 9.2 and 8.3 release branches
576+
# This will run scale tests with PG=15.1 and Citus release-11.1 and main branches
577577
# and it will log results to pgbench_results_{timemark}.csv file
578578
# You can change settings in files under the fabfile/pgbench_confs/ directory
579579
fab run.pgbench-tests --config-file=scale_test.ini
@@ -598,7 +598,7 @@ test_count: <integer> specifies total test scenarios which uses any ex
598598
599599
600600
[main]
601-
postgres_versions: ['14.5']
601+
postgres_versions: ['15.1']
602602
extensions: ['citus', 'hll', 'topn', 'tdigest', 'auto_explain']
603603
test_count: 4
604604
```
@@ -653,7 +653,7 @@ conf_string: '''
653653
On the coordinator node:
654654
655655
```bash
656-
# This will run default extension tests with PG=14.5
656+
# This will run default extension tests with PG=15.1
657657
# Yes, that's all :) You can change settings in fabfile/extension_confs/extension_default.ini
658658
fab run.extension-tests
659659
@@ -675,7 +675,7 @@ test_count: <integer> specifies total test scenarios which uses any ex
675675
676676
677677
[main]
678-
postgres_versions: ['14.5']
678+
postgres_versions: ['15.1']
679679
extensions: ['citus', 'hll', 'topn', 'tdigest', 'auto_explain']
680680
test_count: 4
681681
```
@@ -730,7 +730,7 @@ conf_string: '''
730730
On the coordinator node:
731731
732732
```bash
733-
# This will run default extension tests with PG=14.5
733+
# This will run default extension tests with PG=15.1
734734
# Yes, that's all :) You can change settings in fabfile/extension_confs/extension_default.ini
735735
fab run.extension-tests
736736

@@ -760,7 +760,7 @@ fab run.pgbench-tests --config-file=pgbench_cloud.ini --connectionURI='postgres:
760760
On the coordinator node:
761761
762762
```bash
763-
# This will run TPC-H tests with PG=12.1 and Citus 9.2 and 8.3 release branches
763+
# This will run TPC-H tests with PG=15.1 and Citus release-11.1 and main branches
764764
# and it will log results to their own files on the home directory. You can use diff to
765765
# compare results.
766766
# You can change settings in files under the fabfile/tpch_confs/ directory
@@ -812,7 +812,7 @@ cd azure
812812
# run.valgrind check-multi-vg runs "make check-multi-vg"
813813
# run.valgrind check-multi-1-vg runs "make check-multi-1-vg"
814814
# run.valgrind check-columnar-vg runs "make check-columnar-vg"
815-
tmux new -d "fab use.postgres 12.3 use.citus release-9.2 run.valgrind check-multi-vg"
815+
tmux new -d "fab use.postgres 15.1 use.citus release-11.1 run.valgrind check-multi-vg"
816816
817817
# simply exit from coordinator after detaching
818818
@@ -864,8 +864,8 @@ into the VM-s.
864864
On the coordinator node:
865865
866866
```bash
867-
# an example usage: Use PostgreSQL 14.2 and run valgrind test on citus/release-9.2
868-
fab use.postgres 14.2 use.citus release-9.2 run.valgrind check-multi-vg
867+
# an example usage: Use PostgreSQL 15.1 and run valgrind test on citus/release-11.1
868+
fab use.postgres 15.1 use.citus release-11.1 run.valgrind check-multi-vg
869869
```
870870
871871
However as valgrind tests take too much time to complete, we recommend you to run valgrind tests in a detached session:
@@ -875,7 +875,7 @@ However as valgrind tests take too much time to complete, we recommend you to ru
875875
# run.valgrind check-multi-vg runs "make check-multi-vg"
876876
# run.valgrind check-multi-1-vg runs "make check-multi-1-vg"
877877
# run.valgrind check-columnar-vg runs "make check-columnar-vg"
878-
tmux new -d "fab use.postgres 12.1 use.citus release-9.2 run.valgrind check-multi-vg"
878+
tmux new -d "fab use.postgres 15.1 use.citus release-11.1 run.valgrind check-multi-vg"
879879
```
880880
881881
After the tests are finished (takes up to 9 hours with default coordinator size), re-connect to the coordinator.
@@ -898,14 +898,14 @@ install Citus:
898898
899899
- `fab --list` will return a list of the tasks you can run.
900900
- `fab setup.basic-testing`, will create a vanilla cluster with postgres and citus. Once this has run you can simply run `psql` to connect to it.
901-
- `fab use.citus v7.1.1 setup.basic-testing` will do the same, but use the tag `v7.1.1` when installing Citus. You can give it any git ref, it defaults to `master`.
902-
- `fab use.postgres 10.1 setup.basic-testing` lets you choose your postgres version.
903-
- `fab use.citus release-9.2 setup.citus` will install postgres and the `release-9.2` branch of the citus repo.
901+
- `fab use.citus v11.1.5 setup.basic-testing` will do the same, but use the tag `v11.1.5` when installing Citus. You can give it any git ref, it defaults to `main`.
902+
- `fab use.postgres 15.1 setup.basic-testing` lets you choose your postgres version.
903+
- `fab use.citus release-11.1 setup.citus` will install postgres and the `release-11.1` branch of the citus repo.
904904
905905
## <a name="fab-tasks"></a> Tasks, and Ordering of Tasks
906906
907-
When you run a command like `fab use.citus v7.1.1 setup.basic-testing` you are running two
908-
different tasks: `use.citus` with a `v7.1.1` argument and `setup.basic-testing`. Those
907+
When you run a command like `fab use.citus v11.1.5 setup.basic-testing` you are running two
908+
different tasks: `use.citus` with a `v11.1.5` argument and `setup.basic-testing`. Those
909909
tasks are always executed from left to right, and running them is usually equivalent to
910910
running them as separate commands. For example:
911911
@@ -922,18 +922,18 @@ have an effect on the current command:
922922
923923
```
924924
# this works:
925-
fab use.citus v7.1.1 setup.basic-testing
925+
fab use.citus v11.1.5 setup.basic-testing
926926
# this does not work:
927-
fab use.citus v7.1.1 # tells fabric to install v7.1.1, but only works during this command
928-
fab setup.basic-testing # will install the master branch of citus
927+
fab use.citus v11.1.5 # tells fabric to install v11.1.5, but only works during this command
928+
fab setup.basic-testing # will install the main branch of citus
929929
```
930930
931931
`use` tasks must come before `setup` tasks:
932932
933933
```
934934
# this does not work!
935935
# since the `setup` task is run before the `use` task the `use` task will have no effect
936-
fab setup.basic-testing use.citus v.7.1.1
936+
fab setup.basic-testing use.citus v11.1.5
937937
```
938938
939939
Finally, there are tasks, such as the ones in the `add` namespace, which asssume a cluster
@@ -948,9 +948,9 @@ These tasks configure the tasks you run after them. When run alone they have no
948948
Some examples:
949949
950950
```
951-
fab use.citus v7.1.1 setup.basic-testing
952-
fab use.citus release-9.2 setup.citus
953-
fab use.debug-mode use.postgres 10.1 use.citus v7.1.1 setup.basic-testing
951+
fab use.citus v11.1.5 setup.basic-testing
952+
fab use.citus release-11.1 setup.citus
953+
fab use.debug-mode use.postgres 15.1 use.citus v11.1.5 setup.basic-testing
954954
```
955955
956956
`use.debug-mode` passes the following flags to postges' configure: `--enable-debug --enable-cassert CFLAGS="-ggdb -Og -g3 -fno-omit-frame-pointer"`
@@ -970,7 +970,7 @@ For a complete list, run `fab --list`.
970970
971971
As described [above](#fab-tasks), you can run these at the same time as you run `setup` tasks:
972972
973-
- `fab use.citus v7.1.1 setup.citus add.shard_rebalancer` does what you'd expect.
973+
- `fab use.citus v11.1.5 setup.citus add.shard_rebalancer` does what you'd expect.
974974
975975
## <a name="pg"></a> `pg` Tasks
976976

fabfile/extension_confs/extension_default.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[main]
2-
postgres_versions: ['14.5', '15beta4']
2+
postgres_versions: ['14.6', '15.1']
33
extensions: ['citus', 'hll', 'topn', 'tdigest', 'auto_explain', 'bloom', 'adminpack', 'amcheck', 'btree_gin', 'btree_gist', 'citext', 'cube',
44
'dblink', 'dict_int', 'dict_xsyn', 'earthdistance', 'file_fdw', 'fuzzystrmatch', 'hstore', 'intarray', 'isn', 'lo', 'ltree',
55
'pageinspect', 'passwordcheck', 'pgcrypto', 'pgstattuple', 'pg_surgery', 'pg_trgm', 'pg_visibility', 'postgres_fdw', 'seg', 'tablefunc',

fabfile/hammerdb_confs/citus_config.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[DEFAULT]
2-
postgres_citus_version: ('14.5', 'main')
2+
postgres_citus_version: ('15.1', 'main')
33
postgresql_conf: [
44
# the following two are necessary to prevent getting timeouts, do not change them.
55
"tcp_keepalives_idle = 120",

fabfile/pgbench_confs/pgbench_custom.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[DEFAULT]
2-
postgres_citus_versions: [('12.1', 'release-9.2'), ('12.1', 'release-9.2')]
2+
postgres_citus_versions: [('15.1', 'release-11.1'), ('15.1', 'main')]
33
shard_counts_replication_factors: [(32, 1)]
44
postgresql_conf: [
55
"max_wal_size = '50GB'",

fabfile/pgbench_confs/pgbench_default.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[DEFAULT]
2-
postgres_citus_versions: [('14.3', 'release-11.0')]
2+
postgres_citus_versions: [('15.1', 'release-11.1'), ('15.1', 'main')]
33
shard_counts_replication_factors: [(32, 1)]
44

55
; Citus flags can be added below as well. E.g. citus.shard_replication_factor = 2

fabfile/pgbench_confs/pgbench_default_without_transaction.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[DEFAULT]
2-
postgres_citus_versions: [('14.3', 'release-11.0')]
2+
postgres_citus_versions: [('15.1', 'release-11.1'), ('15.1', 'main')]
33
shard_counts_replication_factors: [(32, 1)]
44

55
; Citus flags can be added below as well. E.g. citus.shard_replication_factor = 2

fabfile/pgbench_confs/pgbench_issue_1799.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[DEFAULT]
2-
postgres_citus_versions: [('12.1', 'release-9.2')]
2+
postgres_citus_versions: [('15.1', 'release-11.1'), ('15.1', 'main')]
33
shard_counts_replication_factors: [(32, 1)]
44
postgresql_conf: [
55
"max_wal_size = '50GB'",

fabfile/pgbench_confs/scale_test.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[DEFAULT]
2-
postgres_citus_versions: [('12.1', 'release-9.2'), ('12.1', 'release-9.2')]
2+
postgres_citus_versions: [('15.1', 'release-11.1'), ('15.1', 'main')]
33
shard_counts_replication_factors: [(32, 1)]
44
postgresql_conf: [
55
"max_wal_size = '50GB'",

fabfile/pgbench_confs/scale_test_100_columns.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[DEFAULT]
2-
postgres_citus_versions: [('12.1', 'release-9.2'), ('12.1', 'release-9.2')]
2+
postgres_citus_versions: [('15.1', 'release-11.1'), ('15.1', 'main')]
33
shard_counts_replication_factors: [(32, 1)]
44
postgresql_conf: [
55
"max_wal_size = '50GB'",

fabfile/pgbench_confs/scale_test_foreign.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[DEFAULT]
2-
postgres_citus_versions: [('12.1', 'release-9.2'), ('12.1', 'release-9.2')]
2+
postgres_citus_versions: [('15.1', 'release-11.1'), ('15.1', 'main')]
33
shard_counts_replication_factors: [(32, 1)]
44
postgresql_conf: [
55
"max_wal_size = '50GB'",

fabfile/pgbench_confs/scale_test_no_index.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[DEFAULT]
2-
postgres_citus_versions: [('12.1', 'release-9.2'), ('12.1', 'release-9.2')]
2+
postgres_citus_versions: [('15.1', 'release-11.1'), ('15.1', 'main')]
33
shard_counts_replication_factors: [(32, 1)]
44
postgresql_conf: [
55
"max_wal_size = '50GB'",

fabfile/pgbench_confs/scale_test_prepared.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[DEFAULT]
2-
postgres_citus_versions: [('12.1', 'release-9.2'), ('12.1', 'release-9.2')]
2+
postgres_citus_versions: [('15.1', 'release-11.1'), ('15.1', 'main')]
33
shard_counts_replication_factors: [(32, 1)]
44
postgresql_conf: [
55
"max_wal_size = '50GB'",

fabfile/pgbench_confs/scale_test_reference.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[DEFAULT]
2-
postgres_citus_versions: [('12.1', 'release-9.2'), ('12.1', 'release-9.2')]
2+
postgres_citus_versions: [('15.1', 'release-11.1'), ('15.1', 'main')]
33
shard_counts_replication_factors: [(32, 1)]
44
postgresql_conf: [
55
"max_wal_size = '50GB'",

fabfile/tpch_confs/tpch_default.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[test]
2-
postgres_citus_versions: [('14.3', 'release-11.0')]
2+
postgres_citus_versions: [('15.1', 'release-11.1'), ('15.1', 'main')]
33
tpch_tasks_executor_types: [('1.sql', 'adaptive'), ('3.sql', 'adaptive'), ('5.sql', 'adaptive'), ('6.sql', 'adaptive')
44
,('7.sql', 'adaptive'), ('8.sql', 'adaptive'), ('9.sql', 'adaptive'), ('10.sql', 'adaptive')
55
, ('12.sql', 'adaptive'), ('14.sql', 'adaptive'), ('19.sql', 'adaptive')]

fabfile/tpch_confs/tpch_q1.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[test]
2-
postgres_citus_versions: [('12.1', 'release-11.0')]
2+
postgres_citus_versions: [('15.1', 'release-11.1'), ('15.1', 'main')]
33
tpch_tasks_executor_types: [('1.sql', 'real-time')]
44
scale_factor: 1

fabfile/use.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
@task(positional=['version'])
1414
def citus(c, version):
15-
'Choose a citus version. For example: fab use.citus v6.0.1 setup.basic-testing (defaults to master)'
15+
'Choose a citus version. For example: fab use.citus v11.1.5 setup.basic-testing (defaults to master)'
1616
if multi_connections.execute_on_all_nodes_if_no_hosts(c, citus, version):
1717
return
1818

hammerdb/create-run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set -x
1010
is_tpcc=${IS_TPCC:=true} # set to true if you want tpcc to be run, otherwise set to false
1111
is_ch=${IS_CH:=false} # set to true if you want ch benchmark to be run, otherwise set to false
1212
username=pguser # username of the database
13-
hammerdb_version=4.4 # (4.4+ recommended) find available versions in download-hammerdb.sh
13+
hammerdb_version=4.6 # (4.4+ recommended) find available versions in download-hammerdb.sh
1414

1515
# ssh_execute is used to run a command multiple times on ssh, this is because we sometimes get timeouts
1616
# while trying to ssh, and it shouldn't make the script fail. If a command actually fails, it will always

hammerdb/download-hammerdb.sh

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,17 @@ if test -d "HammerDB-$1"; then
1010
exit
1111
fi
1212

13-
if [ "$1" == 4.4 ]
13+
if [ "$1" == 4.6 ]
14+
then
15+
SHA1=f1ce8891e24dba9dfa99c16781673f37d71e94df
16+
OUTPUT=HammerDB-4.6-Linux.tar.gz
17+
URL=https://github.com/TPC-Council/HammerDB/releases/download/v4.6/$OUTPUT
18+
elif [ "$1" == 4.5 ]
19+
then
20+
SHA1=98c924ad4e99d6f55ef89f098ce638455473dba6
21+
OUTPUT=HammerDB-4.5-Linux.tar.gz
22+
URL=https://github.com/TPC-Council/HammerDB/releases/download/v4.5/$OUTPUT
23+
elif [ "$1" == 4.4 ]
1424
then
1525
SHA1=5347e06baad690336afa6d354330cd59d98343cc
1626
OUTPUT=HammerDB-4.4-Linux.tar.gz
@@ -31,7 +41,7 @@ then
3141
OUTPUT=HammerDB-3.3-Linux.tar.gz
3242
URL=https://github.com/TPC-Council/HammerDB/releases/download/v3.3/$OUTPUT
3343
else
34-
echo 'Expects version parameter. Supported versions: 3.3 4.0 4.3 4.4' 1>&2
44+
echo 'Expects version parameter. Supported versions: 3.3 4.0 4.3 4.4 4.5 4.6' 1>&2
3545
exit 1
3646
fi
3747

hammerdb/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ mv HammerDB-"${hammerdb_version}" ~/
2121

2222
# postgres is necessary for hammerdb, so install that
2323
sudo yum -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm
24-
sudo yum -y install postgresql14-server postgresql14
24+
sudo yum -y install postgresql15-server postgresql15
2525

2626
cd "${driverdir}"
2727

jdbc/jdbc_config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"pg_version": "14.3",
3-
"citus_branch": "release-11.0",
2+
"pg_version": "15.1",
3+
"citus_branch": "release-11.1",
44
"COMMENT_NOT_PARSED": "You can lookup jdbc versions at: https://jdbc.postgresql.org/download.html",
55
"jdbc_version": "42.3.6"
66
}

release/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# Usage of update_files.sh
33

44
If you will test a custom branch, you can update all the config files with `./update_files.sh`. Say that you
5-
will do the release testing for `release-9.2` and `release-9.3`. You can do the following:
5+
will do the release testing for `release-11.1` and `main`. You can do the following:
66

77
```bash
88
vim update_files.sh
99

10-
new_branch1=release-9.3
11-
new_branch2=release-9.2
12-
new_pg_version=12.2
10+
new_branch1=release-11.1
11+
new_branch2=main
12+
new_pg_version=15.1
1313

1414
./update_files.sh # this will update all the branches correctly
1515
git diff #make sure that everything is fine

release/update_files.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ set -e
88
set -x
99

1010
## VARIABLES ##
11-
new_branch1=release-9.3
12-
new_branch2=release-9.2
13-
new_pg_version=12.2
11+
new_branch1=release-11.1
12+
new_branch2=main
13+
new_pg_version=15.1
1414
## VARIABLES ##
1515

1616
releasedir="${0%/*}"

0 commit comments

Comments
 (0)