Which is better on a shared host?
Do you think it’s a good idea to cache database query results to disk?
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.
It’s a very bad idea unless the queries are super-expensive (bad database layout?) and return a huge resultset.
Databases usually keep lots of things in memory since disk access is very slow compared to memory access. So using the disk to cache small things usually doesn’t increase the performance.