mysqldump creates text files containing insert statements that recreate a
table and repopulate it with data.  They are somewhat portable across
database servers and human editable if necessary.  They take up less space
than the original table because they do not contain indices (only the
statements that would create the indices).  mysqldump is nice b/c it works
for both InnoDB and MyISAM

mysqlhotcopy makes a copy of the actual data files in your database.  It is
much faster than mysqldump, but the resulting backup is larger b/c it
contains indices (unless you use the option to turn them off).  Recovery is
quicker as the tables exist in the backup directory in full MyISAM table
form.  With mysqldump you need to actually execute the dump files which can
take a while for large tables.  mysqlhotcopy does not work with InnoDB.

--Ware Adams

Jake Johnson wrote:

>Is this better than using mysqldump?
>
>> > mysqlhotcopy does your locking for you.

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to