Oracle 5.0 Reference Manual page 320

Table of Contents

Advertisement

--default-character-set=charset_name
Use
charset_name
no character set is specified,
This option has no effect for output data files produced by using the
description for that option.
--delayed-insert
Write
INSERT DELAYED
--delete-master-logs
On a master replication server, delete the binary logs by sending a
to the server after performing the dump operation. This option automatically enables
[302].
data
--disable-keys
For each table, surround the
DISABLE KEYS */;
This makes loading the dump file faster because the indexes are created after all rows are inserted.
This option is effective only for nonunique indexes of
[300]
--dump-date
If the
[298]
--comments
of the following form:
-- Dump completed on
However, the date causes dump files taken at different times to appear to be different, even if
the data are otherwise identical.
whether the date is added to the comment. The default is
in the comment).
--skip-dump-date
MySQL 5.0.52.
--extended-insert
Use multiple-row
INSERT
and speeds up inserts when the file is reloaded.
--fields-terminated-by=...
fields-optionally-enclosed-by=...
These options are used with the
corresponding
FIELDS
Syntax".
[300]
--first-slave
Deprecated. Use
--lock-all-tables
MySQL 5.5.
[300],
--flush-logs
Flush the MySQL server log files before starting the dump. This option requires the
privilege. If you use this option in combination with the
are flushed for each database dumped. The exception is when using
or
--master-data
moment that all tables are locked. If you want your dump and the log flush to happen at exactly
— A Database Backup Program
mysqldump
as the default character set. See
uses utf8, and earlier versions use latin1.
mysqldump
[300]
statements rather than
[300]
[300],
-K
statements with
INSERT
and
/*!40000 ALTER TABLE tbl_name ENABLE KEYS */;
option is given,
mysqldump
DATE
--dump-date
[300]
[300],
-e
syntax that include several
[300],
[305]
--tab
clauses for
LOAD DATA
[301]
-F
[302]: In this case, the logs are flushed only once, corresponding to the
300
[300]
Section 10.5, "Character Set
statements.
INSERT
PURGE BINARY LOGS
/*!40000 ALTER TABLE tbl_name
tables. It has no effect for other tables.
MyISAM
produces a comment at the end of the dump
[300]
and
--skip-dump-date
--dump-date
suppresses date printing. This option was added in
lists. This results in a smaller dump file
VALUES
--fields-enclosed-by=...
[300],
--fields-escaped-by=...
option and have the same meaning as the
INFILE. See
Section 13.2.6,
instead.
--first-slave
--all-databases
Configuration". If
[305]
option. See the
--tab
--master-
statements.
[300]
control
[300]
(include the date
[300],
--
[300]
"LOAD DATA INFILE
[300]
is removed in
RELOAD
[298]
option, the logs
--lock-all-tables
statement
[577]
[301]

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents