{"id":47256,"date":"2024-05-13T14:43:41","date_gmt":"2024-05-13T14:43:41","guid":{"rendered":"https:\/\/www.oracletutoring.ca\/blog\/?p=47256"},"modified":"2024-05-13T14:43:42","modified_gmt":"2024-05-13T14:43:42","slug":"databases-object-caching","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/databases-object-caching\/","title":{"rendered":"Databases: object caching"},"content":{"rendered":"\n<h2>Self-tutoring about computer systems: the tutor looks into what an object cache does.<\/h2>\n<p>\nAs I understand it, object caching is the storage of the answers to questions received by a database. The questions are called queries.<\/p>\n<p>\nA given query of a database will likely involve a large number of operations (value comparisons, etc). Moreover, the reply could include a list of dozens, or many more, records. Performing the comparisons, then editing the list of positives, creates demand on the server.<\/p>\n<p>\nPut simply, an object cache is a folder of such replies. Typically it will accumulate the common queries quickly. Then, when the database receives a query, it checks the object cache folder to see if that query has been answered before. If so, the object cache folder will also contain the reply, a copy of which the server can just send along without thinking more about it. Therefore, using an object cache can significantly reduce server demand.<\/p>\n<p>\nAs the database contents change, the replies in the object cache can become outdated; therefore, the object cache should be refreshed every so often.<\/p>\n<p>Source:<\/p>\n<p><a href=\"https:\/\/wpastra.com\/guides-and-tutorials\/wordpress-object-caching\/\">wpastra.com<\/a><\/p>\nJack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.\n","protected":false},"excerpt":{"rendered":"<p>Self-tutoring about computer systems: the tutor looks into what an object cache does. As I understand it, object caching is the storage of the answers to questions received by a database. The questions are called queries. A given query of &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/databases-object-caching\/\"> <span class=\"screen-reader-text\">Databases: object caching<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3146],"tags":[3149,3148],"class_list":["post-47256","post","type-post","status-publish","format-standard","hentry","category-databases","tag-what-does-an-object-cache-do","tag-what-is-an-object-cache"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/47256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=47256"}],"version-history":[{"count":6,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/47256\/revisions"}],"predecessor-version":[{"id":47262,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/47256\/revisions\/47262"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=47256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=47256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=47256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}