If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > sargable predicates

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-03-06, 15:38
AnilKale AnilKale is offline
Registered User
 
Join Date: Feb 2005
Posts: 118
sargable predicates

Hi All !

The admin guide for DB2 for z/OS has a detailed description of the stage 1 and stage 2 predicates. Most importantly, there is a table that list all the stage1 and stage2 predicates.
However, the admin guide for DB2 on AIX (or any of the LUW) just has little mention of predicate terminology and mentions little bit of how sargable predicates (stage 1) and residual predicates (stage 2) work.
I was wondering if there is a document that has all the sargable predicates and residual predicates. Similar to the Table 91. Predicate types and processing (Programming for DB2, DB2 UDB for z/OS Version 8 manuals).

Can someone comment if the explaination for predicate processing applies to both - DB2 on z/OS and DB2 for LUW. Or is it different ?

thanks
Anil
Reply With Quote
  #2 (permalink)  
Old 04-03-06, 16:23
GertK GertK is offline
Registered User
 
Join Date: Nov 2003
Location: Netherlands
Posts: 96
There are some predicates mentioned in the online docs which explain the SQL optimizer at http://tinyurl.com/z5n9l , maybe this will show you what you want to know.
Reply With Quote
  #3 (permalink)  
Old 04-03-06, 20:25
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
There is a significant amount of information on sargable predicates in the Administration Guide: Performance manual.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On