Details
-
New Feature
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
DISABLE KEYS : ignoring secondary indexes, until they are reenabled with ENABLE KEYS.
Also ignoring foreign key constraints, I'd guess (although, there is another setting for that)
This is a tool that MyISAM/Aria use for the data load, into the empty table.
The idea is to insert a lot of data (one can assume primary key order for this specific case),
then build all indexes indexes on ENABLE.
This should make restoring of mariadb-dump, and mariadb-import automatically faster.
There is alternative for the data loading tools, to parse the table DDL as given by SHOW CREATE TABLE (MDEV-34740), but ENABLE/DISABLE appears to be much more convenient
Attachments
Issue Links
- relates to
-
MDEV-5171 Add support for --innodb-optimize-keys to mysqldump.
- Closed
-
MDEV-11658 Simpler, faster IMPORT of InnoDB tables
- Open
-
MDEV-34740 mariadb-import: delay creation of secondary indexes until after data load
- In Testing
-
MDEV-33188 Enhance mariadb-dump and mariadb-import capabilities similar to MyDumper
- Stalled