Re: Need speed
From: Scott (Scott_at_discussions.microsoft.com)
Date: 06/10/04
- Next message: Sunny: "WAIT WINDOW command"
- Previous message: Mark: "RE: Data environment"
- In reply to: Wolfgang Schmale: "Re: Need speed"
- Next in thread: Lee Mitchell: "RE: Need speed"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 10 Jun 2004 06:57:01 -0700
The database is located on a network server. This is also a multi-user app.
Currently, I am opening the tables and inserting/modifying straight to them. Buffering is set to '1'. The obvious problem here is that more than one user is running the same process at once (on a different set of records mind you). Performance with this is slow, so I was hoping that using (local) views with table buffering would speed things up.
"Wolfgang Schmale" wrote:
> Hi Scott!
>
> Did you already try to eleminate the view and to use a buffered table.
> Another issue is where the table is stored. In other words is the table
> local or on a network machine?
> Is it necessary for you to do your calculations prior saving the data into
> the table? Or is it possible to insert the data first and then do the
> calculation?
>
> --
> ----------------------------------------------
>
> Mit freundlichen Grüßen
>
> Wolfgang Schmale
>
> [MVP für Visual FoxPro]
>
> --------------------------------------------
> "Scott" <anonymous@discussions.microsoft.com> schrieb im Newsbeitrag
> news:C5456960-0470-45BE-A824-29DD7B01BA40@microsoft.com...
> > I'm importing a bunch of pay records into a table ('PAY TABLE') with
> already contains over 10,000 records. I create an updatable View of the Pay
> Table and set 'Table Buffering' on.
> > The View is parameterized to the current pay period only and is where I
> import all the new records into as well as do the calculations for them. The
> more the records added, the longer the process is taking!
> > Once the process is complete, I issue a TABLEUPDATE(.T.) (all rows)
> command to the View thereby commiting all the new/modifed records to the pay
> table. At first, I thought it was all my calculations that were slowly down
> the process. It turns out that it's the saving part that is REALLY slow. Am
> I doing something wrong?
>
>
>
- Next message: Sunny: "WAIT WINDOW command"
- Previous message: Mark: "RE: Data environment"
- In reply to: Wolfgang Schmale: "Re: Need speed"
- Next in thread: Lee Mitchell: "RE: Need speed"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|