(Originally posted 2006-02-22.)
First reported for DB2 Version 7 APAR PK17725 documents an enhancement to the access path for EXISTS (also NOT EXISTS) queries…
Previously DB2 performed DISTINCT processing, requiring a sort. Now the sort can be avoided as DISTINCT processing is no longer done.
Fixes will be made available for Versions 7 and 8.