ZIP Export with discrete table files have indexes elsewhere! #15386
Labels
affects/5.2
This issue or pull-request affects 5.2.x releases (and maybe further versions)
parser
question
Used when we need feedback from the submitter or when the issue is a question about PMA
Projects
PHPMyAdmin version 4.8.5
OS: CentOS (CPanel specifically)
Actions:
Select table, browse to export, expand Custom, select "Export tables as separate files". Leave all other options default.
Expected Behaviour:
Get a zip with each table self contained in its own file.
Actual Behaviour:
Got a zip (great), with each table self contained in its own file, (so far so good), WITH NO INDEXES OR AUTO INCREMENT DECLARATIONS!
For a brief example:
In
%dbname%_table_blog.sql
:Note the lack of indexes!
Then in
%dbname%_extra.sql
, we have:... along with every other table, grouped together in a very inconvenient fashion.
Want to know the quickest way to slow a large application to a crawl? Import a table to replace some specific set of functionality with production data, WITHOUT THE INDEXES!
I did some hunting through the options provided in the export page, but nothing screamed
Export Indexes Separately
. Is there any option to not use this%dbname%_extra.sql
file, but instead just keep the indexes along with the table contents where they're expected to be by any sane developer?The text was updated successfully, but these errors were encountered: