I noticed that ffdb in PHP are awfully slow. So how would I go about speeding up the ffdb without SQL?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Flat file will become more slow the more data it’s contain. This is because in order to get a data, the engine need to get all data first into memory, then select the requested data.
SQL database have random seek feature, because the data placement is in a known location, plus it have index table. That’s why any SQL database is not affected with the number of data stored in it.
You can try sqlite if you need single file database. Firefox and Thunderbird use sqlite to store bookmark and browsing history.