This repository has been archived by the owner on Nov 2, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 4
postgres: pgtune configs for m5a/t3a types and pgbench testing on separate machine #29
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
95d070e
postgres: pgtune configs for missing m5a/t3a types
steve-chavez 9a21a99
postgres: add missing t3a/m5a configs
steve-chavez fce4629
postgres: add pgbench testing on client machine
steve-chavez 1f2f1fb
postgres: pgbench testing across many instances
steve-chavez File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,211 @@ | ||
<!--pgrbench-all-pg-instances repeat 3 pgrbench-pgbench -c 100 > PGBENCH_RESULTS.md --> | ||
|
||
Running on a m5a.large | ||
|
||
|
||
Run 1: | ||
|
||
transaction type: <builtin: TPC-B (sort of)> | ||
scaling factor: 50 | ||
query mode: prepared | ||
number of clients: 100 | ||
number of threads: 8 | ||
duration: 30 s | ||
number of transactions actually processed: 45492 | ||
latency average = 66.235 ms | ||
tps = 1509.766608 (including connections establishing) | ||
tps = 1510.166881 (excluding connections establishing) | ||
|
||
Run 2: | ||
|
||
transaction type: <builtin: TPC-B (sort of)> | ||
scaling factor: 50 | ||
query mode: prepared | ||
number of clients: 100 | ||
number of threads: 8 | ||
duration: 30 s | ||
number of transactions actually processed: 50828 | ||
latency average = 59.331 ms | ||
tps = 1685.471195 (including connections establishing) | ||
tps = 1686.528635 (excluding connections establishing) | ||
|
||
Run 3: | ||
|
||
transaction type: <builtin: TPC-B (sort of)> | ||
scaling factor: 50 | ||
query mode: prepared | ||
number of clients: 100 | ||
number of threads: 8 | ||
duration: 30 s | ||
number of transactions actually processed: 53997 | ||
latency average = 55.817 ms | ||
tps = 1791.559195 (including connections establishing) | ||
tps = 1792.247708 (excluding connections establishing) | ||
|
||
Running on a m5a.xlarge | ||
|
||
|
||
Run 1: | ||
|
||
transaction type: <builtin: TPC-B (sort of)> | ||
scaling factor: 50 | ||
query mode: prepared | ||
number of clients: 100 | ||
number of threads: 8 | ||
duration: 30 s | ||
number of transactions actually processed: 92804 | ||
latency average = 32.448 ms | ||
tps = 3081.890468 (including connections establishing) | ||
tps = 3082.342735 (excluding connections establishing) | ||
|
||
Run 2: | ||
|
||
transaction type: <builtin: TPC-B (sort of)> | ||
scaling factor: 50 | ||
query mode: prepared | ||
number of clients: 100 | ||
number of threads: 8 | ||
duration: 30 s | ||
number of transactions actually processed: 114382 | ||
latency average = 26.316 ms | ||
tps = 3799.897694 (including connections establishing) | ||
tps = 3800.595158 (excluding connections establishing) | ||
|
||
Run 3: | ||
|
||
transaction type: <builtin: TPC-B (sort of)> | ||
scaling factor: 50 | ||
query mode: prepared | ||
number of clients: 100 | ||
number of threads: 8 | ||
duration: 30 s | ||
number of transactions actually processed: 115656 | ||
latency average = 26.068 ms | ||
tps = 3836.188151 (including connections establishing) | ||
tps = 3836.812069 (excluding connections establishing) | ||
|
||
Running on a m5a.2xlarge | ||
|
||
|
||
Run 1: | ||
|
||
transaction type: <builtin: TPC-B (sort of)> | ||
scaling factor: 50 | ||
query mode: prepared | ||
number of clients: 100 | ||
number of threads: 8 | ||
duration: 30 s | ||
number of transactions actually processed: 142970 | ||
latency average = 21.036 ms | ||
tps = 4753.743995 (including connections establishing) | ||
tps = 4754.249103 (excluding connections establishing) | ||
|
||
Run 2: | ||
|
||
transaction type: <builtin: TPC-B (sort of)> | ||
scaling factor: 50 | ||
query mode: prepared | ||
number of clients: 100 | ||
number of threads: 8 | ||
duration: 30 s | ||
number of transactions actually processed: 233928 | ||
latency average = 12.860 ms | ||
tps = 7775.855491 (including connections establishing) | ||
tps = 7776.714704 (excluding connections establishing) | ||
|
||
Run 3: | ||
|
||
transaction type: <builtin: TPC-B (sort of)> | ||
scaling factor: 50 | ||
query mode: prepared | ||
number of clients: 100 | ||
number of threads: 8 | ||
duration: 30 s | ||
number of transactions actually processed: 235969 | ||
latency average = 12.761 ms | ||
tps = 7836.620631 (including connections establishing) | ||
tps = 7837.585665 (excluding connections establishing) | ||
|
||
Running on a m5a.4xlarge | ||
|
||
|
||
Run 1: | ||
|
||
transaction type: <builtin: TPC-B (sort of)> | ||
scaling factor: 50 | ||
query mode: prepared | ||
number of clients: 100 | ||
number of threads: 8 | ||
duration: 30 s | ||
number of transactions actually processed: 171468 | ||
latency average = 17.536 ms | ||
tps = 5702.618662 (including connections establishing) | ||
tps = 5703.228351 (excluding connections establishing) | ||
|
||
Run 2: | ||
|
||
transaction type: <builtin: TPC-B (sort of)> | ||
scaling factor: 50 | ||
query mode: prepared | ||
number of clients: 100 | ||
number of threads: 8 | ||
duration: 30 s | ||
number of transactions actually processed: 351608 | ||
latency average = 8.555 ms | ||
tps = 11688.693390 (including connections establishing) | ||
tps = 11690.031243 (excluding connections establishing) | ||
|
||
Run 3: | ||
|
||
transaction type: <builtin: TPC-B (sort of)> | ||
scaling factor: 50 | ||
query mode: prepared | ||
number of clients: 100 | ||
number of threads: 8 | ||
duration: 30 s | ||
number of transactions actually processed: 355595 | ||
latency average = 8.454 ms | ||
tps = 11828.751758 (including connections establishing) | ||
tps = 11830.103914 (excluding connections establishing) | ||
|
||
Running on a m5a.8xlarge | ||
|
||
|
||
Run 1: | ||
|
||
transaction type: <builtin: TPC-B (sort of)> | ||
scaling factor: 50 | ||
query mode: prepared | ||
number of clients: 100 | ||
number of threads: 8 | ||
duration: 30 s | ||
number of transactions actually processed: 176047 | ||
latency average = 17.082 ms | ||
tps = 5854.134383 (including connections establishing) | ||
tps = 5854.820377 (excluding connections establishing) | ||
|
||
Run 2: | ||
|
||
transaction type: <builtin: TPC-B (sort of)> | ||
scaling factor: 50 | ||
query mode: prepared | ||
number of clients: 100 | ||
number of threads: 8 | ||
duration: 30 s | ||
number of transactions actually processed: 372931 | ||
latency average = 8.062 ms | ||
tps = 12403.998820 (including connections establishing) | ||
tps = 12405.350491 (excluding connections establishing) | ||
|
||
Run 3: | ||
|
||
transaction type: <builtin: TPC-B (sort of)> | ||
scaling factor: 50 | ||
query mode: prepared | ||
number of clients: 100 | ||
number of threads: 8 | ||
duration: 30 s | ||
number of transactions actually processed: 377333 | ||
latency average = 7.968 ms | ||
tps = 12550.028498 (including connections establishing) | ||
tps = 12551.435376 (excluding connections establishing) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uploaded the results obtained by this command:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also corrected supabase/benchmarks#9 (comment)