Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
10.7.1.1
-
None
-
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
- relates to
-
DERBY-1511 SELECT clause without a WHERE, causes an Exception when extracting a Blob from a database
- Closed