1MYISAMLOG(1) MySQL Database System MYISAMLOG(1)
2
3
4
6 myisamlog - display MyISAM log file contents
7
9 myisamlog [options] [log_file [tbl_name] ...]
10
12 myisamlog processes the contents of a MyISAM log file. To create such a
13 file, start the server with a --log-isam=log_file option.
14
15 Invoke myisamlog like this:
16
17 shell> myisamlog [options] [file_name [tbl_name] ...]
18
19 The default operation is update (-u). If a recovery is done (-r), all
20 writes and possibly updates and deletes are done and errors are only
21 counted. The default log file name is myisam.log if no log_file
22 argument is given. If tables are named on the command line, only those
23 tables are updated.
24
25 myisamlog supports the following options:
26
27 · -?, -I
28
29 Display a help message and exit.
30
31 · -c N
32
33 Execute only N commands.
34
35 · -f N
36
37 Specify the maximum number of open files.
38
39 · -i
40
41 Display extra information before exiting.
42
43 · -o offset
44
45 Specify the starting offset.
46
47 · -p N
48
49 Remove N components from path.
50
51 · -r
52
53 Perform a recovery operation.
54
55 · -R record_pos_file record_pos
56
57 Specify record position file and record position.
58
59 · -u
60
61 Perform an update operation.
62
63 · -v
64
65 Verbose mode. Print more output about what the program does. This
66 option can be given multiple times to produce more and more output.
67
68 · -w write_file
69
70 Specify the write file.
71
72 · -V
73
74 Display version information.
75
77 Copyright © 1997, 2013, Oracle and/or its affiliates. All rights
78 reserved.
79
80 This documentation is free software; you can redistribute it and/or
81 modify it only under the terms of the GNU General Public License as
82 published by the Free Software Foundation; version 2 of the License.
83
84 This documentation is distributed in the hope that it will be useful,
85 but WITHOUT ANY WARRANTY; without even the implied warranty of
86 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
87 General Public License for more details.
88
89 You should have received a copy of the GNU General Public License along
90 with the program; if not, write to the Free Software Foundation, Inc.,
91 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see
92 http://www.gnu.org/licenses/.
93
94
96 For more information, please refer to the MySQL Reference Manual, which
97 may already be installed locally and which is also available online at
98 http://dev.mysql.com/doc/.
99
101 Oracle Corporation (http://dev.mysql.com/).
102
103
104
105MySQL 5.1 11/04/2013 MYISAMLOG(1)