Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many indexes it too many?
Message
From
23/09/1999 07:54:31
 
 
To
23/09/1999 07:22:09
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00267903
Message ID:
00267906
Views:
24
If the index are needed for a search, then leave it there. Removing them and using a LOCATE instead of a SEEK will slow down your app. There is a small penality to take when inserting a new record, because the index need to be updated, but it's quite small.

I don't experience many problems with the CDX. Make sure that the PC where the database is have a UPS and that the user don't quit your application with the 3 fingers salute. A 3-party tool like Stonefield Database Toolkit can help also.

HTH
>I posted a message "Help!...Records Inserted into the table competely lost.." a little while ago relating to this question
>but I want to ask another related question:
>
>How many indexes it too many?
>The table has 8 out of its 16 columns indexed and only has insert activity in it no deleted, updates.
>
>Is this a performance problem or potential problem here.
>I know about Oracle as a DBA and I would deffinetly
>critize this number of indexes on a table of this type for insert performance but I have found foxpro indexes to be extremely unstable.
>I often have to drop the cdx file and reindex twice a week on this table.
>
>Problem is all the foxpro code does stuff like.
>set order to tag blah
>seek blahblah
>
>Is this a/the problem???
Previous
Reply
Map
View

Click here to load this message in the networking platform