If MySQL databases with a MEMORY engine are stored in memory, does this mean that their contents are not persisted to disk? Or are they stored on HDD, but fully loaded into RAM on system power up?
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.
There is one file one disk that contains database definition but data never goes on disk. Data is lost when server shut down.
http://dev.mysql.com/doc/refman/5.0/en/memory-storage-engine.html
When tables become overly larges you just get errors. However like any other memory usage it can be swapped… and then will use some disk.