Charles >And Oracle is doing... what? IMHO SQL profiles are a first step in this direction. In fact with them it is possible to store information describing mistakes the CBO does. Their main limitation is that they are bound to a single (or few similar) SQL statement(s). Therefore, to close the loop, they should enhance them to store generic information about the mistakes. Cheers, Chris -- //www.freelists.org/webpage/oracle-l