|
> MYSQL这种没执行计划缓存的数据库实现
According to "A Practical Look at the MySQL Query Cache"
ftp://ftp.fu-berlin.de/unix/data ... ql-query-cache.html
"Code caches are used to primarily lessen the impact of "hard parse" activity ... Examples include Oracle's shared pool/library cache, and SQL Server's and Sybase's SQL/Procedure caches."
So MySQL is not one of these databases. But the article goes on to say
"the query cache stores the SELECT queries issued by clients to the MySQL database server. In this respect, it acts a lot like traditional database SQL caches, in that identically issued queries will be located and re-issued by the database engine without hard parse activity"
So I'm confused. Isn't MySQL query cache equivalent to Oracle's library cache? (The article also says, not quoted here, the query cache also stores query result, which I think can be compared to Oracle's result cache. But that's not my interest for now.) |
|