<?xml version="1.0" encoding="gbk"?>
			<?xml-stylesheet type="text/css" href="http://space.itpub.net/css/rss.css"?>
			<rss version="2.0">
			  <channel>
			    <title>木头小屋</title>
			    <link>http://space.itpub.net/?uid-498744</link>
			    <description>深入学习和研究Oracle，希望结交更多志同道合的朋友。</description>
			    <copyright>Copyright(C) 木头小屋</copyright>
			    <generator>SupeSite/X-Space</generator>
			    <lastBuildDate>Sat, 05 Jul 2008 12:01:06 GMT</lastBuildDate><item>
								<title>【原创】ASM下的数据文件转换为普通文件</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-364439</link>
								<description><![CDATA[<P><FONT size=3>发现很多文章都是介绍如何将普通文件装换为ASM下的数据文件的，介绍ASM下的文件转换为普通文件的较少。下面的实验就是介绍如何将ASM的文件转换为普通文件的，主要使用了RMAN和ASMCMD工具。</FONT></P>
<P><FONT size=3>注：此实验的为SYSAUX表空间。如果...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Sun, 22 Jun 2008 22:00:54 GMT</pubDate>
							</item>
							<item>
								<title>【原创】手工给用户解锁</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-348213</link>
								<description><![CDATA[<P><FONT size=3>可以通过操作user$解锁锁定的用户（实际意义并不大，呵呵，唯一想到的就是如果一个用户如果有update user$的权限，即使没有altre user的权限也可以解锁用户），下面是实验步骤：</FONT></P>
<P><FONT size=3>没有锁定的用户的ASTATUS值是0</FONT></P>
<...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Sun, 15 Jun 2008 22:03:55 GMT</pubDate>
							</item>
							<item>
								<title>OPTIMIZER_INDEX_CACHING &amp; OPTIMIZER_INDEX_COST_ADJ</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-344608</link>
								<description><![CDATA[<P><FONT size=3><FONT color=#339999>OPTIMIZER_INDEX_CACHING</FONT><BR>这个初始化参数代表一个百分比，取值范围在0到99之间。缺省值是0，代表当CBO使用索引访问数据时，在内存中发现数据的比率是0%，这意味着通过索引访问数据将需要产生物理读取，代价昂贵。如果使用缺...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Thu, 12 Jun 2008 20:50:28 GMT</pubDate>
							</item>
							<item>
								<title>mystat.sql &amp; mystat2.sql</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-343178</link>
								<description><![CDATA[<P><FONT size=3>mystat.sql和mystat2.sql可以根据v$mystat视图中的信息得出执行各个语句的各项统计值</FONT></P>
<P><FONT size=3>--mystat.sql<BR><FONT color=#339999>set echo off<BR>set verify off<BR>column value new_val V<BR>define S="&amp;1"<BR>&nbsp;</FON...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Mon, 09 Jun 2008 16:33:07 GMT</pubDate>
							</item>
							<item>
								<title>英语学习</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-342866</link>
								<description><![CDATA[<P>目前重点练习英语口语和听力中，推荐2个比较不错的网站<IMG src="/images/edit/face/002.gif">：</P>
<P>普特听力论坛：<A href="http://www.putclub.com">www.putclub.com</A></P>
<P>Speak2me：<A href="http://www.Speak2me.com">www.Speak2me.com</A></P>]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Sat, 07 Jun 2008 09:42:53 GMT</pubDate>
							</item>
							<item>
								<title>【原创】cast() 函数的用处</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-328471</link>
								<description><![CDATA[<P><FONT size=3>大家知道从number、char、date类型之间有to_number、to_char、to_date函数进行类型转换。但是如何进行number、binary_float、binary_double类型之间的转换？或number类型如何转换精度、有效值？这就需要用到cast函数</FONT></P>
<P><FONT size=3>cast的函...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Sun, 01 Jun 2008 20:47:18 GMT</pubDate>
							</item>
							<item>
								<title>Tom的runstats工具</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-327384</link>
								<description><![CDATA[<P><FONT size=3>Tom的runstat工具可以比较同一事件的两种方法，得出那种方法较好，runstat工具的创建过程如下：<BR>1.要确认有访问v$statname、v$mystat、v$latch和v$timer视图的权限</FONT></P>
<P><FONT size=3>2.创建临时表，保存统计数据</FONT></P>
<P><FONT size...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Sun, 01 Jun 2008 19:45:56 GMT</pubDate>
							</item>
							<item>
								<title>【原创】cache buffer chains的一次解决过程</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-327293</link>
								<description><![CDATA[<P><FONT size=3>环境：AIX 5.2</FONT></P>
<P><FONT size=3>数据库版本：10.2.0.2</FONT></P>
<P><FONT size=3>一个生产数据库的cache buffer chains等待比较严重，考虑对其进行优化，下面是对这个问题的一次解决过程（主要是加大热表的pctfree）：</FONT></P>
<P><FO...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Sun, 01 Jun 2008 12:29:57 GMT</pubDate>
							</item>
							<item>
								<title>【原创】遭遇BUG.5648872 -- ORA-07445错误</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-327291</link>
								<description><![CDATA[<P><FONT size=3>平台：Windows Server 2003 (32-bit)<BR>数据库版本：10.2.0.3&nbsp; </FONT></P>
<P><FONT size=3>由于此数据库应用存在大量未使用绑定变量的SQL，造成了数据库性能较低，所以考虑将cursor_sharing由exact改为simliar来暂时解决这个问题。但是在修改cur...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Sun, 01 Jun 2008 11:16:55 GMT</pubDate>
							</item>
							<item>
								<title>永久设置sql*plus的环境变量（glogin.sql的设置）</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-310419</link>
								<description><![CDATA[<P><FONT size=3>用户每次登录sql*plus的时候都会调用$ORACLE_HOME/sqlplus/admin/glogin.sql文件。我们可以修改这个文件，使得每次登录时都设置好一些sql*plus的环境变量，并将默认显示的SQL&gt;改为显示登录的用户名和登录的数据库实例名</FONT></P>
<P><FONT size=3>下...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Mon, 26 May 2008 22:27:19 GMT</pubDate>
							</item>
							<item>
								<title>【原创】由隐式转换引起的数据库性能问题</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-310107</link>
								<description><![CDATA[<P><FONT size=3>今天有用户抱怨一个生产数据库的使用速度非常慢，最后发现是由数据类型的隐式转换引起的。下面是排查步骤：</FONT></P>
<P><FONT size=3>1.看看目前数据库最大的等待是什么？发现是db file scattered read ，怀疑是有不正确的全表扫描造成的<BR><FONT co...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Sat, 24 May 2008 08:37:44 GMT</pubDate>
							</item>
							<item>
								<title>Show Show 我的几个风筝 -- 均隆蝶翼</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-310093</link>
								<description><![CDATA[<P><FONT size=3>天气越来越热了，风筝只能收藏起来，等着秋天再放了。Show下我的风筝，随时可以YY下<IMG src="/images/edit/face/004.gif">（照片改天再拍，先借用下官方的）</FONT></P>
<P><FONT size=3><A href="http://space.itpub.net/batch.download.php?aid=4906"...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Fri, 23 May 2008 20:47:49 GMT</pubDate>
							</item>
							<item>
								<title>【原创】使用nid命令修改数据库名称</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-293561</link>
								<description><![CDATA[<P><FONT size=3>nid是Oracle用来更改数据库名称的自带工具.它可以直接修改数据库名称，而无需通过以前需要重建控制文件的方法来改变.</FONT></P>
<P><FONT size=3>nid命令的使用方法如下：</FONT></P>
<P><FONT color=#ff0000 size=3>C:\WINDOWS&gt;nid</FONT></P>
<P...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Thu, 22 May 2008 22:40:57 GMT</pubDate>
							</item>
							<item>
								<title>【原创】RedHat Linux启动时间过长的问题解决</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-293467</link>
								<description><![CDATA[<P><FONT size=3>前段时间安装了RedHat Linux，但是在启动系统时到Enabling Swap Space这步都要停留很长时间</FONT></P>
<P><FONT size=3>解决过程如下:<BR>(1)查看启动日志&nbsp; cat /var/log/boot.log<BR>&nbsp; 查看系统在启动时在那个服务花费时间较长<BR>&nbsp; 重...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Wed, 21 May 2008 22:45:04 GMT</pubDate>
							</item>
							<item>
								<title>创建Database Link</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-293465</link>
								<description><![CDATA[<P><FONT size=3>1.先创建PUBLIC DATABASE LINK，不用指定用户和密码<BR><FONT color=#ff0000>scott@TEST&gt;conn system/test<BR>Connected.</FONT></FONT></P>
<P><FONT color=#ff0000 size=3>system@TEST&gt;CREATE PUBLIC DATABASE LINK orcl USING 'ORCL';</FONT></...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Wed, 21 May 2008 22:29:45 GMT</pubDate>
							</item>
							<item>
								<title>【转帖】Oracle中的二进制、八进制、十进制、十六进制相互转换函数</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-281099</link>
								<description><![CDATA[<P><FONT size=3><FONT color=#810081><FONT color=#000000>作者：hotiice<BR>原文出处：</FONT><A href="http://www.itpub.net/thread-991291-1-1.html">http://www.itpub.net/thread-991291-1-1.html</A></FONT><A href="http://www.itpub.net/thread-991291-1-1.html">...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Tue, 20 May 2008 22:30:28 GMT</pubDate>
							</item>
							<item>
								<title>【原创】操作Blob类型的方法</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-281097</link>
								<description><![CDATA[<P><FONT size=3>注：下列过程中的参数p_filename为外部文件名称，p_name用于标识唯一的一行</FONT></P>
<P><FONT size=3>1.创建目录utl_dir用于文件的导入、导出<BR><FONT color=#ff0000>create or replace directory utl_dir as 'd:\';</FONT></FONT></P>
<P><FONT si...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Tue, 20 May 2008 22:13:42 GMT</pubDate>
							</item>
							<item>
								<title>【原创】ORA-29280问题的解决</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-277831</link>
								<description><![CDATA[<P><FONT color=#000000 size=3>今天在执行一个过程时报了ORA-29280: invalid directory path错误</FONT></P>
<P><FONT color=#ff0000 size=3>scott@TEST&gt;exec exportddl_all('123');<BR><FONT color=#0080ff>BEGIN exportddl_all('123'); END;</FONT></FONT></P>
<P...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Mon, 19 May 2008 21:18:01 GMT</pubDate>
							</item>
							<item>
								<title>【原创】导出所有对象（表、索引、视图、同义词）的创建脚本</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-277830</link>
								<description><![CDATA[<P><FONT size=3>1.创建目录utl_dir用于存放导出的创建脚本<BR><FONT color=#ff0000>create or replace directory utl_dir as 'd:\';</FONT></FONT></P>
<P><FONT size=3>2.给所有用户赋予读写utl_dir的权限</FONT><FONT size=3><BR><FONT color=#ff0000>grant write,rea...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Mon, 19 May 2008 20:51:42 GMT</pubDate>
							</item>
							<item>
								<title>2008中国首届Oracle数据库精英工程师评选电子试题（选择题部分）</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-269241</link>
								<description><![CDATA[<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT size=2><SPAN lang=EN-US style="FONT-FAMILY: 'Tahoma','sans-serif'; mso-fareast-language: ZH-CN">1</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN; mso-a...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Thu, 15 May 2008 22:00:38 GMT</pubDate>
							</item>
							<item>
								<title>2008中国首届Oracle数据库精英工程师评选电子试题（论述题部分）</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-269239</link>
								<description><![CDATA[<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: 宋体; mso-fareast-language: ZH-CN; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial">二、论述题</SPAN></B><B styl...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Thu, 15 May 2008 21:48:25 GMT</pubDate>
							</item>
							<item>
								<title>木头小屋装修啦</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-269150</link>
								<description><![CDATA[<P><FONT size=3>今天把木头小屋装修了下<IMG src="/images/edit/face/030.gif">，主要是把所有文章的字体改大了，并用颜色区分了不同的内容：</FONT></P>
<P><FONT color=#ff0000 size=3>红色：执行的命令</FONT></P>
<P><FONT color=#0080ff size=3>蓝色：命令的返回结...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Wed, 14 May 2008 21:52:59 GMT</pubDate>
							</item>
							<item>
								<title>显示Oracle隐藏参数的脚本</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-269147</link>
								<description><![CDATA[<P><FONT color=#000000 size=3>如何知道Oracle所有隐藏参数的名称和描述？在网上查到了SQL脚本，并做了一点点修改<IMG src="/images/edit/face/001.gif">：</FONT></P>
<P><FONT color=#ff0000 size=3>select<BR>i.ksppinm name,<BR>i.ksppdesc description,<BR>cv.kspp...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Wed, 14 May 2008 20:51:12 GMT</pubDate>
							</item>
							<item>
								<title>【原创】trcasst工具的使用</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-266422</link>
								<description><![CDATA[<P><FONT size=3>trcasst是Oracle自带的一个工具，可以用来格式化Oracle Net 服务产生的trace文件，使trace文件更加的易读，就像tkprof用来格式化sql的trace文件一样</FONT></P>
<P><FONT size=3>trcasst的用法: trcasst [options] &lt;filename&gt;<BR>&nbsp;&nbsp;&nbs...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Tue, 13 May 2008 21:55:03 GMT</pubDate>
							</item>
							<item>
								<title>listener.ora的trace相关参数</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-265195</link>
								<description><![CDATA[<P><FONT size=3>listener.ora的trace相关参数（每个listener需要单独设置） </FONT></P>
<P><FONT size=3>#trace的等级：有off（0）,user（4）,admin（6）,support（16） 4个可选值，默认是off的（不进行跟踪）</FONT></P>
<P><FONT color=#ff0000><FONT size=3>TRACE_...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Mon, 12 May 2008 20:48:46 GMT</pubDate>
							</item>
							<item>
								<title>【原创】ORA-02085问题的解决</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-265191</link>
								<description><![CDATA[<P><FONT size=3>创建database link</FONT></P>
<P><FONT color=#ff0000 size=3>sys@ORCL&gt;create database link fgos connect to fgos identified by fgos using 'FGOS';</FONT></P>
<P><FONT color=#0080ff size=3>Database link created.</FONT></P>
<P><FONT siz...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Mon, 12 May 2008 20:13:38 GMT</pubDate>
							</item>
							<item>
								<title>【原创】删除plan_table表的奇怪问题</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-264997</link>
								<description><![CDATA[<P><FONT size=3>实验环境：WinXP SP2</FONT></P>
<P><FONT size=3>数据库版本：10.2.0.1</FONT></P>
<P><FONT size=3>今天在做实验的时候发现了一个奇怪的问题，大家可以先看看这个问题的表象：</FONT></P>
<P><FONT size=3>查询的时候，plan_table没有任何问题</FONT...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Sun, 11 May 2008 14:41:27 GMT</pubDate>
							</item>
							<item>
								<title>【原创】ORA-00054问题的解决（plan_table在autotrace过程中会被锁定）</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-264996</link>
								<description><![CDATA[<P><FONT size=3>实验环境：WinXP SP2</FONT></P>
<P><FONT size=3>数据库版本：10.2.0.1</FONT></P>
<P><FONT size=3>今天在实验过程中发现autotrace是会锁定plan_table表的，具体实验步骤如下：</FONT></P>
<P><FONT color=#ff0000 size=3>sys@ TEST&gt;set autotrac...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Sun, 11 May 2008 14:15:00 GMT</pubDate>
							</item>
							<item>
								<title>【原创】Oracle9i和10g中plan_table表的差异</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-264994</link>
								<description><![CDATA[<P><FONT size=3>实验环境：WinXP SP2</FONT></P>
<P><FONT size=3>数据库版本：10.2.0.1</FONT></P>
<P><FONT size=3>今天在做实验的时候发现，plan_table在不用的Oracle版本间是有一定的差异的。10g相对9i，在plan_table中添加了一些列（下面绿色的部分）</FONT></P>...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Sun, 11 May 2008 13:57:33 GMT</pubDate>
							</item>
							<item>
								<title>【原创】autotrace中statistics为0的问题的解决</title>
								<link>http://space.itpub.net/?uid-498744-action-viewspace-itemid-264991</link>
								<description><![CDATA[<P><FONT size=3>环境：AIX 5.2</FONT></P>
<P><FONT size=3>数据库版本：10.2.0.2</FONT></P>
<P><FONT size=3>在对数据库进行autotrace的时候，发现所有SQL的结果中statistics除了行数外都是0</FONT></P>
<P><FONT color=#ff0000 size=3>fgos@FGOSDB&gt;set autotrac...]]></description>
								<category>blog</category>
								<author>木头一个</author>
								<pubDate>Sun, 11 May 2008 13:37:19 GMT</pubDate>
							</item>
							
		</channel>
	</rss>