{"id":200,"date":"2008-09-11T00:33:00","date_gmt":"2008-09-11T00:33:00","guid":{"rendered":"http:\/\/blog.trungson.com\/?p=200"},"modified":"2008-09-11T00:33:00","modified_gmt":"2008-09-11T00:33:00","slug":"qcache_not_cached-should-be-small","status":"publish","type":"post","link":"http:\/\/blog.trungson.com\/?p=200","title":{"rendered":"Qcache_not_cached should be small"},"content":{"rendered":"<p>If not, you&#8217;re wasting overhead on checking and invalidating the query cache, for a large\/busy query cache, it gets more expensive. Thus, the lesson is to know which query should not be cached and explicitly use &#8220;SELECT SQL_NO_CACHE &#8230;&#8221; in your SQL statement. It means tables with many UPDATES\/INSERTS should not use query caching.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If not, you&#8217;re wasting overhead on checking and invalidating the query cache, for a large\/busy query cache, it gets more expensive. Thus, the lesson is to know which query should not be cached and explicitly use &#8220;SELECT SQL_NO_CACHE &#8230;&#8221; in your SQL statement. It means tables with many UPDATES\/INSERTS should not use query caching.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts\/200"}],"collection":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=200"}],"version-history":[{"count":0,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=\/wp\/v2\/posts\/200\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=200"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.trungson.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}