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           shell> 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           shell> 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           shell> 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           shell> myisam_ftdump -c mytexttable 1 | sort -r
61
62       On Windows, use:
63
64           shell> myisam_ftdump -c mytexttable 1 | sort /R
65
66       myisam_ftdump supports the following options:
67
68       ·   --help, -h -?
69
70           Display a help message and exit.
71
72       ·   --count, -c
73
74           Calculate per-word statistics (counts and global weights).
75
76       ·   --dump, -d
77
78           Dump the index, including data offsets and word weights.
79
80       ·   --length, -l
81
82           Report the length distribution.
83
84       ·   --stats, -s
85
86           Report global index statistics. This is the default operation if no
87           other operation is specified.
88
89       ·   --verbose, -v
90
91           Verbose mode. Print more output about what the program does.
92
94       Copyright © 1997, 2019, Oracle and/or its affiliates. All rights
95       reserved.
96
97       This documentation is free software; you can redistribute it and/or
98       modify it only under the terms of the GNU General Public License as
99       published by the Free Software Foundation; version 2 of the License.
100
101       This documentation is distributed in the hope that it will be useful,
102       but WITHOUT ANY WARRANTY; without even the implied warranty of
103       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
104       General Public License for more details.
105
106       You should have received a copy of the GNU General Public License along
107       with the program; if not, write to the Free Software Foundation, Inc.,
108       51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see
109       http://www.gnu.org/licenses/.
110
111

SEE ALSO

113       For more information, please refer to the MySQL Reference Manual, which
114       may already be installed locally and which is also available online at
115       http://dev.mysql.com/doc/.
116

AUTHOR

118       Oracle Corporation (http://dev.mysql.com/).
119
120
121
122MySQL 8.0                         02/20/2019                  MYISAM_FTDUMP(1)
Impressum