I am backing up some large tables, and moving them to another server, to work on a mirror application. When downloading the tables I notice - sometimes - I am getting a different number of rows for the same table!
I am using PHPMyAdmin's export feature:
PHPMyAdmin->Select_TABLE->EXPORT->SAVE_AS_FILE->My_Table.sql Compression->none.
PROBLEM: It is producing an inconsistent number of rows in the downloaded file.
10 separate exports of the same table:
- ROW COUNT: 93788
- ROW COUNT: 93788
- ROW COUNT: 92465
- ROW COUNT: 90879
- ROW COUNT: 92691
- ROW COUNT: 93788
- ROW COUNT: 93788
- ROW COUNT: 93788
- ROW COUNT: 93788
- ROW COUNT: 93788
Obviously I would take the most consistent result - but:
- What is the guaranteed method to ensure I get all the rows accurately?
- How do I make an accurate comparison if the row count is different each time?