2009-09-16 14:03:18 +02:00
'\" t
2009-05-25 11:59:47 +02:00
. \" Title: \fBmyisamlog\fR
2009-09-16 14:03:18 +02:00
. \" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
. \" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
2010-04-28 15:06:11 +02:00
. \" Date: 04/06/2010
2009-05-25 11:59:47 +02:00
. \" Manual: MySQL Database System
. \" Source: MySQL 5.1
2009-09-16 14:03:18 +02:00
. \" Language: English
2009-05-25 11:59:47 +02:00
. \"
2010-04-28 15:06:11 +02:00
.TH "\FBMYISAMLOG\FR" "1" "04/06/2010" "MySQL 5\&.1" "MySQL Database System"
2009-09-16 14:03:18 +02:00
. \" -----------------------------------------------------------------
. \" * set default formatting
. \" -----------------------------------------------------------------
2009-05-25 11:59:47 +02:00
. \" disable hyphenation
.nh
. \" disable justification (adjust text to left margin only)
.ad l
2009-09-16 14:03:18 +02:00
. \" -----------------------------------------------------------------
. \" * MAIN CONTENT STARTS HERE *
. \" -----------------------------------------------------------------
. \" myisamlog
. \" isamlog
2009-05-25 11:59:47 +02:00
.SH "NAME"
myisamlog \- display MyISAM log file contents
.SH "SYNOPSIS"
2009-09-16 14:03:18 +02:00
.HP \w '\fBmyisamlog\ [\fR\fB\fIoptions\fR\fR\fB]\ [\fR\fB\fIlog_file\fR\fR\fB\ [\fR\fB\fItbl_name\fR\fR\fB]\ \& .\&.\&.]\fR\ 'u
\fB myisamlog [\fR \fB \fI options\fR \fR \fB ] [\fR \fB \fI log_file\fR \fR \fB [\fR \fB \fI tbl_name\fR \fR \fB ] \& .\& .\& .]\fR
2009-05-25 11:59:47 +02:00
.SH "DESCRIPTION"
.PP
\fB myisamlog\fR
processes the contents of a
MyISAM
2009-09-16 14:03:18 +02:00
log file\& .
2009-05-25 11:59:47 +02:00
.PP
Invoke
\fB myisamlog\fR
like this:
.sp
2009-09-16 14:03:18 +02:00
.if n \{ \
.RS 4
. \}
2009-05-25 11:59:47 +02:00
.nf
2009-09-16 14:03:18 +02:00
shell> \fB myisamlog [\fR \fB \fI options\fR \fR \fB ] [\fR \fB \fI log_file\fR \fR \fB [\fR \fB \fI tbl_name\fR \fR \fB ] \& .\& .\& .]\fR
shell> \fB isamlog [\fR \fB \fI options\fR \fR \fB ] [\fR \fB \fI log_file\fR \fR \fB [\fR \fB \fI tbl_name\fR \fR \fB ] \& .\& .\& .]\fR
2009-05-25 11:59:47 +02:00
.fi
2009-09-16 14:03:18 +02:00
.if n \{ \
2009-05-25 11:59:47 +02:00
.RE
2009-09-16 14:03:18 +02:00
. \}
2009-05-25 11:59:47 +02:00
.PP
2009-09-16 14:03:18 +02:00
The default operation is update (\fB \- u\fR )\& . If a recovery is done (\fB \- r\fR ), all writes and possibly updates and deletes are done and errors are only counted\& . The default log file name is
myisam\& .log
2009-05-25 11:59:47 +02:00
for
\fB myisamlog\fR
and
2009-09-16 14:03:18 +02:00
isam\& .log
2009-05-25 11:59:47 +02:00
for
\fB isamlog\fR
if no
\fI log_file\fR
2009-09-16 14:03:18 +02:00
argument is given\& . If tables are named on the command line, only those tables are updated\& .
2009-05-25 11:59:47 +02:00
.PP
\fB myisamlog\fR
2009-09-16 14:03:18 +02:00
supports the following options:
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2009-05-25 11:59:47 +02:00
\fB \- ?\fR ,
\fB \- I\fR
.sp
2009-09-16 14:03:18 +02:00
Display a help message and exit\& .
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2009-05-25 11:59:47 +02:00
\fB \- c \fR \fB \fI N\fR \fR
.sp
Execute only
\fI N\fR
2009-09-16 14:03:18 +02:00
commands\& .
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2009-05-25 11:59:47 +02:00
\fB \- f \fR \fB \fI N\fR \fR
.sp
2009-09-16 14:03:18 +02:00
Specify the maximum number of open files\& .
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2009-05-25 11:59:47 +02:00
\fB \- i\fR
.sp
2009-09-16 14:03:18 +02:00
Display extra information before exiting\& .
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2009-05-25 11:59:47 +02:00
\fB \- o \fR \fB \fI offset\fR \fR
.sp
2009-09-16 14:03:18 +02:00
Specify the starting offset\& .
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2009-05-25 11:59:47 +02:00
\fB \- p \fR \fB \fI N\fR \fR
.sp
Remove
\fI N\fR
2009-09-16 14:03:18 +02:00
components from path\& .
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2009-05-25 11:59:47 +02:00
\fB \- r\fR
.sp
2009-09-16 14:03:18 +02:00
Perform a recovery operation\& .
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2009-05-25 11:59:47 +02:00
\fB \- R \fR \fB \fI record_pos_file record_pos\fR \fR
.sp
2009-09-16 14:03:18 +02:00
Specify record position file and record position\& .
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2009-05-25 11:59:47 +02:00
\fB \- u\fR
.sp
2009-09-16 14:03:18 +02:00
Perform an update operation\& .
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2009-05-25 11:59:47 +02:00
\fB \- v\fR
.sp
2009-09-16 14:03:18 +02:00
Verbose mode\& . Print more output about what the program does\& . This option can be given multiple times to produce more and more output\& .
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2009-05-25 11:59:47 +02:00
\fB \- w \fR \fB \fI write_file\fR \fR
.sp
2009-09-16 14:03:18 +02:00
Specify the write file\& .
.RE
.sp
.RS 4
.ie n \{ \
\h '-04'\(bu \h '+03'\c
. \}
.el \{ \
.sp -1
.IP \(bu 2 .3
. \}
2009-05-25 11:59:47 +02:00
\fB \- V\fR
.sp
2009-09-16 14:03:18 +02:00
Display version information\& .
.RE
2009-05-25 11:59:47 +02:00
.SH "COPYRIGHT"
2009-09-16 14:03:18 +02:00
.br
2009-05-25 11:59:47 +02:00
.PP
2010-04-28 15:06:11 +02:00
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
2009-05-25 11:59:47 +02:00
.PP
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
.PP
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
.PP
2009-09-16 14:03:18 +02:00
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
.sp
2009-05-25 11:59:47 +02:00
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
which may already be installed locally and which is also available
online at http://dev.mysql.com/doc/.
.SH AUTHOR
2009-09-16 14:03:18 +02:00
Sun Microsystems, Inc. (http://www.mysql.com/).