<?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>magic007的Oracle空间</title>
			    <link>http://space.itpub.net/69924</link>
			    <description>某男，不帅，无其他技能，以Oracle为生，现为国内一知名Oracle增值服务商的技术支持工程师。愿结交天下朋友，聊Oracle技术，侃天下事。</description>
			    <copyright>Copyright(C) magic007的Oracle空间</copyright>
			    <generator>SupeSite/X-Space</generator>
			    <lastBuildDate>Mon, 24 Nov 2008 03:09:52 GMT</lastBuildDate><item>
								<title>制作全新的个人网站</title>
								<link>http://space.itpub.net/69924/viewspace-406723</link>
								<description><![CDATA[我已经制作全新的个人网站，在<a href="http://www.laoxiong.net/" target="_blank">http://www.laoxiong.net</a>，此空间将不再更新，关注我的朋友可以去我的个人网站踩踩。
			
			<div></div>
			]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Mon, 21 Jul 2008 22:49:09 GMT</pubDate>
							</item>
							<item>
								<title>Oracle 10g数据库的最大容量</title>
								<link>http://space.itpub.net/69924/viewspace-366107</link>
								<description><![CDATA[<P>在Oracle 10g 的database concepts上提到，Oracle 10g的最大容量是8exabytes（EB），1EB=1024PB=1048576TB，这是一个相当大的数据了。还没有听说过单个库的容量达到这么大的。（虽然现实中有达到EB级别的数据量的，但那是很多个库的数据量的合计，而不是单个库。）</P>...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Fri, 27 Jun 2008 12:02:59 GMT</pubDate>
							</item>
							<item>
								<title>db_block_checking和db_block_checksum</title>
								<link>http://space.itpub.net/69924/viewspace-329637</link>
								<description><![CDATA[<P>先看看Oracle文档上对db_block_checking参数的说明：</P>
<P class=BP><CODE>DB_BLOCK_CHECKING</CODE> controls whether Oracle performs block checking for data blocks. When this parameter is set to <CODE><FONT face=新宋体>true</FONT></CODE>, Oracle perfo...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Mon, 02 Jun 2008 13:48:04 GMT</pubDate>
							</item>
							<item>
								<title>最近很累</title>
								<link>http://space.itpub.net/69924/viewspace-235565</link>
								<description><![CDATA[最近事情多，积在一起，感觉比较累。得放松一下才行。]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Sat, 12 Apr 2008 18:47:33 GMT</pubDate>
							</item>
							<item>
								<title>Oracle的文件号、相对文件号及其他（续）</title>
								<link>http://space.itpub.net/69924/viewspace-227940</link>
								<description><![CDATA[<P>在前一篇文章（<A href="http://space.itpub.net/?uid-69924-action-viewspace-itemid-172014">Oracle的文件号、相对文件号及其他</A>）中，我们提到Oracle数据文件的相对文件号为1-1023。然而从10g开始，可以使用大文件（BIGFILE）的表空间，这种表空间只能使用1个数据...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Thu, 03 Apr 2008 22:58:30 GMT</pubDate>
							</item>
							<item>
								<title>Oracle10g 在AIX 5.3上的安装</title>
								<link>http://space.itpub.net/69924/viewspace-217147</link>
								<description><![CDATA[<P>Oracle10g 在AIX 5.3上的安装</P>
<P>今天无事，在单位的测试机上，安装了一下Oracle10g</P>
<P>环境：AIX 5.3 ML06 ，数据库版本 ： Oracle 10g for AIX 5L 64bit</P>
<P>简单记录了一下安装过程：</P>
<P>&nbsp;&nbsp; 检查硬件配置<BR>&nbsp;&nbsp; 检查内存：<...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Tue, 25 Mar 2008 15:16:32 GMT</pubDate>
							</item>
							<item>
								<title>database link故障处理一例</title>
								<link>http://space.itpub.net/69924/viewspace-201885</link>
								<description><![CDATA[<P>前一天遇到一例database link问题，仅供大家参考：</P>
<P>数据库是运行在Windows 2003上的Oracle 9i</P>
<P>先来看看故障现象，维护人员发现数据库上的job不能正常执行。用TOAD手工调用job的存储过程，TOAD一直阻塞。</P>
<P>经过这个故障的过程如下：</P>
<P>1.&...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Mon, 10 Mar 2008 11:41:06 GMT</pubDate>
							</item>
							<item>
								<title>这几天比较郁闷</title>
								<link>http://space.itpub.net/69924/viewspace-200674</link>
								<description><![CDATA[<P>上次出差回来，笔记本就坏了．本来准备写两篇关于Trouble shooting的文章，由于笔记本坏，一直没写成．过段时间再补上．</P>]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Fri, 07 Mar 2008 10:08:56 GMT</pubDate>
							</item>
							<item>
								<title>Database Link与GLOBAL_NAMES参数</title>
								<link>http://space.itpub.net/69924/viewspace-192128</link>
								<description><![CDATA[<P>当GLOBAL_NAMES参数设置为TRUE时，使用DATABASE LINK时，DATABASE LINK的名称必须与被连接库的GLOBAL_NAME一致。下面做一个测试，在测试中，创建数据库链接的库为XJ（WINDOWS 2003 ORACLE 10g 10.2.0.1），被链接的库为DMDB（LINUX AS5 ORACLE 10g 10.2.0.1 RAC）</P>...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Sun, 24 Feb 2008 00:48:53 GMT</pubDate>
							</item>
							<item>
								<title>谈谈SET TRANSACTION  READ ONLY</title>
								<link>http://space.itpub.net/69924/viewspace-183267</link>
								<description><![CDATA[<P>SET TRANSACTION READ ONLY类似于SERIALIZABLE事务隔离级别，在发布SET TRANSACTION READ ONLY起的所有SELECT语句，其结果均为同一个时间点一致，直至显式地发布了COMMIT或ROLLBACK命令或隐式提交（执行DDL）。这个时间点为SET TRANSACTION READ ONLY这个语句执行后的时...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Fri, 22 Feb 2008 13:52:48 GMT</pubDate>
							</item>
							<item>
								<title>Primary Key与Unique Key</title>
								<link>http://space.itpub.net/69924/viewspace-181503</link>
								<description><![CDATA[<P>Primary key 与Unique Key都是唯一性约束。但二者有很大的区别：</P>
<P>1、Primary key的1个或多个列必须为NOT NULL，如果列为NULL，在增加PRIMARY KEY时，列自动更改为NOT NULL。而UNIQUE KEY 对列没有此要求。</P>
<P>2、一个表只能有一个PRIMARY KEY，但可以有多...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Fri, 22 Feb 2008 10:08:52 GMT</pubDate>
							</item>
							<item>
								<title>浅谈ORACLE的学习</title>
								<link>http://space.itpub.net/69924/viewspace-181483</link>
								<description><![CDATA[<P>个人认为ORACLE的学习，就好比武侠小说中学武功。要从三方面入手：</P>
<P>1、内功：针以学习ORACLE来说，内功就是对基本概念的掌握，ORACLE架构的深入理解，原理的掌握。如果有兴趣和时间，研究一下Internal的东西，这好比修习易筋经，需要极大的毅力和长期的坚持。<...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Thu, 21 Feb 2008 22:14:57 GMT</pubDate>
							</item>
							<item>
								<title>学习笔记之shutdown transactional</title>
								<link>http://space.itpub.net/69924/viewspace-179635</link>
								<description><![CDATA[<P>关于ORACLE 的transactional方式下的shutdown ，做了一下实验，记录之：</P>
<P>正常启动ORACLE之后，开三个连接到ORACLE。</P>
<P>在session2执行<BR>SQL&gt; delete from t1 where rownum=1;</P>
<P>1 row deleted.</P>
<P>在session 3执行<BR>SQL&gt; delete fr...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Wed, 20 Feb 2008 15:51:00 GMT</pubDate>
							</item>
							<item>
								<title>Oracle的文件号、相对文件号及其他</title>
								<link>http://space.itpub.net/69924/viewspace-172014</link>
								<description><![CDATA[<P>大家都知道从Oracle8开始，Oracle开始使用“相对文件号”，使原来一个数据库最多只能有1023个文件，扩展为一个表空间最多可以有1023个文件，每个库最多可以有65534个文件。</P>
<P>我们来作一个测试：</P>
<P>SQL&gt; create tablespace test_mf datafile 'F:\Works\...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Sun, 17 Feb 2008 14:46:03 GMT</pubDate>
							</item>
							<item>
								<title>如何在SQLPLUS中获取SHELL执行后的返回结果</title>
								<link>http://space.itpub.net/69924/viewspace-171161</link>
								<description><![CDATA[<P>有网友在ITPUB上问到<A href="http://www.itpub.net/redirect.php?fid=2&amp;tid=168270&amp;goto=nextoldset" target=_blank>“sqlplus下如何获取shell的return code”</A></P>
<P>可以用以下的办法：</P>
<P>在SHELL中把结果重定向到一个文件。<BR>举个例子：<BR>所...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Sun, 17 Feb 2008 10:22:52 GMT</pubDate>
							</item>
							<item>
								<title>IP地址冲突引发的ORA-12541（没有监听器）错误</title>
								<link>http://space.itpub.net/69924/viewspace-170228</link>
								<description><![CDATA[<P>一客户重启主机，启动数据库之后，客户端连接报ORA-12541：没有监听器的错误</P>
<P>环境：ORACLE 10.2.0.1 RAC AIX 5.3</P>
<P>进行测试，发现结点1不正常。客户端通过PUBLIC IP可以连接，但通过VIP不能进行连接，报ORA-12541错误</P>
<P>检查结点1的VIP，正常。在...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Thu, 14 Feb 2008 13:26:35 GMT</pubDate>
							</item>
							<item>
								<title>忙碌的春节假期</title>
								<link>http://space.itpub.net/69924/viewspace-170110</link>
								<description><![CDATA[<P>回老家，过了一个“忙碌”的春节。忙着与朋友、同学聚会。忙着想办法找回去的火车票。几天时间，过着忙碌而又充实的假期，值得幸庆的是，没有工作上的事情。不像以往的假期，总是在放假期间，出一些工作上的事情。</P>
<P>祝所有的朋友春节过得愉快，在新的一年里，有...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Mon, 11 Feb 2008 22:08:12 GMT</pubDate>
							</item>
							<item>
								<title>终于拿到了回家的火车票</title>
								<link>http://space.itpub.net/69924/viewspace-167515</link>
								<description><![CDATA[今天中午，终于拿到了回家的火车票。不过火车到站时间是早上5点左右，郁闷。拿票的价格差不多比原价多了50%.不过总算是可以回家了。松了长长一口气。]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Sat, 02 Feb 2008 16:12:11 GMT</pubDate>
							</item>
							<item>
								<title>ORACLE的动态注册行为</title>
								<link>http://space.itpub.net/69924/viewspace-167362</link>
								<description><![CDATA[<P>大家都知道，ORACLE实例在启动时，或使用命令ALTER SYSTEM REGISTER 或每隔一分钟,实例的PMON会向监听进行注册，告知监听，实例的服务名，实例名等信息。</P>
<P>不同的平台有不同的行为，本文所描述的是在LINUX下的行为。ORACLE版本为10.2.0.1。</P>
<P>讲到动态注册...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Fri, 01 Feb 2008 13:09:36 GMT</pubDate>
							</item>
							<item>
								<title>LOB列类型的LOGGING和NOLOGGING存储选择</title>
								<link>http://space.itpub.net/69924/viewspace-166597</link>
								<description><![CDATA[<P>众所周知，如果一个库没有设置为force logging，而这个库在归档模式下，对表的插入操作如果采用APPEND模式，并且表设置为nologging则不会为插入的数据产生日志。那么对LOB列的存储也设置为NOLOGGING，会产生什么样的结果？</P>
<P>测试环境：Oracle 9.2.0.1 for Win，...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Thu, 31 Jan 2008 16:29:30 GMT</pubDate>
							</item>
							<item>
								<title>再论字符集（三）</title>
								<link>http://space.itpub.net/69924/viewspace-162840</link>
								<description><![CDATA[<P>前文主要讲到的是执行DML的字符集转换，下面再讨论检索数据时的字符集转换，还是先看测试：</P>
<P>先将NLS_LANG设置为默认值ZHS16GBK</P>
<P>SQL&gt; insert into t1 values (1,'中','中');</P>
<P>已创建 1 行。</P>
<P>SQL&gt; commit;</P>
<P>提交完成。</P>...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Mon, 28 Jan 2008 11:28:56 GMT</pubDate>
							</item>
							<item>
								<title>再论字符集转换（二）</title>
								<link>http://space.itpub.net/69924/viewspace-162832</link>
								<description><![CDATA[<P>上一篇讲到普通字符串的转换，本篇将讲到国家字符集字符串的转换：</P>
<P>客户端的NLS_LANG为默认值，即ZHS16GBK：</P>
<P>SQL&gt; create table t1 ( id number ,aa varchar2(20),bb nvarchar2(20));</P>
<P>表已创建。</P>
<P>SQL&gt; insert into t1 values (1...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Mon, 28 Jan 2008 10:24:08 GMT</pubDate>
							</item>
							<item>
								<title>再论字符集转换</title>
								<link>http://space.itpub.net/69924/viewspace-162821</link>
								<description><![CDATA[<P>字符集是一个老生常谈的问题了。论坛中很多贴子探讨过这个问题，这个问题的引起，绝大部分是因为“乱码”。而乱码是由于客户端与服务器的字符集的不同进行字符集转换而引起的。不过很多贴子提到了转换，却没有提到这个转换是在哪个阶段和哪里发生的？是在服务器向块里写...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Mon, 28 Jan 2008 00:07:40 GMT</pubDate>
							</item>
							<item>
								<title>令人郁闷的火车票</title>
								<link>http://space.itpub.net/69924/viewspace-162796</link>
								<description><![CDATA[<P>今天中午去一火车票代售点买回春节回老家的火车票。没买到，原因是那个日期的火车票还没出来。但其他买票的人，虽然日期是预售期内，但都没有了。听那卖票人的说法，票是很难买的。虽然这个时候理应买票的人很多，但卖票的那位大姐实在是很闲，据她的说法是，根本没有票...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Sat, 26 Jan 2008 14:34:18 GMT</pubDate>
							</item>
							<item>
								<title>今天下雪了，好冷</title>
								<link>http://space.itpub.net/69924/viewspace-154155</link>
								<description><![CDATA[<P>今天上午还在睡懒觉，准备起来了跟同学出门的。LP叫我不要出门了，说下雪了。打电话告诉同学，不出去了，索引继续睡觉，我那同学也乐得睡懒觉。汗。。。</P>
<P>中午起来看外面，还在飘雪，树上都积了不少了。很多年没有见过雪了，都不记得雪是什么样子了。小时候冬天...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Sun, 20 Jan 2008 17:16:56 GMT</pubDate>
							</item>
							<item>
								<title>col$数据字典中col#,segcol#,intcol#的意义</title>
								<link>http://space.itpub.net/69924/viewspace-153380</link>
								<description><![CDATA[<P>让实验说话：</P>
<P>SQL&gt; create cluster test1.C_T1 ( c_a number(10));</P>
<P>Cluster created.</P>
<P>SQL&gt; create index test1.c_t1_idx on cluster test1.c_t1;</P>
<P>Index created.SQL&gt; create table test1.t1 (a varchar(2),b number(10),c va...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Sat, 19 Jan 2008 16:47:22 GMT</pubDate>
							</item>
							<item>
								<title>9i下删除unused column的异常情况</title>
								<link>http://space.itpub.net/69924/viewspace-153376</link>
								<description><![CDATA[<P>作了一个实验，删除unused column时出现异常情况：</P>
<P>SQL&gt; create table test1.t1 (a number,b number, c number);</P>
<P>Table created.</P>
<P>SQL&gt; alter table test1.t1 set unused (a);</P>
<P>Table altered.</P>
<P>SQL&gt; alter table test1...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Sat, 19 Jan 2008 16:14:05 GMT</pubDate>
							</item>
							<item>
								<title>Oracle9i下将列设为UNUSED时的系统行为</title>
								<link>http://space.itpub.net/69924/viewspace-153373</link>
								<description><![CDATA[<P>下面以例子说话：</P>
<P>SQL&gt; create table test1.unused_test&nbsp; as select rownum a,rownum*2 b,rownum*10&nbsp;c from dba_objects where rownum&lt;=100;</P>
<P>Table created.</P>
<P>看看数据字典：</P>
<P>SQL&gt; select column_name,data_type,co...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Sat, 19 Jan 2008 14:54:20 GMT</pubDate>
							</item>
							<item>
								<title>Oracle10g下手工重建CRS和RAC数据库</title>
								<link>http://space.itpub.net/69924/viewspace-152670</link>
								<description><![CDATA[<P>某个刚安装好的RAC库，由于需要更换存储，所以需要重建。由于主机系统并没有重新安装，因此只需要重建CRS和库就行了。</P>
<P>环境：AIX 5306+HACMP 5.2+ORACLE 10.2.0.1+祼设备，文中对节点名、网络配置等信息处了更改处理。</P>
<P>以下是详细操作步骤：</P>
<P>1...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Fri, 18 Jan 2008 22:06:28 GMT</pubDate>
							</item>
							<item>
								<title>exp导出表名为小写的表</title>
								<link>http://space.itpub.net/69924/viewspace-151141</link>
								<description><![CDATA[<P>由于ORACLE默认的表名都是不区分大小写，在创建表时，在数据字典中存储的表名为大写。在有些情况下，如果创建的表在表名上加上双引号(")，则创建的表其表名在数据字典中不作转换。比如</P>
<P>SQL&gt; create table test1."Table1" as select * from dba_objects wher...]]></description>
								<category>blog</category>
								<author>magic007</author>
								<pubDate>Fri, 18 Jan 2008 09:33:50 GMT</pubDate>
							</item>
							
		</channel>
	</rss>