dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: Visual FoxPro
Expertise: Beginner
Jul 12, 1999

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


How to Prevent Corrupt Indexes

Question:

How do I prevent corrupt indexes or automate the rebuilding of corrupt indexes?

Answer:

Prevent corrupt indexes by taking steps to prevent the crash of an application:

1. Consider using uninteruptable power supplies.

2. Defragment drives periodically.

3. Make sure that there are enough file handles on your network.

4. Make sure machines have as much memory as possible.

Excessive numbers of indexes within a CDX can also cause index corruption.

NEVER use REINDEX to rebuild indexes. If the index file becomes corrupt, REINDEX will build a corrupt index. The best approach is to manually re-create the indexes: create a prg that deletes tags and re-creates indexes one at a time. There are also tools, such as Stonefield Database Toolkit, that provide dialogs for rebuilding indexes.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date