Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

myisam_ftdump(1) [linux man page]

MYISAM_FTDUMP(1)					       MySQL Database System						  MYISAM_FTDUMP(1)

NAME
myisam_ftdump - display full-text index information SYNOPSIS
myisam_ftdump [options] tbl_name index_num DESCRIPTION
myisam_ftdump displays information about FULLTEXT indexes in MyISAM tables. It reads the MyISAM index file directly, so it must be run on the server host where the table is located. Before using myisam_ftdump, be sure to issue a FLUSH TABLES statement first if the server is running. myisam_ftdump scans and dumps the entire index, which is not particularly fast. On the other hand, the distribution of words changes infrequently, so it need not be run often. Invoke myisam_ftdump like this: shell> myisam_ftdump [options] tbl_name index_num The tbl_name argument should be the name of a MyISAM table. You can also specify a table by naming its index file (the file with the .MYI suffix). If you do not invoke myisam_ftdump in the directory where the table files are located, the table or index file name must be preceded by the path name to the table's database directory. Index numbers begin with 0. Example: Suppose that the test database contains a table named mytexttable that has the following definition: CREATE TABLE mytexttable ( id INT NOT NULL, txt TEXT NOT NULL, PRIMARY KEY (id), FULLTEXT (txt) ) ENGINE=MyISAM; The index on id is index 0 and the FULLTEXT index on txt is index 1. If your working directory is the test database directory, invoke myisam_ftdump as follows: shell> myisam_ftdump mytexttable 1 If the path name to the test database directory is /usr/local/mysql/data/test, you can also specify the table name argument using that path name. This is useful if you do not invoke myisam_ftdump in the database directory: shell> myisam_ftdump /usr/local/mysql/data/test/mytexttable 1 You can use myisam_ftdump to generate a list of index entries in order of frequency of occurrence like this: shell> myisam_ftdump -c mytexttable 1 | sort -r myisam_ftdump supports the following options: o --help, -h -? Display a help message and exit. o --count, -c Calculate per-word statistics (counts and global weights). o --dump, -d Dump the index, including data offsets and word weights. o --length, -l Report the length distribution. o --stats, -s Report global index statistics. This is the default operation if no other operation is specified. o --verbose, -v Verbose mode. Print more output about what the program does. COPYRIGHT
Copyright (C) 1997, 2014, Oracle and/or its affiliates. All rights reserved. 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. 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. 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/. SEE ALSO
For more information, please refer to the MySQL Reference Manual, which may already be installed locally and which is also available online at http://dev.mysql.com/doc/. AUTHOR
Oracle Corporation (http://dev.mysql.com/). MySQL 5.5 01/30/2014 MYISAM_FTDUMP(1)

Check Out this Related Man Page

NDB_DELETE_ALL(1)					       MySQL Database System						 NDB_DELETE_ALL(1)

NAME
ndb_delete_all - delete all rows from an NDB table SYNOPSIS
ndb_delete_all options DESCRIPTION
ndb_delete_all deletes all rows from the given NDB table. In some cases, this can be much faster than DELETE or even TRUNCATE TABLE. Usage ndb_delete_all -c connect_string tbl_name -d db_name This deletes all rows from the table named tbl_name in the database named db_name. It is exactly equivalent to executing TRUNCATE db_name.tbl_name in MySQL. The following table includes options that are specific to ndb_delete_all. Additional descriptions follow the table. For options common to most MySQL Cluster programs (including ndb_delete_all), see Options Common to MySQL Cluster Programs(1). Table 17.16. ndb_delete_all Options and Variables: MySQL Cluster NDB 7.2 +--------------------------+-----------------------------------+-------------------------------------+ |Format | Description | Added / Removed | +--------------------------+-----------------------------------+-------------------------------------+ | | Name of the database in which the | | | --database=dbname, | table is found | All MySQL 5.5 based releases | | | | | | -d | | | +--------------------------+-----------------------------------+-------------------------------------+ | | Perform the delete in a single | | | --transactional, | transaction (may run out of | All MySQL 5.5 based releases | | | operations) | | | -t | | | +--------------------------+-----------------------------------+-------------------------------------+ | | Run tup scan | | | --tupscan | | All MySQL 5.5 based releases | +--------------------------+-----------------------------------+-------------------------------------+ | | Run disk scan | | | --diskscan | | All MySQL 5.5 based releases | +--------------------------+-----------------------------------+-------------------------------------+ o --transactional, -t Use of this option causes the delete operation to be performed as a single transaction. Warning With very large tables, using this option may cause the number of operations available to the cluster to be exceeded. COPYRIGHT
Copyright (C) 1997, 2014, Oracle and/or its affiliates. All rights reserved. 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. 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. 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/. SEE ALSO
For more information, please refer to the MySQL Reference Manual, which may already be installed locally and which is also available online at http://dev.mysql.com/doc/. AUTHOR
Oracle Corporation (http://dev.mysql.com/). MySQL 5.5 01/30/2014 NDB_DELETE_ALL(1)
Man Page