<?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; oracle</title>
	<atom:link href="http://www.ochef.net/tag/oracle/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ochef.net</link>
	<description>Oracle and My Life</description>
	<lastBuildDate>Mon, 09 Jan 2012 05:39:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>DB2对比Oracle学习系列之:instance &amp; database concepts</title>
		<link>http://www.ochef.net/2009/09/db2_vs_oracle_01.html</link>
		<comments>http://www.ochef.net/2009/09/db2_vs_oracle_01.html#comments</comments>
		<pubDate>Tue, 29 Sep 2009 15:03:22 +0000</pubDate>
		<dc:creator>ochef</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[db2]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://www.ochef.net/?p=626</guid>
		<description><![CDATA[DB2的实例概念 从体系结构看，就是DB2的执行代码和数据库对象的中间逻辑层，可以看成是关于所有的数据库及其对象的逻辑集合，也可以认为是所有的数据库及其对象和DB2的代码之间的联系和结合。通俗一点说就是：由一组后台进程和共享内存组成。 这一点与Oracle的实例概念是一致的。 DB2 Shared Memory DB2的数据库概念 在DB2中，一个DB2实例可以同时管理多个DB2数据库，而一个DB2数据库只能由一个DB2实例管理，DB2数据库与DB2实例是一种松散耦合的关系。 Oracle数据库的概念正好相反： 一个实例在其生存期内只能装载（alter database mount）和打开（alter database open）一个数据库。 一个数据库可被多个实例同时装载和打开（Oracle的集群RAC）。 DB2 Server Architecture -The End-<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F11%2Fconfigure-ora11gr2-t-gateway-for-db2udb.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Fdb2_vs_oracle.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Configure Ora11gR2 T-gateway for DB2UDB</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-db2-9-1-for-linux.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Fdb2_vs_oracle.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install DB2 9.1 for Linux</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F11%2Finstall-and-configure-db2-v9-7-client-for-linux.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Fdb2_vs_oracle.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install and configure DB2 V9.7 client for linux</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-oracle-102-on-solaris10.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Fdb2_vs_oracle.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install oracle 10.2 on Solaris10</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p><strong>DB2的实例概念</strong></p>
<p>从体系结构看，就是DB2的执行代码和数据库对象的中间逻辑层，可以看成是关于所有的数据库及其对象的逻辑集合，也可以认为是所有的数据库及其对象和DB2的代码之间的联系和结合。通俗一点说就是：由一组后台进程和共享内存组成。</p>
<p><strong>这一点与Oracle的实例概念是一致的。</strong></p>
<p><img class="alignnone size-full wp-image-627" title="db2_shared_mem" src="http://www.ochef.net/wp-content/uploads/2009/09/db2_shared_mem.jpg" alt="db2_shared_mem" width="630" height="377" /></p>
<p align="center">DB2 Shared Memory</p>
<p><strong>DB2的数据库概念</strong></p>
<p>在DB2中，一个DB2实例可以同时管理多个DB2数据库，而一个DB2数据库只能由一个DB2实例管理，DB2数据库与DB2实例是一种松散耦合的关系。</p>
<p><strong>Oracle数据库的概念正好相反：</strong></p>
<ol>
<li>一个实例在其生存期内只能装载（alter database mount）和打开（alter database open）一个数据库。</li>
<li>一个数据库可被多个实例同时装载和打开（Oracle的集群RAC）。</li>
</ol>
<p><img class="alignnone size-full wp-image-628" title="DB2_Server_ Architecture" src="http://www.ochef.net/wp-content/uploads/2009/09/DB2_Server_-Architecture.jpg" alt="DB2_Server_ Architecture" width="572" height="425" /></p>
<p align="center">DB2 Server Architecture</p>
<p>-The End-</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F11%2Fconfigure-ora11gr2-t-gateway-for-db2udb.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Fdb2_vs_oracle.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Configure Ora11gR2 T-gateway for DB2UDB</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-db2-9-1-for-linux.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Fdb2_vs_oracle.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install DB2 9.1 for Linux</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F11%2Finstall-and-configure-db2-v9-7-client-for-linux.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Fdb2_vs_oracle.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install and configure DB2 V9.7 client for linux</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-oracle-102-on-solaris10.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Fdb2_vs_oracle.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install oracle 10.2 on Solaris10</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ochef.net/2009/09/db2_vs_oracle_01.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Buys Sun</title>
		<link>http://www.ochef.net/2009/04/oracle-buys-sun.html</link>
		<comments>http://www.ochef.net/2009/04/oracle-buys-sun.html#comments</comments>
		<pubDate>Tue, 21 Apr 2009 02:40:26 +0000</pubDate>
		<dc:creator>ochef</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://www.ochef.net/?p=273</guid>
		<description><![CDATA[昨天4月20日，Oracle以74亿美刀收购了Sun。不多说，请看官方的消息： Oracle Sun<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Fdb2_vs_oracle_01.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Foracle-buys-sun.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">DB2对比Oracle学习系列之:instance &amp; database concepts</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-oracle-102-on-solaris10.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Foracle-buys-sun.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install oracle 10.2 on Solaris10</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fstop-and-remove-oracle-advanced-replication.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Foracle-buys-sun.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Stop and remove oracle advanced replication</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F12%2Foracle-sql-developer-2-1-released.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Foracle-buys-sun.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Oracle SQL Developer 2.1 Released</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>昨天4月20日，Oracle以74亿美刀收购了Sun。不多说，请看官方的消息：</p>
<p><a href="http://www.oracle.com/sun/index.html" target="_blank">Oracle</a></p>
<p><a href="http://www.sun.com/third-party/global/oracle/index.jsp" target="_blank">Sun</a></p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Fdb2_vs_oracle_01.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Foracle-buys-sun.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">DB2对比Oracle学习系列之:instance &amp; database concepts</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-oracle-102-on-solaris10.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Foracle-buys-sun.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install oracle 10.2 on Solaris10</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fstop-and-remove-oracle-advanced-replication.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Foracle-buys-sun.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Stop and remove oracle advanced replication</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F12%2Foracle-sql-developer-2-1-released.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Foracle-buys-sun.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Oracle SQL Developer 2.1 Released</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ochef.net/2009/04/oracle-buys-sun.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL的执行计划</title>
		<link>http://www.ochef.net/2009/03/sql-implementation-plan.html</link>
		<comments>http://www.ochef.net/2009/03/sql-implementation-plan.html#comments</comments>
		<pubDate>Thu, 19 Mar 2009 05:55:24 +0000</pubDate>
		<dc:creator>ochef</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[plan]]></category>

		<guid isPermaLink="false">http://www.ochef.net/?p=228</guid>
		<description><![CDATA[今天有开发人员问怎么安装SQL的执行计划。配置方法不止一种，下面俺简单说一下方法： 第一种方法如下： 在sys用户下运行如下脚本： SQL&#62;@$ORACLE_HOME/sqlplus/admin/plustrce.sql; 在产生角色plustrace后在sys用户下把该角色授予一般用户username, SQL&#62;grant plustrace to username; 如果愿意，可以把grant命令中的username替换为public。 第二种方法如下： 在sys用户下运行如下脚本： SQL&#62;@$ORACLE_HOME/rdbms/admin/utlxplan.sql; 创建一个plan_table,用来存储分析SQL的结果 SQL&#62;create public synonym plan_table for plan_table; SQL&#62;grant all on plan_table to public; 通过将plan_table设置为public,任何人都可以使用SQL*Plus来查看执行计划，同时也可以把grant to public中的public替换为某个username。 一些开关语句如下： set time on&#124;off 打开时间显示。 set timing on&#124;off 打开显示执行的时间。 set autotrace on&#124;off 打开自动分析，并显示SQL的运行结果。 set autotrace on statistics 按常规执行，只显示SQL的执行统计数据。 set autotrace on explain 按常规运行，只显示优化程序的执行情况。 set autotrace traceonly [...]<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F12%2Foracle-sql-developer-2-1-released.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fsql-implementation-plan.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Oracle SQL Developer 2.1 Released</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Foracle-buys-sun.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fsql-implementation-plan.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Oracle Buys Sun</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Fdb2_vs_oracle_01.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fsql-implementation-plan.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">DB2对比Oracle学习系列之:instance &amp; database concepts</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fstop-and-remove-oracle-advanced-replication.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fsql-implementation-plan.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Stop and remove oracle advanced replication</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>今天有开发人员问怎么安装SQL的执行计划。配置方法不止一种，下面俺简单说一下方法：</p>
<p>第一种方法如下：</p>
<p>在sys用户下运行如下脚本：</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">SQL&gt;@$ORACLE_HOME/sqlplus/admin/plustrce.sql;</pre></div></div>

<p>在产生角色plustrace后在sys用户下把该角色授予一般用户username,</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">SQL&gt;grant plustrace to username;</pre></div></div>

<p>如果愿意，可以把grant命令中的username替换为public。</p>
<p>第二种方法如下：<br />
在sys用户下运行如下脚本：</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">SQL&gt;@$ORACLE_HOME/rdbms/admin/utlxplan.sql;</pre></div></div>

<p>创建一个plan_table,用来存储分析SQL的结果</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">SQL&gt;create public synonym plan_table for plan_table;
SQL&gt;grant all on plan_table to public;</pre></div></div>

<p>通过将plan_table设置为public,任何人都可以使用SQL*Plus来查看执行计划，同时也可以把grant to public中的public替换为某个username。</p>
<p>一些开关语句如下：</p>
<blockquote><p><span style="color: #000080;">set time on|off </span> 打开时间显示。</p>
<p><span style="color: #000080;">set timing on|off </span> 打开显示执行的时间。</p>
<p><span style="color: #000080;">set autotrace on|off </span> 打开自动分析，并显示SQL的运行结果。</p>
<p><span style="color: #000080;">set autotrace on statistics</span> 按常规执行，只显示SQL的执行统计数据。</p>
<p><span style="color: #000080;">set autotrace on explain</span> 按常规运行，只显示优化程序的执行情况。</p>
<p><span style="color: #000080;">set autotrace traceonly</span> 打开自动分析统计，不显示SQL的运行结果。</p>
<p><span style="color: #000080;">set autotrace traceonly statistics </span><br />
与set autotrace traceonly一样，不显示执行计划，只显示统计数据。</p>
<p><span style="color: #000080;">set autotrace traceonly explain </span><br />
与set autotrace traceonly一样，不显示统计数据，只显示执行计划。它只对该查询进行分析和解释，INSERT、UPDATE、DELETE和MEGRE都用此方法，只有SELECTE 有所不同。</p></blockquote>
<p>三、示例<br />
<span id="more-228"></span></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">SQL&gt;set timing on
SQL&gt;explain plan for
  2  select * from emp;
&nbsp;
Explained.
&nbsp;
Elapsed: 00:00:00.00
SQL&gt;select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
--------------------------------------------------------------------------------
&nbsp;
--------------------------------------------------------------------
| Id  | Operation            |  Name       | Rows  | Bytes | Cost  |
--------------------------------------------------------------------
|   0 | SELECT STATEMENT     |             |    14 |   518 |     7 |
|   1 |  TABLE ACCESS FULL   | EMP         |    14 |   518 |     7 |
--------------------------------------------------------------------
&nbsp;
Note: cpu costing is off
&nbsp;
9 rows selected.
&nbsp;
Elapsed: 00:00:00.18
SQL&gt;</pre></div></div>

<p class="MsoNormal"><span lang="EN-US">btw：9i与10g的plan table是有区别的，<a href="http://www.oracleblog.cn/study-note/explan-table-between-9i-and-10g/" target="_blank">小荷这里</a>有更详细的测试。</span></p>
<p class="MsoNormal"><span lang="EN-US">Updated @ 02-04-09<br />
</span></p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F12%2Foracle-sql-developer-2-1-released.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fsql-implementation-plan.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Oracle SQL Developer 2.1 Released</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Foracle-buys-sun.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fsql-implementation-plan.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Oracle Buys Sun</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Fdb2_vs_oracle_01.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fsql-implementation-plan.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">DB2对比Oracle学习系列之:instance &amp; database concepts</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fstop-and-remove-oracle-advanced-replication.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fsql-implementation-plan.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Stop and remove oracle advanced replication</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ochef.net/2009/03/sql-implementation-plan.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How create index on big table</title>
		<link>http://www.ochef.net/2009/03/how-create-index-on-big-table.html</link>
		<comments>http://www.ochef.net/2009/03/how-create-index-on-big-table.html#comments</comments>
		<pubDate>Wed, 18 Mar 2009 08:45:23 +0000</pubDate>
		<dc:creator>ochef</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://www.ochef.net/?p=219</guid>
		<description><![CDATA[要在一个业务繁忙的OLTP环境下对一个拥有上千万数据的大表创建索引，一个原则就是根据主机CPU的数量尽可能的让SQL进行并行处理（paralell），同时尽量少产生redo。在创建索引之前需要把sort_area_size排序区修改得大一点，如下： SQL&#62;alter SESSION SET workarea_size_policy=manual; SQL&#62;alter SESSION SET sort_area_size=1024m; 并行执行SQL：（注意TEMP tablespace的大小，如果太小需要适当的加大） 1 2 SQL&#62;create UNIQUE INDEX index_name ON tablename&#40;column_name&#41; online nologging parallel 2 compute statistics; 索引创建完成之后注意要取消并行： SQL&#62;alter INDEX index_name noparallel;<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Foracle-buys-sun.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fhow-create-index-on-big-table.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Oracle Buys Sun</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Fdb2_vs_oracle_01.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fhow-create-index-on-big-table.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">DB2对比Oracle学习系列之:instance &amp; database concepts</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-oracle-102-on-solaris10.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fhow-create-index-on-big-table.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install oracle 10.2 on Solaris10</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fstop-and-remove-oracle-advanced-replication.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fhow-create-index-on-big-table.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Stop and remove oracle advanced replication</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>要在一个业务繁忙的OLTP环境下对一个拥有上千万数据的大表创建索引，一个原则就是根据主机CPU的数量尽可能的让SQL进行并行处理（paralell），同时尽量少产生redo。在创建索引之前需要把sort_area_size排序区修改得大一点，如下：</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;">SQL<span style="color: #66cc66;">&gt;</span>alter <span style="color: #993333; font-weight: bold;">SESSION</span> <span style="color: #993333; font-weight: bold;">SET</span> workarea_size_policy<span style="color: #66cc66;">=</span>manual;
SQL<span style="color: #66cc66;">&gt;</span>alter <span style="color: #993333; font-weight: bold;">SESSION</span> <span style="color: #993333; font-weight: bold;">SET</span> sort_area_size<span style="color: #66cc66;">=</span>1024m;</pre></div></div>

<p>并行执行SQL：（注意TEMP tablespace的大小，如果太小需要适当的加大）</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;">SQL<span style="color: #66cc66;">&gt;</span>create <span style="color: #993333; font-weight: bold;">UNIQUE</span> <span style="color: #993333; font-weight: bold;">INDEX</span> index_name <span style="color: #993333; font-weight: bold;">ON</span> tablename<span style="color: #66cc66;">&#40;</span>column_name<span style="color: #66cc66;">&#41;</span>
      online nologging parallel <span style="color: #cc66cc;">2</span> compute statistics;</pre></td></tr></table></div>

<p>索引创建完成之后注意要取消并行：</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;">SQL<span style="color: #66cc66;">&gt;</span>alter <span style="color: #993333; font-weight: bold;">INDEX</span> index_name noparallel;</pre></div></div>

<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Foracle-buys-sun.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fhow-create-index-on-big-table.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Oracle Buys Sun</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Fdb2_vs_oracle_01.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fhow-create-index-on-big-table.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">DB2对比Oracle学习系列之:instance &amp; database concepts</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-oracle-102-on-solaris10.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fhow-create-index-on-big-table.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install oracle 10.2 on Solaris10</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fstop-and-remove-oracle-advanced-replication.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fhow-create-index-on-big-table.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Stop and remove oracle advanced replication</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ochef.net/2009/03/how-create-index-on-big-table.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>再谈DBCA</title>
		<link>http://www.ochef.net/2009/03/talk-about-dbca.html</link>
		<comments>http://www.ochef.net/2009/03/talk-about-dbca.html#comments</comments>
		<pubDate>Fri, 13 Mar 2009 05:34:15 +0000</pubDate>
		<dc:creator>ochef</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[dbca]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://www.ochef.net/?p=157</guid>
		<description><![CDATA[前几天有朋友问在DBCA的时候有没有碰到如下类似的错误： $ dbca /u01/app/oracle/jre/1.1.8/bin/../lib/i686/native_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so) Unable to initialize threads: cannot find class java/lang/Thread Could not create Java VM 我已记不清安装oracle多少次了，但记忆中好像没有遇到过，难道是我运气太好每次都设对了LD_ASSUME_KERNEL参数，做技术的不仅要知其然，而且还要知其所以然，故在metalink上一顿疯狂search，可以参考下面的文档。 Doc ID:243979.1      Doc ID:377217.1      Note:443475.1 这些文档适用于linux 2.4的内核，下面来看看关于LD_ASSUME_KERNEL变量的解释： Kernel 2.4 comes with a i686 optimized glibc package. The optimized glibc package contains two versions [...]<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fdbca-failed-when-press-finish-button.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Ftalk-about-dbca.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">DBCA failed when press finish button</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Fdb2_vs_oracle_01.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Ftalk-about-dbca.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">DB2对比Oracle学习系列之:instance &amp; database concepts</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fstop-and-remove-oracle-advanced-replication.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Ftalk-about-dbca.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Stop and remove oracle advanced replication</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Foracle-buys-sun.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Ftalk-about-dbca.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Oracle Buys Sun</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>前几天有朋友问在DBCA的时候有没有碰到如下类似的错误：</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">$ dbca
/u01/app/oracle/jre/1.1.8/bin/../lib/i686/native_threads/libzip.so: symbol errno,
version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so)
Unable to initialize threads: cannot find class java/lang/Thread
Could not create Java VM</pre></div></div>

<p>我已记不清安装oracle多少次了，但记忆中好像没有遇到过，难道是我运气太好每次都设对了<span style="color: #ff0000;">LD_ASSUME_KERNEL参数</span>，做技术的不仅要知其然，而且还要知其所以然，故在metalink上一顿疯狂search，可以参考下面的文档。<br />
<span style="color: #000080;">Doc ID:243979.1         Doc ID:377217.1         Note:443475.1</span></p>
<p>这些文档适用于linux 2.4的内核，下面来看看关于LD_ASSUME_KERNEL变量的解释：</p>
<blockquote><p>Kernel 2.4 comes with a i686 optimized glibc package. The optimized glibc package contains two versions of the libc itself, one with and one without &#8220;floating stack&#8221; support. Which one an application picks up depends on the setting of the environment variable LD_ASSUME_KERNEL. If this is set to &#8220;2.2.5&#8243; the application will use the lib without &#8220;floating stack&#8221;. Some older java versions do not work correctly if the glibc &#8220;floating stack&#8221; is used. As a result, &#8220;universal installer&#8221; and some utilities as &#8220;database configuration assistant&#8221; will not work if the glibc &#8220;floating stack&#8221; is activated. On Sues SLES8 for Oracle to scale well, this variable must be set. With a glibc with &#8220;floating stack&#8221; support Oracle scales significantly worse (number of users) than without (several thousand vs. less than 1000 users in tests).</p></blockquote>
<p><span id="more-157"></span>首先查看提供libc.so.6的RPM:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;"># rpm -q --whatprovides libc.so.6
  glibc-2.3.4-2.19</pre></div></div>

<p>可以用find查看libc.so.6的其它版本:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;"># find /lib/ -name libc.so.6
/lib/libc.so.6
/lib/i686/libc.so.6
/lib/tls/libc.so.6</pre></div></div>

<p>再查看机器的类型:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;"># uname -m
 i686</pre></div></div>

<p style="text-align: left;">So your system is looking into /lib/i686/libc.so.6 and getting error.</p>
<p><strong>Recommended Settings for Installing Oracle Products</strong></p>
<table width="486px" border="5" cellspacing="2" cellpadding="3">
<tr>
<td>Operating System</td>
<td>LD_ASSUME_KERNEL setting</td>
</tr>
<tr>
<td>RHAS 2.1</td>
<td>2.2.5</td>
</tr>
<tr>
<td>RHEL3, RHEL4, OEL4</td>
<td>any value from 2.4.1 to 2.4.19</td>
</tr>
<tr>
<td>SLES8, SLES9</td>
<td>2.4.21</td>
</tr>
<tr>
<td>RHEL5, OEL5, SLES10</td>
<td>Should not be set</td>
</tr>
</table>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fdbca-failed-when-press-finish-button.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Ftalk-about-dbca.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">DBCA failed when press finish button</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Fdb2_vs_oracle_01.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Ftalk-about-dbca.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">DB2对比Oracle学习系列之:instance &amp; database concepts</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fstop-and-remove-oracle-advanced-replication.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Ftalk-about-dbca.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Stop and remove oracle advanced replication</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Foracle-buys-sun.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Ftalk-about-dbca.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Oracle Buys Sun</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ochef.net/2009/03/talk-about-dbca.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DBCA failed when press finish button</title>
		<link>http://www.ochef.net/2009/03/dbca-failed-when-press-finish-button.html</link>
		<comments>http://www.ochef.net/2009/03/dbca-failed-when-press-finish-button.html#comments</comments>
		<pubDate>Fri, 13 Mar 2009 03:15:38 +0000</pubDate>
		<dc:creator>ochef</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[dbca]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://www.ochef.net/?p=147</guid>
		<description><![CDATA[以前安装完oracle，在用DBCA创建数据库时，在配置了一系统列参数之到了最后点&#8221;完成&#8221;的时候，创建画面异常消失没了任何反映，以前用在网上找到的方法解决如下： Case：JRE 的版本不对, Oracle 一般使用的JRE是1.1.8到$ORACLE_BASE/jre 目录下，发现Oracle本身已经有1.3.1版的JRE #ls $ORACLE_BASE/jre 1.1.8/ 1.3.1/ Fix：只要改变一下链接使用1.3.1的JRE就可以了。（可以查看dbca的script） 1. #rm $ORACLE_HOME/JRE (此JRE目录是1.1.8 的符号链接) 2. #ln -s $ORACLE_BASE/jre/1.3.1 $ORACLE_HOME/JRE 3. #cd $ORACLE_BASE/jre/1.3.1/bin 4. #ln -s $ORACLE_BASE/jre/1.3.1/bin/.java_wrapper jre OR: #ln -s Java jre 5. #cd i386/native_threads 6. #ln -s java jre 完成以上步骤后再启动dbca问题就解决了。 今天再次遇到该问题，在metalink上查了一下有更好的解决办法： Doc ID: 292278.1 Fix： Perform the following steps to correct the [...]<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Ftalk-about-dbca.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fdbca-failed-when-press-finish-button.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">再谈DBCA</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Foracle-buys-sun.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fdbca-failed-when-press-finish-button.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Oracle Buys Sun</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Fdb2_vs_oracle_01.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fdbca-failed-when-press-finish-button.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">DB2对比Oracle学习系列之:instance &amp; database concepts</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fstop-and-remove-oracle-advanced-replication.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fdbca-failed-when-press-finish-button.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Stop and remove oracle advanced replication</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>以前安装完oracle，在用DBCA创建数据库时，在配置了一系统列参数之到了最后点&#8221;完成&#8221;的时候，创建画面异常消失没了任何反映，以前用在网上找到的方法解决如下：<br />
Case：JRE 的版本不对, Oracle 一般使用的JRE是1.1.8到$ORACLE_BASE/jre 目录下，发现Oracle本身已经有1.3.1版的JRE<br />
#ls $ORACLE_BASE/jre<br />
1.1.8/    1.3.1/<br />
Fix：只要改变一下链接使用1.3.1的JRE就可以了。（可以查看dbca的script）</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">   1. #rm $ORACLE_HOME/JRE    (此JRE目录是1.1.8 的符号链接)
   2. #ln -s $ORACLE_BASE/jre/1.3.1  $ORACLE_HOME/JRE
   3. #cd $ORACLE_BASE/jre/1.3.1/bin
   4. #ln -s $ORACLE_BASE/jre/1.3.1/bin/.java_wrapper   jre
       OR: #ln -s Java jre
   5. #cd i386/native_threads
   6. #ln -s java  jre</pre></div></div>

<p>完成以上步骤后再启动dbca问题就解决了。</p>
<p><span id="more-147"></span>今天再次遇到该问题，在<a href="https://metalink.oracle.com" target="_blank">metalink</a>上查了一下有更好的解决办法：<br />
Doc ID: 292278.1<br />
Fix：<br />
Perform the following steps to correct the defect in DBCA.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Step 1--&gt;
Backup $ORACLE_HOME/bin/dbca shell script
&nbsp;
Step 2--&gt;
Change only line #124 in the $ORACLE_HOME/bin/dbca script to include -native flag as follows
&nbsp;
$JRE_DIR/bin/jre -native -DORACLE_HOME=$OH -DJDBC_PROTOCOL=thin -mx64m
-classpath $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS
&nbsp;
Step 3--&gt;
Run the root.sh and continue running the configuration assistants
DIFF will something like this.
======================
diff $ORACLE_HOME/bin/dbca $ORACLE_HOME/bin/dbca.ORG
124c124
&lt;$JRE_DIR/bin/jre -native -DORACLE_HOME=$OH -DJDBC_PROTOCOL=thin -mx64m
-classpath $CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENTS
---
&gt;$JRE_DIR/bin/jre -DORACLE_HOME=$OH -DJDBC_PROTOCOL=thin -mx64m -classpath
$CLASSPATH oracle.sysman.assistants.dbca.Dbca $ARGUMENT</pre></div></div>

<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Ftalk-about-dbca.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fdbca-failed-when-press-finish-button.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">再谈DBCA</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Foracle-buys-sun.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fdbca-failed-when-press-finish-button.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Oracle Buys Sun</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Fdb2_vs_oracle_01.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fdbca-failed-when-press-finish-button.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">DB2对比Oracle学习系列之:instance &amp; database concepts</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fstop-and-remove-oracle-advanced-replication.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fdbca-failed-when-press-finish-button.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Stop and remove oracle advanced replication</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ochef.net/2009/03/dbca-failed-when-press-finish-button.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stop and remove oracle advanced replication</title>
		<link>http://www.ochef.net/2009/03/stop-and-remove-oracle-advanced-replication.html</link>
		<comments>http://www.ochef.net/2009/03/stop-and-remove-oracle-advanced-replication.html#comments</comments>
		<pubDate>Thu, 05 Mar 2009 08:26:30 +0000</pubDate>
		<dc:creator>ochef</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[HA]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://www.ochef.net/?p=121</guid>
		<description><![CDATA[说说08年的一个案例，Oracle的高级复制，尽管现在大家都不用了。公司扩大业务，在HB建了分公司，要将SZ这边的一部分数据（其实有一千多张表）同步到HB，在配置好高级复制之后测试，由于要复制的数据量增长比较快，以至于表空间飞快增长，当我们想要停止和删除复制环境的时候，就被挂起，google的很多文章都不见效，最后救助Oracle TS解决，以下是解决方案： SOLUTION / ACTION PLAN To implement the solution, please execute the following steps: For each of the 5 groups,just do the actions one by one. 1. if posible,please stop the application for a while. But do not stop the resouce oracle using (including network,listener,etc) 2. Stop all the replication push and purge job. [...]<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Fdb2_vs_oracle_01.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fstop-and-remove-oracle-advanced-replication.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">DB2对比Oracle学习系列之:instance &amp; database concepts</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fhow-in-a-busy-adding-a-large-table-with-a-default-value-of-the-field.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fstop-and-remove-oracle-advanced-replication.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">如何在一个业务繁忙的大表中增加一个并带有默认值的字段</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Foracle-buys-sun.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fstop-and-remove-oracle-advanced-replication.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Oracle Buys Sun</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-oracle-102-on-solaris10.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fstop-and-remove-oracle-advanced-replication.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install oracle 10.2 on Solaris10</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>说说08年的一个案例，<span style="color: #0000ff;">Oracle的高级复制</span>，尽管现在大家都不用了。公司扩大业务，在HB建了分公司，要将SZ这边的一部分数据（其实有一千多张表）同步到HB，在配置好高级复制之后测试，由于要复制的数据量增长比较快，以至于表空间飞快增长，当我们想要停止和删除复制环境的时候，就被挂起，google的很多文章都不见效，最后救助Oracle TS解决，以下是解决方案：</p>
<p><span style="color: #ff0000;">SOLUTION / ACTION PLAN</span><br />
To implement the solution, please execute the following steps:</p>
<p>For each of the 5 groups,just do the actions one by one.<br />
1. if posible,please stop the application for a while. But do not stop the resouce oracle using<br />
   (including network,listener,etc)</p>
<p>2. Stop all the replication push and purge job. Stop current running push&amp;purge job first.note:<br />
1)in 2 sites,run the whole step 2<br />
2)no special comments, all user please use &#8216;repadmin&#8217;</p>
<p>2.1 Check if the push job is currently running</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;">sql<span style="color: #66cc66;">&gt;</span>select <span style="color: #808080; font-style: italic;">/*+ ORDERED */</span> j<span style="color: #66cc66;">.</span>job<span style="color: #66cc66;">,</span> j<span style="color: #66cc66;">.</span>sid<span style="color: #66cc66;">,</span> d<span style="color: #66cc66;">.</span>dblink<span style="color: #66cc66;">,</span>
SUBSTR<span style="color: #66cc66;">&#40;</span>TO_CHAR<span style="color: #66cc66;">&#40;</span>J<span style="color: #66cc66;">.</span>THIS_DATE<span style="color: #66cc66;">,</span><span style="color: #ff0000;">'MM/DD/RRRR HH24:MI:SS'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">,</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">,</span><span style="color: #cc66cc;">20</span><span style="color: #66cc66;">&#41;</span> START_DATE
<span style="color: #993333; font-weight: bold;">FROM</span> defschedule d<span style="color: #66cc66;">,</span> dba_jobs_running j
<span style="color: #993333; font-weight: bold;">WHERE</span> j<span style="color: #66cc66;">.</span>job <span style="color: #993333; font-weight: bold;">IN</span> <span style="color: #66cc66;">&#40;</span><span style="color: #993333; font-weight: bold;">SELECT</span> job <span style="color: #993333; font-weight: bold;">FROM</span> dba_jobs
<span style="color: #993333; font-weight: bold;">WHERE</span> <span style="color: #993333; font-weight: bold;">UPPER</span><span style="color: #66cc66;">&#40;</span>what<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">LIKE</span> <span style="color: #ff0000;">'%DBMS_DEFER_SYS.PUSH%'</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #993333; font-weight: bold;">AND</span> j<span style="color: #66cc66;">.</span>job <span style="color: #66cc66;">=</span> d<span style="color: #66cc66;">.</span>job;</pre></td></tr></table></div>


<div class="wp_syntax"><div class="code"><pre class="test" style="font-family:monospace;">       JOB SID DBLINK START_DATE
       ---------- ---------- ------------------------------
        44 9 DB2.WORLD 05/16/2002 12:14:47</pre></div></div>

<p><span id="more-121"></span><br />
- if exist,then note the sid<br />
- Kill the Job Queue Process from the Operating System. To do this usethe sid to identify the<br />
  process in v$session, v$process and v$bgprocess. The process will generally be named<br />
  SNPx   or Jxxx.<br />
- After killing the process, wait approximately 1 minute, to ensure the job is removed from<br />
  dba_jobs_running.</p>
<p>You can kill the corresponding session after finding its serial# from v$session:</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;">sql<span style="color: #66cc66;">&gt;</span>select serial# <span style="color: #993333; font-weight: bold;">FROM</span> v$session <span style="color: #993333; font-weight: bold;">WHERE</span> sid<span style="color: #66cc66;">=</span><span style="color: #cc66cc;">9</span>;
       SERIAL#
      <span style="color: #808080; font-style: italic;">----------</span>
        <span style="color: #cc66cc;">24909</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;">sql<span style="color: #66cc66;">&gt;</span>alter system <span style="color: #993333; font-weight: bold;">KILL</span> <span style="color: #993333; font-weight: bold;">SESSION</span> <span style="color: #ff0000;">'8,24909'</span>;</pre></div></div>

<p>2.2 stop all push&amp;purge job in 2 sites.</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;">sql<span style="color: #66cc66;">&gt;</span>select job<span style="color: #66cc66;">,</span> what<span style="color: #66cc66;">,</span>broken <span style="color: #993333; font-weight: bold;">FROM</span> dba_jobs <span style="color: #993333; font-weight: bold;">WHERE</span> <span style="color: #993333; font-weight: bold;">UPPER</span><span style="color: #66cc66;">&#40;</span>what<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">LIKE</span> <span style="color: #ff0000;">'%DBMS_DEFER_SYS%'</span>;
&nbsp;
      JOB   WHAT BROKEN
      <span style="color: #808080; font-style: italic;">----   --------------------------------------------------------------------------</span>
       <span style="color: #cc66cc;">43</span>     <span style="color: #993333; font-weight: bold;">DECLARE</span> rc binary_integer;
                <span style="color: #993333; font-weight: bold;">BEGIN</span> rc :<span style="color: #66cc66;">=</span> sys<span style="color: #66cc66;">.</span>dbms_defer_sys<span style="color: #66cc66;">.</span>purge<span style="color: #66cc66;">&#40;</span> N
                delay_seconds<span style="color: #66cc66;">=&gt;</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>; <span style="color: #993333; font-weight: bold;">END</span>;
       <span style="color: #cc66cc;">44</span>     <span style="color: #993333; font-weight: bold;">DECLARE</span> rc binary_integer;
                <span style="color: #993333; font-weight: bold;">BEGIN</span> rc :<span style="color: #66cc66;">=</span> sys<span style="color: #66cc66;">.</span>dbms_defer_sys<span style="color: #66cc66;">.</span>push<span style="color: #66cc66;">&#40;</span>d N
                estination<span style="color: #66cc66;">=&gt;</span><span style="color: #ff0000;">'DB2.WORLD'</span><span style="color: #66cc66;">,</span> stop_on_error<span style="color: #66cc66;">=&gt;</span>FALSE<span style="color: #66cc66;">,</span> delay_seconds<span style="color: #66cc66;">=&gt;</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">,</span>
                parallelism<span style="color: #66cc66;">=&gt;</span><span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>; <span style="color: #993333; font-weight: bold;">END</span>;</pre></div></div>

<p>- Break the job with :<br />
execute dbms_job.broken(, true);&#8211;need be changed from the previous query result.commit;<br />
Query again to confirm the push &amp; purge job has all been stopped</p>
<p>3. remove the deferred queue</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;">sql<span style="color: #66cc66;">&gt;</span>select constraint_name<span style="color: #66cc66;">,</span> <span style="color: #993333; font-weight: bold;">TABLE_NAME</span>
      <span style="color: #993333; font-weight: bold;">FROM</span> sys<span style="color: #66cc66;">.</span>dba_constraints <span style="color: #993333; font-weight: bold;">WHERE</span> <span style="color: #993333; font-weight: bold;">TABLE_NAME</span> <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">'DEF$_CALLDEST'</span>;</pre></td></tr></table></div>


<div class="wp_syntax"><div class="code"><pre class="test" style="font-family:monospace;">       CONSTRAINT_NAME TABLE_NAME
       ------------------------------ ------------------
       DEF$_CALLDEST_PRIMARY DEF$_CALLDEST
       DEF$_CALL_DESTINATION DEF$_CALLDEST</pre></div></div>

<p>Note: As of Oracle8, system.DEF$_CALLDEST_CALL in not being used and system.DEF$_CALL has been changed to system.DEF$_AQCALL (this is due to the advanced queueing features in Oracle8)</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;">sql<span style="color: #66cc66;">&gt;</span>truncate <span style="color: #993333; font-weight: bold;">TABLE</span> system<span style="color: #66cc66;">.</span>DEF$_AQCALL;
sql<span style="color: #66cc66;">&gt;</span>truncate <span style="color: #993333; font-weight: bold;">TABLE</span> system<span style="color: #66cc66;">.</span>DEF$_CALLDEST;
sql<span style="color: #66cc66;">&gt;</span>truncate <span style="color: #993333; font-weight: bold;">TABLE</span> system<span style="color: #66cc66;">.</span>DEF$_ERROR;
sql<span style="color: #66cc66;">&gt;</span>truncate <span style="color: #993333; font-weight: bold;">TABLE</span> system<span style="color: #66cc66;">.</span>DEF$_AQERROR;
sql<span style="color: #66cc66;">&gt;</span>truncate <span style="color: #993333; font-weight: bold;">TABLE</span> system<span style="color: #66cc66;">.</span>DEF$_LOB; <span style="color: #808080; font-style: italic;">-- if there are LOBs replicated.</span>
sql<span style="color: #66cc66;">&gt;</span>select <span style="color: #66cc66;">*</span> <span style="color: #993333; font-weight: bold;">FROM</span> DEFCALL;
       no <span style="color: #993333; font-weight: bold;">ROWS</span>
sql<span style="color: #66cc66;">&gt;</span>select <span style="color: #66cc66;">*</span> <span style="color: #993333; font-weight: bold;">FROM</span> DEFTRAN;
       no <span style="color: #993333; font-weight: bold;">ROWS</span>
sql<span style="color: #66cc66;">&gt;</span>select <span style="color: #66cc66;">*</span> <span style="color: #993333; font-weight: bold;">FROM</span> DEFERROR;
       no <span style="color: #993333; font-weight: bold;">ROWS</span></pre></td></tr></table></div>

<p>4. When All the steps are implemented on 2 sites,we can try to suspend the master group from the master definition site.<br />
It wont take a lot of time. Then,you can remove the replcation object and the w<br />
hole replication enviroment.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;">sql<span style="color: #66cc66;">&gt;</span>select gname<span style="color: #66cc66;">,</span> request<span style="color: #66cc66;">,</span> <span style="color: #993333; font-weight: bold;">STATUS</span><span style="color: #66cc66;">,</span> errnum
     <span style="color: #993333; font-weight: bold;">FROM</span> dba_repcatlog
     <span style="color: #993333; font-weight: bold;">ORDER</span> <span style="color: #993333; font-weight: bold;">BY</span> id<span style="color: #66cc66;">,</span> gname;</pre></td></tr></table></div>

<p>Additional:<br />
If the below step be done,u must start again and u do above steps .</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="plsql" style="font-family:monospace;">DBMS_DEFER_SYS<span style="color: #00F;">.</span>SET_DISABLED <span style="color: #00F;">&#40;</span>
                         destination <span style="color: #00F;">IN</span> <span style="color: #00F;">VARCHAR2</span><span style="color: #00F;">,</span>
                         disabled <span style="color: #00F;">IN</span> <span style="color: #00F;">BOOLEAN</span> <span style="color: #00F;">:=</span> <span style="color: #00F;">TRUE</span><span style="color: #00F;">,</span>
                         catchup <span style="color: #00F;">IN</span> <span style="color: #00F;">RAW</span> <span style="color: #00F;">:=</span> <span style="color: #F00;">'00'</span><span style="color: #00F;">,</span>
                         override <span style="color: #00F;">IN</span> <span style="color: #00F;">BOOLEAN</span> <span style="color: #00F;">:=</span> <span style="color: #00F;">FALSE</span><span style="color: #00F;">&#41;</span><span style="color: #00F;">;</span>
DBMS_DEFER_SYS<span style="color: #00F;">.</span>SET_DISABLED <span style="color: #00F;">&#40;</span>
                         Destination <span style="color: #00F;">=</span>&amp;gt<span style="color: #00F;">;</span> ‘meslf’<span style="color: #00F;">,</span>
                         disabled <span style="color: #00F;">=</span> <span style="color: #00F;">TRUE</span><span style="color: #00F;">&#41;</span><span style="color: #00F;">;</span></pre></td></tr></table></div>

<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Fdb2_vs_oracle_01.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fstop-and-remove-oracle-advanced-replication.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">DB2对比Oracle学习系列之:instance &amp; database concepts</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fhow-in-a-busy-adding-a-large-table-with-a-default-value-of-the-field.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fstop-and-remove-oracle-advanced-replication.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">如何在一个业务繁忙的大表中增加一个并带有默认值的字段</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Foracle-buys-sun.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fstop-and-remove-oracle-advanced-replication.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Oracle Buys Sun</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-oracle-102-on-solaris10.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fstop-and-remove-oracle-advanced-replication.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install oracle 10.2 on Solaris10</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ochef.net/2009/03/stop-and-remove-oracle-advanced-replication.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>如何在一个业务繁忙的大表中增加一个并带有默认值的字段</title>
		<link>http://www.ochef.net/2009/03/how-in-a-busy-adding-a-large-table-with-a-default-value-of-the-field.html</link>
		<comments>http://www.ochef.net/2009/03/how-in-a-busy-adding-a-large-table-with-a-default-value-of-the-field.html#comments</comments>
		<pubDate>Thu, 05 Mar 2009 02:41:08 +0000</pubDate>
		<dc:creator>ochef</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[HA]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://www.ochef.net/?p=107</guid>
		<description><![CDATA[方法来自Piner的新书《构建Oracle高可用环境》 1.先增加一个字段 sql&#62;Alter TABLE TABLE_NAME ADD field_name NUMBER; 2.把该字段修改为有默认值 sql&#62;Alter TABLE TABLE_NAME MODIFY field_name DEFAULT 0; 该语句并不修改以前的记录，只是标记以后的记录将会有默认值0,所以，这个语句的执行很快，不会引发阻塞。 3.修改以前的记录，让其有默认值（每修改1000条记录 commit一次） 1 2 3 4 5 6 7 8 9 10 11 12 DECLARE row_num NUMBER := 0; BEGIN FOR c_test IN &#40;SELECT ROWID rid FROM table_name t WHERE field_name IS NULL&#41; LOOP UPDATE table_name t SET [...]<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fstop-and-remove-oracle-advanced-replication.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fhow-in-a-busy-adding-a-large-table-with-a-default-value-of-the-field.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Stop and remove oracle advanced replication</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Fdb2_vs_oracle_01.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fhow-in-a-busy-adding-a-large-table-with-a-default-value-of-the-field.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">DB2对比Oracle学习系列之:instance &amp; database concepts</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Foracle-buys-sun.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fhow-in-a-busy-adding-a-large-table-with-a-default-value-of-the-field.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Oracle Buys Sun</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-oracle-102-on-solaris10.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fhow-in-a-busy-adding-a-large-table-with-a-default-value-of-the-field.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install oracle 10.2 on Solaris10</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>方法来自<a href="http://www.ixdba.com/" target="_blank">Piner</a>的新书<a href="http://www.china-pub.com/38185" target="_blank">《构建Oracle高可用环境》</a><br />
1.先增加一个字段</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;">sql<span style="color: #66cc66;">&gt;</span>Alter <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #993333; font-weight: bold;">TABLE_NAME</span> <span style="color: #993333; font-weight: bold;">ADD</span> field_name <span style="color: #993333; font-weight: bold;">NUMBER</span>;</pre></div></div>

<p>2.把该字段修改为有默认值</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;">sql<span style="color: #66cc66;">&gt;</span>Alter <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color: #993333; font-weight: bold;">TABLE_NAME</span> <span style="color: #993333; font-weight: bold;">MODIFY</span> field_name <span style="color: #993333; font-weight: bold;">DEFAULT</span> <span style="color: #cc66cc;">0</span>;</pre></div></div>

<p>该语句并不修改以前的记录，只是标记以后的记录将会有默认值0,所以，这个语句的执行很快，不会引发阻塞。<br />
3.修改以前的记录，让其有默认值（每修改1000条记录 commit一次）</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="plsql" style="font-family:monospace;"><span style="color: #00F;">DECLARE</span>
       row_num <span style="color: #00F;">NUMBER</span> <span style="color: #00F;">:=</span> <span style="color: #800;">0</span><span style="color: #00F;">;</span>
<span style="color: #00F;">BEGIN</span>
       <span style="color: #00F;">FOR</span> c_test <span style="color: #00F;">IN</span> <span style="color: #00F;">&#40;</span><span style="color: #00F;">SELECT</span> <span style="color: #00F;">ROWID</span> rid <span style="color: #00F;">FROM</span> table_name t <span style="color: #00F;">WHERE</span> field_name <span style="color: #00F;">IS</span> <span style="color: #00F;">NULL</span><span style="color: #00F;">&#41;</span> <span style="color: #00F;">LOOP</span>
             <span style="color: #00F;">UPDATE</span> table_name t <span style="color: #00F;">SET</span> t<span style="color: #00F;">.</span>field_name <span style="color: #00F;">=</span> <span style="color: #800;">0</span> <span style="color: #00F;">WHERE</span> <span style="color: #00F;">ROWID</span> <span style="color: #00F;">=</span> c_test<span style="color: #00F;">.</span>rid<span style="color: #00F;">;</span>
             row_num <span style="color: #00F;">:=</span> row_num <span style="color: #00F;">+</span> <span style="color: #800;">1</span><span style="color: #00F;">;</span>
             <span style="color: #00F;">IF</span> <span style="color: #000;">MOD</span><span style="color: #00F;">&#40;</span>row_num<span style="color: #00F;">,</span><span style="color: #800;">1000</span><span style="color: #00F;">&#41;</span> <span style="color: #00F;">=</span><span style="color: #800;">0</span> <span style="color: #00F;">THEN</span>
                  <span style="color: #00F;">COMMIT</span><span style="color: #00F;">;</span>
             <span style="color: #00F;">END</span> <span style="color: #00F;">IF</span><span style="color: #00F;">;</span>
        <span style="color: #00F;">END</span> <span style="color: #00F;">LOOP</span><span style="color: #00F;">;</span>
        <span style="color: #00F;">COMMIT</span><span style="color: #00F;">;</span>
<span style="color: #00F;">END</span><span style="color: #00F;">;</span></pre></td></tr></table></div>

<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fstop-and-remove-oracle-advanced-replication.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fhow-in-a-busy-adding-a-large-table-with-a-default-value-of-the-field.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Stop and remove oracle advanced replication</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Fdb2_vs_oracle_01.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fhow-in-a-busy-adding-a-large-table-with-a-default-value-of-the-field.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">DB2对比Oracle学习系列之:instance &amp; database concepts</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Foracle-buys-sun.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fhow-in-a-busy-adding-a-large-table-with-a-default-value-of-the-field.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Oracle Buys Sun</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-oracle-102-on-solaris10.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Fhow-in-a-busy-adding-a-large-table-with-a-default-value-of-the-field.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install oracle 10.2 on Solaris10</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ochef.net/2009/03/how-in-a-busy-adding-a-large-table-with-a-default-value-of-the-field.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install oracle 10.2 on Solaris10</title>
		<link>http://www.ochef.net/2009/03/install-oracle-102-on-solaris10.html</link>
		<comments>http://www.ochef.net/2009/03/install-oracle-102-on-solaris10.html#comments</comments>
		<pubDate>Wed, 04 Mar 2009 13:57:31 +0000</pubDate>
		<dc:creator>ochef</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[os]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://www.ochef.net/?p=98</guid>
		<description><![CDATA[通过自己做的实验在安装之前我觉得有必要介绍一下solaris分区： / swap (=/tmp 参考Solaris 下Swap分区介绍) /export/home /u01 1.记录一下10R2在Solaris10上的安装步骤： 系统需求检查： # /usr/sbin/prtconf &#124; grep &#34;Memory size&#34; Memory size: 16384 Megabytes # /usr/sbin/swap -s total: 56936k bytes allocated + 4840k reserved = 61776k used, 32556464k available # df -h /tmp Filesystem size used avail capacity Mounted on swap 31G 0K 31G 0% /tmp # df -h [...]<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-9208-on-rhel4-packages.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-oracle-102-on-solaris10.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install oracle9208 on rhel4 required packages</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-db2-9-1-for-linux.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-oracle-102-on-solaris10.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install DB2 9.1 for Linux</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-sybase-ase-15-0-for-linux.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-oracle-102-on-solaris10.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install Sybase ASE 15.0 for Linux</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F05%2Fthe-difference-between-solaris-and-opensolaris.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-oracle-102-on-solaris10.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Solaris与OpenSolaris的区别</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>通过自己做的实验在安装之前我觉得有必要介绍一下solaris分区：<br />
/<br />
swap  (=/tmp <a href="http://os.cnfan.net/Solaris/2027.html" target="_blank">参考Solaris 下Swap分区介绍</a>)<br />
/export/home<br />
/u01<br />
1.记录一下10R2在Solaris10上的安装步骤：<br />
系统需求检查：</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;"># /usr/sbin/prtconf | grep &quot;Memory size&quot;
Memory size: 16384 Megabytes
# /usr/sbin/swap -s
total: 56936k bytes allocated + 4840k reserved = 61776k used, 32556464k available
# df -h /tmp
Filesystem size used avail capacity Mounted on
swap 31G 0K 31G 0% /tmp
# df -h /u01
Filesystem size used avail capacity Mounted on
/dev/dsk/c1t1d0s0 134G 65M 133G 1% /ora10g</pre></div></div>

<p>内存最小要求是1G。<br />
swap的最小空间与内存大小有关，内存1G，则swap为内存的2倍，内存小于2G，则swap为内存的1.5倍，内存小于8G，swap和内存相等，内存大于8G，则swap为内存的0.75倍。<br />
/tmp目录需要至少400M以上的空间。<br />
安装目录至少需要2G以上的空间来安装软件。<br />
<span id="more-98"></span><br />
2.检查系统和系统包、字体包的安装情况：</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;"># /bin/isainfo -kv
64-bit sparcv9 kernel modules
# uname -r
5.10</pre></div></div>

<p>根据oracle的官方安装文档，要先安装package：SUNWi1cs，SUNWi15cs。在solaris的安装光盘上找到安装包之后，然后复制到/var/spool/pkg ，用命令：<br />
#pkgadd -d /var/spool/pkg SUNWi15cs<br />
出现以下错误：<br />
pkgadd: ERROR: no packages were found in<br />
直接使用pkgadd指令後，找到要裝的SUNWi1cs,SUNWi15cs直接安裝即可。</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;"># pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot
SUNWtoo SUNWi1of SUNWxwfnt SUNWi1cs SUNWi15cs SUNWsprox</pre></div></div>

<p>3.满足安装Oracle的最小要求后，就可以创建使用root用户来设置系统参数并创建Oracle用户了。<br />
在/etc/system文件后面添加下面内容：</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">set semsys:seminfo_semmni=100
set semsys:seminfo_semmsl=256
set semsys:seminfo_semmns=1024
set semsys:seminfo_shmmax=1024000000
set semsys:seminfo_shmmni=100
set semsys:seminfo_shmmni=100
set semsys:seminfo_shmseg=10
set semsys:seminfo_shmmin=1
set noexec_user_stack=1</pre></div></div>

<p>这是对系统内存参数的调整，修改完毕后重新操作系统。</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">-bash-3.00# more /etc/hosts
# Internet host table
::1     localhost
127.0.0.1       localhost      localhost.localdomain
192.168.0.34    sunDB          sunDB.net
# mkdir /export/home/oracle
# groupadd oinstall
# groupadd dba
# useradd -g oinstall -G dba -d /export/home/oracle -m -s /usr/bin/bash oracle
# passwd oracle
New Password:
Re-enter new Password:
passwd: password successfully changed for oracle
# chown -R oracle:oinstall /export/home/oracle
# chown –R oracle:oinstall /u01
# chmod –R 775 oracle:oinstall /export/home/oracle
#chmod –R 775 /u01
# id nobody
uid=60001(nobody) gid=60001(nobody)</pre></div></div>

<p>4.创建完用户、组，并对相应的目录进行授权后，root用户的工作结束，切换到oracle用户。注意，如果nobody用户不存在，可以通过useradd增加用户。</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;"># su - oracle
$ vi .profile</pre></div></div>

<p>编辑.prifle文件，添加下列内容：</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">/usr/bin/stty erase ^H
umask 022
ORACLE_HOSTNAME=sunDB.net
export ORACLE_HOSTNAME
ORACLE_SID=sol10g
export ORACLE_SID
ORACLE_BASE=/u01/oracle
export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0
export ORACLE_HOME
ORACLE_TERM=xterm
export ORACLE_TERM
PATH=$PATH:$ORACLE_HOME/bin:/usr/bin:/usr/ccs/bin:/etc:/usr/openwin/bin
export PATH
NLS_LANG=&quot;SIMPLIFIED CHINESE_CHINA.ZHS16GBK&quot;
export NLS_LANG
DISPLAY=192.168.0.34:0.0
export DISPLAY</pre></div></div>

<p>由于使用XManager，因此设置DISPLAY为IP:0.0。然后建立所需安装路径：</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">$ mkdir -p /u01/oracle/product/10.2.0
$chown -R  oracle:oinstall /u01/oracle
$chmod -R 775 /u01/oracle
$chown -R oracle:oinstall /u01/oracle/product/10.2.0
$chmod -R 775 /u01/oracle/product/10.2.0</pre></div></div>

<p>使用XManager用root登陆，执行</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;"># xhost 192.168.0.34
192.168.0.34 being added to access control list
# su - oracle</pre></div></div>

<p>进入disk1目录，执行./runInstaller，进入Oracle的安装图形界面提示输入相应的信息一路NEXT就可以了。<br />
当软件安装结束后，会提示以root执行$ORACLE_BASE/oraInventory/orainstRoot.sh和$ORACLE_HOME/root.sh脚本，执行后，点击ok，Oracle软件部分就安装完成了。<br />
dbca在建库时出现ora-27102 out of memory的错误的解决办法：<br />
更改一下建库条件则可，SGA不要选“按作用内存的比例”分配<br />
sga大小为160m<br />
当sql&gt;startup时出现:<br />
Re: Solaris 10, Oracle 10g and ORA-27102 out of memory<br />
vi $ORACLE_HOME/dbs/init.ora.*<br />
把sga的值改为270   即可</p>
<p>TNSNAME和LISTENER配置步骤很简单，就不描述了。</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-9208-on-rhel4-packages.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-oracle-102-on-solaris10.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install oracle9208 on rhel4 required packages</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-db2-9-1-for-linux.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-oracle-102-on-solaris10.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install DB2 9.1 for Linux</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-sybase-ase-15-0-for-linux.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-oracle-102-on-solaris10.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install Sybase ASE 15.0 for Linux</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F05%2Fthe-difference-between-solaris-and-opensolaris.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-oracle-102-on-solaris10.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Solaris与OpenSolaris的区别</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ochef.net/2009/03/install-oracle-102-on-solaris10.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install oracle9208 on rhel4 required packages</title>
		<link>http://www.ochef.net/2009/03/install-9208-on-rhel4-packages.html</link>
		<comments>http://www.ochef.net/2009/03/install-9208-on-rhel4-packages.html#comments</comments>
		<pubDate>Tue, 03 Mar 2009 12:54:00 +0000</pubDate>
		<dc:creator>ochef</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://www.ochef.net/2009/03/install-oracle9208-on-rhel4-required-packages/</guid>
		<description><![CDATA[The following packages (or later versions) must be installed: compat-db-4.1.25-9 compat-gcc-32-3.2.3-47.3 compat-gcc-32-c++-3.2.3-47.3 compat-oracle-rhel4-1.0-5  Download p4198954_40_LINUX.zip patch compat-libcwait-2.1-1 compat-libgcc-296-2.96-132.7.2 compat-libstdc++-296-2.96-132.7.2 compat-libstdc++-33-3.2.3-47.3 gcc-3.4.3-9.EL4 gcc-c++-3.4.3-9.EL4 gnome-libs-1.4.1.2.90-44 gnome-libs-devel-1.4.1.2.90-44 ORBit-devel-0.5.17-14.i386.rpm glib-devel-1.2.10-15.i386.rpm esound-devel-0.2.35-2.i386.rpm alsa-lib-devel-1.0.6-5.RHEL4.i386.rpm audiofile-devel-0.2.6-1.el4.1.i386.rpm gtk+-devel-1.2.10-33.i386.rpm xorg-x11-devel-6.8.2-1.EL.13.36.i386.rpm fontconfig-devel-2.2.3-7.i386.rpm freetype-devel-2.1.9-1.i386.rpm imlib-devel-1.9.13-23.i386.rpm libjpeg-devel-6b-33.i386.rpm libtiff-devel-3.6.1-10.i386.rpm libungif-devel-4.1.3-1.el4.2.i386.rpm libaio-devel-0.3.102-1 libaio-0.3.102-1 make-3.80-5 openmotif21-2.1.30-11 xorg-x11-deprecated-libs-devel-6.8.1-23.EL xorg-x11-deprecated-libs-6.8.1-23.EL<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-oracle-102-on-solaris10.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-9208-on-rhel4-packages.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install oracle 10.2 on Solaris10</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Finstall-oracle-10g-rac-on-rhel4u7.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-9208-on-rhel4-packages.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install Oracle 10g RAC on RHEL4U7</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-db2-9-1-for-linux.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-9208-on-rhel4-packages.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install DB2 9.1 for Linux</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-sybase-ase-15-0-for-linux.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-9208-on-rhel4-packages.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install Sybase ASE 15.0 for Linux</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>The following packages (or later versions) must be installed:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">compat-db-4.1.25-9
compat-gcc-32-3.2.3-47.3
compat-gcc-32-c++-3.2.3-47.3</pre></div></div>

<p><span style="color: #ff0000;">compat-oracle-rhel4-1.0-5  Download p4198954_40_LINUX.zip patch<br />
compat-libcwait-2.1-1 </span></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">compat-libgcc-296-2.96-132.7.2
compat-libstdc++-296-2.96-132.7.2
compat-libstdc++-33-3.2.3-47.3
gcc-3.4.3-9.EL4
gcc-c++-3.4.3-9.EL4
gnome-libs-1.4.1.2.90-44
gnome-libs-devel-1.4.1.2.90-44
ORBit-devel-0.5.17-14.i386.rpm
glib-devel-1.2.10-15.i386.rpm
esound-devel-0.2.35-2.i386.rpm
alsa-lib-devel-1.0.6-5.RHEL4.i386.rpm
audiofile-devel-0.2.6-1.el4.1.i386.rpm
gtk+-devel-1.2.10-33.i386.rpm
xorg-x11-devel-6.8.2-1.EL.13.36.i386.rpm
fontconfig-devel-2.2.3-7.i386.rpm
freetype-devel-2.1.9-1.i386.rpm</pre></div></div>

<p><span id="more-74"></span></p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">imlib-devel-1.9.13-23.i386.rpm
libjpeg-devel-6b-33.i386.rpm
libtiff-devel-3.6.1-10.i386.rpm
libungif-devel-4.1.3-1.el4.2.i386.rpm
libaio-devel-0.3.102-1
libaio-0.3.102-1
make-3.80-5
openmotif21-2.1.30-11
xorg-x11-deprecated-libs-devel-6.8.1-23.EL
xorg-x11-deprecated-libs-6.8.1-23.EL</pre></div></div>

<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-oracle-102-on-solaris10.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-9208-on-rhel4-packages.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install oracle 10.2 on Solaris10</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F04%2Finstall-oracle-10g-rac-on-rhel4u7.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-9208-on-rhel4-packages.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install Oracle 10g RAC on RHEL4U7</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-db2-9-1-for-linux.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-9208-on-rhel4-packages.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install DB2 9.1 for Linux</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.ochef.net%2F2009%2F09%2Finstall-sybase-ase-15-0-for-linux.html&from=http%3A%2F%2Fwww.ochef.net%2F2009%2F03%2Finstall-9208-on-rhel4-packages.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Install Sybase ASE 15.0 for Linux</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.ochef.net/2009/03/install-9208-on-rhel4-packages.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

