Is 2kk+ a typo or do you mean 2M+ entries? I guess the second, because 2k doesn't sound like "lots".
Generally if you can keep the data in memory it will be a lot faster than anything you can read from disk. But depending on what searches you need to perform (for example searches for single words without wildcards) it might make more sense to store the data to disk and have a suitable search index (for example as a simple hash) in memory instead
Fuzzy searches with wildcards and finding 'mile' when you type in 'miles' need more effort, there are packages that allow this.
In reply to Re: Data store and threads
by jethro
in thread Data store and threads
by Kirche
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |