MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Query on partitioned table

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
naren_ab
Beginner


Joined: 07 Jan 2003
Posts: 32
Topics: 10

PostPosted: Wed Oct 15, 2003 1:39 pm    Post subject: Query on partitioned table Reply with quote

Hi,

I have program with a select(10 million rows table) whose where clause does not have any key columns, but couple of non key columns. when i run this program(batch) it runs in 3 minutes, when i did explain it says the DB2 cost for this query is 1,500,000 and Access type is nested loop.

What is confusing me the cost / access type and time it took to run. I think it should run much longer then 3 minutes.
it is partitioned tablespace, Will that make a difference in the way it gets the qualifying rows.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group