{"id":151,"date":"2008-11-13T09:48:00","date_gmt":"2008-11-13T11:48:00","guid":{"rendered":"http:\/\/www.soudba.com.br\/?p=151"},"modified":"2008-11-13T09:48:00","modified_gmt":"2008-11-13T11:48:00","slug":"bloqueio-de-linha-do-oracle","status":"publish","type":"post","link":"https:\/\/www.soudba.com.br\/?p=151","title":{"rendered":"bloqueio de linha do ORACLE"},"content":{"rendered":"<p>SELECT os_user_name &#8220;OS User&#8221;,<br \/>       process &#8220;OS Pid&#8221;,<br \/>       oracle_username &#8220;Oracle User&#8221;,<br \/>       l.sid &#8220;SID&#8221;,<br \/>       DECODE(type,<br \/>               &#8216;MR&#8217;, &#8216;Media Recovery&#8217;,<br \/>               &#8216;RT&#8217;, &#8216;Redo Thread&#8217;,<br \/>               &#8216;UN&#8217;, &#8216;User Name&#8217;,<br \/>               &#8216;TX&#8217;, &#8216;Transaction&#8217;,<br \/>               &#8216;TM&#8217;, &#8216;DML&#8217;,<br \/>               &#8216;UL&#8217;, &#8216;PL\/SQL User Lock&#8217;,<br \/>               &#8216;DX&#8217;, &#8216;Distributed Xaction&#8217;,<br \/>               &#8216;CF&#8217;, &#8216;Control File&#8217;,<br \/>               &#8216;IS&#8217;, &#8216;Instance State&#8217;,<br \/>               &#8216;FS&#8217;, &#8216;File Set&#8217;,<br \/>               &#8216;IR&#8217;, &#8216;Instance Recovery&#8217;,<br \/>               &#8216;ST&#8217;, &#8216;Disk Space Transaction&#8217;,<br \/>               &#8216;TS&#8217;, &#8216;Temp Segment&#8217;,<br \/>               &#8216;IV&#8217;, &#8216;Library Cache Invalidation&#8217;,<br \/>               &#8216;LS&#8217;, &#8216;Log Start or Switch&#8217;,<br \/>               &#8216;RW&#8217;, &#8216;Row Wait&#8217;,<br \/>               &#8216;SQ&#8217;, &#8216;Sequence Number&#8217;,<br \/>               &#8216;TE&#8217;, &#8216;Extend Table&#8217;,<br \/>               &#8216;TT&#8217;, &#8216;Temp Table&#8217;, type) &#8220;Lock Type&#8221;,<br \/>       DECODE(lmode,<br \/>               0, &#8216;None&#8217;,<br \/>               1, &#8216;Null&#8217;,<br \/>               2, &#8216;Row-S (SS)&#8217;,<br \/>               3, &#8216;Row-X (SX)&#8217;,<br \/>               4, &#8216;Share&#8217;,<br \/>               5, &#8216;S\/Row-X (SSX)&#8217;,<br \/>               6, &#8216;Exclusive&#8217;, lmode) &#8220;Lock Held&#8221;,<br \/>       DECODE(request,<br \/>               0, &#8216;None&#8217;,<br \/>               1, &#8216;Null&#8217;,<br \/>               2, &#8216;Row-S (SS)&#8217;,<br \/>               3, &#8216;Row-X (SX)&#8217;,<br \/>               4, &#8216;Share&#8217;,<br \/>               5, &#8216;S\/Row-X (SSX)&#8217;,<br \/>               6, &#8216;Exclusive&#8217;, request) &#8220;Lock Requested&#8221;,<br \/>       DECODE(block,<br \/>               0, &#8216;Not Blocking&#8217;,<br \/>               1, &#8216;Blocking&#8217;,<br \/>               2, &#8216;Global&#8217;, block) &#8220;Status&#8221;,<br \/>       owner &#8220;Owner&#8221;,<br \/>       object_name &#8220;Object name&#8221;<br \/>FROM v$locked_object lo, dba_objects do, v$lock l<br \/>WHERE lo.object_id = do.object_id<br \/>AND l.sid = lo.session_id<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SELECT os_user_name &#8220;OS User&#8221;, process &#8220;OS Pid&#8221;, oracle_username &#8220;Oracle User&#8221;, l.sid &#8220;SID&#8221;, DECODE(type, &#8216;MR&#8217;, &#8216;Media Recovery&#8217;, &#8216;RT&#8217;, &#8216;Redo Thread&#8217;, &#8216;UN&#8217;, &#8216;User Name&#8217;, &#8216;TX&#8217;, &#8216;Transaction&#8217;, &#8216;TM&#8217;, &#8216;DML&#8217;, &#8216;UL&#8217;, &#8216;PL\/SQL User Lock&#8217;, &#8216;DX&#8217;, &#8216;Distributed Xaction&#8217;, &#8216;CF&#8217;, &#8216;Control File&#8217;, &#8216;IS&#8217;, &#8216;Instance State&#8217;, &#8216;FS&#8217;, &hellip; <a href=\"https:\/\/www.soudba.com.br\/?p=151\">Continue lendo <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":[41,42],"tags":[],"class_list":["post-151","post","type-post","status-publish","format-standard","hentry","category-bloqueio-de-linha","category-bloqueio-do-oracle"],"_links":{"self":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/posts\/151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=151"}],"version-history":[{"count":0,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/posts\/151\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}