Differences
This shows you the differences between two versions of the page.
— | details:eicache [2023/06/07 20:39] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Entity Index Caching ====== | ||
+ | When RIMMF starts up, it creates the Entity Index (what we call the ' | ||
+ | |||
+ | While the EI is being created, the program also generates from scratch all of the tables needed to support dynamic linking, RTree displays, searching, and so on. Normally, this does not take more than one second; but if the data folder is large, more than a few hundred entity records, you will notice that it may some time ((about 15 seconds for each 500 records, as a ballpark figure)). At the same time, the program also checks all records for missing inverse links, and adds them if applicable. | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | There is an option, on the main menu, to support cacheing of the EI: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | The default value is ' | ||
+ | |||
+ | The first option, 'Do not cache', | ||
+ | |||
+ | And the last option, is the opposite: the EI will always be generated from the cache. | ||
+ | |||
+ | |||
+ | ===== Exceptions ===== | ||
+ | |||
+ | In the following cases, RIMMF ignores the above cache options and rebuilds the EI: | ||
+ | |||
+ | - if the data folder in use has less than 100 records | ||
+ | - if the program version has changed | ||
+ | - if the number of files present in the data folder being used does not match the number of files represented in the cache | ||
+ | - the program was started using a 'No cache' flag ((which happens if you use the ' | ||
+ | - if there was an error saving the cache the last time the data folder was used |