{"id":38759,"date":"2025-05-21T10:34:57","date_gmt":"2025-05-21T02:34:57","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/38759.html"},"modified":"2025-05-21T10:34:57","modified_gmt":"2025-05-21T02:34:57","slug":"oracle%e4%b8%ad%e5%a6%82%e4%bd%95%e8%a7%a3%e5%86%b3latchcache-buffers-lru-chain","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/38759.html","title":{"rendered":"Oracle\u4e2d\u5982\u4f55\u89e3\u51b3LATCH:CACHE BUFFERS LRU CHAIN"},"content":{"rendered":"<p>\u7b80\u5355\u6765\u8bb2&#xff0c;Oracle\u4e3a\u4e86\u9ad8\u6548\u7ba1\u7406BUFFER CACHE\u4e3b\u8981\u4f7f\u7528\u4ee5\u4e0b2\u79cdLRU\u5217&#xff1a; \uf071LRU\u5217&#xff0c;\u53c8\u53eb\u66ff\u6362\u5217&#xff08;replacement list&#xff09;&#xff0c;\u5176\u4e2d\u53c8\u5206\u4e3a\u4e3b\u5217\u548c\u8f85\u52a9\u5217\u3002 \u4e3b\u5217&#xff1a;\u5df2\u4f7f\u7528\u7684\u7f13\u51b2\u533a\u5217&#xff0c;\u5206\u4e3aHOT\u548cCOLD\u533a\u57df\u3002HOT\u533a\u57df\u4e2d\u5b58\u653e\u7740\u4f7f\u7528\u9891\u7387\u9ad8\u7684\u6570\u636e\u5757&#xff0c;COLD\u533a\u57df\u5b58\u653e\u4f7f\u7528\u9891\u7387\u8f83\u4f4e\u7684\u6570\u636e\u5757\u3002Oracle\u7528TCH\u8868\u793a\u8be5\u533a\u57df\u5185\u6570\u636e\u5757\u7684\u4f7f\u7528\u9891\u7e41\u7a0b\u5ea6\u3002 \u8f85\u52a9\u5217&#xff1a;\u7a7a\u95f2\u7f13\u51b2\u533a\u5217\u3002\u6570\u636e\u5e93\u91cd\u542f\u4e4b\u540e&#xff0c;\u6240\u6709\u7684\u7f13\u51b2\u533a\u5934\u5f00\u59cb\u65f6\u90fd\u662f\u5728\u8f85\u52a9\u5217\u4e2d\u7ba1\u7406\u7684\u3002\u6216\u8005\u5728LRU-W\u4e0a\u7684\u810f\u6570\u636e\u5199\u8fdb\u5236\u6570\u636e\u6587\u4ef6\u4e4b\u540e&#xff0c;Oracle\u4f1a\u5c06\u76f8\u5173\u7684\u7f13\u51b2\u533a\u5934\u76f4\u63a5\u6302\u8f7d\u81f3\u8f85\u52a9\u5217\u4e0a\u3002\u8f85\u52a9\u5217\u4e0a\u7684\u7f13\u51b2\u533a\u5934\u8868\u793a\u53ef\u4ee5\u76f4\u63a5\u88ab\u5176\u4ed6\u6570\u636e\u5757\u4f7f\u7528\u3002 \uf071LRU-W\u5217&#xff0c;\u53c8\u53eb\u5199\u5165\u5217&#xff08;LRU-Write list&#xff09;&#xff0c;\u810f\u6570\u636e\u5217\u3002\u810f\u7f13\u51b2\u533a\u5934\u7531DBWR\u8fdb\u7a0b\u4eceLRU\u5217\u79fb\u52a8\u81f3LRU-W\u5217\u4e2d&#xff08;\u6709\u65f6DBWR\u8fdb\u7a0b\u56e0\u4e3a\u592a\u5fd9\u800c\u4e0d\u80fd\u6267\u884c\u8fd9\u79cd\u79fb\u52a8&#xff09;\u3002\u5bfb\u627e\u7a7a\u95f2\u7f13\u51b2\u533a\u7684\u670d\u52a1\u5668\u8fdb\u7a0b\u5728LRU\u5217\u8868\u4e0a\u626b\u63cf\u65f6&#xff0c;\u5982\u679c\u9047\u5230\u4e86\u810f\u7f13\u51b2\u533a\u5934&#xff0c;\u5c31\u5c06\u810f\u7f13\u51b2\u5934\u4eceLRU\u5217\u8868\u4e2d\u79fb\u52a8\u81f3LRU-W\u5217\u8868\u4e2d\u3002LRU-W\u5217\u4e2d\u53c8\u5206\u4e3a\u4e3b\u5217\u548c\u8f85\u52a9\u5217\u3002 \u4e3b\u5217&#xff1a;\u5df2\u4fee\u6539\u7684\u7f13\u51b2\u533a\u5217\u3002 \u8f85\u52a9\u5217&#xff1a;\u5f53\u524d\u6b63\u901a\u8fc7DBWR\u8fdb\u7a0b\u5199\u5165\u7684\u7f13\u51b2\u533a\u5217\u3002 \u63d0\u793a \u9664\u4e86LRU\u5217\u548cLRUW\u5217&#xff0c;\u8fd8\u6709LRU-XO\u5217\u3001LRU-XR\u5217\u3001LRU-P\u5217\u3002\u5728\u6027\u80fd\u4f18\u5316\u65f6&#xff0c;\u6700\u5bb9\u6613\u5f15\u8d77\u6027\u80fd\u95ee\u9898\u7684\u662fLRU\u5217\u548cLRU-W\u5217&#xff0c;\u6240\u4ee5\u4e00\u822c\u60c5\u51b5\u4e0b\u5e76\u4e0d\u9700\u8981\u5173\u5fc3LRU-XO\u5217\u3001LRU-XR\u5217\u3001LRU-P\u5217&#xff0c;\u6240\u4ee5\u672c\u7ae0\u4e5f\u4e0d\u6253\u7b97\u6df1\u5165\u8bb2\u89e3\u8fd93\u5217\u3002 LRU\u5217\u548cLRW-W\u5217\u603b\u662f\u6210\u5bf9&#xff08;pair&#xff09;\u7684\u51fa\u73b0&#xff0c;\u79f0\u4e4b\u4e3aWORKING SET\u3002\u4e3a\u4e86\u63d0\u9ad8\u6027\u80fd&#xff0c;Oracle\u4f7f\u7528\u591a\u4e2aWORKING SET&#xff0c;\u7531CACHE BUFFERS LRU CHAIN LATCH\u4fdd\u62a4\u3002\u57fa\u4e8e\u6027\u80fd\u4e0a\u7684\u8003\u8651&#xff0c;\u670d\u52a1\u5668\u8fdb\u7a0b\u5728\u68c0\u7d22\u7a7a\u95f2\u7f13\u51b2\u533a\u65f6&#xff0c;\u9996\u5148\u4f1a\u68c0\u7d22LRU\u5217\u7684\u8f85\u52a9\u5217&#xff0c;\u5f53\u8f85\u52a9\u5217\u6ca1\u6709\u5269\u4f59\u7f13\u51b2\u533a\u65f6&#xff0c;\u624d\u4f1a\u68c0\u7d22LRU\u4e3b\u5217\u4e2d\u7684COLD\u533a\u57df\u3002 \u53e6\u5916\u9700\u8981\u6307\u51fa\u7684\u662fLRU\u5217\u4e2dHOT\u548cCOLD\u533a\u57df\u53ea\u662f\u9488\u5bf9nK BUFFER POOL\u7684&#xff0c;KEEP POOL\u548cRECYCLE POOL\u4e2d\u6ca1\u6709HOT\u548cCOLD\u533a\u57df\u4e4b\u5206\u3002KEEP POOL\u6bd4\u8f83\u9002\u5408\u5b58\u653e\u4f7f\u7528\u9891\u7e41\u8bfb\u53d6\u7684\u5c0f\u8868&#xff0c;RECYCLE POOL\u6bd4\u8f83\u9002\u5408\u5b58\u653e\u4f7f\u7528\u9891\u7387\u8f83\u4f4e\u7684\u5927\u8868\u3002\u6570\u636e\u5757\u5728nK BUFFER POOL\u4e2d\u7684\u5b58\u653e\u4f4d\u7f6e\u53d7\u4ee5\u4e0b\u9690\u542b\u53c2\u6570\u7684\u5f71\u54cd&#xff1a; \uf071\u9690\u542b\u53c2\u6570_db_percent_hot_default&#xff0c;\u9ed8\u8ba4\u503c\u4e3a50\u3002\u8868\u793aSINGLE BLOCK I\/O&#xff08;\u5982\u552f\u4e00\u952e\u7d22\u5f15\u8bfb&#xff09;\u8bfb\u53d6\u7684\u6570\u636e\u5757\u8fdb\u5165BUFFER CACHE\u4e4b\u540e&#xff0c;\u4f1a\u5c06\u5176\u653e\u7f6e\u5728nK BUFFER POOL\u4e2dLRU\u5217\u7684\u4e2d\u95f4&#xff0c;\u5373\u201c\u70ed\u201d\u7aef\u7684\u5c3e\u90e8\u3002MULTI BLOCK I\/O&#xff08;\u5982\u5bf9\u5927\u8868\u8fdb\u884c\u5168\u8868\u626b\u63cf&#xff09;\u65f6&#xff0c;\u670d\u52a1\u5668\u8fdb\u7a0b\u4f1a\u5c06\u5927\u91cf\u7684\u6570\u636e\u5757\u8bfb\u81f3BUFFER CACHE\u4e2d&#xff0c;\u4e3a\u4e86\u51cf\u8f7b\u5bf9LRU\u5217\u8868\u4e2d\u6570\u636e\u5757&#xff08;\u70ed\u5757&#xff09;\u7684\u51b2\u51fb&#xff0c;Oracle\u4f1a\u5c06\u5927\u8868\u5168\u8868\u626b\u63cf\u7684\u6570\u636e\u5757\u5b58\u653e\u81f3LRU\u5217\u8868\u7684\u5c3e\u90e8&#xff0c;\u5b58\u653e\u5728LRU\u5217\u8868\u5c3e\u90e8\u7684\u6570\u636e\u5757\u53ef\u4ee5\u5c3d\u5feb\u5730\u88ab\u4ea4\u6362\u51faBUFFER CACHE\u3002 \uf071\u9690\u542b\u53c2\u6570_db_percent_hot_keep\u548c_db_percent_hot_recycle&#xff0c;\u9ed8\u8ba4\u503c\u4e3a0\u3002\u8868\u793a\u6570\u636e\u5757\u8fdb\u5165\u5230KEEP POOL\u548cRECYCLE POOL\u65f6\u653e\u5728LRU\u5217\u7684\u5c3e\u7aef\u3002 \u524d\u9762\u63d0\u5230&#xff0c;Oracle\u4e3a\u4e86\u63d0\u9ad8\u6027\u80fd\u4f1a\u4f7f\u7528\u591a\u4e2aWORKING SET&#xff0c;\u5e76\u7531CACHE BUFFERS LRU CHAIN LATCH\u4fdd\u62a4\u3002\u6bcf\u4e00\u4e2aCACHE BUFFERS LRU CHAIN LATCH\u5bf9\u5e94\u4e00\u4e2aWORKING SET&#xff0c;\u63a5\u4e0b\u6765\u5c06\u76f8\u5bf9\u6df1\u5165\u5730\u63a2\u8ba8\u4e00\u4e0bCACHE BUFFERS LRU CHAIN LATCH\u3002 \u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u65b9\u6cd5\u83b7\u53d6\u5f53\u524d\u7cfb\u7edf\u4e2dCACHE BUFFERS LRU CHAIN LATCH\u7684\u6570\u91cf&#xff1a; \uf071\u67e5\u8be2\u9690\u542b\u53c2\u6570_db_block_lru_latches\u3002 \uf071\u901a\u8fc7\u67e5\u8be2V$LATCH_CHILDREN\u83b7\u5f97\u3002\u5982\u4e0b\u6240\u793a&#xff1a;<\/p>\n<p>SQL&gt; select count(*) from v$latch_children<br \/>\n  2  where name&#061;&#039;cache buffers lru chain&#039;;<\/p>\n<p>Oracle\u9ed8\u8ba4\u521b\u5efa\u7684CACHE BUFFERS LRU CHAIN LATCH\u7684\u6570\u91cf\u8ddfCPU\u7684\u4e2a\u6570\u548cDB_WRITER_PROCESSES\u53c2\u6570\u6709\u5173\u3002\u82e5DBWR\u6570\u5c0f\u4e8e4&#xff0c;\u5219\u521b\u5efa4CPU_COUNT\u4e2aCACHE BUFFERS LRU CHAIN LATCH&#xff0c;\u82e5DBWR\u6570\u5927\u4e8e4&#xff0c;\u5219\u521b\u5efaDB_WRITER_PROCESSESCPU_COUNT\u4e2aCACHE BUFFERS LRU CHAIN LATCH\u3002\u4ece\u4ee5\u4e0a\u7b97\u6cd5\u53ef\u4ee5\u770b\u51fa&#xff0c;CACHE BUFFERS LRU CHAIN LATCH\u7684\u6570\u91cf\u603b\u662f\u5927\u4e8eDBWR\u6570\u91cf&#xff0c;\u5373WORKING SET\u7684\u6570\u91cf\u603b\u662f\u5927\u4e8eDBWR\u7684\u6570\u91cf\u3002\u4e0d\u540c\u7684WORKING SET\u53ef\u4ee5\u51fa\u73b0\u5728\u4e0d\u540c\u7c7b\u578b\u7684BUFFER POOL\u4e2d&#xff0c;\u6bcf\u4e2aBUFFER POOL\u72ec\u7acb\u4f7f\u7528\u81ea\u5df1\u7684CACHE BUFFERS LRU CHAIN LATCH \u7531\u4e8e\u4e00\u4e2a\u6570\u636e\u5e93\u5b9e\u4f8b\u53ef\u4ee5\u914d\u7f6e8\u79cd\u4e0d\u540c\u7c7b\u578b\u7684BUFFER POOL&#xff08;DEFAULT\u30012KB\u30014KB\u30018KB\u300116KB\u300132KB\u3001KEEP\u3001RECYCLE BUFFER POOL&#xff09;,\u56e0\u6b64CACHE BUFFERS LRU CHAIN LATCH\u7684\u6570\u91cf\u81f3\u5c11\u4e3a8\u4e2a\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u67e5\u8be2\u83b7\u5f97\u5404\u4e2aBUFFER POOL\u4e2dCACHE BUFFERS LAU CHAIN LATCH\u7684\u4f7f\u7528\u60c5\u51b5&#xff1a; SQL&gt; select d.blk_size,c.child#,p.bp_name,c.gets,c.sleeps 2 from x<span class=\"katex--inline\"><span class=\"katex\"><span class=\"katex-mathml\"> <\/p>\n<p>         k <\/p>\n<p>         c <\/p>\n<p>         b <\/p>\n<p>         w <\/p>\n<p>         d <\/p>\n<p>         s <\/p>\n<p>         d <\/p>\n<p>         , <\/p>\n<p>         v <\/p>\n<p>        kcbwds d, v <\/p>\n<p>    <\/span><span class=\"katex-html\"><span class=\"base\"><span class=\"strut\" style=\"height: 0.8889em;vertical-align: -0.1944em\"><\/span><span style=\"margin-right: 0.0315em\" class=\"mord mathnormal\">k<\/span><span class=\"mord mathnormal\">c<\/span><span class=\"mord mathnormal\">b<\/span><span style=\"margin-right: 0.0269em\" class=\"mord mathnormal\">w<\/span><span class=\"mord mathnormal\">d<\/span><span class=\"mord mathnormal\">s<\/span><span class=\"mord mathnormal\">d<\/span><span class=\"mpunct\">,<\/span><span class=\"mspace\" style=\"margin-right: 0.1667em\"><\/span><span style=\"margin-right: 0.0359em\" class=\"mord mathnormal\">v<\/span><\/span><\/span><\/span><\/span>latch_children c, x$kcbwbpd p 3 where d.set_latch&#061;c.addr 4 and d.set_id between p.bp_lo_sid and p.bp_hi_sid 5 order by c.child#;<\/p>\n<p>BLK_SIZE CHILD# BP_NAME GETS SLEEPS<\/p>\n<hr \/>\n<p>  8192          1 KEEP                        459          0<br \/>\n  8192          2 KEEP                        459          0<br \/>\n  8192          3 RECYCLE                     459          0<br \/>\n  8192          4 RECYCLE                     459          0<br \/>\n  8192          5 DEFAULT                  410618          2<br \/>\n  8192          6 DEFAULT                  402282          0<br \/>\n  2048          7 DEFAULT                     459          0<br \/>\n  2048          8 DEFAULT                     459          0<br \/>\n  4096          9 DEFAULT                     459          0<br \/>\n  4096         10 DEFAULT                     459          0<br \/>\n  8192         11 DEFAULT                     459          0<br \/>\n  8192         12 DEFAULT                     459          0<br \/>\n 16384         13 DEFAULT                     459          0<br \/>\n 16384         14 DEFAULT                     459          0<br \/>\n 32768         15 DEFAULT                     459          0<br \/>\n 32768         16 DEFAULT                     459          0<\/p>\n<p>16 rows selected. \u4ece\u4e0a\u9762\u7684\u67e5\u8be2\u7ed3\u679c\u53ef\u4ee5\u770b\u51fa&#xff0c;\u76ee\u524d\u7cfb\u7edf\u5b58\u572816\u4e2aCACHE BUFFERS LRU CHAIN LATCH&#xff0c;\u4f46\u53ea\u4f7f\u7528\u4e862\u4e2a\u3002\u4ee5\u4e0b2\u79cd\u60c5\u51b5\u4e0b\u5fc5\u987b\u8981\u83b7\u5f97CACHE BUFFERS LRU CHAIN LATCH&#xff1a; \uf071\u6570\u636e\u5757\u8bfb\u8fdbBUFFER CACHE\u4e4b\u524d\u9700\u8981\u83b7\u5f97CACHE BUFFERS LRU CHAIN LATCH\u67e5\u627e\u7a7a\u95f2\u7f13\u51b2\u533a\u3002 \uf071DBWR\u8fdb\u7a0b\u4e3a\u4e86\u83b7\u5f97\u810f\u6570\u636e\u5757\u5217\u8868&#xff0c;\u626b\u63cfLRU-W\u5217\u4e4b\u524d\u9700\u8981\u83b7\u5f97CACHE BUFFERS LRU CHAIN LATCH\u3002\u6b64\u5916\u5c06\u7a7a\u95f2\u7f13\u51b2\u533a\u79fb\u52a8\u81f3LRU\u8f85\u52a9\u5217&#xff0c;\u4e5f\u9700\u8981\u83b7\u5f97CACHE BUFFERS LRU CHAIN LATCH\u3002 \u5f53\u8bb8\u591a\u8fdb\u7a0b\u540c\u65f6\u68c0\u7d22LRU\u5217\u6216\u8005LRU-W\u5217\u65f6&#xff0c;\u5219\u5bb9\u6613\u51fa\u73b0LATCH: CACHE BUFFERS LRU CHAIN\u7b49\u5f85\u4e8b\u4ef6\u3002\u4e00\u822c\u6765\u8bb2&#xff0c;CACHE BUFFERS LRU CHAIN LATCH\u4e89\u7528\u6700\u4e3b\u8981\u7684\u539f\u56e0\u662f\u4f4e\u6548\u7684SQL\u5bfc\u81f4\u524d\u53f0\u8fdb\u7a0b\u8fc7\u591a\u5730\u8bf7\u6c42\u7a7a\u95f2\u7f13\u51b2\u533a\u5f15\u8d77\u7684\u3002\u4e0e\u53d1\u751fLATCH:CACHE BUFFERS CHAINS\u7b49\u5f85\u4e8b\u4ef6\u7c7b\u4f3c&#xff0c;\u4e0d\u80fd\u7b80\u5355\u5730\u901a\u8fc7\u8c03\u6574\u9690\u542b\u53c2\u6570_db_block_lru_latches\u6765\u89e3\u51b3LATCH: CACHE BUFFERS LRU CHAIN\u7b49\u5f85\u4e8b\u4ef6\u3002 \u5728\u8fd9\u91cc&#xff0c;\u8bfb\u8005\u9700\u8981\u4ed4\u7ec6\u4f53\u4f1aCACHE BUFFERS CHAINS LATCH\u548cCACHE BUFFERS LRU CHAIN LATCH\u4e4b\u95f4\u7684\u533a\u522b&#xff1a; \uf071\u591a\u4e2a\u4f1a\u8bdd\u5e76\u53d1\u8bbf\u95ee\u76f8\u540c\u7684\u8868\u6216\u8005\u7d22\u5f15\u65f6&#xff0c;\u5219\u53d1\u751fCACHE BUFFERS CHAINS LATCH\u4e89\u7528\u7684\u6982\u7387\u8f83\u9ad8&#xff0c;\u56e0\u4e3a\u76f8\u540c\u8868\u6216\u7d22\u5f15\u7684\u6570\u636e\u5757\u591a\u96c6\u4e2d\u4e8e\u51e0\u6761\u76f8\u540c\u7684HASH CHAIN\u4e2d\u3002 \uf071\u591a\u4e2a\u4f1a\u8bdd\u5e76\u53d1\u8bbf\u95ee\u4e0d\u540c\u7684\u8868\u6216\u8005\u7d22\u5f15\u65f6&#xff0c;\u5219\u53d1\u751fCACHE BUFFERS LRU CHAIN LATCH\u4e89\u7528\u7684\u6982\u7387\u8f83\u9ad8&#xff0c;\u56e0\u4e3a\u4e0d\u540c\u7684\u6570\u636e\u5757\u90fd\u5b58\u653e\u5728BUFFER CACHE\u4e2d\u7684\u6982\u7387\u8f83\u4f4e&#xff0c;\u5f53\u53d1\u751f\u7269\u7406\u8bfb\u65f6\u9700\u8981\u66f4\u591a\u5730\u626b\u63cfLRU\u5217\u548cLRU-W\u5217\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb510\u6b21\uff0c\u70b9\u8d5e3\u6b21\uff0c\u6536\u85cf4\u6b21\u3002MULTI BLOCK I\/O\uff08\u5982\u5bf9\u5927\u8868\u8fdb\u884c\u5168\u8868\u626b\u63cf\uff09\u65f6\uff0c\u670d\u52a1\u5668\u8fdb\u7a0b\u4f1a\u5c06\u5927\u91cf\u7684\u6570\u636e\u5757\u8bfb\u81f3BUFFER CACHE\u4e2d\uff0c\u4e3a\u4e86\u51cf\u8f7b\u5bf9LRU\u5217\u8868\u4e2d\u6570\u636e\u5757\uff08\u70ed\u5757\uff09\u7684\u51b2\u51fb\uff0cOracle\u4f1a\u5c06\u5927\u8868\u5168\u8868\u626b\u63cf\u7684\u6570\u636e\u5757\u5b58\u653e\u81f3LRU\u5217\u8868\u7684\u5c3e\u90e8\uff0c\u5b58\u653e\u5728LRU\u5217\u8868\u5c3e\u90e8\u7684\u6570\u636e\u5757\u53ef\u4ee5\u5c3d\u5feb\u5730\u88ab\u4ea4\u6362\u51faBUFFER CACHE\u3002LRU-W\u5217\u4e2d\u53c8\u5206\u4e3a\u4e3b\u5217\u548c\u8f85\u52a9\u5217\u3002\u5728\u6027\u80fd\u4f18\u5316\u65f6\uff0c\u6700\u5bb9\u6613\u5f15\u8d77\u6027\u80fd\u95ee\u9898\u7684\u662fLRU\u5217\u548cLRU-W\u5217\uff0c\u6240\u4ee5\u4e00\u822c\u60c5\u51b5\u4e0b\u5e76\u4e0d\u9700\u8981\u5173\u5fc3LRU-XO\u5217\u3001LRU-XR\u5217\u3001LRU-P\u5217\uff0c\u6240\u4ee5\u672c\u7ae0\u4e5f\u4e0d\u6253\u7b97\u6df1\u5165\u8bb2\u89e3\u8fd93\u5217\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[604,100],"topic":[],"class_list":["post-38759","post","type-post","status-publish","format-standard","hentry","category-server","tag-oracle","tag-100"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Oracle\u4e2d\u5982\u4f55\u89e3\u51b3LATCH:CACHE BUFFERS LRU CHAIN - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/38759.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Oracle\u4e2d\u5982\u4f55\u89e3\u51b3LATCH:CACHE BUFFERS LRU CHAIN - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb510\u6b21\uff0c\u70b9\u8d5e3\u6b21\uff0c\u6536\u85cf4\u6b21\u3002MULTI BLOCK I\/O\uff08\u5982\u5bf9\u5927\u8868\u8fdb\u884c\u5168\u8868\u626b\u63cf\uff09\u65f6\uff0c\u670d\u52a1\u5668\u8fdb\u7a0b\u4f1a\u5c06\u5927\u91cf\u7684\u6570\u636e\u5757\u8bfb\u81f3BUFFER CACHE\u4e2d\uff0c\u4e3a\u4e86\u51cf\u8f7b\u5bf9LRU\u5217\u8868\u4e2d\u6570\u636e\u5757\uff08\u70ed\u5757\uff09\u7684\u51b2\u51fb\uff0cOracle\u4f1a\u5c06\u5927\u8868\u5168\u8868\u626b\u63cf\u7684\u6570\u636e\u5757\u5b58\u653e\u81f3LRU\u5217\u8868\u7684\u5c3e\u90e8\uff0c\u5b58\u653e\u5728LRU\u5217\u8868\u5c3e\u90e8\u7684\u6570\u636e\u5757\u53ef\u4ee5\u5c3d\u5feb\u5730\u88ab\u4ea4\u6362\u51faBUFFER CACHE\u3002LRU-W\u5217\u4e2d\u53c8\u5206\u4e3a\u4e3b\u5217\u548c\u8f85\u52a9\u5217\u3002\u5728\u6027\u80fd\u4f18\u5316\u65f6\uff0c\u6700\u5bb9\u6613\u5f15\u8d77\u6027\u80fd\u95ee\u9898\u7684\u662fLRU\u5217\u548cLRU-W\u5217\uff0c\u6240\u4ee5\u4e00\u822c\u60c5\u51b5\u4e0b\u5e76\u4e0d\u9700\u8981\u5173\u5fc3LRU-XO\u5217\u3001LRU-XR\u5217\u3001LRU-P\u5217\uff0c\u6240\u4ee5\u672c\u7ae0\u4e5f\u4e0d\u6253\u7b97\u6df1\u5165\u8bb2\u89e3\u8fd93\u5217\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/38759.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-21T02:34:57+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/38759.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/38759.html\",\"name\":\"Oracle\u4e2d\u5982\u4f55\u89e3\u51b3LATCH:CACHE BUFFERS LRU CHAIN - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-21T02:34:57+00:00\",\"dateModified\":\"2025-05-21T02:34:57+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/38759.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/38759.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/38759.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Oracle\u4e2d\u5982\u4f55\u89e3\u51b3LATCH:CACHE BUFFERS LRU CHAIN\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Oracle\u4e2d\u5982\u4f55\u89e3\u51b3LATCH:CACHE BUFFERS LRU CHAIN - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/38759.html","og_locale":"zh_CN","og_type":"article","og_title":"Oracle\u4e2d\u5982\u4f55\u89e3\u51b3LATCH:CACHE BUFFERS LRU CHAIN - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb510\u6b21\uff0c\u70b9\u8d5e3\u6b21\uff0c\u6536\u85cf4\u6b21\u3002MULTI BLOCK I\/O\uff08\u5982\u5bf9\u5927\u8868\u8fdb\u884c\u5168\u8868\u626b\u63cf\uff09\u65f6\uff0c\u670d\u52a1\u5668\u8fdb\u7a0b\u4f1a\u5c06\u5927\u91cf\u7684\u6570\u636e\u5757\u8bfb\u81f3BUFFER CACHE\u4e2d\uff0c\u4e3a\u4e86\u51cf\u8f7b\u5bf9LRU\u5217\u8868\u4e2d\u6570\u636e\u5757\uff08\u70ed\u5757\uff09\u7684\u51b2\u51fb\uff0cOracle\u4f1a\u5c06\u5927\u8868\u5168\u8868\u626b\u63cf\u7684\u6570\u636e\u5757\u5b58\u653e\u81f3LRU\u5217\u8868\u7684\u5c3e\u90e8\uff0c\u5b58\u653e\u5728LRU\u5217\u8868\u5c3e\u90e8\u7684\u6570\u636e\u5757\u53ef\u4ee5\u5c3d\u5feb\u5730\u88ab\u4ea4\u6362\u51faBUFFER CACHE\u3002LRU-W\u5217\u4e2d\u53c8\u5206\u4e3a\u4e3b\u5217\u548c\u8f85\u52a9\u5217\u3002\u5728\u6027\u80fd\u4f18\u5316\u65f6\uff0c\u6700\u5bb9\u6613\u5f15\u8d77\u6027\u80fd\u95ee\u9898\u7684\u662fLRU\u5217\u548cLRU-W\u5217\uff0c\u6240\u4ee5\u4e00\u822c\u60c5\u51b5\u4e0b\u5e76\u4e0d\u9700\u8981\u5173\u5fc3LRU-XO\u5217\u3001LRU-XR\u5217\u3001LRU-P\u5217\uff0c\u6240\u4ee5\u672c\u7ae0\u4e5f\u4e0d\u6253\u7b97\u6df1\u5165\u8bb2\u89e3\u8fd93\u5217\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/38759.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-21T02:34:57+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/38759.html","url":"https:\/\/www.wsisp.com\/helps\/38759.html","name":"Oracle\u4e2d\u5982\u4f55\u89e3\u51b3LATCH:CACHE BUFFERS LRU CHAIN - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-21T02:34:57+00:00","dateModified":"2025-05-21T02:34:57+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/38759.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/38759.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/38759.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Oracle\u4e2d\u5982\u4f55\u89e3\u51b3LATCH:CACHE BUFFERS LRU CHAIN"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/38759","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=38759"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/38759\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=38759"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=38759"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=38759"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=38759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}