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/>
6
.\" Manual: MySQL Database System
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
16
.\" disable justification (adjust text to left margin only)
18
.\" -----------------------------------------------------------------
19
.\" * MAIN CONTENT STARTS HERE *
20
.\" -----------------------------------------------------------------
21
.\" ndbd_redo_log_reader
23
ndbd_redo_log_reader \- check and print content of cluster redo log
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
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\&.
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\&.
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\&.
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\&.
49
ndbd_redo_log_reader \fIfile_name\fR [\fIoptions\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
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\&.
62
The name of the file to be read may be followed by one or more of the options listed here:
79
\fBCommand\-Line Format\fR
86
\fBPermitted Values \fR
100
\fB\-noprint\fR: Do not print the contents of the log file\&.
118
\fBCommand\-Line Format\fR
125
\fBPermitted Values \fR
139
\fB\-nocheck\fR: Do not check the log file for errors\&.
143
\fBndb_print_backup_file\fR
145
\fBndb_print_schema_file\fR
146
(and unlike most of the
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\&.
154
Copyright \(co 1997, 2011, Oracle and/or its affiliates. All rights reserved.
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.
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.
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/.
164
Cluster Data Node FileSystemDir Files
166
\%http://dev.mysql.com/doc/ndbapi/en/ndb-internals-ndbd-filesystemdir-files.html
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/.
173
Oracle Corporation (http://dev.mysql.com/).