CREATE TABLE mytexttable
(
id
INT NOT NULL,
txt
TEXT NOT NULL,
PRIMARY KEY (id),
FULLTEXT (txt)
) ENGINE=MyISAM;
The index on
database directory, invoke
test
shell>
myisam_ftdump mytexttable 1
If the path name to the
also specify the table name argument using that path name. This is useful if you do not invoke
myisam_ftdump
shell>
myisam_ftdump /usr/local/mysql/data/test/mytexttable 1
You can use
like this:
shell>
myisam_ftdump -c mytexttable 1 | sort -r
myisam_ftdump
•
--help
Display a help message and exit.
•
--count
Calculate per-word statistics (counts and global weights).
•
--dump
Dump the index, including data offsets and word weights.
•
--length
Report the length distribution.
•
--stats
Report global index statistics. This is the default operation if no other operation is specified.
•
--verbose
Verbose mode. Print more output about what the program does.
4.6.3.
myisamchk
The
myisamchk
them.
myisamchk
and indexes).
You can also use the
tables. See
Section 13.7.2.3,
Invoke
myisamchk
— MyISAM Table-Maintenance Utility
myisamchk
is index 0 and the
id
myisam_ftdump
database directory is /usr/local/mysql/data/test, you can
test
in the database directory:
to generate a list of index entries in order of frequency of occurrence
myisam_ftdump
supports the following options:
[317],
-h -?
[317],
-c
[317],
-d
[317],
-l
[317],
-s
[317],
-v
— MyISAM Table-Maintenance Utility
utility gets information about your database tables or checks, repairs, or optimizes
works with
MyISAM
CHECK TABLE
"CHECK TABLE
Caution
It is best to make a backup of a table before performing a table repair operation;
under some circumstances the operation might cause data loss. Possible
causes include but are not limited to file system errors.
like this:
index on
FULLTEXT
txt
as follows:
tables (tables that have
and
REPAIR TABLE
Syntax", and
317
is index 1. If your working directory is the
and
files for storing data
.MYD
.MYI
statements to check and repair
Section 13.7.2.6,
"REPAIR TABLE
MyISAM
Syntax".
Need help?
Do you have a question about the 5.0 and is the answer not in the manual?