What?s the difference between query_cache_type 1 and 2?

Answer Posted / amith

The second one is on-demand and can be retrieved via SELECT
SQL_CACHE.

you can use SELECT /* SQL_CACHE */ id FROM ? - MySQL will
interpret the code inside comments, while other servers
will ignore it.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is information_schema in mysql?

474


What is mysql community edition?

516


How can I insert images into a Mysql database?

563


Is mysql a distributed database?

470


What is blob in mysql?

499






How does mysql encrypt passwords?

487


What is inner join in mysql?

470


What is row level locking?

500


How large can a mysql table be?

460


How to show certain selected rows with the value "pcds".

508


How to change the database engine in mysql?

455


How do you shutdown a mysql database?

504


What is myisamchk?

516


What is insert query in mysql?

475


What is the difference between mysql_fetch_assoc and mysql_fetch_array?

453