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

Change default persistBatchSize from 20 to 100 (as a better default value) #3325

Merged
merged 2 commits into from
Feb 15, 2024

Conversation

rbygrave
Copy link
Member

@rbygrave rbygrave commented Feb 9, 2024

This is the batch size used with PreparedStatement executeBatch() with batched inserts, updates and deletes. 20 is really on the low side and bumping this default to 100 seems good and right.

This value is defined in DatabaseConfig.

…alue)

This is the batch size used with PreparedStatement executeBatch() with
batched inserts, updates and deletes. 20 is really on the low side and
bumping this default to 100 seems good and right.
@rbygrave rbygrave added this to the 14.0.0 milestone Feb 9, 2024
@rbygrave rbygrave self-assigned this Feb 9, 2024
@rbygrave rbygrave merged commit 4f0d2ca into master Feb 15, 2024
2 checks passed
@rbygrave rbygrave deleted the feature/default-batchSize-100 branch February 15, 2024 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant