On Jun 11, 11:10 am, speciald...@gmail.com wrote:
We use DB2-LUW-8.2.
I am doing some research on performance issues and I read about the
"OPTIMIZATION LEVELS' and their impacts on Joins.
How do I get the Optimization level implemented here? Can I query some
system tables? Can someone help me pls ?
To see the current level for your session:
VALUES CURRENT QUERY OPTIMIZATION
To set it:
SET CURRENT QUERY OPTIMIZATION n
If you want to look at the bound value for existing packages, query
the QUERYOPT column of SYSCAT.PACKAGES
--Jeff