You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

241 lines
4.7 KiB

  1. '\" t
  2. .\" Title: \fBmyisamlog\fR
  3. .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
  4. .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
  5. .\" Date: 04/06/2010
  6. .\" Manual: MySQL Database System
  7. .\" Source: MySQL 5.1
  8. .\" Language: English
  9. .\"
  10. .TH "\FBMYISAMLOG\FR" "1" "04/06/2010" "MySQL 5\&.1" "MySQL Database System"
  11. .\" -----------------------------------------------------------------
  12. .\" * set default formatting
  13. .\" -----------------------------------------------------------------
  14. .\" disable hyphenation
  15. .nh
  16. .\" disable justification (adjust text to left margin only)
  17. .ad l
  18. .\" -----------------------------------------------------------------
  19. .\" * MAIN CONTENT STARTS HERE *
  20. .\" -----------------------------------------------------------------
  21. .\" myisamlog
  22. .\" isamlog
  23. .SH "NAME"
  24. myisamlog \- display MyISAM log file contents
  25. .SH "SYNOPSIS"
  26. .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
  27. \fBmyisamlog [\fR\fB\fIoptions\fR\fR\fB] [\fR\fB\fIlog_file\fR\fR\fB [\fR\fB\fItbl_name\fR\fR\fB] \&.\&.\&.]\fR
  28. .SH "DESCRIPTION"
  29. .PP
  30. \fBmyisamlog\fR
  31. processes the contents of a
  32. MyISAM
  33. log file\&.
  34. .PP
  35. Invoke
  36. \fBmyisamlog\fR
  37. like this:
  38. .sp
  39. .if n \{\
  40. .RS 4
  41. .\}
  42. .nf
  43. shell> \fBmyisamlog [\fR\fB\fIoptions\fR\fR\fB] [\fR\fB\fIlog_file\fR\fR\fB [\fR\fB\fItbl_name\fR\fR\fB] \&.\&.\&.]\fR
  44. shell> \fBisamlog [\fR\fB\fIoptions\fR\fR\fB] [\fR\fB\fIlog_file\fR\fR\fB [\fR\fB\fItbl_name\fR\fR\fB] \&.\&.\&.]\fR
  45. .fi
  46. .if n \{\
  47. .RE
  48. .\}
  49. .PP
  50. 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
  51. myisam\&.log
  52. for
  53. \fBmyisamlog\fR
  54. and
  55. isam\&.log
  56. for
  57. \fBisamlog\fR
  58. if no
  59. \fIlog_file\fR
  60. argument is given\&. If tables are named on the command line, only those tables are updated\&.
  61. .PP
  62. \fBmyisamlog\fR
  63. supports the following options:
  64. .sp
  65. .RS 4
  66. .ie n \{\
  67. \h'-04'\(bu\h'+03'\c
  68. .\}
  69. .el \{\
  70. .sp -1
  71. .IP \(bu 2.3
  72. .\}
  73. \fB\-?\fR,
  74. \fB\-I\fR
  75. .sp
  76. Display a help message and exit\&.
  77. .RE
  78. .sp
  79. .RS 4
  80. .ie n \{\
  81. \h'-04'\(bu\h'+03'\c
  82. .\}
  83. .el \{\
  84. .sp -1
  85. .IP \(bu 2.3
  86. .\}
  87. \fB\-c \fR\fB\fIN\fR\fR
  88. .sp
  89. Execute only
  90. \fIN\fR
  91. commands\&.
  92. .RE
  93. .sp
  94. .RS 4
  95. .ie n \{\
  96. \h'-04'\(bu\h'+03'\c
  97. .\}
  98. .el \{\
  99. .sp -1
  100. .IP \(bu 2.3
  101. .\}
  102. \fB\-f \fR\fB\fIN\fR\fR
  103. .sp
  104. Specify the maximum number of open files\&.
  105. .RE
  106. .sp
  107. .RS 4
  108. .ie n \{\
  109. \h'-04'\(bu\h'+03'\c
  110. .\}
  111. .el \{\
  112. .sp -1
  113. .IP \(bu 2.3
  114. .\}
  115. \fB\-i\fR
  116. .sp
  117. Display extra information before exiting\&.
  118. .RE
  119. .sp
  120. .RS 4
  121. .ie n \{\
  122. \h'-04'\(bu\h'+03'\c
  123. .\}
  124. .el \{\
  125. .sp -1
  126. .IP \(bu 2.3
  127. .\}
  128. \fB\-o \fR\fB\fIoffset\fR\fR
  129. .sp
  130. Specify the starting offset\&.
  131. .RE
  132. .sp
  133. .RS 4
  134. .ie n \{\
  135. \h'-04'\(bu\h'+03'\c
  136. .\}
  137. .el \{\
  138. .sp -1
  139. .IP \(bu 2.3
  140. .\}
  141. \fB\-p \fR\fB\fIN\fR\fR
  142. .sp
  143. Remove
  144. \fIN\fR
  145. components from path\&.
  146. .RE
  147. .sp
  148. .RS 4
  149. .ie n \{\
  150. \h'-04'\(bu\h'+03'\c
  151. .\}
  152. .el \{\
  153. .sp -1
  154. .IP \(bu 2.3
  155. .\}
  156. \fB\-r\fR
  157. .sp
  158. Perform a recovery operation\&.
  159. .RE
  160. .sp
  161. .RS 4
  162. .ie n \{\
  163. \h'-04'\(bu\h'+03'\c
  164. .\}
  165. .el \{\
  166. .sp -1
  167. .IP \(bu 2.3
  168. .\}
  169. \fB\-R \fR\fB\fIrecord_pos_file record_pos\fR\fR
  170. .sp
  171. Specify record position file and record position\&.
  172. .RE
  173. .sp
  174. .RS 4
  175. .ie n \{\
  176. \h'-04'\(bu\h'+03'\c
  177. .\}
  178. .el \{\
  179. .sp -1
  180. .IP \(bu 2.3
  181. .\}
  182. \fB\-u\fR
  183. .sp
  184. Perform an update operation\&.
  185. .RE
  186. .sp
  187. .RS 4
  188. .ie n \{\
  189. \h'-04'\(bu\h'+03'\c
  190. .\}
  191. .el \{\
  192. .sp -1
  193. .IP \(bu 2.3
  194. .\}
  195. \fB\-v\fR
  196. .sp
  197. Verbose mode\&. Print more output about what the program does\&. This option can be given multiple times to produce more and more output\&.
  198. .RE
  199. .sp
  200. .RS 4
  201. .ie n \{\
  202. \h'-04'\(bu\h'+03'\c
  203. .\}
  204. .el \{\
  205. .sp -1
  206. .IP \(bu 2.3
  207. .\}
  208. \fB\-w \fR\fB\fIwrite_file\fR\fR
  209. .sp
  210. Specify the write file\&.
  211. .RE
  212. .sp
  213. .RS 4
  214. .ie n \{\
  215. \h'-04'\(bu\h'+03'\c
  216. .\}
  217. .el \{\
  218. .sp -1
  219. .IP \(bu 2.3
  220. .\}
  221. \fB\-V\fR
  222. .sp
  223. Display version information\&.
  224. .RE
  225. .SH "COPYRIGHT"
  226. .br
  227. .PP
  228. Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
  229. .PP
  230. 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.
  231. .PP
  232. 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.
  233. .PP
  234. 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/.
  235. .sp
  236. .SH "SEE ALSO"
  237. For more information, please refer to the MySQL Reference Manual,
  238. which may already be installed locally and which is also available
  239. online at http://dev.mysql.com/doc/.
  240. .SH AUTHOR
  241. Sun Microsystems, Inc. (http://www.mysql.com/).