Document importing partitioned tables for 5.6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
Medium
|
Hrvoje Matijakovic |
Bug Description
XtraBackup allows partial backups of either individual partitions or entire partitioned tables, i.e. including all (sub)partitions of specific partitioned tables into a partial backup.
The problem with server versions up to 5.5 is that there is no server support to import either individual partitions or all partitions of a partitioned table, so partitions could only be imported as independent tables. In MySQL / PS 5.6 it is possible to exchange individual partitions with independent tables through ALTER TABLE ... EXCHANGE PARTITION: http://
Which means the recipe described at http://
1. When importing an entire partitioned table, first import all (sub)partitions as independent tables. Then create an empty partitioned table with exactly the same schema as the table being imported. Then swap empty partitions from the newly created table with individual tables corresponding to partitions that have been exported/imported on the previous steps.
2. When importing individual partitions, use an existing partitioned table and then swap partitions with individual tables.
Related branches
- Alexey Kopytov (community): Approve
-
Diff: 175 lines (+72/-16)5 files modifieddoc/source/howtos/recipes_ibkx_compressed.rst (+1/-1)
doc/source/howtos/recipes_ibkx_partition.rst (+44/-0)
doc/source/innobackupex/parallel_copy_ibk.rst (+15/-3)
doc/source/innobackupex/streaming_backups_innobackupex.rst (+1/-1)
doc/source/percona-theme/layout.html (+11/-11)
- Alexey Kopytov (community): Approve
-
Diff: 122 lines (+62/-6)5 files modifieddoc/source/howtos/recipes_ibkx_compressed.rst (+1/-1)
doc/source/howtos/recipes_ibkx_partition.rst (+44/-0)
doc/source/innobackupex/parallel_copy_ibk.rst (+15/-3)
doc/source/innobackupex/streaming_backups_innobackupex.rst (+1/-1)
doc/source/percona-theme/layout.html (+1/-1)
Changed in percona-xtrabackup: | |
assignee: | nobody → Hrvoje Matijakovic (hrvojem) |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in percona-xtrabackup: | |
status: | Triaged → Fix Committed |
Changed in percona-xtrabackup: | |
status: | Fix Committed → Fix Released |
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PXB-631