1Z0-883 · Question #34
You have table apps','userdata' on server that uses MyISAM storage engine. You want to transfer this data to server but use InnoDB engine instead. You execute the following commands: ServerB…
The correct answer is C. It orders by primary key to assist in speeding up importing to InnoDB tables. See the full explanation below for the reasoning.
Question
You have table `apps','userdata' on server that uses MyISAM storage engine. You want to transfer this data to server but use InnoDB engine instead. You execute the following commands:
ServerB commands:
Shell> mysqldump u root h server no-data apps userdata | mysql u root p apps Shell> mysql u root p h server e ALTER TABLE apps','userdata' ENGINE=InnoDB;' Shell> mysqldump u root p h server no-create-info order-by-primary apps userdata | mysql u root p apps What effect does the ?order-by-primary argument have on the mysqldump command?
Options
- AIt exports tables with the most indexes first to assist with import speeds.
- BIt ensures that unique indexes have no conflicts when the data is dumped.
- CIt orders by primary key to assist in speeding up importing to InnoDB tables.
- DIt must be specified so index data is dumped correctly when on-create-info is used.
How the community answered
(61 responses)- A13% (8)
- B5% (3)
- C80% (49)
- D2% (1)
Community Discussion
No community discussion yet for this question.