~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to man/ndb_show_tables.1

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'\" t
 
2
.\"     Title: \fBndb_show_tables\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: 03/01/2010
 
6
.\"    Manual: MySQL Database System
 
7
.\"    Source: MySQL 5.1
 
8
.\"  Language: English
 
9
.\"
 
10
.TH "\FBNDB_SHOW_TABLES\F" "1" "03/01/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
.\" ndb_show_tables
 
22
.SH "NAME"
 
23
ndb_show_tables \- display list of NDB tables
 
24
.SH "SYNOPSIS"
 
25
.HP \w'\fBndb_show_tables\ [\fR\fB\fIoptions\fR\fR\fB]\fR\ 'u
 
26
\fBndb_show_tables [\fR\fB\fIoptions\fR\fR\fB]\fR
 
27
.SH "DESCRIPTION"
 
28
.PP
 
29
\fBndb_show_tables\fR
 
30
displays a list of all
 
31
NDB
 
32
database objects in the cluster\&. By default, this includes not only both user\-created tables and
 
33
NDB
 
34
system tables, but
 
35
NDB\-specific indexes, internal triggers, and MySQL Cluster Disk Data objects as well\&.
 
36
.PP
 
37
The following table includes options that are specific to the MySQL Cluster program
 
38
\fBndb_show_tables\fR\&. Additional descriptions follow the table\&. For options common to all MySQL Cluster programs, see
 
39
Section\ \&17.4.2, \(lqOptions Common to MySQL Cluster Programs\(rq\&.
 
40
.PP
 
41
\fBUsage\fR:
 
42
.sp
 
43
.if n \{\
 
44
.RS 4
 
45
.\}
 
46
.nf
 
47
ndb_show_tables [\-c \fIconnect_string\fR]
 
48
.fi
 
49
.if n \{\
 
50
.RE
 
51
.\}
 
52
.sp
 
53
.RS 4
 
54
.ie n \{\
 
55
\h'-04'\(bu\h'+03'\c
 
56
.\}
 
57
.el \{\
 
58
.sp -1
 
59
.IP \(bu 2.3
 
60
.\}
 
61
.\" ndb_show_tables: database option
 
62
.\" database option: ndb_show_tables
 
63
\fB\-\-database\fR,
 
64
\fB\-d\fR
 
65
.sp
 
66
Specifies the name of the database in which the tables are found\&.
 
67
.RE
 
68
.sp
 
69
.RS 4
 
70
.ie n \{\
 
71
\h'-04'\(bu\h'+03'\c
 
72
.\}
 
73
.el \{\
 
74
.sp -1
 
75
.IP \(bu 2.3
 
76
.\}
 
77
.\" ndb_show_tables: loops option
 
78
.\" loops option: ndb_show_tables
 
79
\fB\-\-loops\fR,
 
80
\fB\-l\fR
 
81
.sp
 
82
Specifies the number of times the utility should execute\&. This is 1 when this option is not specified, but if you do use the option, you must supply an integer argument for it\&.
 
83
.RE
 
84
.sp
 
85
.RS 4
 
86
.ie n \{\
 
87
\h'-04'\(bu\h'+03'\c
 
88
.\}
 
89
.el \{\
 
90
.sp -1
 
91
.IP \(bu 2.3
 
92
.\}
 
93
.\" ndb_show_tables: parsable option
 
94
.\" parsable option: ndb_show_tables
 
95
\fB\-\-parsable\fR,
 
96
\fB\-p\fR
 
97
.sp
 
98
Using this option causes the output to be in a format suitable for use with
 
99
LOAD DATA INFILE\&.
 
100
.RE
 
101
.sp
 
102
.RS 4
 
103
.ie n \{\
 
104
\h'-04'\(bu\h'+03'\c
 
105
.\}
 
106
.el \{\
 
107
.sp -1
 
108
.IP \(bu 2.3
 
109
.\}
 
110
.\" ndb_show_tables: show-temp-status option
 
111
.\" show-temp-status option: ndb_show_tables
 
112
\fB\-\-show\-temp\-status\fR
 
113
.sp
 
114
If specified, this causes temporary tables to be displayed\&.
 
115
.RE
 
116
.sp
 
117
.RS 4
 
118
.ie n \{\
 
119
\h'-04'\(bu\h'+03'\c
 
120
.\}
 
121
.el \{\
 
122
.sp -1
 
123
.IP \(bu 2.3
 
124
.\}
 
125
.\" ndb_show_tables: type option
 
126
.\" type option: ndb_show_tables
 
127
\fB\-\-type\fR,
 
128
\fB\-t\fR
 
129
.sp
 
130
Can be used to restrict the output to one type of object, specified by an integer type code as shown here:
 
131
.sp
 
132
.RS 4
 
133
.ie n \{\
 
134
\h'-04'\(bu\h'+03'\c
 
135
.\}
 
136
.el \{\
 
137
.sp -1
 
138
.IP \(bu 2.3
 
139
.\}
 
140
\fB1\fR: System table
 
141
.RE
 
142
.sp
 
143
.RS 4
 
144
.ie n \{\
 
145
\h'-04'\(bu\h'+03'\c
 
146
.\}
 
147
.el \{\
 
148
.sp -1
 
149
.IP \(bu 2.3
 
150
.\}
 
151
\fB2\fR: User\-created table
 
152
.RE
 
153
.sp
 
154
.RS 4
 
155
.ie n \{\
 
156
\h'-04'\(bu\h'+03'\c
 
157
.\}
 
158
.el \{\
 
159
.sp -1
 
160
.IP \(bu 2.3
 
161
.\}
 
162
\fB3\fR: Unique hash index
 
163
.RE
 
164
.RS 4
 
165
Any other value causes all
 
166
NDB
 
167
database objects to be listed (the default)\&.
 
168
.RE
 
169
.sp
 
170
.RS 4
 
171
.ie n \{\
 
172
\h'-04'\(bu\h'+03'\c
 
173
.\}
 
174
.el \{\
 
175
.sp -1
 
176
.IP \(bu 2.3
 
177
.\}
 
178
.\" ndb_show_tables: unqualified option
 
179
.\" unqualified option: ndb_show_tables
 
180
\fB\-\-unqualified\fR,
 
181
\fB\-u\fR
 
182
.sp
 
183
If specified, this causes unqualified object names to be displayed\&.
 
184
.RE
 
185
.if n \{\
 
186
.sp
 
187
.\}
 
188
.RS 4
 
189
.it 1 an-trap
 
190
.nr an-no-space-flag 1
 
191
.nr an-break-flag 1
 
192
.br
 
193
.ps +1
 
194
\fBNote\fR
 
195
.ps -1
 
196
.br
 
197
.PP
 
198
Only user\-created Cluster tables may be accessed from MySQL; system tables such as
 
199
SYSTAB_0
 
200
are not visible to
 
201
\fBmysqld\fR\&. However, you can examine the contents of system tables using
 
202
NDB
 
203
API applications such as
 
204
\fBndb_select_all\fR
 
205
(see
 
206
\fBndb_select_all\fR(1))\&.
 
207
.sp .5v
 
208
.RE
 
209
.SH "COPYRIGHT"
 
210
.br
 
211
.PP
 
212
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
 
213
.PP
 
214
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.
 
215
.PP
 
216
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.
 
217
.PP
 
218
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/.
 
219
.sp
 
220
.SH "SEE ALSO"
 
221
For more information, please refer to the MySQL Reference Manual,
 
222
which may already be installed locally and which is also available
 
223
online at http://dev.mysql.com/doc/.
 
224
.SH AUTHOR
 
225
Sun Microsystems, Inc. (http://www.mysql.com/).