Skip to content

Improve performance for batch operations [DATAJDBC-314] #537

Closed

Description

@spring-projects-issues

Ioannis Daskalakis opened DATAJDBC-314 and commented

Currently, SimpleJdbcRepository batch operations (saveAll, deleteAll) are performed by iterating all instances and performing the operation for each instance separately.

Utilizing batching on the jdbc level (e.g. by utilizing NamedParameterJdbcOperations::batchUpdate) would offer significant performance improvements.

  


Issue Links:

  • DATAJDBC-328 Implement saveInBatch, deleteInBatch methods
    ("is duplicated by")

11 votes, 12 watchers

Activity

  1. spring-projects-issues commented on Jan 7, 2019

    @spring-projects-issues
    Author

    cn-src commented

    Add batchInsert and batchDelete very good

  2. spring-projects-issues commented on Jun 23, 2020

    @spring-projects-issues
    Author

    deleted commented

    Looks like duplicated by DATAJDBC-328

  3. cemo commented on May 18, 2021

    @cemo

    I think supporting batch operations is essential.

  4. ToddyuLi commented on Jul 15, 2021

    @ToddyuLi

    any plan on this? I need it too!!

  5. vtrusevich-incomm commented on Nov 15, 2021

    @vtrusevich-incomm

    Are there any plans for this feature?

  6. dereknheiley commented on Nov 18, 2021

    @dereknheiley

    How is this still not a thing? Where do i push a PR for it?

  7. added
    in: mappingMapping and conversion infrastructure
    and removed on Feb 7, 2022
  8. self-assigned this
    on Apr 1, 2022
  9. schauder commented on Jul 4, 2022

    @schauder
    Contributor

    This got resolved by the various issue and PRs referencing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions