Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Performance quandry, a better way to update
Message
From
22/12/2002 09:54:38
 
 
To
13/11/2002 16:52:09
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00721909
Message ID:
00735239
Views:
17
Hi Steve

In addition to what Ed has posted to you on the issue of record re-use: I have also used this technique very succesfully with the added feature of pre-appending / creating blank (reusuable) records.

For instance, I have one file that has +/- 4 million records in it and about 3000 records get added every day. I have pre-allocated a million or so blank records so that (a) the program re-uses records and (b) does not have to physically create new records. The disk can then be de-fragmented and the file plus index is now contiguous on the server HDD.

I would also think the continous opening and closing of this file is not a good practice and must have a performance impact espcially when being done up to 1000 times per workstation per day (your numbers I think).

FWIW

Jos
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform