<?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>yaguo_96的个人空间</title>
			    <link>http://space.itpub.net/69265</link>
			    <description></description>
			    <copyright>Copyright(C) yaguo_96的个人空间</copyright>
			    <generator>SupeSite/X-Space</generator>
			    <lastBuildDate>Mon, 24 Nov 2008 00:29:30 GMT</lastBuildDate><item>
								<title>sysdba的认证方式(转)</title>
								<link>http://space.itpub.net/69265/viewspace-490799</link>
								<description><![CDATA[<H2 class=posttitle id=post-9><A title="永久链接到 Oracle OS认证与口令文件认证详解" href="http://www.lansz.com/html/2008/06/oracle_os_pwfile_authentication.html" rel=bookmark>Oracle OS认证与口令文件认证详解</A></H2>
<DIV class=postmeta.>作者：<A title...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Tue, 11 Nov 2008 16:47:01 GMT</pubDate>
							</item>
							<item>
								<title>rman --恢复控制文件</title>
								<link>http://space.itpub.net/69265/viewspace-483822</link>
								<description><![CDATA[<P>-------------------------控制文件的恢复------------------<BR>1&nbsp; 指定备份<BR>&nbsp;&nbsp; RESTORE CONTROLFILE from 'filename';<BR>2 from autoback <BR>&nbsp;&nbsp; 1 restore前必须set dbid<BR>&nbsp;&nbsp; 2restore controlfile from autobackup,有两个...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Sun, 02 Nov 2008 17:07:06 GMT</pubDate>
							</item>
							<item>
								<title>awr</title>
								<link>http://space.itpub.net/69265/viewspace-481851</link>
								<description><![CDATA[<P>---手动创建快照<BR>exec dbms_workload_repository.create_snapshot<BR>---生成快照<BR>@C:\oracle\product\10.2.0\db_1\RDBMS\ADMIN\awrrpt.sql<BR>调整AWR产生snapshot的频率和保留策略，如：如将收集间隔时间改为30 分钟一次。并且保留5天时间（注：单位都是为分钟...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Wed, 29 Oct 2008 23:39:05 GMT</pubDate>
							</item>
							<item>
								<title>表的在线重定义</title>
								<link>http://space.itpub.net/69265/viewspace-473115</link>
								<description><![CDATA[<P>1 检查表是否支持重定义<BR>&nbsp; BEGIN<BR>&nbsp;&nbsp;&nbsp; DBMS_REDEFINITION.CAN_REDEF_TABLE('test','test',<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbms_redefinition.cons_use_pk);<BR>&nbsp;&nbsp; END;<BR>SQL&gt;...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Sun, 19 Oct 2008 22:58:48 GMT</pubDate>
							</item>
							<item>
								<title>create rebuild rebuild onlne 索引的学习</title>
								<link>http://space.itpub.net/69265/viewspace-470153</link>
								<description><![CDATA[<P>------------create index <BR>创建index在表上加的是4级锁，表数据修改、删除<BR>创建索引的时候表上如果有活动事务，立刻提示资源忙<BR>---------aler index test_1 rebuild online--------<BR>rebuild需要2倍的索引所占的空间，当索引创建完毕后空间又被收回去。<BR...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Sun, 12 Oct 2008 22:01:48 GMT</pubDate>
							</item>
							<item>
								<title>v$pgastat</title>
								<link>http://space.itpub.net/69265/viewspace-467939</link>
								<description><![CDATA[<P>SQL&gt; desc v$pgastat;<BR>&nbsp;名称&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nb...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Sun, 05 Oct 2008 23:12:57 GMT</pubDate>
							</item>
							<item>
								<title>v$filestat</title>
								<link>http://space.itpub.net/69265/viewspace-466257</link>
								<description><![CDATA[<P>SQL&gt; desc v$filestat;<BR>&nbsp;名称&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;------------------------<BR>&nbsp;FILE#&nbsp...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Wed, 01 Oct 2008 10:43:45 GMT</pubDate>
							</item>
							<item>
								<title>v$session 几个字段的解释</title>
								<link>http://space.itpub.net/69265/viewspace-464599</link>
								<description><![CDATA[<P>last_call_et:<BR>&nbsp; 从STATUS(状态)改变到当前的时间(单位是秒)。 <BR>&nbsp; 也就是说，如果session当前是inactive的，则表示inactive的时间 <BR>&nbsp; 如果session当前是active的，则表示active的时间。 <BR>&nbsp; 另外需要注意的是last_call_et表示的是last ...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Sat, 27 Sep 2008 10:02:10 GMT</pubDate>
							</item>
							<item>
								<title>直方图的管理</title>
								<link>http://space.itpub.net/69265/viewspace-464434</link>
								<description><![CDATA[<P>BUCTET &lt; NUM_DISTINCT得到的是HEIGHT BALANCED（高度平衡）直方图，<BR>BUCTET = NUM_DISTINCT的时候得到的是FREQUENCY（频率）直方图。这里面BUCTET的最大值是254，所以我们一般见到的直方图都是HEIGHT BALANCED（高度平衡）直方图。<BR>如果NUM_DISTINCT &lt;254...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Fri, 26 Sep 2008 10:55:25 GMT</pubDate>
							</item>
							<item>
								<title>10032 10033 跟踪文件学习</title>
								<link>http://space.itpub.net/69265/viewspace-464359</link>
								<description><![CDATA[<P>*** 2008-09-25 17:03:15.702<BR>*** SERVICE NAME:(SYS$USERS) 2008-09-25 17:03:15.702<BR>*** SESSION ID:(146.30) 2008-09-25 17:03:15.702<BR>Recording run at 400989 for 5 blocks<BR>Recording run at 40098f for 5 blocks<BR>Recording run at 400994 for 5 b...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Thu, 25 Sep 2008 22:56:22 GMT</pubDate>
							</item>
							<item>
								<title>学习 hash join</title>
								<link>http://space.itpub.net/69265/viewspace-464315</link>
								<description><![CDATA[<P>------------------关于散列连接的概念<BR>最优散列连接： 读取build表，按hash放到bucket中，如果bulid表数据都能放入内存，就是最优散列连接。<BR>一遍散列连接： 读取build表，按hash放到bucket中，如果bulid表数据不能全部放入内存，就向temp写数据，build读完后<B...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Thu, 25 Sep 2008 14:51:47 GMT</pubDate>
							</item>
							<item>
								<title>关于listener的动、静态注册</title>
								<link>http://space.itpub.net/69265/viewspace-450373</link>
								<description><![CDATA[<P>1 一个监听可以同时在多个端口指定，可以同时为多个实例服务。<BR>2 静态注册<BR>&nbsp; 实例启动时读取listener.ora文件的配置，将实例和服务注册到监听程序<BR>3 动态注册<BR>&nbsp; 动态注册是在instance启动的时候PMON进程根据init.ora中的instance_name,service_n...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Fri, 19 Sep 2008 16:07:17 GMT</pubDate>
							</item>
							<item>
								<title>一次tns-12560的解决</title>
								<link>http://space.itpub.net/69265/viewspace-448784</link>
								<description><![CDATA[<P>现象：<BR>&nbsp;&nbsp;&nbsp;&nbsp; 在测试机上碰到，通过tns连接oracle，会hung那里。sqlnet.log提示tns-12560错误。<BR>&nbsp;&nbsp;&nbsp;&nbsp; 但通过本地连接正常t，tnsping 也是好的。<BR>&nbsp; 解决: <BR>&nbsp;&nbsp;&nbsp;&nbsp; 删除服务，新建服务 ok</P...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Wed, 17 Sep 2008 22:46:11 GMT</pubDate>
							</item>
							<item>
								<title>lock的总结</title>
								<link>http://space.itpub.net/69265/viewspace-448513</link>
								<description><![CDATA[<P>----查询各种锁的等待统计信息<BR>select *<BR>&nbsp; from v$enqueue_stat<BR>where cum_wait_time &gt; 0<BR>order by inst_id, cum_wait_time<BR>----tx锁的<BR>select /*+ ordered */ a.sid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbs...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Tue, 16 Sep 2008 10:37:13 GMT</pubDate>
							</item>
							<item>
								<title>绑定变量和BIND PEEKING(转帖)</title>
								<link>http://space.itpub.net/69265/viewspace-448509</link>
								<description><![CDATA[<TABLE class=table_main_text style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all" height="100%" cellSpacing=0 cellPadding=5 width="100%" align=center border=0>
<TBODY>
<TR height="100%">
<TD class=showblog_td_title height=22><B><SPAN class=text_title>...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Tue, 16 Sep 2008 10:09:14 GMT</pubDate>
							</item>
							<item>
								<title>临时段学习笔记</title>
								<link>http://space.itpub.net/69265/viewspace-448508</link>
								<description><![CDATA[<P>一个临时表空间中只存在一个临时段<BR>v$sort_segment:<BR>&nbsp;current_users :当前用户<BR>&nbsp;total_extents:总共extents<BR>&nbsp;total_blocks: 总共blocks<BR>&nbsp;used_exetents: 正在用的区<BR>&nbsp;used_blocks:&nbsp;&nbsp; 正在用的块<BR>&nbsp;free_e...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Tue, 16 Sep 2008 10:05:48 GMT</pubDate>
							</item>
							<item>
								<title>回滚段学习笔记</title>
								<link>http://space.itpub.net/69265/viewspace-448507</link>
								<description><![CDATA[<P>dba_free_space&nbsp;&nbsp; 每个表空间空闲的大小<BR>dba_segments&nbsp;&nbsp;&nbsp;&nbsp; 计算别的段大小<BR>可以算出每个表空间剩余多少，用了多少，总共多少.</P>
<P>dba_undo_extents 计算回滚段大小<BR>计算回滚表空间的使用</P>
<P>dba_data_file&nbsp;&nbs...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Tue, 16 Sep 2008 10:04:21 GMT</pubDate>
							</item>
							<item>
								<title>ckpt dbwr lgwr关系</title>
								<link>http://space.itpub.net/69265/viewspace-446897</link>
								<description><![CDATA[<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ------ dbwr 、ckpt、lgwr关系<BR>1 dbwr:只负责把buffer cache 的肮数据写到datafile中<BR>2 lgwr:负责写log buffer的数据到online logfile中，他还还向control file 中写日志信息<BR>3 ckpt:在每3秒的...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Fri, 12 Sep 2008 16:14:53 GMT</pubDate>
							</item>
							<item>
								<title>windows下 杀oracle进程</title>
								<link>http://space.itpub.net/69265/viewspace-445554</link>
								<description><![CDATA[<P>在unix系统下。ps -ef |grep ora</P>
<P>&nbsp;会列出所有oracle的进程，可以在操作系统级下，杀掉他。</P>
<P>windows下如何杀呢？</P>
<P>1 找进程<BR>&nbsp; select p.spid THREADID, s.osuser, s.program <BR>&nbsp;from v$process p, v$session s<BR>&nbsp;whe...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Thu, 11 Sep 2008 16:20:45 GMT</pubDate>
							</item>
							<item>
								<title>如何找到行链接 行迁移记录</title>
								<link>http://space.itpub.net/69265/viewspace-442932</link>
								<description><![CDATA[<P>1、利用Oracle数据库自身提供的脚本utlchain.sql（在 $ORACLE_HOME/rdbms/admin目录下）生成chained_rows表，</P>
<P>2、然后利用ANALYZE TABLE table_name LIST CHAINED ROWS INTO chained_rows命令逐个分析表，将分析的结果存入chained_rows表中。</P>]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Wed, 10 Sep 2008 18:02:09 GMT</pubDate>
							</item>
							<item>
								<title>x$kglob x$kgllk x$kglpn</title>
								<link>http://space.itpub.net/69265/viewspace-442931</link>
								<description><![CDATA[<P>SQL&gt; desc x$kgllk;<BR>名称 类型<BR>---------- -----------<BR>ADDR RAW(4)<BR>INDX NUMBER<BR>INST_ID NUMBER<BR>KGLLKADR RAW(4)<BR>KGLLKUSE RAW(4) ---会话地址(对应v$session的saddr)<BR>KGLLKSES RAW(4) ---owner地址<BR>KGLLKSNM NUMBER ---SID<BR>KGLLKHD...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Wed, 10 Sep 2008 18:00:45 GMT</pubDate>
							</item>
							<item>
								<title>关于坏块的简单小节</title>
								<link>http://space.itpub.net/69265/viewspace-442921</link>
								<description><![CDATA[<P>--------工具<BR>ANALYZE TABLE<BR>DBVERIFY<BR>init.ora db_block_checking<BR>DBMS_REPAIR<BR>rman<BR>------坏块的发现<BR>1 alert.log<BR>2 /var/adm/syslog<BR>------工具的使用<BR>1 analyze table<BR>analyze table test.t3 validate structure;<BR>如果有坏块就...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Wed, 10 Sep 2008 17:24:31 GMT</pubDate>
							</item>
							<item>
								<title>约束的管理</title>
								<link>http://space.itpub.net/69265/viewspace-442919</link>
								<description><![CDATA[<P>---------------------约束的管理-------------------------<BR>&nbsp;deferrable :约束可以被设置成延迟的<BR>&nbsp;NOT DEFERRABLE:约束不可以被设置成延迟的<BR>约束的deferrable属性不能修改，只能重建立<BR>----事务级修改约束是延迟还是立即<BR>set constraints ...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Wed, 10 Sep 2008 17:15:18 GMT</pubDate>
							</item>
							<item>
								<title>sqlplus 小技巧</title>
								<link>http://space.itpub.net/69265/viewspace-442912</link>
								<description><![CDATA[<P>sqlplus -prelim /nolog<BR>conn / as sysdba<BR>初级连接建立</P>
<P><BR>这个时候是没有连接数据库的 利用oradebug导出信息进行分析。</P>
<P>这个可以解决数据库hang的情况下，连不进数据库的情况下，导出数据库的信息对数据库进行分析</P>
<P>但是导出的时候可能...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Wed, 10 Sep 2008 16:22:16 GMT</pubDate>
							</item>
							<item>
								<title>systemstate 转储文件学习</title>
								<link>http://space.itpub.net/69265/viewspace-442911</link>
								<description><![CDATA[<P>--------------------systemstate 状态转储文件学习<BR>dump systemstate的语法为：<BR>&nbsp;&nbsp;&nbsp; ALTER SESSION SET EVENTS 'immediate trace name systemstate level 8';</P>
<P>也可以使用ORADEBUG实现这个功能<BR>&nbsp;&nbsp;&nbsp; ORADEBUG DUMP SYST...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Wed, 10 Sep 2008 16:16:27 GMT</pubDate>
							</item>
							<item>
								<title>set event</title>
								<link>http://space.itpub.net/69265/viewspace-442909</link>
								<description><![CDATA[<P>---------------------------------事件设置学习---------------------------<BR>--------------------获取所有跟踪事件<BR>SET SERVEROUTPUT ON<BR>DECLARE<BR>err_msg VARCHAR2(120);<BR>BEGIN<BR>dbms_output.enable (1000000);<BR>FOR err_num IN 10000..10999<BR>...]]></description>
								<category>blog</category>
								<author>yaguo_96</author>
								<pubDate>Wed, 10 Sep 2008 16:02:54 GMT</pubDate>
							</item>
							
		</channel>
	</rss>