<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=windows-1257" http-equiv=Content-Type> <META name=GENERATOR content="MSHTML 8.00.6001.18702"> <STYLE></STYLE> </HEAD> <BODY> <DIV><FONT size=2 face=Arial>nelabai suskaitau tavo mintis zinok - tipo sesijos qcache settingsai ir globalus settingsai skiriasi ir as turiu pasirases kazkoki scripta kurio pagalba padarau "SET SESSION query_cache_type = OFF" o po to stebiuiosi kodel man rodo query_cache_type=ON, nors realiai jis yra OFF???</FONT></DIV> <DIV><FONT size=2 face=Arial></FONT> </DIV> <DIV><FONT size=2 face="Courier New">mysql> show session status like '%qcache%';<BR>+-------------------------+----------+<BR>| Variable_name | Value |<BR>+-------------------------+----------+<BR>| Qcache_free_blocks | 1 |<BR>| Qcache_free_memory | 16768384 |<BR>| Qcache_hits | 0 |<BR>| Qcache_inserts | 0 |<BR>| Qcache_lowmem_prunes | 0 |<BR>| Qcache_not_cached | 49 |<BR>| Qcache_queries_in_cache | 0 |<BR>| Qcache_total_blocks | 1 |<BR>+-------------------------+----------+<BR>8 rows in set (0.00 sec)</FONT></DIV> <DIV><FONT size=2 face="Courier New"></FONT> </DIV> <DIV><FONT size=2 face="Courier New">mysql> show global status like '%qcache%';<BR>+-------------------------+----------+<BR>| Variable_name | Value |<BR>+-------------------------+----------+<BR>| Qcache_free_blocks | 1 |<BR>| Qcache_free_memory | 16768384 |<BR>| Qcache_hits | 0 |<BR>| Qcache_inserts | 0 |<BR>| Qcache_lowmem_prunes | 0 |<BR>| Qcache_not_cached | 49 |<BR>| Qcache_queries_in_cache | 0 |<BR>| Qcache_total_blocks | 1 |<BR>+-------------------------+----------+<BR>8 rows in set (0.00 sec)</FONT></DIV> <DIV><FONT size=2 face="Courier New"><BR>mysql> show global variables like 'query_cache%';<BR>+------------------------------+----------+<BR>| Variable_name | Value |<BR>+------------------------------+----------+<BR>| query_cache_limit | 1048576 |<BR>| query_cache_min_res_unit | 4096 |<BR>| query_cache_size | 16777216 |<BR>| query_cache_type | ON |<BR>| query_cache_wlock_invalidate | OFF |<BR>+------------------------------+----------+<BR>5 rows in set (0.00 sec)</FONT></DIV> <DIV><FONT size=2 face="Courier New"></FONT> </DIV> <DIV><FONT size=2 face="Courier New">mysql> show session variables like 'query_cache%';<BR>+------------------------------+----------+<BR>| Variable_name | Value |<BR>+------------------------------+----------+<BR>| query_cache_limit | 1048576 |<BR>| query_cache_min_res_unit | 4096 |<BR>| query_cache_size | 16777216 |<BR>| query_cache_type | ON |<BR>| query_cache_wlock_invalidate | OFF |<BR>+------------------------------+----------+<BR>5 rows in set (0.00 sec)</FONT></DIV> <DIV><FONT size=2 face=Arial></FONT> </DIV> <DIV><FONT size=2 face=Arial></FONT> </DIV> <DIV><FONT size=2 face=Arial>"Laimis" <</FONT><A href="mailto:wiela@centras.lt"><FONT size=2 face=Arial>wiela@centras.lt</FONT></A><FONT size=2 face=Arial>> wrote in message </FONT><A href="news:gspk8f$ojo$1@trimpas.omnitel.net"><FONT size=2 face=Arial>news:gspk8f$ojo$1@trimpas.omnitel.net</FONT></A><FONT size=2 face=Arial>...</FONT></DIV><FONT size=2 face=Arial>> johnrembo ra:<BR>>> na taip, pavyzdys mano nevykes (It refers to tables in the mysql or <BR>>> INFORMATION_SCHEMA system database. ), bet tai nekeicia reikalo esmes:<BR>> <BR>> Na ir dar syk:<BR>> </FONT><A href="http://dev.mysql.com/doc/refman/5.1/en/query-cache-configuration.html"><FONT size=2 face=Arial>http://dev.mysql.com/doc/refman/5.1/en/query-cache-configuration.html</FONT></A><BR><FONT size=2 face=Arial>> <BR>> Setting the GLOBAL query_cache_type value determines query cache <BR>> behavior for all clients that connect...<BR>> <BR>> ?</FONT></BODY></HTML>