niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » IBM DB2
force in a join the election of a table as the most important
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
Michael TEpperis
*nix forums beginner


Joined: 14 Feb 2005
Posts: 2

PostPosted: Mon Feb 14, 2005 10:17 am    Post subject: force in a join the election of a table as the most important Reply with quote

hello,

we use a join of eight tables. the query is run through
a job on a daily basis. one of the tables is used for
deciding if the query has to bring data or not. the decicision
is based on special values for a record with a given date.

Our problem is that the query for the days with no data
runs also very long, because the important table is retrieved
at a late state of the join. If it would be asked first,
no data would be found and the query would not last so long.

Do you have some advice?

Michael Tepperis-von der Ohe
Logicacmg
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 3:34 am | All times are GMT
navigation Forum index » Databases » IBM DB2
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts How to ALTER a table using the ALTOBJ procedure Serge Rielau IBM DB2 1 Fri Jul 21, 2006 1:06 pm
No new posts Can't Select External Table from CSV File Resant Server 1 Fri Jul 21, 2006 2:45 am
No new posts I need to configure DHCP server to force client to obtain... malazc@gmail.com networking 1 Thu Jul 20, 2006 8:44 pm
No new posts Images Table Nicholas Vettese MySQL 1 Thu Jul 20, 2006 2:19 pm
No new posts Force linker to check all the implementation toton C++ 1 Thu Jul 20, 2006 6:08 am

Web Advertising | Loans | Advertising | Loans | Bankruptcy
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1112s ][ Queries: 16 (0.0499s) ][ GZIP on - Debug on ]