Skip to content

Commit 9a1e37c

Browse files
committed
Update citus, PG and HammerDB default versions
1 parent b3e2e12 commit 9a1e37c

23 files changed

+66
-56
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

azure/azuredeploy.parameters.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"contentVersion": "1.0.0.0",
44
"parameters": {
55
"numberOfWorkers": {
6-
"value": 1
6+
"value": 2
77
},
88
"diskType": {
99
"value": "Premium_LRS"

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'",

0 commit comments

Comments
 (0)