This document discusses MySQL and InnoDB. It provides an overview of moving from MyISAM to InnoDB as the default storage engine, best practices for MySQL configuration, and new features in MySQL 5.7 like online DDL and generated columns. It also covers topics like database administration, high availability, and performance optimization.
1. The document compares the commercial ibbackup tool and the free mysqldump tool for backing up InnoDB databases. Ibbackup supports online hot backups of InnoDB data without preventing queries or updates, while mysqldump takes a snapshot of data at a single point in time.
2. Ibbackup is demonstrated being used to create a compressed backup and then an uncompressed log apply to restore the backup. Ibbackup backups are block-level and capture all transactions, while mysqldump backups are smaller but do not include transactions after the backup started.
3. Restoring from ibbackup backups is faster than restoring from sql files from mysqldump backups.
XtraBackup is used to backup the MySQL database. The document demonstrates how to use XtraBackup to perform a full backup by running the xtrabackup command with the --target-dir and --backup options. This backs up all InnoDB data files and tables to the specified target directory. The backup is throttled to 100 I/O operations per second to avoid slowing server performance. Upon completion, the log file is also copied to the target directory, completing the full backup.
The document describes how to create logfile groups, tablespaces, and datafiles for NDB Cluster storage in MySQL. It provides SQL statements for creating a logfile group with three undo files, two tablespaces each with ten datafiles, and shows the results of loading the TPC-C benchmark dataset into memory and disk-based storage in NDB Cluster.