Derby
  1. Derby
  2. DERBY-1876

Investigate overhead of JDBC layer and compiled activation code for simple embedded read-only, forward ResultSets

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.6.1.0
    • Fix Version/s: 10.6.1.0
    • Component/s: JDBC
    • Labels:
      None
    • Bug behavior facts:
      Performance

      Description

      For simple ResultSet usage like:
      ResultSet rs = ps.executeQuery();
      while (rs.next())

      { rs.getInt(1); rs.getInt(2); rs.getInt(3); }

      rs.close();

      it would be interesting to see how much overhead could be removed with simple changes, or possibly removed if there was a simple ResultSet implementation for forward only, read-only ResultSet, and the more complete implementation for all other ResultSet types such as updateable and/or scrollable. Has introducing updateable ResultSets, for example, degraded the performance of read-only ResultSets? Could code be changed so that a typical read-only Resultset is not affected by the code required for richer ResultSets?

      1. derby1876.java
        1 kB
        Daniel John Debrunner
      2. derby1862.java
        2 kB
        Daniel John Debrunner
      3. timeout_colcount.diff
        3 kB
        Knut Anders Hatlen
      4. ers_current_row.txt
        5 kB
        Daniel John Debrunner

        Issue Links

          Activity

          Gavin made changes -
          Workflow jira [ 12384244 ] Default workflow, editable Closed status [ 12800191 ]
          Kathey Marsden made changes -
          Fix Version/s 10.6.1.0 [ 12313727 ]
          Kathey Marsden made changes -
          Affects Version/s 10.6.1.0 [ 12313727 ]
          Rick Hillegas made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Dag H. Wanvik made changes -
          Derby Categories [Performance]
          Dag H. Wanvik made changes -
          Component/s Performance [ 11709 ]
          Daniel John Debrunner made changes -
          Attachment ers_current_row.txt [ 12363814 ]
          Knut Anders Hatlen made changes -
          Link This issue incorporates DERBY-3004 [ DERBY-3004 ]
          Knut Anders Hatlen made changes -
          Derby Info [Patch Available]
          Knut Anders Hatlen made changes -
          Derby Info [Patch Available]
          Knut Anders Hatlen made changes -
          Attachment timeout_colcount.diff [ 12354154 ]
          Daniel John Debrunner made changes -
          Link This issue relates to DERBY-2139 [ DERBY-2139 ]
          Knut Anders Hatlen made changes -
          Link This issue relates to DERBY-1957 [ DERBY-1957 ]
          Daniel John Debrunner made changes -
          Link This issue is related to DERBY-1879 [ DERBY-1879 ]
          Daniel John Debrunner made changes -
          Attachment derby1862.java [ 12341414 ]
          Daniel John Debrunner made changes -
          Link This issue relates to DERBY-827 [ DERBY-827 ]
          Daniel John Debrunner made changes -
          Field Original Value New Value
          Attachment derby1876.java [ 12341342 ]
          Daniel John Debrunner created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Daniel John Debrunner
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development