i just made a backup of my production database using mysqldump:
mysqldump dbase_live > live_dbase_backup_2006_03_02.sql
i then restored the resulting SQL to an empty database to make sure it would work:
mysql restore_test < live_dbase_backup_2006_03_02.sql
both commands took some time but ran to completion without errors. HOWEVER, phpMyAdmin reports different database sizes for various database tables between the original databse 'live_dbase' and the restored one, 'restore_test'.
Is this ok? Or might my data in the restoration test database be corrupted? What causes these differences? Where do these size numbers come from? In one case, a table contains only 142 records with 10 fields and the database sizes are 17.1K in the original database and 13.3 K in the restored one! Furthermore, one of the indexes in that table has a cardinality of 10 in the old Dbase and 0 in the new one!
I'm pretty concerned here. I was under the impression that mysqldumps were reliable. Is this not the case?