2
3
4
6 myisam_ftdump - display full-text index information
7
9 myisam_ftdump [options] tbl_name index_num
10
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
15
16 Invoke myisam_ftdump like this:
17
18 shell> myisam_ftdump [options] tbl_name index_num
19
20 The tbl_name argument should be the name of a MyISAM table. You can
21 also specify a table by naming its index file (the file with the .MYI
22 suffix). If you do not invoke myisam_ftdump in the directory where the
23 table files are located, the table or index file name must be preceded
24 by the pathname to the table's database directory. Index numbers begin
25 with 0.
26
27 Example: Suppose that the test database contains a table named
28 mytexttablel that has the following definition:
29
30 CREATE TABLE mytexttable
31 (
32 id INT NOT NULL,
33 txt TEXT NOT NULL,
34 PRIMARY KEY (id),
35 FULLTEXT (txt)
36 );
37
38 The index on id is index 0 and the FULLTEXT index on txt is index 1. If
39 your working directory is the test database directory, invoke
40 myisam_ftdump as follows:
41
42 shell> myisam_ftdump mytexttable 1
43
44 If the pathname to the test database directory is
45 /usr/local/mysql/data/test, you can also specify the table name
46 argument using that pathname. This is useful if you do not invoke
47 myisam_ftdump in the database directory:
48
49 shell> myisam_ftdump /usr/local/mysql/data/test/mytexttable 1
50
51 myisam_ftdump understands the following options:
52
53 · --help, -h -?
54
55 Display a help message and exit.
56
57 · --count, -c
58
59 Calculate per-word statistics (counts and global weights).
60
61 · --dump, -d
62
63 Dump the index, including data offsets and word weights.
64
65 · --length, -l
66
67 Report the length distribution.
68
69 · --stats, -s
70
71 Report global index statistics. This is the default operation if no
72 other operation is specified.
73
74 · --verbose, -v
75
76 Verbose mode. Print more output about what the program does.
77
79 Copyright 1997-2007 MySQL AB
80
81 This documentation is NOT distributed under a GPL license. Use of this
82 documentation is subject to the following terms: You may create a
83 printed copy of this documentation solely for your own personal use.
84 Conversion to other formats is allowed as long as the actual content is
85 not altered or edited in any way. You shall not publish or distribute
86 this documentation in any form or on any media, except if you
87 distribute the documentation in a manner similar to how MySQL
88 disseminates it (that is, electronically for download on a Web site
89 with the software) or on a CD-ROM or similar medium, provided however
90 that the documentation is disseminated together with the software on
91 the same medium. Any other use, such as any dissemination of printed
92 copies or use of this documentation, in whole or in part, in another
93 publication, requires the prior written consent from an authorized
94 representative of MySQL AB. MySQL AB reserves any and all rights to
95 this documentation not expressly granted above.
96
97 Please email <docs@mysql.com> for more information.
98
100 For more information, please refer to the MySQL Reference Manual, which
101 may already be installed locally and which is also available online at
102 http://dev.mysql.com/doc/.
103
105 MySQL AB (http://www.mysql.com/). This software comes with no
106 warranty.
107
108
109
110MySQL 5.0 07/04/2007 MYISAM_FTDUMP(1)