Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-15347

Turn on batch processing in hibernate for databases that support it

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      Due to the lack of support for hibernate.jdbc.batch_size in DB2 and Sybase:

      http://www.hibernate.org/120.html#A6

      We have removed the benefit of JDBC batching processing on all of our databases. For example, some upgrade tasks that do batch inserts/updates/deletes could run faster with batching enabled.

      This does not have to be the case. We can apply the batch setting on a per dialect basis by updating:

      com.atlassian.config.db.HibernateConfig#getHibernateProperties

      We can determine the dialect by querying applicationConfig.

              Unassigned Unassigned
              dave@atlassian.com dave (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: