Answer the question
In order to leave comments, you need to log in
How to reduce the load on the ssd with daily random dumps?
The database is stored on a separate SSD, the size of the database is about 300 GB for 500 tables. New records are added to 60% of tables every day. New tables are created periodically.
There is a general database dump for a date in the past. I want to dump new data once a day. Those. not the entire database, but only the data that was added during the day.
They are easy to select via "where year=2022 and month=3 and day=14".
But I'm worried that with such a dump:
mysqldump -uroot -p123 -q -n -t --skip-comments --compact --no-autocommit --where="year=2022 and month=3 and day=14" test > c:/dailyDump.sql
Answer the question
In order to leave comments, you need to log in
Well, I don’t care about reading SSD .. let it read
secondly - disks are a consumable. put in a raid, 1 dead - change. if you never know both died - backup)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question