{"id":386,"date":"2019-02-15T15:12:30","date_gmt":"2019-02-15T07:12:30","guid":{"rendered":"http:\/\/www.lisq.net.cn\/?p=386"},"modified":"2019-02-15T15:30:29","modified_gmt":"2019-02-15T07:30:29","slug":"cursor-mutex-s-%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"https:\/\/www.lisq.net\/?p=386","title":{"rendered":"cursor: mutex S \u95ee\u9898"},"content":{"rendered":"<p>\u6570\u636e\u5e93\u670d\u52a1\u5668\u4e0d\u6b63\u5e38\u7684\u8dd1\u9ad8<\/p>\n<p>\u5f53\u524dsession\u7b49\u5f85cursor: mutex S\uff0cSQL\u662f<\/p>\n<pre class=\"lang:plsql decode:true\">SQL ID:az33m61ym46y4\r\nSELECT NULL AS table_cat,\r\n       o.owner AS table_schem,\r\n       o.object_name AS table_name,\r\n       o.object_type AS table_type,\r\n       NULL AS remarks\r\n  FROM all_objects o\r\n  WHERE o.owner LIKE :1 ESCAPE '\/'\r\n    AND o.object_name LIKE :2 ESCAPE '\/'\r\n    AND o.object_type IN ('xxx', 'TABLE')\r\n  ORDER BY table_type, table_schem, table_name<\/pre>\n<p>\u5bf9\u8fd9\u4e9b\u4f1a\u8bdd\u8fdb\u884ctrace<\/p>\n<pre class=\"lang:plsql decode:true\">WAIT #1: nam='cursor: mutex S' ela= 36 idn=0 value=6549825126405 where=4993644290 obj#=-1 tim=1550147900582216\r\nWAIT #1: nam='cursor: mutex S' ela= 154 idn=0 value=8220567404550 where=4993644307 obj#=-1 tim=1550147900582874\r\nWAIT #1: nam='cursor: mutex S' ela= 196 idn=0 value=7133940678660 where=4993644351 obj#=-1 tim=1550147900583996\r\nWAIT #1: nam='cursor: mutex S' ela= 53 idn=0 value=10900626997258 where=4993644426 obj#=-1 tim=1550147900585612\r\nWAIT #1: nam='cursor: mutex S' ela= 167 idn=0 value=2272037699589 where=4993644467 obj#=-1 tim=1550147900586830\r\nWAIT #1: nam='cursor: mutex S' ela= 158 idn=0 value=10900626997252 where=4993644635 obj#=-1 tim=1550147900590761\r\nWAIT #1: nam='cursor: mutex S' ela= 91 idn=0 value=9216999817220 where=4993644677 obj#=-1 tim=1550147900591656\r\nWAIT #1: nam='cursor: mutex S' ela= 24 idn=0 value=7142530613252 where=4993644728 obj#=-1 tim=1550147900592860\r\nWAIT #1: nam='cursor: mutex S' ela= 63 idn=0 value=2808908611588 where=4993644884 obj#=-1 tim=1550147900597255\r\nWAIT #1: nam='cursor: mutex S' ela= 24 idn=0 value=10900626997255 where=4993644898 obj#=-1 tim=1550147900597579\r\nWAIT #1: nam='cursor: mutex S' ela= 16 idn=0 value=7133940678660 where=4993644910 obj#=-1 tim=1550147900597916\r\nWAIT #1: nam='cursor: mutex S' ela= 192 idn=0 value=5510443040772 where=4993645004 obj#=-1 tim=1550147900600663<\/pre>\n<p>AWR\u548cASH\u62a5\u544a\u4e2d<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-388\" src=\"http:\/\/www.lisq.net.cn\/wp-content\/uploads\/2019\/02\/190202top5.png\" alt=\"\" width=\"546\" height=\"180\" srcset=\"https:\/\/www.lisq.net\/wp-content\/uploads\/2019\/02\/190202top5.png 546w, https:\/\/www.lisq.net\/wp-content\/uploads\/2019\/02\/190202top5-300x99.png 300w, https:\/\/www.lisq.net\/wp-content\/uploads\/2019\/02\/190202top5-350x115.png 350w\" sizes=\"auto, (max-width: 546px) 100vw, 546px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-387\" src=\"http:\/\/www.lisq.net.cn\/wp-content\/uploads\/2019\/02\/mutex.png\" alt=\"\" width=\"488\" height=\"266\" srcset=\"https:\/\/www.lisq.net\/wp-content\/uploads\/2019\/02\/mutex.png 488w, https:\/\/www.lisq.net\/wp-content\/uploads\/2019\/02\/mutex-300x164.png 300w, https:\/\/www.lisq.net\/wp-content\/uploads\/2019\/02\/mutex-350x191.png 350w\" sizes=\"auto, (max-width: 488px) 100vw, 488px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-389\" src=\"http:\/\/www.lisq.net.cn\/wp-content\/uploads\/2019\/02\/190202ash.png\" alt=\"\" width=\"1017\" height=\"570\" srcset=\"https:\/\/www.lisq.net\/wp-content\/uploads\/2019\/02\/190202ash.png 1017w, https:\/\/www.lisq.net\/wp-content\/uploads\/2019\/02\/190202ash-300x168.png 300w, https:\/\/www.lisq.net\/wp-content\/uploads\/2019\/02\/190202ash-768x430.png 768w, https:\/\/www.lisq.net\/wp-content\/uploads\/2019\/02\/190202ash-350x196.png 350w, https:\/\/www.lisq.net\/wp-content\/uploads\/2019\/02\/190202ash-724x406.png 724w\" sizes=\"auto, (max-width: 1017px) 100vw, 1017px\" \/><\/p>\n<p>\u8be5SQL\u662fHTTP\u670d\u52a1\u4e0a\u7684\u4e00\u4e2a\u6d4b\u8bd5\u6570\u636e\u5e93\u8fde\u63a5\u529f\u80fd\uff0c\u9700\u8981\u5f00\u53d1\u914d\u5408\u6539\u5199\u3002<\/p>\n<p>MOS\u6587\u6863\u4e0a\u53ef\u4ee5\u7528 flush shared_pool\u7f13\u89e3\uff0c\u7ecf\u6d4b\u8bd5\uff0c\u65e0\u6548<\/p>\n<p>\u6000\u7591\u548cbuffer cache \u6709\u5173\u7cfb\uff0c\u4e00\u4e2a\u5927\u80c6\u7684\u60f3\u6cd5\u4e0d\u77e5\u9053\u5f53\u8bb2\u4e0d\u5f53\u8bb2\uff1aflush buffer_cache<\/p>\n<p>\u6267\u884c\u540e\uff0c\u5b9e\u4f8b\u5d29\u6e83<\/p>\n<pre class=\"lang:plsql decode:true\">ALTER SYSTEM: Flushing buffer cache\r\nErrors in file \/u01\/app\/oracle\/diag\/rdbms\/ahdb1\/ahdb1\/trace\/ahdb1_ckpt_38170.trc  (incident=256146):\r\nORA-00600: internal error code, arguments: [kcbo_unlink_q_bg_3], [0xCE4DBE200], [1], [1], [0], [0], [0], [0], [], [], [], []\r\nIncident details in: \/u01\/app\/oracle\/diag\/rdbms\/ahdb1\/ahdb1\/incident\/incdir_256146\/ahdb1_ckpt_38170_i256146.trc\r\nErrors in file \/u01\/app\/oracle\/diag\/rdbms\/ahdb1\/ahdb1\/trace\/ahdb1_ckpt_38170.trc:\r\nORA-00600: internal error code, arguments: [kcbo_unlink_q_bg_3], [0xCE4DBE200], [1], [1], [0], [0], [0], [0], [], [], [], []\r\nCKPT (ospid: 38170): terminating the instance due to error 469\r\nInstance terminated by CKPT, pid = 38170<\/pre>\n<p>\u518d\u6b21\u542f\u52a8\u5b9e\u4f8b\u540e\uff0cCPU\u56de\u5230\u6b63\u5e38\uff0c\u6570\u636e\u5e93\u7b49\u5f85\u56de\u5230\u6b63\u5e38\u3002<\/p>\n<p>\u53c2\u8003\u6587\u6863\uff1a<a href=\"https:\/\/support.oracle.com\/epmos\/faces\/DocumentDisplay?_afrLoop=519681376983784&amp;id=16175381.8&amp;_afrWindowMode=0&amp;_adf.ctrl-state=j5tlro1nz_183\" target=\"_blank\" rel=\"noopener\">Bug 16175381 &#8211; Process spin in kkscsSearchChildList() -&gt; kkshGetNextChild() with fix for bug 14613900 present (Doc ID 16175381.8)<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6570\u636e\u5e93\u670d\u52a1\u5668\u4e0d\u6b63\u5e38\u7684\u8dd1\u9ad8 \u5f53\u524dsession\u7b49\u5f85cursor &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[15,2],"tags":[],"class_list":["post-386","post","type-post","status-publish","format-standard","hentry","category-bug","category-oracle"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7zRbQ-6e","_links":{"self":[{"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/posts\/386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lisq.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=386"}],"version-history":[{"count":6,"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/posts\/386\/revisions"}],"predecessor-version":[{"id":395,"href":"https:\/\/www.lisq.net\/index.php?rest_route=\/wp\/v2\/posts\/386\/revisions\/395"}],"wp:attachment":[{"href":"https:\/\/www.lisq.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lisq.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lisq.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}