{"id":1136,"date":"2014-11-28T18:58:51","date_gmt":"2014-11-28T21:58:51","guid":{"rendered":"http:\/\/www.dbarj.com.br\/?p=1136"},"modified":"2014-11-28T18:58:51","modified_gmt":"2014-11-28T21:58:51","slug":"ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865","status":"publish","type":"post","link":"https:\/\/www.dbarj.com.br\/pt-br\/2014\/11\/ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865\/","title":{"rendered":"ORA-12853, ORA-04031 e ORA-06512: at &#8220;SYS.UTL_RECOMP&#8221;, line 865"},"content":{"rendered":"<p>Esses dias, criei uma base na vers\u00e3o 11.2.0.4 bem pequena mas em um servidor poderoso Sun Sparc de 64 processadores.<\/p>\n<p>Eu configurei o banco de dados para usar o m\u00ednimo poss\u00edvel de memory_target: <strong>524M<\/strong>. O meu planejamento era o de aumentar este tamanho ap\u00f3s terminar de preparar o servidor do BD.<\/p>\n<p>Quando eu comecei a configurar o Database Vault, recebi o seguinte erro nas etapas de p\u00f3s instala\u00e7\u00e3o (<strong>postDBConfigure.log<\/strong>):<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"oracledb\">DECLARE\r\n*\r\nERROR at line 1:\r\nORA-12801: error signaled in parallel query server P245\r\nORA-12853: insufficient memory for PX buffers: current 138400K, max needed 887760K\r\nORA-04031: unable to allocate 65560 bytes of shared memory (\"large pool\",\"unknown object\",\"large pool\",\"PX msg pool\")\r\nORA-06512: at \"SYS.UTL_RECOMP\", line 865\r\nORA-06512: at line 4<\/pre>\n<p>My alert.log had the following error: <strong>ORA-04031: unable to allocate 65560 bytes of shared memory (&#8220;large pool&#8221;,&#8221;unknown object&#8221;,&#8221;large pool&#8221;,&#8221;PX msg pool&#8221;)<\/strong><\/p>\n<p>Como foi um erro de &#8220;PX&#8221; (paralelismo), e o meu sistema tem muitos processadores, o problema foi que o valor de default\u00a0do parallel_max_servers estava como <span style=\"color: #800000;\"><strong>270<\/strong><\/span>! Esse n\u00famero seria aceit\u00e1vel se eu tivessse mem\u00f3ria livre suficiente (<strong>especialmente na pga<\/strong>) para acomodar todos os processos que abririam, mas eu n\u00e3o tinha. O meu MEMORY_TARGET era o m\u00ednimo aceit\u00e1vel.<\/p>\n<p>Ent\u00e3o, para resolver isso, eu troquei este par\u00e2metro para um valor menor:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"oracledb\">ALTER SYSTEM SET parallel_max_servers=30 SCOPE=BOTH;<\/pre>\n<p>Isso resolveu o meu problema! =] .. Tive que voltar o meu BD para um restore point criado antes do vault e ent\u00e3o, ap\u00f3s executa-lo novamente, tudo funcionou!<\/p>\n<b>Gostou? N\u00e3o deixe de comentar ou deixar um \ud83d\udc4d!<\/b>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style2 like-1136 jlk' href='javascript:void(0)' data-task='like' data-post_id='1136' data-nonce='de4404f630' rel='nofollow'><img class='wti-pixel' src='https:\/\/www.dbarj.com.br\/wp-content\/plugins\/wti-like-post\/images\/pixel.gif' title='Like' \/><span class='lc-1136 lc'>+4<\/span><\/a><\/div><\/div> <div class='status-1136 status align-left'><\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Esses dias, criei uma base na vers\u00e3o 11.2.0.4 bem pequena mas em um servidor poderoso Sun Sparc de 64 processadores. Eu configurei o banco de dados para usar o m\u00ednimo poss\u00edvel de memory_target: 524M. O meu planejamento era o de aumentar este tamanho ap\u00f3s terminar de preparar o servidor do BD. Quando eu comecei a &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/www.dbarj.com.br\/pt-br\/2014\/11\/ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865\/\">Continue lendo<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-1136","post","type-post","status-publish","format-standard","hentry","category-database","item-wrap"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ORA-12853, ORA-04031 e ORA-06512: at &quot;SYS.UTL_RECOMP&quot;, line 865 - DBA - Rodrigo Jorge - Oracle Tips and Guides<\/title>\n<meta name=\"description\" content=\"Lidando com problemas de paralelismo e mem\u00f3ria ORA-12853, ORA-04031 and ORA-06512: at &quot;SYS.UTL_RECOMP&quot;, line 865\" \/>\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.dbarj.com.br\/pt-br\/2014\/11\/ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865\/\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"DBA RJ\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2014\\\/11\\\/ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2014\\\/11\\\/ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865\\\/\"},\"author\":{\"name\":\"DBA RJ\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\"},\"headline\":\"ORA-12853, ORA-04031 e ORA-06512: at &#8220;SYS.UTL_RECOMP&#8221;, line 865\",\"datePublished\":\"2014-11-28T21:58:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2014\\\/11\\\/ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865\\\/\"},\"wordCount\":220,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\"},\"articleSection\":[\"Oracle Database General\"],\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2014\\\/11\\\/ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2014\\\/11\\\/ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865\\\/\",\"url\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2014\\\/11\\\/ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865\\\/\",\"name\":\"ORA-12853, ORA-04031 e ORA-06512: at \\\"SYS.UTL_RECOMP\\\", line 865 - DBA - Rodrigo Jorge - Oracle Tips and Guides\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/#website\"},\"datePublished\":\"2014-11-28T21:58:51+00:00\",\"description\":\"Lidando com problemas de paralelismo e mem\u00f3ria ORA-12853, ORA-04031 and ORA-06512: at \\\"SYS.UTL_RECOMP\\\", line 865\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2014\\\/11\\\/ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865\\\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2014\\\/11\\\/ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/2014\\\/11\\\/ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ORA-12853, ORA-04031 e ORA-06512: at \\\"SYS.UTL_RECOMP\\\", line 865\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/#website\",\"url\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/\",\"name\":\"DBA - Rodrigo Jorge - Oracle Tips and Guides\",\"description\":\"Blog about Databases, Security and High Availability\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/pt-br\\\/#\\\/schema\\\/person\\\/28a44ca3a6633fe4156ad1ea209d40a9\",\"name\":\"DBA RJ\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\",\"url\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\",\"contentUrl\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\",\"width\":712,\"height\":712,\"caption\":\"DBA RJ\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.dbarj.com.br\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/RodrigoJorgePOUG19.png\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ORA-12853, ORA-04031 e ORA-06512: at \"SYS.UTL_RECOMP\", line 865 - DBA - Rodrigo Jorge - Oracle Tips and Guides","description":"Lidando com problemas de paralelismo e mem\u00f3ria ORA-12853, ORA-04031 and ORA-06512: at \"SYS.UTL_RECOMP\", line 865","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.dbarj.com.br\/pt-br\/2014\/11\/ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865\/","twitter_misc":{"Escrito por":"DBA RJ","Est. tempo de leitura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbarj.com.br\/pt-br\/2014\/11\/ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865\/#article","isPartOf":{"@id":"https:\/\/www.dbarj.com.br\/pt-br\/2014\/11\/ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865\/"},"author":{"name":"DBA RJ","@id":"https:\/\/www.dbarj.com.br\/pt-br\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9"},"headline":"ORA-12853, ORA-04031 e ORA-06512: at &#8220;SYS.UTL_RECOMP&#8221;, line 865","datePublished":"2014-11-28T21:58:51+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbarj.com.br\/pt-br\/2014\/11\/ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865\/"},"wordCount":220,"commentCount":0,"publisher":{"@id":"https:\/\/www.dbarj.com.br\/pt-br\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9"},"articleSection":["Oracle Database General"],"inLanguage":"pt-BR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbarj.com.br\/pt-br\/2014\/11\/ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbarj.com.br\/pt-br\/2014\/11\/ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865\/","url":"https:\/\/www.dbarj.com.br\/pt-br\/2014\/11\/ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865\/","name":"ORA-12853, ORA-04031 e ORA-06512: at \"SYS.UTL_RECOMP\", line 865 - DBA - Rodrigo Jorge - Oracle Tips and Guides","isPartOf":{"@id":"https:\/\/www.dbarj.com.br\/pt-br\/#website"},"datePublished":"2014-11-28T21:58:51+00:00","description":"Lidando com problemas de paralelismo e mem\u00f3ria ORA-12853, ORA-04031 and ORA-06512: at \"SYS.UTL_RECOMP\", line 865","breadcrumb":{"@id":"https:\/\/www.dbarj.com.br\/pt-br\/2014\/11\/ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbarj.com.br\/pt-br\/2014\/11\/ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbarj.com.br\/pt-br\/2014\/11\/ora-12853-ora-04031-e-ora-06512-sys-utl_recomp-line-865\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbarj.com.br\/pt-br\/"},{"@type":"ListItem","position":2,"name":"ORA-12853, ORA-04031 e ORA-06512: at \"SYS.UTL_RECOMP\", line 865"}]},{"@type":"WebSite","@id":"https:\/\/www.dbarj.com.br\/pt-br\/#website","url":"https:\/\/www.dbarj.com.br\/pt-br\/","name":"DBA - Rodrigo Jorge - Oracle Tips and Guides","description":"Blog about Databases, Security and High Availability","publisher":{"@id":"https:\/\/www.dbarj.com.br\/pt-br\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbarj.com.br\/pt-br\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":["Person","Organization"],"@id":"https:\/\/www.dbarj.com.br\/pt-br\/#\/schema\/person\/28a44ca3a6633fe4156ad1ea209d40a9","name":"DBA RJ","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png","url":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png","contentUrl":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png","width":712,"height":712,"caption":"DBA RJ"},"logo":{"@id":"https:\/\/www.dbarj.com.br\/wp-content\/uploads\/2019\/09\/RodrigoJorgePOUG19.png"}}]}},"_links":{"self":[{"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/posts\/1136","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/comments?post=1136"}],"version-history":[{"count":0,"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/posts\/1136\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/media?parent=1136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/categories?post=1136"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbarj.com.br\/pt-br\/wp-json\/wp\/v2\/tags?post=1136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}