Answer the question
In order to leave comments, you need to log in
When should you use files instead of MySQL for speed?
Databases fall on shared hosting or are very often not optimized.
here they write about the speed of files and muscle habrahabr.ru/post/230393 :
Files
When all the ways to optimize MySQL were tried, I decided to write the morphological dictionary to a file and search it with a binary search. The results exceeded my expectations. The speed has tripled.
Answer the question
In order to leave comments, you need to log in
Why the files are here is not clear, with such a volume of data it is easier to stuff everything into RAM into a hash and that's it.
Situations when we pump out part of the data into memory and build hashes constantly arise during any unloading and indexing.
Isn't it obvious? Any accelerations need to be applied when the speed of the database is not enough.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question