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,789 views bookmark tags: backup database dump export mysql mysqldump size sql (updated 1479 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 1479 days ago)
    Knowledgebase Article 43,750 views tags: backup database dump mysql restore sql

    How do I create a MySQL backup? (updated 425 days ago)
    Knowledgebase Article 153,823 views tags: backup database mysql

    How to export your database in phpMyAdmin.. (updated 893 days ago)
    Knowledgebase Article 65,346 views tags: database export myphpadmin

    Related Help Content

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

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

    I need to Export or Import a MySQL database (updated 663 days ago)
    Knowledgebase Article 223,743 views tags: mysql phpmyadmin ssh

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

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

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

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

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