Repository navigation
java-performance/experiments/postgresql-batch-rewrite #2
Replies: 1 comment
|
I used a batch size of 1,000 for this experiment. I'm curious how much the benefit of If you've experimented with this, I'd be interested in your results. A useful comparison would be batch sizes of 100 and 1,000, with rewriting enabled and disabled, keeping the commit interval fixed. Please include your pgJDBC version and whether PostgreSQL was local or remote. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
java-performance/experiments/postgresql-batch-rewrite
Enabling reWriteBatchedInserts made a million-row Scriptella import 1.70× faster on PostgreSQL, from 15.995 to 9.409 seconds. Handwritten JDBC was 1.55× faster. Three local runs.
https://pvrlabs.xyz/java-performance/experiments/postgresql-batch-rewrite.html
All reactions