Manage Query Cache

You can check whether the query cache is present in your MySQL server using the following statement:

mysql> SHOW VARIABLES LIKE 'have_query_cache';

You can defragment the query cache to better utilize its memory with
FLUSH QUERY CACHE

RESET QUERY CACHE
statement removes all query results from the query cache.

To monitor query cache performance, use
SHOW STATUS
to view the cache status variables:

mysql> SHOW STATUS LIKE 'Qcache%';

  • Email, SSL
  • 0 A felhasználók hasznosnak találták ezt
Hasznosnak találta ezt a választ?

Related Articles

Execute a SQL script (.sql file) on MsSql Server database

To execute a .sql file, you need to open the “Query Analyzer” Start -> Programs ->...

Restore a database on SQL Server using .mdf, .ldf and .ndf files?

You need to attach the database rather than perform a restore. Using Enterprise Manager: Expand...

Create PostgreSQL user account

It is advisable to run PostgreSQL under a separate user account. This user account should only...

How does memory overcommit affect PostgreSQL?

In Linux 2.4 and later, the default virtual memory behavior is not optimal for PostgreSQL....

ColdFusion DSN parameters are not updated

SYMPTOMS New CF DSN records are created.  Even the set of parameters is tried to be updated...