<?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>prt的个人空间</title>
			    <link>http://space.itpub.net/559237</link>
			    <description>每天都要进步！</description>
			    <copyright>Copyright(C) prt的个人空间</copyright>
			    <generator>SupeSite/X-Space</generator>
			    <lastBuildDate>Fri, 22 Aug 2008 06:57:10 GMT</lastBuildDate><item>
								<title>分页sql</title>
								<link>http://space.itpub.net/559237/viewspace-431658</link>
								<description><![CDATA[<P>---rownum 不能大于某个值，即用select area from a where rownum &gt; 1 或 select * from area where rownum = 2不会得到值<BR>---rownum 在sql排序后rownum就会变得混乱，不能再直接使用，只能再嵌套一层，<BR>&nbsp;----排序的分页写法<BR>select c.*<BR>&nbsp; fr...]]></description>
								<category>blog</category>
								<author>prt</author>
								<pubDate>Thu, 21 Aug 2008 12:09:27 GMT</pubDate>
							</item>
							<item>
								<title>mysql5的安装和复制配置</title>
								<link>http://space.itpub.net/559237/viewspace-429988</link>
								<description><![CDATA[<P>linux安装mysql：<BR>首先查看是否已经安装过mysql<BR>&nbsp;#rpm -qa |grep mysql<BR>&nbsp;如果已安装可先卸载mysql，如<BR>&nbsp;#rpm -e mysqlclient10-3.23.58-4.RHEL4.1<BR>&nbsp; <BR>=============配置mysql复制步骤==============<BR>在配置复制之前需要对主数...]]></description>
								<category>blog</category>
								<author>prt</author>
								<pubDate>Tue, 19 Aug 2008 15:11:40 GMT</pubDate>
							</item>
							<item>
								<title>dba所需要的sql</title>
								<link>http://space.itpub.net/559237/viewspace-416199</link>
								<description><![CDATA[<P class=MsoNormal><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana">网上一个牛人汇总的sql，十分有用，记下了以备用：</SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana">--...]]></description>
								<category>blog</category>
								<author>prt</author>
								<pubDate>Thu, 31 Jul 2008 15:42:57 GMT</pubDate>
							</item>
							<item>
								<title>merge into的使用</title>
								<link>http://space.itpub.net/559237/viewspace-402876</link>
								<description><![CDATA[<P>如果存在就更新，不存在就插入 <BR>9i已经支持了，但是只支持select子查询， <BR>如果是单条数据记录，可以写作select …… from dual的子查询。但是merge不允许更新on条件里面的列的值，否则会报ORA-38104错误。&nbsp;<BR>语法为： <BR>merge into table <BR>using da...]]></description>
								<category>blog</category>
								<author>prt</author>
								<pubDate>Thu, 17 Jul 2008 16:09:22 GMT</pubDate>
							</item>
							<item>
								<title>日志挖掘过程</title>
								<link>http://space.itpub.net/559237/viewspace-374897</link>
								<description><![CDATA[<P>&nbsp;Oracle 重作日志文件（归档日志文件）中的具体内容，特别是，该<BR>工具可以分析出所有对于数据库操作的DML（insert、update、delete等）语句，9i 后可以分<BR>析DDL语句，另外还可分析得到一些必要的回滚SQL语句。其中一个最重要的用途就是不<BR>用全部恢复数据...]]></description>
								<category>blog</category>
								<author>prt</author>
								<pubDate>Thu, 10 Jul 2008 10:52:31 GMT</pubDate>
							</item>
							<item>
								<title>一些经常使用的脚本2</title>
								<link>http://space.itpub.net/559237/viewspace-366130</link>
								<description><![CDATA[<P>删除某个正在连接的用户<BR>SQL&gt; select username,sid,serial# from v$session where username='CHARGE';</P>
<P>USERNAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SID&nbsp;&nbsp;&nbsp; SERIAL#<BR>---------------------- ------ ----------<BR>CHARGE&nbsp...]]></description>
								<category>blog</category>
								<author>prt</author>
								<pubDate>Fri, 27 Jun 2008 15:06:14 GMT</pubDate>
							</item>
							<item>
								<title>自定义流复制冲突的处理过程</title>
								<link>http://space.itpub.net/559237/viewspace-366129</link>
								<description><![CDATA[<P>/*以下是接到一个冲突后，把冲突记录到changeddata表中，在目标数据库上*/</P>
<P>-- Create table<BR>create table CHANGEDDATA<BR>(<BR>&nbsp; LOCAL_TRANSACTION_ID VARCHAR2(32) not null,<BR>&nbsp; SOURCE_DATABASE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VARCHAR2(128...]]></description>
								<category>blog</category>
								<author>prt</author>
								<pubDate>Fri, 27 Jun 2008 14:50:36 GMT</pubDate>
							</item>
							<item>
								<title>流复制错误诊断2</title>
								<link>http://space.itpub.net/559237/viewspace-366005</link>
								<description><![CDATA[<P>该文档是对仿照上一个文档的把详细错误信息存放到一个表中，在目标数据库上操作：</P>
<P>conn / as sysdba <BR>/<BR>grant&nbsp; select on dba_apply_error to strmadmin <BR>/<BR>grant execute on dbms_apply_adm to strmadmin <BR>/<BR>&nbsp;<BR>conn strmadmin...]]></description>
								<category>blog</category>
								<author>prt</author>
								<pubDate>Thu, 26 Jun 2008 14:23:59 GMT</pubDate>
							</item>
							<item>
								<title>流复制错误诊断</title>
								<link>http://space.itpub.net/559237/viewspace-364839</link>
								<description><![CDATA[<P>在网上看到了一个很好的流复制诊断的，摘录到此，做了点修改，以备后来使用。</P>
<P>分为如下步骤：</P>
<P>/*1.首先在sysdba权限下赋予strmadmin用户某些权限*/</P>
<P>sql&gt;conn / as sysdba</P>
<P>SQL&gt; GRANT SELECT ON DBA_APPLY_ERROR TO strmadmin; <...]]></description>
								<category>blog</category>
								<author>prt</author>
								<pubDate>Wed, 25 Jun 2008 16:47:51 GMT</pubDate>
							</item>
							<item>
								<title>dbname,instance,dbdomain,globa_name,dbservername区别</title>
								<link>http://space.itpub.net/559237/viewspace-324463</link>
								<description><![CDATA[<P>一、数据库名</P>
<P>　　数据库名是数据库的“身份证号码”，用于标示一个数据库。在参数文件中用DB_NAME表示。</P>
<P>　　数据库名是在安装数据库、创建新的数据库、创建数据库控制文件、修改数据库结构、备份与恢复数据库时都需要使用到的。</P>
<P>　　如何查看...]]></description>
								<category>blog</category>
								<author>prt</author>
								<pubDate>Fri, 30 May 2008 13:43:44 GMT</pubDate>
							</item>
							<item>
								<title>表级一对一流复制配置步骤</title>
								<link>http://space.itpub.net/559237/viewspace-323010</link>
								<description><![CDATA[<P><U><FONT color=#810081>表级一对一流复制配置步骤</FONT></U></P>
<P><U><FONT color=#810081>源数据库：192.168.104.61:1521/charge<BR>目标数据库：192.168.104.62:1521/charge<BR>要复制的表：test.c</FONT></U></P>
<P><U><FONT color=#810081>参数初始化:<BR>在...]]></description>
								<category>blog</category>
								<author>prt</author>
								<pubDate>Thu, 29 May 2008 09:17:23 GMT</pubDate>
							</item>
							<item>
								<title>一些经常使用的脚本1</title>
								<link>http://space.itpub.net/559237/viewspace-321872</link>
								<description><![CDATA[<P>---置为archivelog 模式<BR>sql&gt;shutdown immeidate;<BR>sql&gt;startup mont;<BR>sql&gt;alter database archivelog;<BR>sql&gt;alter database open;<BR>sql&gt;archive log list;</P>
<P>---查为关键字的字段<BR>select * from dba_tab_columns a&nbsp; <BR>whe...]]></description>
								<category>blog</category>
								<author>prt</author>
								<pubDate>Wed, 28 May 2008 16:58:59 GMT</pubDate>
							</item>
							
		</channel>
	</rss>