<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>惜分飞 &#187; ORA-27163</title>
	<atom:link href="https://www.xifenfei.com/tag/ora-27163/feed" rel="self" type="application/rss+xml" />
	<link>https://www.xifenfei.com</link>
	<description>提供7*24专业数据库(Oracle,SQL Server,MySQL,PostgreSQL等)恢复和技术支持@Tel:17813235971</description>
	<lastBuildDate>Sat, 07 Nov 2026 15:45:44 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>MOS又一次不靠谱&#8212;ORA-27163: out of memory</title>
		<link>https://www.xifenfei.com/2014/09/mos%e5%8f%88%e4%b8%80%e6%ac%a1%e4%b8%8d%e9%9d%a0%e8%b0%b1-ora-27163-out-of-memory.html</link>
		<comments>https://www.xifenfei.com/2014/09/mos%e5%8f%88%e4%b8%80%e6%ac%a1%e4%b8%8d%e9%9d%a0%e8%b0%b1-ora-27163-out-of-memory.html#comments</comments>
		<pubDate>Tue, 30 Sep 2014 02:35:39 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[ORA-27163]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=5533</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2014/09/mos%e5%8f%88%e4%b8%80%e6%ac%a1%e4%b8%8d%e9%9d%a0%e8%b0%b1-ora-27163-out-of-memory.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div id="xifenfeicopyright">
<p>联系：<a href="https://www.xifenfei.com/about_xifenfei" target="_blank">手机/微信(+86 17813235971)   QQ(107644445)</a><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&#038;uin=107644445&#038;site=qq&#038;menu=yes"><img src="https://www.xifenfei.com/wp-content/themes/img/site_qq.jpg" alt="QQ咨询惜分飞" title="QQ咨询惜分飞"/></a></p>
<p>标题：<a href="https://www.xifenfei.com/2014/09/mos%e5%8f%88%e4%b8%80%e6%ac%a1%e4%b8%8d%e9%9d%a0%e8%b0%b1-ora-27163-out-of-memory.html" target="_blank">MOS又一次不靠谱&#8212;ORA-27163: out of memory</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>数据库版本</p>
<pre class="brush: sql; title: ; notranslate">
oracle -&gt; 11g @xifenfei:/home/oracle$sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Tue Sep 30 10:28:30 2014

Copyright (c) 1982, 2013, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options

SQL&gt; select * from v$version;

BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
PL/SQL Release 11.2.0.4.0 - Production
CORE    11.2.0.4.0      Production
TNS for HPUX: Version 11.2.0.4.0 - Production
NLSRTL Version 11.2.0.4.0 - Production
</pre>
<p>数据库补丁信息</p>
<pre class="brush: bash; title: ; notranslate">
oracle -&gt; 11g @xifenfei:/home/oracle$opatch lspatches
18973907;
18795105;
18701707;
18284357;
18020394;
17564992;
17308789;
17306264;
17259786;
17079301;
16477664;
16188701;
14368995;
14245531;
11744544;
18522515;OCW Patch Set Update : 11.2.0.4.3 (18522515)
18522509;Database Patch Set Update : 11.2.0.4.3 (18522509)
</pre>
<p>收集spa报告报ORA-27163: out of memory错误</p>
<pre class="brush: sql; title: ; notranslate">
SQL&gt; SELECT dbms_sqlpa.report_analysis_task('SPA_TEST', 'HTML', 'errors','ALL') FROM dual;

ERROR:
ORA-27163: out of memory
ORA-06512: at &quot;SYS.DBMS_SQLTUNE_INTERNAL&quot;, line 8211
ORA-06512: at &quot;SYS.DBMS_SQLPA&quot;, line 515
ORA-06512: at line 1


no rows selected
</pre>
<p>设置event后收集</p>
<pre class="brush: sql; title: ; notranslate">
Connected.
SQL&gt; alter session set events '31156 trace name context forever, level 0x400';

Session altered.

SQL&gt; SELECT dbms_sqlpa.report_analysis_task('SPA_TEST', 'HTML', 'errors','ALL') FROM dual;

DBMS_SQLPA.REPORT_ANALYSIS_TASK('SPA_TEST','HTML','ERRORS','ALL')
--------------------------------------------------------------------------------
&lt;html&gt;
    &lt;head&gt;
        &lt;title&gt;
   SQL Performance Impact Analyzer Report
</pre>
<p>查询MOS发现XML Parser Fails With ORA-27163 (Out Of Memory) (Doc ID 1599434.1),相关描述:<br />
<img src="//www.xifenfei.com/wp-content/uploads/2014/09/bug-xml.jpg" alt="bug-xml" width="1231" height="474" class="alignleft size-full wp-image-5534" /><br />
按照文档描述,该问题在11.2.0.4中已经修复,可是在hp unix中依然存在该问题,经验告诉我们,现在的MOS不能完全相信</p>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/10/sys%e7%94%a8%e6%88%b7%e5%af%86%e7%a0%81%e5%90%ab-sqlplus%e7%99%bb%e5%bd%95%e6%95%b0%e6%8d%ae%e5%ba%93%e8%af%a1%e5%bc%82%e4%ba%8b%e4%bb%b6%e5%88%86%e6%9e%90.html" rel="bookmark" class="crp_title">sys用户密码含$ sqlplus登录数据库诡异事件分析</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2019/09/standby-modify-password-delay.html" rel="bookmark" class="crp_title">oracle active dataguard修改密码备库延迟生效</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/10/commit%e5%90%8elob%e5%ad%97%e6%ae%b5%e4%bd%bf%e7%94%a8%e4%b8%b4%e6%97%b6%e8%a1%a8%e7%a9%ba%e9%97%b4%e6%9c%aa%e9%87%8a%e6%94%be.html" rel="bookmark" class="crp_title">commit后lob字段使用临时表空间未释放</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2016/01/%e5%85%b3%e4%ba%8ewallet%e5%8a%a0%e5%af%86%e7%9a%84%e5%87%a0%e4%b8%aa%e6%b5%8b%e8%af%95.html" rel="bookmark" class="crp_title">关于wallet加密的几个测试</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/01/%e4%bd%bf%e7%94%a8dblink%e5%af%bc%e8%87%b4scn%e5%8f%91%e7%8e%b0%e6%94%b9%e5%8f%98.html" rel="bookmark" class="crp_title">使用dblink导致scn发现改变</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2020/05/ora-21779.html" rel="bookmark" class="crp_title">ORA-21779错误处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/05/%e4%bd%bf%e7%94%a8dbms_metadata-get_ddl%e5%87%ba%e7%8e%b0ora-31605%e9%94%99%e8%af%af.html" rel="bookmark" class="crp_title">使用dbms_metadata.get_ddl出现ORA-31605错误</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2017/08/ora-12012-sys-oraat_os_opt_sy.html" rel="bookmark" class="crp_title">ORA-12012: error on auto execute of job &#8220;SYS&#8221;.&#8221;ORA$AT_OS_OPT_SY_383&#8243;</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2018/08/exp-direct-y-imp-ora-01400.html" rel="bookmark" class="crp_title">增加默认值列exp DIRECT=Y导出，导入遭遇ORA-01400</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2019/06/failed-parse-elapsed-time.html" rel="bookmark" class="crp_title">failed parse elapsed time过大分析案例</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/11/data-pump-%e4%b8%adnetwork_link%e5%8f%82%e6%95%b0%e7%9a%84%e4%bd%bf%e7%94%a8%e7%bb%ad%e7%99%bb%e5%bd%95%e7%94%a8%e6%88%b7%e5%92%8c%e6%ba%90%e7%ab%af%e7%94%a8%e6%88%b7%e4%b8%8d%e4%b8%80%e8%87%b4.html" rel="bookmark" class="crp_title">Data pump 中network_link参数的使用续(登录用户和源端用户不一致处理)</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/01/impdp-missing-sys-priv.html" rel="bookmark" class="crp_title">impdp导入数据丢失sys授权问题分析</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2014/09/mos%e5%8f%88%e4%b8%80%e6%ac%a1%e4%b8%8d%e9%9d%a0%e8%b0%b1-ora-27163-out-of-memory.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
