Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Normal
Description
With DERBY-3790(Investigate if request for update statistics can be skipped for certain kind of indexes, one instance may be unique indexes based on one column.) we have stopped keeping statistics for single column unique index. But with DERBY-6045(in list multi-probe by primary key not chosen on tables with >256 rows), we found that optimizer code was not adjusted to tackle the missing stats and hence we were not picking index scan even though the single column unique index was the right choice. DERBY-6045 has been fixed but we should make sure there are no other places in the optimizer code where we have missed code changes to account for missing statistics for single-column unique indexes.
Attachments
Issue Links
- relates to
-
DERBY-6045 in list multi-probe by primary key not chosen on tables with >256 rows
- Closed
-
DERBY-3790 Investigate if request for update statistics can be skipped for certain kind of indexes, one instance may be unique indexes based on one column.
- Closed