Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4204

Runtime statistics not collected on re-execution of statement

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.3.1.4
    • 10.5.2.0, 10.6.1.0
    • SQL
    • None
    • Regression

    Description

      Runtime statistics are only collected the first time an insert/update/delete statement is executed. The behaviour changed between Derby 10.2.2.0 and Derby 10.3.1.4, so this was likely introduced by DERBY-827.

      Reported on derby-dev:
      http://mail-archives.apache.org/mod_mbox/db-derby-dev/200904.mbox/%3c8a0216de0904291334j4bc715c3s6d46fb65e5953659@mail.gmail.com%3e

      Attachments

        1. test.diff
          4 kB
          Knut Anders Hatlen
        2. repro.sql
          0.3 kB
          Knut Anders Hatlen
        3. d4204.diff
          5 kB
          Knut Anders Hatlen
        4. addXPLAINTestUsingCOUNT.diff
          4 kB
          Bryan Pendleton
        5. addXPLAINTest.diff
          4 kB
          Bryan Pendleton

        Issue Links

          Activity

            People

              knutanders Knut Anders Hatlen
              knutanders Knut Anders Hatlen
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: