Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Performance Advice on Larger Record Sets
Message
From
08/07/2002 10:12:06
 
 
To
08/07/2002 10:03:48
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00676060
Message ID:
00676106
Views:
18
>>How do you handle indexing your p-views? I want to maintain the incremental search and grid header click to set table/view order.
>
>You can create a temporary index on a view. In fact, the framework I use (Visual Extend) does this automatically, for the very purpose you mention. That is, if an index on the desired expression doesn't exist, the framework creates a temporary index. This works on tables as well as views.
>
>If your p-view fetched only 100 record out of the total of 100,000, only the 100 records have to be indexed (the view result, in this case, is a temporary table with 100 records!), so this is very fast.
>
In my case, the 100,000 records are split over about 12-15 locations, so it would be reasonable as a first guess to assume that the view size would be on the order of 5,000-10,000 records (for a "main" office possibly quite a bit higher, perhaps 20-30K), so indexing on-the-fly could become a performance issue. Do you agree?

BTW, I just read your FAQ on Rushmore. Very interesting.
Ray Roper
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform