Server Status Variables
529
The number of rows inserted into
InnoDB
tables. Added in MySQL 5.0.2.
•
Innodb_rows_read
[529]
The number of rows read from
InnoDB
tables. Added in MySQL 5.0.2.
•
Innodb_rows_updated
[529]
The number of rows updated in
InnoDB
tables. Added in MySQL 5.0.2.
•
Key_blocks_not_flushed
[529]
The number of key blocks in the key cache that have changed but have not yet been flushed to disk.
•
Key_blocks_unused
[529]
The number of unused blocks in the key cache. You can use this value to determine how much of
the key cache is in use; see the discussion of
key_buffer_size
[458]
in
Section 5.1.4, “Server
System Variables”
.
•
Key_blocks_used
[529]
The number of used blocks in the key cache. This value is a high-water mark that indicates the
maximum number of blocks that have ever been in use at one time.
•
Key_read_requests
[529]
The number of requests to read a key block from the cache.
•
Key_reads
[529]
The number of physical reads of a key block from disk. If
Key_reads
[529]
is large, then your
key_buffer_size
[458]
value is probably too small. The cache miss rate can be calculated as
Key_reads
[529]
/
Key_read_requests
[529]
.
•
Key_write_requests
[529]
The number of requests to write a key block to the cache.
•
Key_writes
[529]
The number of physical writes of a key block to disk.
•
Last_query_cost
[529]
The total cost of the last compiled query as computed by the query optimizer. This is useful for
comparing the cost of different query plans for the same query. The default value of 0 means
that no query has been compiled yet. This variable was added in MySQL 5.0.1, with a default
value of -1. In MySQL 5.0.7, the default was changed to 0; also in version 5.0.7, the scope of
Last_query_cost
[529]
was changed to session rather than global.
The
Last_query_cost
[529]
value can be computed accurately only for simple “flat” queries, not
complex queries such as those with subqueries or
UNION
. For the latter, the value is set to 0.
Prior to MySQL 5.0.16, this variable was not updated for queries served from the query cache.
•
Max_used_connections
[529]
The maximum number of connections that have been in use simultaneously since the server started.
•
Not_flushed_delayed_rows
[529]
The number of rows waiting to be written in
INSERT DELAYED
queues.
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...