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 Kasutajad peavad seda kasulikuks
Kas see vastus oli kasulik?

Related Articles

Enable the full text indexing for a MSSQL database

Syntax sp_fulltext_database Initializes full-text indexing or removes all full-text catalogs...

Change the root password for a *nix server

In order to change the root password login to the server as root and type the following, then...

Create PostgreSQL user account

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

Manage Tablespaces

Tablespaces in PostgreSQL allow database administrators to define locations in the file system...

Manage Database Roles

Solution Database roles are conceptually completely separate from operating system users....