~vadim-tk/percona-server/percona-galera-5.1.57-0.8.1

« back to all changes in this revision

Viewing changes to man/ndbd_redo_log_reader.1

  • Committer: root
  • Date: 2011-07-28 00:14:23 UTC
  • Revision ID: root@r815.office.percona.com-20110728001423-6pw0v4b7r0dkbsr4
Ported to Galera 0.8.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'\" t
 
2
.\"     Title: \fBndbd_redo_log_reader\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/12/2011
 
6
.\"    Manual: MySQL Database System
 
7
.\"    Source: MySQL 5.1
 
8
.\"  Language: English
 
9
.\"
 
10
.TH "\FBNDBD_REDO_LOG_REA" "1" "04/12/2011" "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
.\" ndbd_redo_log_reader
 
22
.SH "NAME"
 
23
ndbd_redo_log_reader \- check and print content of cluster redo log
 
24
.SH "SYNOPSIS"
 
25
.HP \w'\fBndbd_redo_log_reader\ \fR\fB\fIfile_name\fR\fR\fB\ [\fR\fB\fIoptions\fR\fR\fB]\fR\ 'u
 
26
\fBndbd_redo_log_reader \fR\fB\fIfile_name\fR\fR\fB [\fR\fB\fIoptions\fR\fR\fB]\fR
 
27
.SH "DESCRIPTION"
 
28
.PP
 
29
Reads a redo log file, checking it for errors, printing its contents in a human\-readable format, or both\&.
 
30
\fBndbd_redo_log_reader\fR
 
31
is intended for use primarily by MySQL developers and support personnel in debugging and diagnosing problems\&.
 
32
.PP
 
33
This utility was made available as part of default builds beginning with MySQL Cluster NDB 6\&.1\&.3\&. It remains under development, and its syntax and behavior are subject to change in future releases\&. For this reason, it should be considered experimental at this time\&.
 
34
.PP
 
35
The C++ source files for
 
36
\fBndbd_redo_log_reader\fR
 
37
can be found in the directory
 
38
/storage/ndb/src/kernel/blocks/dblqh/redoLogReader\&.
 
39
.PP
 
40
The following table includes options that are specific to the MySQL Cluster program
 
41
\fBndbd_redo_log_reader\fR\&. Additional descriptions follow the table\&. For options common to all MySQL Cluster programs, see
 
42
Section\ \&16.4.2, \(lqOptions Common to MySQL Cluster Programs\(rq\&.
 
43
          Usage
 
44
.sp
 
45
.if n \{\
 
46
.RS 4
 
47
.\}
 
48
.nf
 
49
ndbd_redo_log_reader \fIfile_name\fR [\fIoptions\fR]
 
50
.fi
 
51
.if n \{\
 
52
.RE
 
53
.\}
 
54
.PP
 
55
\fIfile_name\fR
 
56
is the name of a cluster redo log file\&. redo log files are located in the numbered directories under the data node\'s data directory (DataDir); the path under this directory to the redo log files matches the pattern
 
57
ndb_\fI#\fR_fs/D\fI#\fR/LCP/\fI#\fR/T\fI#\fRF\fI#\fR\&.Data\&. In each case, the
 
58
\fI#\fR
 
59
represents a number (not necessarily the same number)\&. For more information, see
 
60
\m[blue]\fBCluster Data Node FileSystemDir Files\fR\m[]\&\s-2\u[1]\d\s+2\&.
 
61
.PP
 
62
The name of the file to be read may be followed by one or more of the options listed here:
 
63
.sp
 
64
.RS 4
 
65
.ie n \{\
 
66
\h'-04'\(bu\h'+03'\c
 
67
.\}
 
68
.el \{\
 
69
.sp -1
 
70
.IP \(bu 2.3
 
71
.\}
 
72
.TS
 
73
allbox tab(:);
 
74
l l s s
 
75
l l s s
 
76
^ l l s
 
77
^ l l s.
 
78
T{
 
79
\fBCommand\-Line Format\fR
 
80
T}:T{
 
81
\-noprint
 
82
T}
 
83
T{
 
84
\ \&
 
85
T}:T{
 
86
\fBPermitted Values \fR
 
87
T}
 
88
:T{
 
89
\fBType\fR
 
90
T}:T{
 
91
boolean
 
92
T}
 
93
:T{
 
94
\fBDefault\fR
 
95
T}:T{
 
96
FALSE
 
97
T}
 
98
.TE
 
99
.sp 1
 
100
\fB\-noprint\fR: Do not print the contents of the log file\&.
 
101
.RE
 
102
.sp
 
103
.RS 4
 
104
.ie n \{\
 
105
\h'-04'\(bu\h'+03'\c
 
106
.\}
 
107
.el \{\
 
108
.sp -1
 
109
.IP \(bu 2.3
 
110
.\}
 
111
.TS
 
112
allbox tab(:);
 
113
l l s s
 
114
l l s s
 
115
^ l l s
 
116
^ l l s.
 
117
T{
 
118
\fBCommand\-Line Format\fR
 
119
T}:T{
 
120
\-nocheck
 
121
T}
 
122
T{
 
123
\ \&
 
124
T}:T{
 
125
\fBPermitted Values \fR
 
126
T}
 
127
:T{
 
128
\fBType\fR
 
129
T}:T{
 
130
boolean
 
131
T}
 
132
:T{
 
133
\fBDefault\fR
 
134
T}:T{
 
135
FALSE
 
136
T}
 
137
.TE
 
138
.sp 1
 
139
\fB\-nocheck\fR: Do not check the log file for errors\&.
 
140
.RE
 
141
.PP
 
142
Like
 
143
\fBndb_print_backup_file\fR
 
144
and
 
145
\fBndb_print_schema_file\fR
 
146
(and unlike most of the
 
147
NDB
 
148
utilities that are intended to be run on a management server host or to connect to a management server)
 
149
\fBndbd_redo_log_reader\fR
 
150
must be run on a cluster data node, since it accesses the data node file system directly\&. Because it does not make use of the management server, this utility can be used when the management server is not running, and even when the cluster has been completely shut down\&.
 
151
.SH "COPYRIGHT"
 
152
.br
 
153
.PP
 
154
Copyright \(co 1997, 2011, Oracle and/or its affiliates. All rights reserved.
 
155
.PP
 
156
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.
 
157
.PP
 
158
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.
 
159
.PP
 
160
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/.
 
161
.sp
 
162
.SH "NOTES"
 
163
.IP " 1." 4
 
164
Cluster Data Node FileSystemDir Files
 
165
.RS 4
 
166
\%http://dev.mysql.com/doc/ndbapi/en/ndb-internals-ndbd-filesystemdir-files.html
 
167
.RE
 
168
.SH "SEE ALSO"
 
169
For more information, please refer to the MySQL Reference Manual,
 
170
which may already be installed locally and which is also available
 
171
online at http://dev.mysql.com/doc/.
 
172
.SH AUTHOR
 
173
Oracle Corporation (http://dev.mysql.com/).