Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable reWriteBatchedInserts Postgres JDBC driver option in tests #917

Merged
merged 1 commit into from
Sep 20, 2024

Commits on Sep 19, 2024

  1. Enable reWriteBatchedInserts Postgres JDBC driver option in tests

    As per JDBC driver documentation (https://jdbc.postgresql.org/documentation/use/):
    
    This will change batch inserts from insert into foo (col1, col2, col3) values (1, 2, 3) into insert into foo (col1, col2, col3) values (1, 2, 3), (4, 5, 6) this provides 2-3x performance improvement
    
    Indeed, per default even batched JDBC statements are executed one-by-one, somewhat defeating the purpose of batching in the first place. This option allows us to get the true benefit out of performing batch operations.
    
    Signed-off-by: nscuro <[email protected]>
    nscuro committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    a699c80 View commit details
    Browse the repository at this point in the history