Oracle 5.0 Reference Manual page 1227

Table of Contents

Advertisement

that executes many instances of the statements that cause caching, there will be an increase in
memory use. This cached memory can be freed with
QUERY CACHE
Defragment the query cache to better utilize its memory.
any queries from the cache, unlike
SLAVE
Resets all replication slave parameters, including relay log files and replication position in the
master's binary logs.
is still accepted in MySQL 5.0 for backward compatibility, but is removed in MySQL 5.6. See
Section 13.4.2.5,
STATUS
This option adds the current thread's session status variable values to the global values and resets
the session values to zero. Some global variables may be reset to zero as well. It also resets the
counters for key caches (default and named) to zero and sets
the current number of open connections. This is something you should use only when debugging a
query. See
TABLES
FLUSH TABLES
syntax is discussed later in this section.
USER_RESOURCES
Resets all per-hour user resources to zero. This enables clients that have reached their hourly
connection, query, or update limits to resume activity immediately.
not apply to the limit on maximum simultaneous connections. See
Resource
The
mysqladmin
such as flush-hosts, flush-logs, flush-privileges, flush-status, and flush-tables.
See
Section 4.5.2,
Syntax
FLUSH TABLES
FLUSH TABLES
TABLES, except that
FLUSH TABLES
Closes all open tables, forces all tables in use to be closed, and flushes the query cache.
also removes all query results from the query cache, like the
TABLES
statement.
FLUSH TABLES tbl_name [, tbl_name] ...
With a list of one or more comma-separated table names, this statement is like
no names except that the server flushes only the named tables. No error occurs if a named table
does not exist.
Other Administrative Statements
FLUSH SLAVE
"RESET SLAVE
Section 1.7, "How to Report Bugs or
flushes tables, and, depending on the variant used, acquires locks. The permitted
Limits".
utility provides a command-line interface to some flush operations, using commands
"mysqladmin
— Client for Administering a MySQL
Note
It is not possible to issue
However, you may use
called from stored functions or triggers. See
Programs".
has several forms, described following.
does not work with the
TABLE
FLUSH
or
FLUSH TABLES
RESET QUERY
is deprecated in favor of
Syntax".
Problems".
statements within stored functions or triggers.
FLUSH
in stored procedures, so long as these are not
FLUSH
FLUSH TABLE
WITH READ LOCK
1207
PRIVILEGES.
FLUSH QUERY CACHE
CACHE.
RESET
SLAVE.
FLUSH SLAVE
Max_used_connections
FLUSH USER_RESOURCES
Section 6.3.4, "Setting Account
Server".
Section E.1, "Restrictions on Stored
is a synonym for
variant.
RESET QUERY CACHE
does not remove
[529]
to
does
FLUSH
FLUSH
with
FLUSH TABLES

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents