Improve scan duration #1670
-
Hey all, |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
Try using a database like SQLite. |
Beta Was this translation helpful? Give feedback.
-
I tried it with MySQL a few months ago but I ran into problems with the index. After reaching a limit (can't remember the exact number of rows per table......600k?) the INSERT command slowed down extremely. There was now way to insert more rows in a suitable amount of time. Ripgrep is the only really working solution atm. I hoped that there are a few unknown parameters or best practices to improve the scan duration. |
Beta Was this translation helpful? Give feedback.
-
Also |
Beta Was this translation helpful? Give feedback.
-
Thank you for your help. I'll give the |
Beta Was this translation helpful? Give feedback.
-
ripgrep isn't an appropriate tool on corpora that large. Use a database or a fulltext index like Lucene, Tantivy, Mellisearch, SOLR or Elasticsearch. Otherwise your search time will probably just be roughly equivalent to the time it takes to read the data off your disk. At that size, it will not be short. Therefore, some kind of index is a better answer, which is what a database or a fulltext index will provide. |
Beta Was this translation helpful? Give feedback.
ripgrep isn't an appropriate tool on corpora that large. Use a database or a fulltext index like Lucene, Tantivy, Mellisearch, SOLR or Elasticsearch. Otherwise your search time will probably just be roughly equivalent to the time it takes to read the data off your disk. At that size, it will not be short. Therefore, some kind of index is a better answer, which is what a database or a fulltext index will provide.