HostMonster Web Hosting Help

MySQL Database Reported Size and SQL Size Differ

Problem:

The database backup sizes listed in the Site Backup & Restore tool appear different after exported.

Solution:

MySQL is a complex relational database that can contain extremely vast amounts of information—and can also store that information in a number of different ways, for efficient querying. Because of this, when a database is “live”, it's size is typically much larger.

  • When "live", the database will be split up into a number of separate files, with control structures, coding and other information necessary for the database to operate properly.
  • When exporting to an SQL file, the structures are removed and only the database data is kept, hence the typically much smaller size.
  • Knowledgebase Article 24,276 views bookmark tags: backup database dump export mysql mysqldump size sql (updated 1439 days ago)


    Was this resource helpful?

    Did this resolve your issue?


    Please add any other comments or suggestions about this content:





    Recommended Help Content

    Site Backup & Restore tool displays unexpected dates. (updated 1439 days ago)
    Knowledgebase Article 42,795 views tags: backup database dump mysql restore sql

    How do I create a MySQL backup? (updated 385 days ago)
    Knowledgebase Article 151,279 views tags: backup database mysql

    How to export your database in phpMyAdmin.. (updated 854 days ago)
    Knowledgebase Article 63,916 views tags: database export myphpadmin

    Related Help Content

    How do I import a backup of my database (.sql file) using phpMyAdmin? (updated 21 days ago)
    Knowledgebase Article 130,853 views tags: database mysql phpmyadmin

    I would like to dump the Table Structure for my MySQL Database, but none of the data. (updated 2034 days ago)
    Knowledgebase Article 123,862 views tags: mysql ssh

    I need to Export or Import a MySQL database (updated 624 days ago)
    Knowledgebase Article 218,993 views tags: mysql phpmyadmin ssh

    This article will instruct you how to export a database from the command line (SSH). (updated 623 days ago)
    Knowledgebase Article 432,447 views tags: database mysql ssh

    How to backup all of your MySQL databases using the Site Backup & Restore tool (updated 1381 days ago)
    Knowledgebase Article 59,077 views tags: backup database mysql restore site

    How to restore MySQL databases using the Site Backup & Restore tool (updated 1020 days ago)
    Knowledgebase Article 57,270 views tags: backup database mysql restore site

    How to restore MySQL databases using the Site Backup & Restore tool (updated 1247 days ago)
    Knowledgebase Article 45,754 views tags: backup database mysql restore site

    How do I make my MySQL database compatible with the version you provide? (updated 2050 days ago)
    Knowledgebase Article 82,412 views tags: database mysql