Warning: Creating default object from empty value in /www/htdocs/v030397/mysql-qotd/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 4991

Warning: Creating default object from empty value in /www/htdocs/v030397/mysql-qotd/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 4993
Question 67: Pick two means of making textual mysql backups – MySQL Question of the Day

Skip to content

By plogi in mysql questions

 
There are different backup types, for example:
- textual (logical) / binary (physical)
- online / offline
- full / incremental
 
The result of a textual backup are text files. They can be easily moved to other db-servers or to different applications.
But restoring those files can be CPU intensive, as indexes need to be recreated.
A binary backup makes copies of mysql’s own files. This kind of backup is very efficient, but internal knowledge and/or special tools are needed.
 
Pick two means of making textual backups with mysql.
 

a) mysqlhotcopy
b) mysqldump
c) ibbackup
d) select into outfile

 
[ Data Backup and Recovery Methods (15%) - Binary Versus Textual Backups ]

Tags: , ,

Comment Feed

One Response

  1. plogi14. June 2010 @ 18:39:09


    b d

    Mysqlhotcopy works with Myisam tables and is very fast, but during the backup the tables cannot be written to.
    Ibbackup makes fast non-locking backups of InnoDB tables.

You must be logged in to post a comment.