Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WAN and Visual FoxPro Database (Data Accessing speed)
Message
From
19/10/1999 02:24:25
Walter Meester
HoogkarspelNetherlands
 
 
To
18/10/1999 22:01:09
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00276225
Message ID:
00278011
Views:
47
Peter,

>Colin, are you working on a stand-alone machine? As long as you don't have to reload the Rushmore bit map, the tag on DELETED() will always help. This can be true also on a Network, so long as no workstation changes the table. In the real-world, most tables get changed fairly often. Thus a requery which is performed 15 minutes after the first query may well require reloading the NOT DELETED() bit map which in your case is about 35000 bits.

Even on a workstation the deleted() tag could be a burden. In general there is no significant benefit in query speed using a deleted tag (as you try to keep the number of deleted records as low as possible), but it really slows down appending or replacing data.

Most people who do tests whether a deleted() tag would help in query speed, forget that if full optimization is reached with a simple SELECT * query, VFP merely sets a filter on the resultset; thus execution time between the query with and without the deleted() tag can't be compared, because they won't return the same amount of records within the reported amount of time.

In general there is NO need to use a tag on deleted() !!!

Walter,
Previous
Reply
Map
View

Click here to load this message in the networking platform