Tech Tip: Re-create Index Files
PRODUCT: 4D | VERSION: 17 | PLATFORM: Mac & Win
Published On: November 15, 2019
It is possible to manually re-create the index files of a database. This is extremely useful if a database is encountering errors regarding indexes. Index issues may possibly be caused by either a corruption of the data index file or the data structure index file (.4DIndx and .4DIndy). In the event that a corruption of the index files occur, new index files can be created and used in place of the corrupted ones. If an index error seems to be due to a corruption in the index files, it may be worth trying to re-create them.
Removing old index files with any of the methods below:
- Renaming the courrupted index files
- Moving the corrupted index files outside of the database folder
- Moving the corrupted index files into the trash
Creating new index files:
After removing the old index files and once the database is launched again, the re-created index files will appear inside the database folder. The database will default to use the newly created index files.