Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access ODBC Client Server > added a (linked...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 1443 of 1511
Post > Topic >>

added a (linked) table, now really slow

by =?Utf-8?B?QnJhZA==?= <Brad@[EMAIL PROTECTED] > Feb 25, 2008 at 02:53 PM

Admitted rookie...of sorts.  Please steer to the proper group as needed.  

I added another linked table to my MS Access ODBC set up and wow, went
from 
seconds (circa 5-9) to over 120.  Perhaps an iSeries issue???

Only added file: IWIL01 with a criteria of = "VC".

SELECT BPCSFV04_ECL.LCUST, BPCSFV04_RCM.CNME, BPCSFV04_ECL.LORD, 
BPCSFV04_ECL.LPROD, BPCSFV04_ECL.LDESC, BPCSFV04_ECL.LSDTE, 
([LQORD]-[LQSHP])*[LNET] AS Expr2, [LQORD]-[LQSHP] AS Expr1, 
[IOPB]-[IISS]+[IRCT]+[IADJ] AS Expr3, 
<snip>
HAVING (((BPCSFV04_ECH.HSTAT)<>"8") AND ((BPCSFV04_ECL.LID)="CL")) OR 
(((BPCSFV04_ECH.HSTAT)<>"C") AND ((BPCSFV04_ECL.LID)="CL"))
ORDER BY BPCSFV04_ECL.LORD, BPCSFV04_ECL.LPROD, BPCSFV04_ECL.LSDTE;

and new is (slow):

SELECT BPCSFV04_ECL.LCUST, BPCSFV04_RCM.CNME, BPCSFV04_ECL.LORD, 
BPCSFV04_ECL.LPROD, BPCSFV04_ECL.LDESC, BPCSFV04_ECL.LSDTE, 
([LQORD]-[LQSHP])*[LNET] AS Expr2, [LQORD]-[LQSHP] AS Expr1, 
BPCSFV04_IIM.ICUSA, BPCSFV04_IIM.IBUYC, <snip> 
HAVING (((BPCSFV04_ECH.HSTAT)<>"8") AND ((BPCSFV04_ECL.LID)="CL") AND 
((BPCSFV04_IWIL01.WWHS)="VC")) OR (((BPCSFV04_ECH.HSTAT)<>"C") AND 
((BPCSFV04_ECL.LID)="CL") AND ((BPCSFV04_IWIL01.WWHS)="VC"))
ORDER BY BPCSFV04_ECL.LORD, BPCSFV04_ECL.LPROD, BPCSFV04_ECL.LSDTE;
 




 3 Posts in Topic:
added a (linked) table, now really slow
=?Utf-8?B?QnJhZA==?= <  2008-02-25 14:53:01 
Re: added a (linked) table, now really slow
"Jeff Boyce" &l  2008-02-26 07:07:21 
Re: added a (linked) table, now really slow
"david" <dav  2008-04-04 17:09:58 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 21:24:44 CST 2008.