Friday, December 19, 2008
MySQL SQL_CACHE
Keywords: MySQL, SQL_CACHE, MySQL SQL_CACHE, MySQL Query Caching, Query CacheMySQL allows its users to cache the query results if required.
The same shall be passed on through the MySQL Select statement. There are two keywords, MySQL supports while caching. They are:
SQL_CACHESQL_NO_CACHE
These keywords shall be specified in the MySQL select statements as follows:
select SQL_CACHE * from table_name;select SQL_NO_CACHE * from table_name;
SQL_CACHE
The result of the passed MySQL query will be cached and used in future even if SQL CACHE is not enabled in my.ini file
SQL_NO_CACHE
The result of the MySQL query will not cached even if SQL CACHE is enabled in my.ini file
Basically MySQL has given us SQL_CACHE to make the caching in run time (dynamic)
For more information on mysql cache, pls visit
Keywords: MySQL, SQL_CACHE, MySQL SQL_CACHE, MySQL Query Caching, Query Cache
Featured Blog Topics:
- MySQL SQL_CACHE - http://kathyravan.blogspot.com/2008/12/mysql-sqlcache.html
- MySQL Query Caching - http://kathyravan.blogspot.com/2008/12/mysql-query-cache.html
- MySQL Show - http://kathyravan.blogspot.com/2008/12/mysql-show-statements.html
- CSV - MySQL Storage Engine - http://kathyravan.blogspot.com/2008/12/csv-mysql-storage-engine.html
- Blackhole - MySQL Storage Engine - http://kathyravan.blogspot.com/2008/12/blackhole-mysql-storage-engine.html
- Memory - MySQL Storage Engine (Formerly Heap Storage Engine) - http://kathyravan.blogspot.com/2008/12/memory-mysql-storage-engine-formerly.html
- Xml in MySQL - http://kathyravan.blogspot.com/2008/03/xml-in-mysql.html
- Forgot mySQL root Password? - http://kathyravan.blogspot.com/2008/02/forgot-mysql-root-password.html
- Samba - Installation & Configuration - http://kathyravan.blogspot.com/2008/02/samba-installation-configuration.html
- Enabling HTTP Authentication in Apache - http://kathyravan.blogspot.com/2008/08/enabling-http-authentication-in-apache.html
- PHP Function: isFTPFileExists (Searching a FILE in FTP) - http://kathyravan.blogspot.com/2008/12/php-function-isftpfileexists-searching.html
- Shell Scripting & Linux - http://kathyravan.blogspot.com/search/label/Shell%20Scripts
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment