2
.\" Title: \fBndb_delete_all\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 "\FBNDB_DELETE_ALL\FR" "1" "03/01/2010" "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
.\" -----------------------------------------------------------------
23
ndb_delete_all \- delete all rows from an NDB table
25
.HP \w'\fBndb_delete_all\ \fR\fB\fIoptions\fR\fR\ 'u
26
\fBndb_delete_all \fR\fB\fIoptions\fR\fR
30
deletes all rows from the given
32
table\&. In some cases, this can be much faster than
43
ndb_delete_all \-c \fIconnect_string\fR \fItbl_name\fR \-d \fIdb_name\fR
49
This deletes all rows from the table named
52
\fIdb_name\fR\&. It is exactly equivalent to executing
53
TRUNCATE \fIdb_name\fR\&.\fItbl_name\fR
56
\fBAdditional Options\fR:
66
.\" ndb_delete_all: transactional option
67
.\" transactional option: ndb_delete_all
68
\fB\-\-transactional\fR,
71
Use of this option causes the delete operation to be performed as a single transaction\&.
77
.nr an-no-space-flag 1
84
With very large tables, using this option may cause the number of operations available to the cluster to be exceeded\&.
91
Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
93
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.
95
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.
97
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/.
100
For more information, please refer to the MySQL Reference Manual,
101
which may already be installed locally and which is also available
102
online at http://dev.mysql.com/doc/.
104
Sun Microsystems, Inc. (http://www.mysql.com/).