Link to home
Start Free TrialLog in
Avatar of bengoal
bengoal

asked on

Use of DB2_INLIST_TO_NLJN

DB2_INLIST_TO_NLJN ---  the registry variable

"db2set DB2_INLIST_TO_NLJN=TRUE

This will convert the IN List to a NLJN and can force the usage of the index"

What is the internal structure of this registry variable. Does it creat a temp table for the IN predicted values on the fly.

How does it works?


Avatar of bengoal
bengoal

ASKER

what are the pros and cons, using a registry variable.

I have the following set of registry variables :

[i] DB2_SKIPINSERTED=ON
[i] DB2_USE_ALTERNATE_PAGE_CLEANING=ON
[i] DB2_INLIST_TO_NLJN=YES
[i] DB2_ALLOCATION_SIZE=134217728
[i] DB2_EVALUNCOMMITTED=ON
[i] DB2_EXTENDED_OPTIMIZATION=ON
[i] DB2_SKIPDELETED=ON
[i] DB2_NEW_CORR_SQ_FF=ON
[i] DB2_STRIPED_CONTAINERS=ON
Avatar of bengoal

ASKER

[i] DB2_SKIPINSERTED=ON
[i] DB2_USE_ALTERNATE_PAGE_CLEANING=ON
[i] DB2_INLIST_TO_NLJN=YES
[i] DB2_MINIMIZE_LISTPREFETCH=YES
[i] DB2_ALLOCATION_SIZE=134217728
[i] DB2_EVALUNCOMMITTED=ON
[i] DB2_EXTENDED_OPTIMIZATION=ON
[i] DB2_SQLROUTINE_PREPOPTS=REOPT{ALWAYS}
[i] DB2_SKIPDELETED=ON
[i] DB2_NEW_CORR_SQ_FF=ON
[i] DB2_STRIPED_CONTAINERS=ON
[i] DB2BIDI=YES
[i] DB2_RR_TO_RS=YES
[i] DB2COMM=tcpip
[i] DB2CODEPAGE=1208
[i] DB2_PARALLEL_IO=*
[i] DB2AUTOSTART=YES
ASKER CERTIFIED SOLUTION
Avatar of momi_sabag
momi_sabag
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bengoal

ASKER

Any idea what is the impact of the Registry variables I mentioned.