naren_ab Beginner
Joined: 07 Jan 2003 Posts: 32 Topics: 10
|
Posted: Wed Oct 15, 2003 1:39 pm Post subject: Query on partitioned table |
|
|
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. |
|