Solved

Use of DB2_INLIST_TO_NLJN

Posted on 2008-06-16
4
1,724 Views
Last Modified: 2010-04-21
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?


0
Comment
Question by:bengoal
  • 3
4 Comments
 

Author Comment

by:bengoal
ID: 21795671
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
0
 

Author Comment

by:bengoal
ID: 21795682
[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
0
 
LVL 37

Accepted Solution

by:
momi_sabag earned 500 total points
ID: 21795902
db2 creates an in-memory table that holds the values from your in list and then joins this table
0
 

Author Closing Comment

by:bengoal
ID: 31467695
Any idea what is the impact of the Registry variables I mentioned.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
Recursive SQL in UDB/LUW (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now