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

Allow bulk scan of LOB tables with holdable cursors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 10.7.1.1
    • None
    • SQL
    • Normal
    • Performance

    Description

      DERBY-1511 disabled bulk scans for tables with LOBs if the cursor was holdable. This was done to work around a bug, but it had a very negative impact on queries that scanned tables that contained relatively small LOBs. It would be good if we could find a safe way to re-enable bulk scans for these queries.

      The problem now is that the lob containers are closed on the transaction boundaries, so the buffered values will be dead on arrival when we call next() after a commit(). If we could find a way to make the containers survive across the transaction boundary, or make it possible to reopen the container, it should be safe to re-enable the bulk scans.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: