{"id":98,"date":"2011-06-03T11:44:52","date_gmt":"2011-06-03T09:44:52","guid":{"rendered":"http:\/\/www.ludovicocaldara.net\/dba\/?p=98"},"modified":"2011-06-03T11:56:00","modified_gmt":"2011-06-03T09:56:00","slug":"ksv-master-wait","status":"publish","type":"post","link":"https:\/\/www.ludovicocaldara.net\/dba\/ksv-master-wait\/","title":{"rendered":"10gR2 RAC hangs and &#8220;KSV master wait&#8221;"},"content":{"rendered":"<p>We recently migrated a customer&#8217;s 10gR2 RAC on AIX6.1 from GPFS+HACMP to a &#8220;basic&#8221; Clusterware with datafiles over ASM.<br \/>\nAfter (many) problems related to various installation bugs (the list of requirements for AIX is very long, incomplete and requires many one-off patches to complete), we had a problem during an import of a new schema: the import hung with no apparent wait events. We found that the event it was waiting for was classified as &#8216;Idle&#8217;:<\/p>\n<pre lang=\"SQL\">SQL&gt; select sid, username, status, event, wait_class, program from gv$session;\r\n\r\n SID USERNAME   STATUS   EVENT                WAIT_CLASS PROGRAM\r\n---- ---------- -------- -------------------- ---------- ----------------------------------------\r\n...\r\n 135 SYS        ACTIVE   KSV master wait      Idle       imp@trndcsaixdb1 (TNS V1-V3)\r\n...<\/pre>\n<p>The on ASM instance:<\/p>\n<pre lang=\"SQL\">SQL&gt; @wait10g\r\n\r\nSID USERNAME   MACHINE         PROGRAM              EVENT                  SEQ#           P1  S_IN_WAIT STATE               STATUS\r\n---- ---------- --------------- -------------------- -------------------- ------ ------------ ---------- ------------------- --------\r\n201 SYS        trndcsaixdb1    oracle@trndcsaixdb1  enq: FA - access file      6   1178664965        744 WAITING             ACTIVE\r\n<\/pre>\n<p>The problem was related to datafile resize (we use autoextend) and according to MOS, we were encountering a bug:<\/p>\n<p>Bug 11712836: RESIZING DATAFILE HUNG WAITING FOR KSV MASTER WAIT IN RAC<\/p>\n<p>Shutting down one instance solved the problem. Now we have to avoid autoextend&#8230;&#8230;. We never encountered this bug in many 10.2.0.4 rac installations.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We recently migrated a customer&#8217;s 10gR2 RAC on AIX6.1 from GPFS+HACMP to a &#8220;basic&#8221; Clusterware with datafiles over ASM. After (many) problems related to various installation bugs (the list of requirements for AIX is very long, incomplete and requires many &hellip; <a href=\"https:\/\/www.ludovicocaldara.net\/dba\/ksv-master-wait\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[39,40,43,42,41,23],"class_list":["post-98","post","type-post","status-publish","format-standard","hentry","category-oracledb","tag-aix","tag-asm","tag-autoextend","tag-bug","tag-hang","tag-rac"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts\/98","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/comments?post=98"}],"version-history":[{"count":22,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts\/98\/revisions"}],"predecessor-version":[{"id":121,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts\/98\/revisions\/121"}],"wp:attachment":[{"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/media?parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/categories?post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/tags?post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}