That will speed it up, but it shouldn't go from 5 seconds to 30 minutes without 
it, should it?    


________________________________
From: Sytze de Boer <sytze.k...@gmail.com>
To: profox@leafe.com 
Sent: Tuesday, September 11, 2012 11:22 PM
Subject: Re: Speed

Fred
(Blush) NO

S


On Wed, Sep 12, 2012 at 3:17 PM, Fred Taylor <fbtay...@gmail.com> wrote:

> You do have an index tag on DATE in all the tables, right?
>
> Fred
>
>
> On Tue, Sep 11, 2012 at 7:08 PM, Sytze de Boer <sytze.k...@gmail.com>
> wrote:
>
> > Yes, config.fpw points to c:\temp
> > They didn't to begin with (c:\) but I changed that
> >
> > I installed a basic little server at my office (Win 2003)
> > I copied their data to it
> >
> > Running with 100 Mbit cable and swith, I get 30 secs and 5 secs on
> > subsequent runs
> > Running Gigabit cable and switch, I get 7 secs and 2 secs on subsequent
> > runs
> >
> > If I log in 2 users (where 2nd user does nothing except log in to the
> App)
> > , running 100 Mbit, time is 60 secs
> >
> > Can you see an issue with my code?
> > Should I try 3 separate select statements?
> >
> >
> >
> > On Wed, Sep 12, 2012 at 2:02 PM, Michael Madigan <mmadi10...@yahoo.com
> > >wrote:
> >
> > > Since it only takes 5 seconds locally, it can't be a index issue or an
> > > optimization issue.
> > >
> > > Are the temp files set to local client disk?
> > >
> > > editwork=c:\temp
> > > sortwork=c:\temp
> > > progwork=c:\temp
> > > tmpfiles=c:\temp
> > >
> > >
> > > ________________________________
> > >  From: Sytze de Boer <sytze.k...@gmail.com>
> > > To: profox <profox@leafe.com>
> > > Sent: Tuesday, September 11, 2012 9:35 PM
> > > Subject: Speed
> > >
> > > I'm losing my mind over this
> > >
> > > At a client site, they run a report which can take 30 mins to generate,
> > > over the network
> > > When they run it on a local pc, it takes 5 secs
> > >
> > > Without boring you with all the details, essentially, the following
> code
> > > makes up the report
> > > *trcask4=a date
> > > *trcask5=a date
> > >
> > >    Select
> Date,stockcode,stktype,invnum,qty,ttlamount,disc,ppb,cost,Desc,
> > > "H" As SRCE From winhst   Where Between(Date,trcask4,trcask5) Union
> All;
> > >    Select
> Date,stockcode,stktype,invnum,qty,ttlamount,disc,ppb,cost,Desc,
> > > "I" As SRCE  From wininvs  Where Between(Date,trcask4,trcask5) Union
> All
> > ;
> > >    Select
> Date,stockcode,stktype,invnum,qty,ttlamount,disc,ppb,cost,Desc,
> > > "J" As SRCE From wintime  Where Between(Date,trcask4,trcask5) Into
> Table
> > > (myfile)
> > >
> > > The Winhst file has about 500,000 records
> > > The other 2 less than a 1000 combined
> > >
> > > There seems to be a big difference in time if no-ones else has logged
> > into
> > > the app from a different workstation
> > >
> > > Can anyone suggest a way to make this go quicker?
> > >
> > >
> > > --
> > > Kind regards
> > > Sytze de Boer
> > > Kiss Software
> > >
> > >
> > > --- StripMime Report -- processed MIME parts ---
> > > multipart/alternative
> > >   text/plain (text body -- kept)
> > >   text/html
> > > ---
> > >
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/cag1nny_soamnmr74-wzgkwhblqwzkfl7oszisr4inusdsfd...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/1347425611.22842.yahoomail...@web122302.mail.ne1.yahoo.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to