We continue to improve Percona XtraBackup, and today I would like to give a preview for one feature which comes in next Percona XtraBackup 2.1 release.
This feature is “Compact backups”, and let me explain what it
does.
As you may know InnoDB PK (Primary Key) contains all data, and
all secondary indexes are only subset of columns of Primary Key.
So in theory we can store only PK, and re-build secondary indexes
as we need. Well, now it is possible not only in theory.
To create a compact backup you should use
innobackupex --compact
and it will create a backup where all InnoDB tables contain only
Primary Keys and not secondary.
It allows to safe some space on a backup storage. How much? Well,
it depends on how many indexes you have.
…