What?s the difference between query_cache_type 1 and 2?



What?s the difference between query_cache_type 1 and 2?..

Answer / 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

More MySQL Interview Questions

What is logs in mysql?

0 Answers  


How to write query to select word java's from column employees and from emp table

1 Answers   CGI,


What is the purpose of using a heap table?

0 Answers  


Please suggest me any course and institute which provide training on the below skills. • Knowledge of data extraction concepts and tools • QMF (query management facility)queries • Experience and expertise in QMF queries • Excellent ability to write, read, and interpret QMF queries against the Source Data Warehouse base level (daily and monthly) and month-end affinity comp tables • RDBMS & ER • Knowledge of Relational Databases (RDBMS) and Entity Relationship (ER) Diagrams • SOURCE Data Warehouse • Experience and expertise in Source Data Warehouse or data warehouses on the mainframe. • MS SQL Server • Experience in MS SQL Server • Excellent skill in writing/interpreting SQL queries and running Data Transformation Services (DTS) or open query packages. • Knowledge of writing/interpreting Visual Basic code.

1 Answers  


What is index length in mysql?

0 Answers  






How do I insert multiple rows in a table?

0 Answers  


What is 'mysqldump'?

0 Answers  


How we can get the current date in mysql?

0 Answers  


What is foreign key in mysql?

0 Answers  


Where is mysql installed on linux?

0 Answers  


What is blob storage?

0 Answers  


How to list or view all databases from the mysql server.

0 Answers  


Categories