Details
-
Task
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
Description
The feature introduces simplified workflow:
FLUSH TABLES t1 FOR EXPORT; |
--copy_file $MYSQLD_DATADIR/test/t1.cfg $MYSQLD_DATADIR/test/t2.cfg
|
--copy_file $MYSQLD_DATADIR/test/t1.frm $MYSQLD_DATADIR/test/t2.frm
|
--copy_file $MYSQLD_DATADIR/test/t1.ibd $MYSQLD_DATADIR/test/t2.ibd
|
UNLOCK TABLES;
|
ALTER TABLE t2 IMPORT TABLESPACE; |
Previously, CREATE TABLE and ALTER TABLE…DISCARD TABLESPACE had to be executed, and the exact table definition from an existing .frm file could not be reused. This simplification addresses MDEV-15225.
ha_innodb::open() should check for .ibd and .cfg files before actually opening a table.
Attachments
Issue Links
- blocks
-
MDEV-11658 Simpler, faster IMPORT of InnoDB tables
-
- Open
-
-
MDEV-15225 Can't import .ibd file with temporal type format differing from mysql56_temporal_format
-
- Closed
-
-
MDEV-18762 Support easy restore of partial backup
-
- Closed
-
- is blocked by
-
MDEV-31010 Q2 2023 release merge
-
- Closed
-
- relates to
-
MDEV-33226 ALTER TABLE IMPORT enhancement for Partitioned tables
-
- Open
-
-
MDEV-10568 Implement support for ALTER TABLE ... {DISCARD|IMPORT} PARTITION
-
- Open
-
-
MDEV-15225 Can't import .ibd file with temporal type format differing from mysql56_temporal_format
-
- Closed
-
-
MDEV-26155 Mangled data after IMPORT tablespace up till assert for DDL
-
- Open
-
Activity
Transition | Time In Source Status | Execution Times |
---|
|
569d 9h 19m | 1 |
|
17d 19h 29m | 1 |
|
22m 21s | 1 |
|
15d 20m | 8 |
|
21d 7h 14m | 8 |
|
39d 16h 1m | 1 |
|
36d 1h 47m | 3 |
|
1d 10h 39m | 3 |
|
20d 9h 58m | 1 |