mvigod
Wed 6th Feb '02, 8:49pm
Eva,
What is the best way to ensure your data is safe should the mysqld crash?
If the site is running say for 10 days and then the plug is pulled from the server and power is lost (worse case scenario) is all the data for the 10 days lost? Can you set the tables to flush manually at some interval so all data is written to disk and cannot be lost? Can this be done while running the server or does the board need to be shut down while flushing the tables?
I think when my server last crashed I lost some data so if I could flush the tables to disk or something every hour (by script or some config option in mysql) that would give me some peace of mind. What are my options?
Thanks...
What is the best way to ensure your data is safe should the mysqld crash?
If the site is running say for 10 days and then the plug is pulled from the server and power is lost (worse case scenario) is all the data for the 10 days lost? Can you set the tables to flush manually at some interval so all data is written to disk and cannot be lost? Can this be done while running the server or does the board need to be shut down while flushing the tables?
I think when my server last crashed I lost some data so if I could flush the tables to disk or something every hour (by script or some config option in mysql) that would give me some peace of mind. What are my options?
Thanks...