Q

Optimization level setting

We support DB2 on both AIX and the iSeries. I believe on AIX (DB2) there is a way to set the optimizer sensitivity.

Is there a way on the iSeries to set DB2 optimizer parameters? Also, is there a way to give the optimizer hints? There are times where the optimizer chooses not to use an index (that already exists) but builds a temporary one instead. There is not an optimization level setting on DB2 UDB for iSeries. The best way to find out which settings influence the optimizer is to attend the DB2 UDB for iSeries SQL Performance Workshop.

Portions of this workshop are online, just follow the links for Online DB2 Education here.

Optimizer hints are also not supported. Attending the workshop as well as reviewing the DB2 UDB for iSeries Index Strategy White Paper should give you a better understanding of how the iSeries optimizer processes indexes. If the optimizer is creating a temporary index that's an exact copy of the permanent index, then you may have an issue that should be reported to IBM Support.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

Search400.com's targeted search engine: Get relevant information on DB2/400.

The Best Web Links: tips, tutorials and more.

Check out this online event, Getting the Most out of SQL & DB2 UDB for the iSeries.


This was first published in February 2003

Dig deeper on Oracle on iSeries

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchEnterpriseLinux

SearchDataCenter

Close