Solved

Use of DB2_INLIST_TO_NLJN

Posted on 2008-06-16
4
1,757 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

November 2009 Recently, a question came up in the DB2 forum regarding the date format in DB2 UDB for AS/400.  Apparently in UDB LUW (Linux/Unix/Windows), the date format is a system-wide setting, and is not controlled at the session level.  I'm n…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

679 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