Oracle 5.0 Reference Manual page 1229

Table of Contents

Advertisement

• If the thread is in the table lock handler (state: Locked), the table lock is quickly aborted.
• If the thread is waiting for free disk space in a write call, the write is aborted with a "disk full" error
message.
13.7.6.4.
LOAD INDEX INTO CACHE
LOAD INDEX INTO CACHE
tbl_index_list
tbl_index_list:
tbl_name
[[INDEX|KEY] (index_name[, index_name] ...)]
[IGNORE LEAVES]
The
LOAD INDEX INTO CACHE
been assigned by an explicit
INDEX INTO CACHE
The
IGNORE LEAVES
The following statement preloads nodes (index blocks) of indexes for the tables
mysql>
LOAD INDEX INTO CACHE t1, t2 IGNORE LEAVES;
+---------+--------------+----------+----------+
| Table
| Op
+---------+--------------+----------+----------+
| test.t1 | preload_keys | status
| test.t2 | preload_keys | status
+---------+--------------+----------+----------+
This statement preloads all index blocks from t1. It preloads only blocks for the nonleaf nodes from t2.
The syntax of
table should be preloaded. The current implementation preloads all the table's indexes into the cache,
so there is no reason to specify anything other than the table name.
LOAD INDEX INTO CACHE ... IGNORE LEAVES
block size. (Prior to MySQL 5.0.87, it fails even without
block sizes for a table by using
13.7.6.5.
Syntax
RESET
RESET
reset_option
The
statement is used to clear the state of various server operations. You must have the
RESET
[577]
RELOAD
acts as a stronger version of the
RESET
The
statement causes an implicit commit. See
RESET
Implicit
Commit".
reset_option
MASTER
Deletes all binary logs listed in the index file, resets the binary log index file to be empty, and creates
a new binary log file.
Other Administrative Statements
Warning
Killing a
REPAIR TABLE
results in a table that is corrupted and unusable. Any reads or writes to such a
table fail until you optimize or repair it again (without interruption).
Syntax
[, tbl_index_list] ...
statement preloads a table index into the key cache to which it has
CACHE INDEX
is used only for
modifier causes only blocks for the nonleaf nodes of the index to be preloaded.
| Msg_type | Msg_text |
LOAD INDEX INTO CACHE
myisamchk -dv
[, reset_option] ...
privilege to execute RESET.
can be any of the following:
or
OPTIMIZE TABLE
statement, or into the default key cache otherwise.
tables.
MyISAM
| OK
|
| OK
|
enables you to specify that only particular indexes from a
fails unless all indexes in a table have the same
IGNORE
and checking the
statement. See
FLUSH
Section 13.3.3, "Statements That Cause an
1209
operation on a
MyISAM
and t2:
t1
LEAVES.) You can determine index
column.
Blocksize
Section 13.7.6.2,
"FLUSH
table
LOAD
Syntax".

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents