How do I make a MySQL database run completely in memory?
Assuming you understand the consequences of using the MEMORY engine as mentioned in comments, and here, as well as some others you’ll find by searching about (no transaction safety, locking issues, etc) – you can proceed as follows: MEMORY tables are stored differently than InnoDB, so you’ll need to use an export/import strategy. First dump … Read more