MariaDB Client Library for Java Applications
  1. MariaDB Client Library for Java Applications
  2. CONJ-30

Performance degradation caused by excessive select and set autocommit queries

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: jdbc-1.1.0, jdbc-1.1.1
    • Fix Version/s: jdbc-1.1.2
    • Labels:
    • Environment:
      MariaDB Java Client connecting to MySQL Community Server through Hibernate persistence layer.
    • Global Rank:
      2741

      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Vladislav Vaintroub
            Reporter:
            Marissa Hollingsworth
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 2 days
              2d
              Remaining:
              Time Spent - 3 hours Remaining Estimate - 1 day, 5 hours
              1d 5h
              Logged:
              Time Spent - 3 hours Remaining Estimate - 1 day, 5 hours
              3h