Table1 has 50000 reocrds Table2 has 15000 records and Table3 has 600000 records..
Based on the condition in the Where clause the maximum number of rows will be the 5000 records as a output resultset..for even getting of 2000 rows in a result set also getting time expired error...
How to resolve it ?Pl help..
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
Posted: Mon Feb 06, 2012 9:34 am Post subject:
what does the output of EXPLAIN tell you.
We have no idea what the column definitions of the tables look like,
infact, we know nothing about your db2 version,
the activity on the tables at the time you run your selects,
nor do we know the reason code provided with the "time expired error". _________________ Dick Brenholtz
American living in Varel, Germany
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