Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I have a database that has a structure that unfortunately requires having a lot of tables (10k+). It's not possible to change the structure now.

The database itself is not very large (<1GB), but the backups are taking a very very long time, something like 40 minutes. It is a CPU limited process as it runs one core on the server at 100% for the entire duration.

The command used to do the backup is:

mysqldump -u root -password --single-transcation --skip-lock-tables --all-databases > dump.sql

Are there any tricks to speed up this backup?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Have a look at Percona xtrabackup.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.