<?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>cqubityj的个人空间</title>
			    <link>http://space.itpub.net/228190</link>
			    <description></description>
			    <copyright>Copyright(C) cqubityj的个人空间</copyright>
			    <generator>SupeSite/X-Space</generator>
			    <lastBuildDate>Sun, 12 Oct 2008 04:10:52 GMT</lastBuildDate><item>
								<title>删除Solaris patch cluster的脚本</title>
								<link>http://space.itpub.net/228190/viewspace-469885</link>
								<description><![CDATA[#!/bin/sh<br>PATH=/usr/bin:/usr/sbin ; export PATH<br>#<br># Change this to where your patches are located<br>#<br>cd /your/patchpath<br>#<br># Reverse the order of the patch_order file<br>#<br>tail -r patch_order &gt; remove_order<br>#<br># Loop throu...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Fri, 10 Oct 2008 14:03:56 GMT</pubDate>
							</item>
							<item>
								<title>how to fix DCO BADLOG</title>
								<link>http://space.itpub.net/228190/viewspace-468167</link>
								<description><![CDATA[
			There are situations when a hardware failure will cause a Veritas Volume Manager 
volume where logging is utilized to set its 'badlog' flag to 'on'. &nbsp;Even after 
the hardware is repaired and the associated log is re-created this 'badlog=on'...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Tue, 07 Oct 2008 11:22:27 GMT</pubDate>
							</item>
							<item>
								<title>perl script : show installed perl Modules</title>
								<link>http://space.itpub.net/228190/viewspace-466037</link>
								<description><![CDATA[
			
			#!/usr/bin/perl -w<br>#===================================================================================<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FILE:&nbsp; pmdesc3<br>#<br>#&nbsp;&nbsp;&nbsp;&nbsp; SYNOPSIS:&nbsp; Find ve...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Sun, 28 Sep 2008 14:05:12 GMT</pubDate>
							</item>
							<item>
								<title>Solaris怎么查找CDROM对应的设备名</title>
								<link>http://space.itpub.net/228190/viewspace-465929</link>
								<description><![CDATA[<P>在Solaris系统中需要mount　CD/DVD时，需要首先知道cdrom对应的设备名。可以用iostat -En得到该设备名。如：</P>
<P>% iostat -En</P>
<P>c1t0d0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Soft Errors: 149 Hard Errors: 0 Transport Errors: 0...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Sat, 27 Sep 2008 16:42:26 GMT</pubDate>
							</item>
							<item>
								<title>拷贝ORACLE_HOME到其它机器时需要注意的问题</title>
								<link>http://space.itpub.net/228190/viewspace-445637</link>
								<description><![CDATA[有时为了避免安装oracle的麻烦，可以从其它机器上拷贝ORACLE_HOME。但是不正确的拷贝方式可能导致目标机器上ORACLE_HOME目录的权限及属主发生变化，尤其是容易出现sticky位丢失的情况。<br>如果出现上述情况，可用如下方式处理：<br><span style="font-size: 9pt; font-fa...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Fri, 12 Sep 2008 11:25:22 GMT</pubDate>
							</item>
							<item>
								<title>清除stoped impdp/expdp job的方法</title>
								<link>http://space.itpub.net/228190/viewspace-444247</link>
								<description><![CDATA[stoped impdp/expdp job会在dba_datapump_jobs中留下一条记录，显示为not running.<br>清除stopped job分两种情况：<br>1) job能够attach<br>如果job能够attach, 则可以attach后再kill job.<br>如：expdp system/**** attach=SYS_EXPORT_TABLE_01<br>&nbsp;&nbsp;&nbsp;&n...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Thu, 11 Sep 2008 12:07:47 GMT</pubDate>
							</item>
							<item>
								<title>Solaris patch cluster error code</title>
								<link>http://space.itpub.net/228190/viewspace-442368</link>
								<description><![CDATA[Most of the time you will get a 0 when the package is patch/upgraded
and a 1 when you don’t even have the package, or it is already at the
same level.&nbsp; So a 1 is not as bad as it sounds.
<p>Exit code &nbsp;&nbsp;&nbsp; Meaning<br>
0 &nbsp;&nb...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Mon, 08 Sep 2008 16:53:02 GMT</pubDate>
							</item>
							<item>
								<title>oracle11g ASMCMD-08103报错</title>
								<link>http://space.itpub.net/228190/viewspace-364662</link>
								<description><![CDATA[
			
			<div></div>
			出现这个报错有两种可能，一是ASM实例没有运行，二是环境变量ORACLE_SID没有设置成ASM实例。<br>请看下面例子：<br>[oracle@11grac1 ~]$ asmcmd<br>ASMCMD-08103: failed to connect to ASM; ASMCMD running in non-connected mode<br>ASMCMD&g...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Tue, 24 Jun 2008 11:21:43 GMT</pubDate>
							</item>
							<item>
								<title>NBU6.0备份windows2003的ALL_LOCAL_DRIVES部分成功的问题</title>
								<link>http://space.itpub.net/228190/viewspace-351889</link>
								<description><![CDATA[<br>在NBU console----&gt;Activity Monitor的备份信息中显示备份部分成功。而在详细日志中发现有warning信息----cannot open file....(文件正由另一个进程在使用)。<br>解决的方法是使用windows2003的volume shadow copy功能来备份打开的文件。<br>具体做法是：<br>NBU c...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Thu, 19 Jun 2008 15:59:09 GMT</pubDate>
							</item>
							<item>
								<title>如何从系统日志中的vxdmp告警信息中发现对应磁盘名称(ZT)</title>
								<link>http://space.itpub.net/228190/viewspace-341817</link>
								<description><![CDATA[<P><A href="http://bbs.chinaunix.net/viewthread.php?tid=1152970&amp;pid=8548231&amp;page=1&amp;extra=#pid8548231">http://bbs.chinaunix.net/viewthread.php?tid=1152970&amp;pid=8548231&amp;page=1&amp;extra=#pid8548231</A></P>
<P>在一个v880的系统日子志中....]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Fri, 06 Jun 2008 20:57:26 GMT</pubDate>
							</item>
							<item>
								<title>df与du显示空间占用量不同的问题</title>
								<link>http://space.itpub.net/228190/viewspace-331029</link>
								<description><![CDATA[<P>今天在检查数据库占用空间的时候，突然发现一个奇怪的现象。df与du的输出值差别很大。</P>
<P>df -h</P>
<P>Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; size&nbsp;&nbsp; used&nbsp; avail capacity&nbsp; Mounted on</P>...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Tue, 03 Jun 2008 12:47:32 GMT</pubDate>
							</item>
							<item>
								<title>修改failing的disk</title>
								<link>http://space.itpub.net/228190/viewspace-327385</link>
								<description><![CDATA[<P><A href="mailto:root@ofs00biidrc001">root@ofs00biidrc001</A>:~ #&gt; vxdisk list<BR>DEVICE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DISK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Sun, 01 Jun 2008 19:56:40 GMT</pubDate>
							</item>
							<item>
								<title>恢复unstartable的卷</title>
								<link>http://space.itpub.net/228190/viewspace-327382</link>
								<description><![CDATA[<P><A href="mailto:root@com00biiacc002">root@com00biiacc002</A>:~ #&gt; vxprint -g COM2_DATA_DG -hvt<BR>V&nbsp; NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RVG/VSET/CO&nbsp; KSTATE&nbsp;&nbsp; STATE&nbsp;&nbsp;&nbsp; LENGTH&nbsp;&nbsp; READPOL...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Sun, 01 Jun 2008 19:11:29 GMT</pubDate>
							</item>
							<item>
								<title>solaris10下crontab不执行问题</title>
								<link>http://space.itpub.net/228190/viewspace-263391</link>
								<description><![CDATA[<P>在oracle用户下建了一个crontab job,每天导出一些基础表。结果发现没有执行。查看crontab日志/var/cron/log，发现如下信息：</P>
<P><FONT size=2>&gt;! bad user (</FONT><A href="javascript.:;" target=_self nclick="javascript.:tagshow(event, 'oracle');"><U><...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Thu, 08 May 2008 22:40:45 GMT</pubDate>
							</item>
							<item>
								<title>insert append需要注意的一个小问题</title>
								<link>http://space.itpub.net/228190/viewspace-258717</link>
								<description><![CDATA[<P>用insert append可以实现直接路径加载，速度比常规加载方式快。但有一点需要注意: insert append时在表上加“6”类型的锁，会阻塞表上的所有DML语句。因此在有业务运行的情况下要慎重使用。若同时执行多个insert append对同一个表并行加载数据，并不一定会提高速度。因...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Sat, 03 May 2008 21:05:13 GMT</pubDate>
							</item>
							<item>
								<title>oracle10g enq:TX - contention等待事件</title>
								<link>http://space.itpub.net/228190/viewspace-257614</link>
								<description><![CDATA[<P>10g中enqueue TX等待分为4类，分别是<BR>1. enq:TX - row lock contention<BR>2. enq:TX - index contention<BR>3. enq:TX - ITL<BR>4. enq:TX - contention<BR>前三种的含义比较明显，第4种是表示其它类型的transaction contention,即除了前三种之外的都包含在其中。<...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Sat, 03 May 2008 17:15:39 GMT</pubDate>
							</item>
							<item>
								<title>10g下编译存储过程导致PLS-00801报错的问题</title>
								<link>http://space.itpub.net/228190/viewspace-250392</link>
								<description><![CDATA[<TABLE cellSpacing=6 cellPadding=0 width="80%" border=0>
<TBODY>
<TR>
<TD vAlign=top align=right>主题: </TD>
<TD align=left colSpan=4><STRONG>Stored Procedure Does Not Compile in 10g release 2 leads to PLS-00801</STRONG></TD></TR>
<TR>
<TD>&nbsp;...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Thu, 24 Apr 2008 11:35:10 GMT</pubDate>
							</item>
							<item>
								<title>查询VIP对应的IP地址/ocr和votedisk文件名</title>
								<link>http://space.itpub.net/228190/viewspace-232311</link>
								<description><![CDATA[<P>一、查询VIP地址</P>
<P>1、先用crs_stat查看vip对应的资源名称</P>
<P>[root@rac2pub bin]# crs_stat | grep vip<BR>NAME=ora.rac1pub.vip<BR>NAME=ora.rac2pub.vip</P>
<P>2、用crs_stat -p查看vip资源的具体信息</P>
<P>[root@rac2pub bin]# crs_stat -p ora.ra...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Wed, 09 Apr 2008 21:27:09 GMT</pubDate>
							</item>
							<item>
								<title>crosscheck归档日志</title>
								<link>http://space.itpub.net/228190/viewspace-217118</link>
								<description><![CDATA[
			手工删除归档日志以后，oracle并不知道。使用RMAN备份时还会对删除的归档日志进行备份，这时备份就会报错，因为找不到归档日志。这时可以用crosscheck archivelog all检测日志，并用delete expired archivelog all命令删除物理上已经不存在的归档日志。之后再进行备份...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Tue, 25 Mar 2008 10:53:23 GMT</pubDate>
							</item>
							<item>
								<title>在v$session中设置module和action</title>
								<link>http://space.itpub.net/228190/viewspace-207190</link>
								<description><![CDATA[<P>oracle中有一个包dbms_application_info,它可以把一些程序信息加入到v$session中。这样我们就可以通过查询v$session知道程序当前的一些信息。比如：当前执行的模块名、正在执行的命令等。</P>
<P>下例展示这个包的简单用法：<BR>session 1: <BR>SQL&gt; select sid fr...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Fri, 14 Mar 2008 14:37:06 GMT</pubDate>
							</item>
							<item>
								<title>linux上手工删除oracle数据库的方法</title>
								<link>http://space.itpub.net/228190/viewspace-206253</link>
								<description><![CDATA[1、停库或kill所有oracle进程<BR>2、删除oraInventory目录，目录位置记录在/etc/oraIns.loc文件中<BR>3、删除$ORACLE_HOME目录<BR>4、删除其它oracle文件，包括<BR>/usr/local/bin/oraenv <BR>/usr/local/bin/coraenv <BR>/usr/local/bin/dbhome <BR>/etc/oraInst.loc <BR...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Fri, 14 Mar 2008 09:43:41 GMT</pubDate>
							</item>
							<item>
								<title>捕获DML语句的tigger</title>
								<link>http://space.itpub.net/228190/viewspace-201895</link>
								<description><![CDATA[在oracle9i上可以使用下面的trigger捕获DML语句：<BR>create or replace trigger capt_sql&nbsp; <BR>&nbsp; BEFORE DELETE OR INSERT OR UPDATE ON t1 FOR EACH ROW<BR>declare&nbsp; <BR>&nbsp; n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; number; <BR>&nbsp; stmt&n...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Mon, 10 Mar 2008 16:00:36 GMT</pubDate>
							</item>
							<item>
								<title>查找运行时间比较长的SQL或PL/SQL</title>
								<link>http://space.itpub.net/228190/viewspace-200363</link>
								<description><![CDATA[<FONT size=2>v$session中的last_call_et列表示从STATUS(状态)改变到当前的时间(单位是秒)。<BR>也就是说，如果session当前是inactive的，则表示inactive的时间<BR>如果session当前是active的，则表示active的时间。<BR>另外需要注意的是last_call_et表示的是last call的时...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Wed, 05 Mar 2008 14:00:37 GMT</pubDate>
							</item>
							<item>
								<title>oracle诊断事件列表(ZT)</title>
								<link>http://space.itpub.net/228190/viewspace-200342</link>
								<description><![CDATA[<P><A href="http://www.eygle.com/internal/Oracle.Diagnostics.Events.list.htm">http://www.eygle.com/internal/Oracle.Diagnostics.Events.list.htm</A></P>
<P>记录一下，备查。</P>
<P>1.代码</P>
<P>
<TABLE border=0>
<TBODY>
<TR>
<TD width=729 bgColor=...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Wed, 05 Mar 2008 11:23:28 GMT</pubDate>
							</item>
							<item>
								<title>配置防火墙允许从外网访问内网oracle</title>
								<link>http://space.itpub.net/228190/viewspace-184350</link>
								<description><![CDATA[<P>客户端连接oracle的过程：</P>
<P>client进程首先与listener建立TCP连接，然后listener产生一个server进程并将server进程地址返回给client进程，之后client进程与该server进程建立TCP连接，由server进程完成数据库操作，并将结果返回给client端。对于UNIX系统，由于se...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Fri, 22 Feb 2008 21:26:06 GMT</pubDate>
							</item>
							<item>
								<title>drop user时报错ORA-00600 [qmxiUnpPacked2]</title>
								<link>http://space.itpub.net/228190/viewspace-183274</link>
								<description><![CDATA[<P>drop user时报错ORA-00600 [qmxiUnpPacked2]。是由于升级问题造成的。metalink上给出如下解决方法。</P>
<P>
<TABLE cellSpacing=6 cellPadding=0 width="80%" border=0>
<TBODY>
<TR>
<TD vAlign=top align=right>Subject: </TD>
<TD align=left colSpan=4><STR...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Fri, 22 Feb 2008 14:58:19 GMT</pubDate>
							</item>
							<item>
								<title>oracle 10g table shrink</title>
								<link>http://space.itpub.net/228190/viewspace-170427</link>
								<description><![CDATA[<P>如果经常在表上执行DML操作，会造成数据库块中数据分布稀疏，浪费大量空间。同时也会影响全表扫描的性能，因为全表扫描需要访问更多的数据块。从oracle10g开始，表可以通过shrink来重组数据使数据分布更紧密，同时降低HWM释放空闲数据块。segment shrink分为两个阶段：...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Fri, 15 Feb 2008 17:34:50 GMT</pubDate>
							</item>
							<item>
								<title>RAC环境下不同sql语句的影响范围</title>
								<link>http://space.itpub.net/228190/viewspace-170202</link>
								<description><![CDATA[alter system checkpoint local 只影响当前实例<BR>alter system checkpoint global或alter system checkpoint 影响所有实例<BR>alter system switch logfile 只影响当前实例<BR>alter system archive log current 影响所有实例<BR>alter system archive log thread n cur...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Wed, 13 Feb 2008 22:25:54 GMT</pubDate>
							</item>
							<item>
								<title>v$parameter2 与v$system_parameter2、v$spparameter</title>
								<link>http://space.itpub.net/228190/viewspace-170180</link>
								<description><![CDATA[<P>v$parameter2显示当前session的参数值。<BR>v$system_parameter2显示instance的参数值。<BR>v$spparameter显示spfile中记录的参数值。</P>
<P>1、实例刚启动时参数值情况<BR>session 1:<BR>SQL&gt; select name,isdefault,isses_modifiable,issys_modifiable,ismodifi...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Wed, 13 Feb 2008 16:19:25 GMT</pubDate>
							</item>
							<item>
								<title>清除10g RAC CRS的方法</title>
								<link>http://space.itpub.net/228190/viewspace-150422</link>
								<description><![CDATA[<P><FONT face=宋体 size=2>如果在安装clusterware的过程报错，需要重新安装时，必须先清除已经安装的cluserware，否则可能会影响到下次安装。一般情况下，只需要在各节点上依次运行目录$ORA_CRS_HOME/install/下的脚本rootdelete.sh和rootdeinstall.sh 即可。</FONT></P>...]]></description>
								<category>blog</category>
								<author>cqubityj</author>
								<pubDate>Thu, 17 Jan 2008 15:02:07 GMT</pubDate>
							</item>
							
		</channel>
	</rss>