Community

Is my DB2 optimizer a tad drunk?

(David) Today I have noticed a strange phenomena in one of our DB2 databases. When doing a low zero-selectivity query (that is, query without a WHERE clause), the DB2 optimizer preferred to use an index scan rather than do a table scan.

Read More - Register for Free Membership

Tags: