Oracle 5.0 Reference Manual page 1183

Table of Contents

Advertisement

By default, the server writes
replication slaves. To suppress logging, use the optional
LOCAL.
13.7.2.2.
BACKUP TABLE
BACKUP TABLE
BACKUP TABLE
the table, after flushing any buffered changes to disk. The statement works only for
copies the
.frm
The directory should be specified as a full path name. To restore the table, use
During the backup, a read lock is held for each table, one at time, as they are being backed up. If you
want to back up several tables as a snapshot (preventing any of them from being changed during the
backup operation), issue a
group.
BACKUP TABLE
Column
Table
Op
Msg_type
Msg_text
13.7.2.3.
CHECK TABLE
CHECK TABLE
option
= {FOR UPGRADE | QUICK | FAST | MEDIUM | EXTENDED | CHANGED}
CHECK TABLE
of MySQL 5.0.16)
As of MySQL 5.0.2,
referenced in the view definition that no longer exist.
CHECK TABLE
Column
Table
Op
Msg_type
Msg_text
Note that the statement might produce many rows of information for each checked table. The last row
has a
Msg_type
Table is already up to date
"MyISAM
Table Maintenance and Crash
the storage engine for the table indicated that there was no need to check the table.
Table Maintenance Statements
ANALYZE TABLE
Syntax
tbl_name
[, tbl_name] ... TO '/path/to/backup/directory'
Note
This statement is deprecated and is removed in MySQL 5.5. As an alternative,
or
mysqldump
mysqlhotcopy
copies to the backup directory the minimum number of table files needed to restore
definition and
.MYD
LOCK TABLES
returns a result set with the following columns.
Value
The table name
Always
backup
status, error, info, note, or
An informational message
Syntax
tbl_name
[, tbl_name] ... [option] ...
checks a table or tables for errors.
tables. For
ARCHIVE
can also check views for problems, such as tables that are
CHECK TABLE
returns a result set with the following columns.
Value
The table name
Always
check
status, error, info, note, or
An informational message
value of
and the
status
statements to the binary log so that they replicate to
NO_WRITE_TO_BINLOG
can be used instead.
data files. The
index file can be rebuilt from those two files.
.MYI
statement first, to obtain a read lock for all tables in the
warning
CHECK TABLE
tables, the key statistics are updated as well.
MyISAM
warning
normally should be OK. If you don't get OK, or
Msg_text
you should normally run a repair of the table. See
Recovery".
Table is already up to date
1163
keyword or its alias
MyISAM
RESTORE
works for MyISAM, InnoDB, and (as
Section 7.6,
tables. It
TABLE.
means that

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents