PostgreSQLv14-TPC-H-HammerDBv4.2 performance deviation between iterations(Number of trails of same test on same workload) too high #317
-
Captured TPC-H benchmarks on PostgreSQLv14 on HammerDBv4.2 in client-server model i.e client machine-HammerDBv4.2 ,server machine-PostgreSQLv14. |Virtual Users |GCC_11 |Deviation BTW iterations % Parallelism enabled in Postgres.conf parallel querymax_parallel_workers_per_gather = 16 Example: 10416 Avg time QPS of Q1 to Q22(completed query sets(s) in seconds) schema_tpcc.tcl#!/bin/tclsh |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Like the previous questions around OLTP, you really need to analyze the data to determine the difference in performance. Note you may be able to improve performance by partitioning the schema so it uses partition pruning https://www.postgresql.org/docs/13/ddl-partitioning.html#DDL-PARTITION-PRUNING. This is not something done by default as it is difficult to know exactly which feature is supported by each database, however this is the sort of thing often done in improving TPC-H query performance. |
Beta Was this translation helpful? Give feedback.
-
by tuning following parameters the deviation reduced between the iteration and current deviation is 2-4% I would like to know how to capture tpch-meters like Power,Throughput、QphH via HammerDB command line interface. |
Beta Was this translation helpful? Give feedback.
-
Yes mostly i think server exemplify with those parameters in database configuration issue. ^MVuser 1:FINISHED FAILED of course the schema error (the above) is independent on data base configuration and system Hardware settings . even the schema issue was observed with default/basic configuration of PostgreSQLv14 with HammerDBv setup. Is this error can be ignored ? |
Beta Was this translation helpful? Give feedback.
-
The key output is here: |
Beta Was this translation helpful? Give feedback.
The key output is here:
FATAL: terminating connection due to administrator command
This means your monitor virtual user connection was terminated with a SIGTERM signal.
For the schema build the monitor virtual user creates the tables and then waits for all virtual users to finish the loading before creating the indexes. While it was waiting it was terminated. The first thing to check is the timeout values.