0

we have a mysql table which consist of 300 million rows. The data get inserted in the database frequently and there must be no down time. What is the ideal way to back up these data. Is mysql Enterprise back up is a good option?

3
  • see tool called mysqldump Commented Apr 28, 2014 at 10:50
  • mysqldump can lock database for a long time with big data. Commented Apr 28, 2014 at 10:52
  • @BaBL86 Not necessarily, some switches can remove locking altogether (assuming InnoDB). See stackoverflow.com/a/104628/505722 Commented Apr 28, 2014 at 11:21

1 Answer 1

1

Use Percona with innoDB DB Engine. Percona toolkit include innobackupex utility, that can dump your base on the fly.

Or you can place your data folder on LVM partition and create snapshot. But it's slooooow...

Another way - replication. You can setup another mysql server as slave (for read only) and create backups from that second server. But it needs more money =)

Sign up to request clarification or add additional context in comments.

2 Comments

thanks for your reply . Can i use Percona in windows? I heard that it is mainly for linux.
There is only one DBServer, that works normal in Windows: MSSQL Server. MySQL, Percona, PostgreSQL, Oracle, Firebird more powerful and more comfort and mostly developed for unix-like systems.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.