![](https://secure.gravatar.com/avatar/39b623a1559cf9c69ac3d9d4fb44e7fe.jpg?s=120&d=mm&r=g)
23 Dec
2023
23 Dec
'23
5:21 p.m.
Hi, hellomaria-letmetrythisfirst---, On Dec 23, hellomaria-letmetrythisfirst--- via discuss wrote:
Awesome, thanks!
And how about this statement: "The QC, unless it is OFF & 0, is consulted for _every_ SELECT"
When "query_cache_type=DEMAND", I would expect that the mutex is only accessed for queries that are tagged with "SQL_CACHE"?
Query cache is consulted before the query is parsed. That is, before it knows if there is SQL_CACHE in your SELECT or not. Regards, Sergei Chief Architect, MariaDB Server and security@mariadb.org