Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-30

Performance degradation caused by excessive select and set autocommit queries

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.1.0, 1.1.1
    • 1.1.2
    • None
    • MariaDB Java Client connecting to MySQL Community Server through Hibernate persistence layer.

    Description

      We noticed some performance degradation in our product when we replaced the MySQL Connector/J client with MariaDB Java client and were able to trace the performance decrease back to the large number of 'get @@autocommit' and 'set autocommit' queries sent to the database.

      Instead of sending these queries to the databse each time getAutocommit() and setAutocommit() are called, the autocommit value may be cached on a per connection basis to improve performance.

      Attachments

        Activity

          People

            wlad Vladislav Vaintroub
            mraeholling Marissa Hollingsworth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.