dbTalk Databases Forums  

have_query_cache and query_cache_type

mailing.database.mysql-internals mailing.database.mysql-internals


Discuss have_query_cache and query_cache_type in the mailing.database.mysql-internals forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Revathi Rangachari
 
Posts: n/a

Default have_query_cache and query_cache_type - 03-06-2012 , 05:32 PM






Hi

(1) Under what circumstances the have_query_cache can become 'NO'.

(2) Is it possible to set it as 'YES'. When I tried to do that I get error message as - ERROR HY000: Variable 'have_query_cache' is a read only variable

(3) If have_query_cache is 'NO' and if I enable query_cache_type and set query_cache_size TO 128MB, will the queries be read from the query cache?

Thanks
Revathi R



--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals

Reply With Quote
  #2  
Old   
Yves Trudeau
 
Posts: n/a

Default Re: have_query_cache and query_cache_type - 03-06-2012 , 08:38 PM






Hi,
this is a compile option, the variable have_query_cache
is there to illustrate if the current binary has been compiled with the
query cache or not.

Regards,

Yves

On 12-03-06 06:32 PM, Revathi Rangachari wrote:
Quote:
Hi

(1) Under what circumstances the have_query_cache can become 'NO'.

(2) Is it possible to set it as 'YES'. When I tried to do that I get error message as - ERROR HY000: Variable 'have_query_cache' is a read only variable

(3) If have_query_cache is 'NO' and if I enable query_cache_type and set query_cache_size TO 128MB, will the queries be read from the query cache?

Thanks
Revathi R



--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.