1MYISAM_FTDUMP(1)             MySQL Database System            MYISAM_FTDUMP(1)
2
3
4

NAME

6       myisam_ftdump - display full-text index information
7

SYNOPSIS

9       myisam_ftdump [options] tbl_name index_num
10

DESCRIPTION

12       myisam_ftdump displays information about FULLTEXT indexes in MyISAM
13       tables. It reads the MyISAM index file directly, so it must be run on
14       the server host where the table is located. Before using myisam_ftdump,
15       be sure to issue a FLUSH TABLES statement first if the server is
16       running.
17
18       myisam_ftdump scans and dumps the entire index, which is not
19       particularly fast. On the other hand, the distribution of words changes
20       infrequently, so it need not be run often.
21
22       Invoke myisam_ftdump like this:
23
24           myisam_ftdump [options] tbl_name index_num
25
26       The tbl_name argument should be the name of a MyISAM table. You can
27       also specify a table by naming its index file (the file with the .MYI
28       suffix). If you do not invoke myisam_ftdump in the directory where the
29       table files are located, the table or index file name must be preceded
30       by the path name to the table's database directory. Index numbers begin
31       with 0.
32
33       Example: Suppose that the test database contains a table named
34       mytexttable that has the following definition:
35
36           CREATE TABLE mytexttable
37           (
38             id   INT NOT NULL,
39             txt  TEXT NOT NULL,
40             PRIMARY KEY (id),
41             FULLTEXT (txt)
42           ) ENGINE=MyISAM;
43
44       The index on id is index 0 and the FULLTEXT index on txt is index 1. If
45       your working directory is the test database directory, invoke
46       myisam_ftdump as follows:
47
48           myisam_ftdump mytexttable 1
49
50       If the path name to the test database directory is
51       /usr/local/mysql/data/test, you can also specify the table name
52       argument using that path name. This is useful if you do not invoke
53       myisam_ftdump in the database directory:
54
55           myisam_ftdump /usr/local/mysql/data/test/mytexttable 1
56
57       You can use myisam_ftdump to generate a list of index entries in order
58       of frequency of occurrence like this on Unix-like systems:
59
60           myisam_ftdump -c mytexttable 1 | sort -r
61
62       On Windows, use:
63
64           myisam_ftdump -c mytexttable 1 | sort /R
65
66       myisam_ftdump supports the following options:
67
68--help, -h -?  Display a help message and exit.
69
70--count, -c Calculate per-word statistics (counts and global
71           weights).
72
73--dump, -d Dump the index, including data offsets and word weights.
74
75--length, -l Report the length distribution.
76
77--stats, -s Report global index statistics. This is the default
78           operation if no other operation is specified.
79
80--verbose, -v Verbose mode. Print more output about what the
81           program does.
82
84       Copyright © 1997, 2021, Oracle and/or its affiliates.
85
86       This documentation is free software; you can redistribute it and/or
87       modify it only under the terms of the GNU General Public License as
88       published by the Free Software Foundation; version 2 of the License.
89
90       This documentation is distributed in the hope that it will be useful,
91       but WITHOUT ANY WARRANTY; without even the implied warranty of
92       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
93       General Public License for more details.
94
95       You should have received a copy of the GNU General Public License along
96       with the program; if not, write to the Free Software Foundation, Inc.,
97       51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see
98       http://www.gnu.org/licenses/.
99
100

SEE ALSO

102       For more information, please refer to the MySQL Reference Manual, which
103       may already be installed locally and which is also available online at
104       http://dev.mysql.com/doc/.
105

AUTHOR

107       Oracle Corporation (http://dev.mysql.com/).
108
109
110
111MySQL 8.0                         03/07/2021                  MYISAM_FTDUMP(1)
Impressum