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

SEE ALSO

109       For more information, please refer to the MariaDB Knowledge Base,
110       available online at https://mariadb.com/kb/
111

AUTHOR

113       MariaDB Foundation (http://www.mariadb.org/).
114
115
116
117MariaDB 10.3                      9 May 2017                  MYISAM_FTDUMP(1)
Impressum