﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>IT博客-欢迎光临 Kevensun'S Blog</title><link>http://www.cnitblog.com/kevensun/</link><description /><language>zh-cn</language><lastBuildDate>Wed, 29 Apr 2026 08:42:04 GMT</lastBuildDate><pubDate>Wed, 29 Apr 2026 08:42:04 GMT</pubDate><ttl>60</ttl><item><title>如何让LCS 2005用户只能加入公司允许的联络人</title><link>http://www.cnitblog.com/kevensun/archive/2006/10/13/17933.html</link><dc:creator>Kevensun</dc:creator><author>Kevensun</author><pubDate>Fri, 13 Oct 2006 04:44:00 GMT</pubDate><guid>http://www.cnitblog.com/kevensun/archive/2006/10/13/17933.html</guid><wfw:comment>http://www.cnitblog.com/kevensun/comments/17933.html</wfw:comment><comments>http://www.cnitblog.com/kevensun/archive/2006/10/13/17933.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/kevensun/comments/commentRss/17933.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/kevensun/services/trackbacks/17933.html</trackback:ping><description><![CDATA[
		<div>
				<font face="新細明體" size="2">
						<span class="704392409-12102006">      公司LCS开通了对外和MSN通讯的供能，可老板要求员工只能和经过审批的人员通讯。跟踪Sql Server后发现解决之道，现分享给大家。</span>
				</font>
		</div>
		<div>
				<font face="新細明體" size="2">
						<span class="704392409-12102006">      先在LCS的数据库 rtc 增加一个Table 如mycontact, 只有一列 UserAtHost ,类型为 </span>
				</font>
				<font face="新細明體" size="2">
						<span class="704392409-12102006">nvarchar 450,将公司允许的联络人汇入，然后修改名为</span>
				</font>
		</div>
		<div>
				<font size="2">
						<font face="新細明體">
								<font size="+0">
										<span class="704392409-12102006">RtcpEnsureResourceExists 的 procedure 。以</span>
								</font>
								<font size="+0">
										<span class="704392409-12102006">下是修改过的，其中红色部分是新增的语句,<span class="704392409-12102006">xxx</span>.com.cn是公司的网域名</span>
								</font>
						</font>
				</font>
				<font size="+0">
						<br />
						<br />
						<font face="新細明體" size="2">---------------------------------------------------------------------------<br />--<br />--<br />CREATE procedure RtcpEnsureResourceExists<br />    @_UserAtHost    nvarchar(4000),<br />   <br />    @_ResourceId    ResourceId output<br />as<br />    set nocount on<br />    declare @Error int<br />    <font color="#cc0033">declare  @_contact          nvarchar(4000)<br /></font>    --<br />    -- Check to see if the resource already exists; if not, insert it.<br />    --<br />    select @_ResourceId = ResourceId<br />      from Resource<br />     where UserAtHost = @_UserAtHost</font>
				</font>
		</div>
		<div>
				<font face="新細明體" size="2">
				</font> </div>
		<div>
				<font face="新細明體" size="2">    <font color="#ff0000">select @_contact=UserAtHost<br />     from <span class="704392409-12102006">my</span>contact <br />    where UserAtHost = @_UserAtHost</font></font>
		</div>
		<div>
				<font face="新細明體" size="2">
				</font> </div>
		<div>
				<font face="新細明體" size="2">    if ((@_ResourceId is null) <font color="#ff0000">and (@_contact is not null)) or (@_UserAtHost like '%<span class="704392409-12102006">xxx</span>.com.cn')</font>  begin<br />        --<br />        -- Deadlock possibility:<br />        -- Unfortunately we have the potential for deadlock here.  If two<br />        -- connections have both acquired the shared lock on the row due<br />        -- to the query above, and the row does not exist, they both<br />        -- will try to escalate their shared lock to an exclusive lock in<br />        -- order to perform the following insert.  Preventing this by<br />        -- using with (updlock) on the select would not be a good thing<br />        -- however.  This is because the update lock would be held for the<br />        -- duration of the transaction (because we run at a high enough<br />        -- isolation level) thus preventing anyone from even selecting the<br />        -- row until our transaction was completed.  We explicitly choose<br />        -- the possibility of deadlock over the reduced concurrency.  Note<br />        -- that the possibility of deadlock is extremely rare -- two<br />        -- connections need to be ensuring that the same row exists at<br />        -- the same time when it doesn't exist.<br />        --<br />        insert Resource (UserAtHost) values (@_UserAtHost)<br />        set @Error = @@error<br />        if (@Error = 0) begin<br />            set @_ResourceId = scope_identity()<br />            return 0<br />        end<br />        --<br />        -- Unique key violation - row already exists, so select it again.<br />        --<br />        else if (@Error = 2627) begin<br />            select @_ResourceId = ResourceId<br />              from Resource<br />             where UserAtHost = @_UserAtHost<br />            if (@_ResourceId is null) begin<br />                exec dbo.DbRaiseError @@procid, 50120, @_UserAtHost<br />                return -1<br />            end<br />            else begin<br />                --<br />                -- Raise an error to indicate that Unique key violation was<br />                -- handled.<br />                --<br />                exec dbo.DbRaiseError @@procid, 50002<br />                return 0<br />            end<br />        end<br />        --<br />        -- Some other problem with inserting the row.<br />        --<br />        else begin<br />            exec dbo.DbRaiseError @@procid, 50001<br />            return -1<br />        end<br />    end<br />GO<br /></font>
		</div>
<img src ="http://www.cnitblog.com/kevensun/aggbug/17933.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/kevensun/" target="_blank">Kevensun</a> 2006-10-13 12:44 <a href="http://www.cnitblog.com/kevensun/archive/2006/10/13/17933.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>EXP-00008的解决</title><link>http://www.cnitblog.com/kevensun/archive/2006/09/15/16894.html</link><dc:creator>Kevensun</dc:creator><author>Kevensun</author><pubDate>Fri, 15 Sep 2006 10:17:00 GMT</pubDate><guid>http://www.cnitblog.com/kevensun/archive/2006/09/15/16894.html</guid><wfw:comment>http://www.cnitblog.com/kevensun/comments/16894.html</wfw:comment><comments>http://www.cnitblog.com/kevensun/archive/2006/09/15/16894.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/kevensun/comments/commentRss/16894.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/kevensun/services/trackbacks/16894.html</trackback:ping><description><![CDATA[
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="ZH-CN" style="FONT-SIZE: 10pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-fareast-language: ZH-CN">在做</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">EXP</span>
				<span lang="ZH-CN" style="FONT-SIZE: 10pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-fareast-language: ZH-CN">时出现如下错误</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">,</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt">
						<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /?>
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US" style="FONT-SIZE: 10pt">
						<o:p> </o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">EXP-00008: ORACLE </span>
				<span lang="ZH-CN" style="FONT-SIZE: 10pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-fareast-language: ZH-CN">错误</span>
				<span lang="ZH-CN" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">
				</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">1555 </span>
				<span lang="ZH-CN" style="FONT-SIZE: 10pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-fareast-language: ZH-CN">发生</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt">
						<br />
				</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">ORA-01555: snapshot too old: rollback segment number 52 with name "RBS51" too small</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt">
						<br />
				</span>
				<span lang="ZH-CN" style="FONT-SIZE: 10pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-fareast-language: ZH-CN">汇出作业顺利终止</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">, </span>
				<span lang="ZH-CN" style="FONT-SIZE: 10pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-fareast-language: ZH-CN">但含有警告</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US">
						<o:p> </o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="ZH-CN" style="FONT-SIZE: 10pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-fareast-language: ZH-CN">网上搜到的解法均是增加回滚段的大小</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">,</span>
				<span lang="ZH-CN" style="FONT-SIZE: 10pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-fareast-language: ZH-CN">可是我已经增加的很大了</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">,</span>
				<span lang="ZH-CN" style="FONT-SIZE: 10pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-fareast-language: ZH-CN">仍报这个错</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">.</span>
				<span lang="ZH-CN" style="FONT-SIZE: 10pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-fareast-language: ZH-CN">看来是要导出的数据量太大</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">,</span>
				<span lang="ZH-CN" style="FONT-SIZE: 10pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-fareast-language: ZH-CN">分段导出试试</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">,</span>
				<span lang="ZH-CN" style="FONT-SIZE: 10pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-fareast-language: ZH-CN">修改</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">EXP</span>
				<span lang="ZH-CN" style="FONT-SIZE: 10pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-fareast-language: ZH-CN">指令为</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">exp its/its@it tables=(BARCODE_INFO) file=(barcode2.dmp,barcode3.dmp,barcode4.dmp,barcode5.dmp,barcode6.dmp,barcode7.dmp,barcode8.dmp,barcode9.dmp,barcode10.dmp,barcode11.dmp)<span style="mso-spacerun: yes">  </span>filesize=2000m<span style="mso-spacerun: yes">  </span>constraints=n buffer=131072 recordlength=64000 triggers=n log=logsfis.log indexes=n compress=n feedback=1000 parfile=exp.txt</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US" style="FONT-SIZE: 10pt">
						<o:p> </o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">Parfile.txt</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">query="WHERE make_date BETWEEN TO_DATE ('2006-01-01 00:00:01','yyyy-mm-dd hh24:mi:ss') AND TO_DATE ('2007-01-01 00:00:00','yyyy-mm-dd hh24:mi:ss')"</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="ZH-CN" style="FONT-SIZE: 10pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-fareast-language: ZH-CN">其实</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">,</span>
				<span lang="ZH-CN" style="FONT-SIZE: 10pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-fareast-language: ZH-CN">在导出的过程中仍遇到问题</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">,</span>
				<span lang="ZH-CN" style="FONT-SIZE: 10pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-fareast-language: ZH-CN">后来取消了</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">direct=y</span>
				<span lang="ZH-CN" style="FONT-SIZE: 10pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-fareast-language: ZH-CN">后正常</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">,</span>
				<span lang="ZH-CN" style="FONT-SIZE: 10pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-fareast-language: ZH-CN">估计</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">direct=y</span>
				<span lang="ZH-CN" style="FONT-SIZE: 10pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-fareast-language: ZH-CN">不能和</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">query</span>
				<span lang="ZH-CN" style="FONT-SIZE: 10pt; FONT-FAMILY: SimSun; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-fareast-language: ZH-CN">共存</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt; mso-fareast-language: ZH-CN; mso-fareast-font-family: SimSun">.</span>
				<span lang="EN-US" style="FONT-SIZE: 10pt">
						<o:p>
						</o:p>
				</span>
		</p>
<img src ="http://www.cnitblog.com/kevensun/aggbug/16894.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/kevensun/" target="_blank">Kevensun</a> 2006-09-15 18:17 <a href="http://www.cnitblog.com/kevensun/archive/2006/09/15/16894.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Oracle 10G 32位升级64位</title><link>http://www.cnitblog.com/kevensun/archive/2006/09/08/16546.html</link><dc:creator>Kevensun</dc:creator><author>Kevensun</author><pubDate>Fri, 08 Sep 2006 09:53:00 GMT</pubDate><guid>http://www.cnitblog.com/kevensun/archive/2006/09/08/16546.html</guid><wfw:comment>http://www.cnitblog.com/kevensun/comments/16546.html</wfw:comment><comments>http://www.cnitblog.com/kevensun/archive/2006/09/08/16546.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/kevensun/comments/commentRss/16546.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/kevensun/services/trackbacks/16546.html</trackback:ping><description><![CDATA[
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align="center">
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">
						<span style="mso-spacerun: yes">    </span>
				</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">看完</span>
				<span lang="EN-US" style="mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">Oracle</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">提供的升级文档，按照上面讲的方法升级几次失败</span>
				<span lang="EN-US" style="mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">.</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">经过自己多此实验</span>
				<span lang="EN-US" style="mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">,</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">升级成功</span>
				<span lang="EN-US" style="mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">,</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">现在将升级过程分享给大家</span>
				<span lang="EN-US" style="mso-fareast-language: ZH-CN">
						<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /?>
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt">
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-bidi-font-family: 新細明體">
						<span style="mso-list: Ignore">1.<span style="FONT: 7pt 'Times New Roman'">      </span></span>
				</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">安装</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">Oracle 10G</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">到一台</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">64</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">位系统上</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">,</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">不要创建</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">Database.</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt">
				<span lang="EN-US" style="mso-fareast-font-family: 'Times New Roman'">
						<span style="mso-list: Ignore">2.<span style="FONT: 7pt 'Times New Roman'">      </span></span>
				</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">将原来的</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">32</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">位</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">DB Shutdown,</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">将所有</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">Data</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">文件</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">Copy</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">到</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">64</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">位系统上</span>
				<span lang="EN-US" style="mso-fareast-font-family: SimSun">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt">
				<span lang="EN-US" style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: ZH-CN">
						<span style="mso-list: Ignore">3.<span style="FONT: 7pt 'Times New Roman'">      </span></span>
				</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">将</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">32</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">位的初始化文件</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">Copy</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">到</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">64</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">系统正确的位置</span>
				<span lang="EN-US" style="mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt">
				<span lang="EN-US" style="mso-fareast-font-family: 'Times New Roman'">
						<span style="mso-list: Ignore">4.<span style="FONT: 7pt 'Times New Roman'">      </span></span>
				</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">用</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">oradim Create</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">一新的实例</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">(</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">用</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">Copy</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">过来的初始化参数文件</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">)</span>
				<span lang="EN-US" style="mso-fareast-font-family: SimSun">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt">
				<span lang="EN-US" style="mso-fareast-font-family: 'Times New Roman'">
						<span style="mso-list: Ignore">5.<span style="FONT: 7pt 'Times New Roman'">      </span></span>
				</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">修改初始化文件</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">,</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">增加</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">_SYSTEM_TRIG_ENABLED = false</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">参数</span>
				<span lang="EN-US" style="mso-fareast-font-family: SimSun">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt">
				<span lang="EN-US" style="mso-fareast-font-family: 'Times New Roman'">
						<span style="mso-list: Ignore">6.<span style="FONT: 7pt 'Times New Roman'">      </span></span>
				</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">Shutdown 64</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">位</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">Database</span>
				<span lang="EN-US" style="mso-fareast-font-family: SimSun">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt">
				<span lang="EN-US" style="mso-fareast-font-family: 'Times New Roman'">
						<span style="mso-list: Ignore">7.<span style="FONT: 7pt 'Times New Roman'">      </span></span>
				</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">Stratup nomount</span>
				<span lang="EN-US" style="mso-fareast-font-family: SimSun">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt">
				<span lang="EN-US" style="mso-fareast-font-family: 'Times New Roman'">
						<span style="mso-list: Ignore">8.<span style="FONT: 7pt 'Times New Roman'">      </span></span>
				</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">Create control file(</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">例如</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">,</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">你的要根据你的</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">DB</span>
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 新細明體; mso-hansi-font-family: 新細明體">修改</span>
				<span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">)</span>
				<br />
				<span lang="EN-US" style="mso-fareast-font-family: SimSun">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="EN-US" style="FONT-FAMILY: 新細明體">
						<span style="mso-spacerun: yes">CREATE CONTROLFILE REUSE DATABASE "T1" NORESETLOGS NOARCHIVELOG<br />    MAXLOGFILES 32<br />    MAXLOGMEMBERS 2<br />    MAXDATAFILES 32<br />    MAXINSTANCES 16<br />    MAXLOGHISTORY 1815<br />LOGFILE<br />    GROUP 1 'C:\oracle\product\10.1.0\oradata\orcl64\REDO03.LOG'  SIZE 1M, <br />    GROUP 2 'C:\oracle\product\10.1.0\oradata\orcl64\REDO02.LOG'  SIZE 1M,<br />    GROUP 3 'C:\oracle\product\10.1.0\oradata\orcl64\REDO01.LOG'  SIZE 1M<br />DATAFILE<br />   'C:\oracle\product\10.1.0\oradata\orcl64\SYSTEM01.DBF',<br />    'C:\oracle\product\10.1.0\oradata\orcl64\RBS01.DBF',<br />   'C:\oracle\product\10.1.0\oradata\orcl64\USERS01.DBF',<br />   'C:\oracle\product\10.1.0\oradata\orcl64\TEMP01.DBF',<br />   'C:\oracle\product\10.1.0\oradata\orcl64\TOOLS01.DBF',<br />   'C:\oracle\product\10.1.0\oradata\orcl64\INDX01.DBF',<br />   'C:\oracle\product\10.1.0\oradata\orcl64\DR01.DBF'<br />9.</span>
				</span>
				<span lang="EN" style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN">
						<span style="mso-list: Ignore">
								<span style="FONT: 7pt 'Times New Roman'">      </span>
						</span>
				</span>
				<span lang="EN" style="mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN; mso-ansi-language: EN">Shutdown immediate</span>
				<span lang="EN" style="mso-ansi-language: EN">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt">
				<span lang="EN" style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN">
						<span style="mso-list: Ignore">10.<span style="FONT: 7pt 'Times New Roman'">  </span></span>
				</span>
				<span lang="EN" style="mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN; mso-ansi-language: EN">Startup upgrade</span>
				<span lang="EN" style="mso-ansi-language: EN">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt">
				<span lang="EN" style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN">
						<span style="mso-list: Ignore">11.<span style="FONT: 7pt 'Times New Roman'">  </span></span>
				</span>
				<span lang="EN" style="mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN; mso-ansi-language: EN">SPOOL catoutw.log</span>
				<span lang="EN" style="mso-ansi-language: EN">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt">
				<span lang="EN" style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN">
						<span style="mso-list: Ignore">12.<span style="FONT: 7pt 'Times New Roman'">  </span></span>
				</span>
				<span lang="EN" style="mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN; mso-ansi-language: EN">SET ECHO ON;</span>
				<span lang="EN" style="mso-ansi-language: EN">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt">
				<span lang="EN" style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN">
						<span style="mso-list: Ignore">13.<span style="FONT: 7pt 'Times New Roman'">  </span></span>
				</span>
				<span lang="EN" style="mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN; mso-ansi-language: EN">SQL&gt;@C:\oracle\product\<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /?><st1:chsdate w:st="on" year="1899" month="12" day="30" islunardate="False" isrocdate="False">10.2.0</st1:chsdate>\db_1\RDBMS\ADMIN\utlirp.sql;</span>
				<span lang="EN" style="mso-ansi-language: EN">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt">
				<span lang="EN" style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN">
						<span style="mso-list: Ignore">14.<span style="FONT: 7pt 'Times New Roman'">  </span></span>
				</span>
				<span lang="EN" style="mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN; mso-ansi-language: EN">SPOOL OFF;</span>
				<span lang="EN" style="mso-ansi-language: EN">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt">
				<span lang="EN" style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN">
						<span style="mso-list: Ignore">15.<span style="FONT: 7pt 'Times New Roman'">  </span></span>
				</span>
				<span lang="EN" style="mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN; mso-ansi-language: EN">Shutdown immediate</span>
				<span lang="EN" style="mso-ansi-language: EN">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt">
				<span lang="EN" style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN">
						<span style="mso-list: Ignore">16.<span style="FONT: 7pt 'Times New Roman'">  </span></span>
				</span>
				<span lang="EN" style="mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN; mso-ansi-language: EN">SET ECHO OFF;</span>
				<span lang="EN" style="mso-ansi-language: EN">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt">
				<span lang="EN" style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN">
						<span style="mso-list: Ignore">17.<span style="FONT: 7pt 'Times New Roman'">  </span></span>
				</span>
				<span lang="EN" style="mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN; mso-ansi-language: EN">Startup</span>
				<span lang="EN" style="mso-ansi-language: EN">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt 18pt; TEXT-INDENT: -18pt; mso-list: l0 level1 lfo1; tab-stops: list 18.0pt">
				<span lang="EN" style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN">
						<span style="mso-list: Ignore">18.<span style="FONT: 7pt 'Times New Roman'">  </span></span>
				</span>
				<span lang="EN" style="mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN; mso-ansi-language: EN">SQL&gt;@C:\oracle\product\<st1:chsdate w:st="on" year="1899" month="12" day="30" islunardate="False" isrocdate="False">10.2.0</st1:chsdate>\db_1\RDBMS\ADMIN\utlrp.sql;</span>
				<br />
				<span lang="EN" style="mso-ansi-language: EN">
						<o:p>
						</o:p>
				</span>
		</p>
		<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt">
				<span lang="ZH-CN" style="FONT-FAMILY: SimSun; mso-fareast-language: ZH-CN; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-ansi-language: EN">19.Shutdown immediate<br />20.再次修改初始参数文件，删除参数 <span lang="EN-US" style="FONT-FAMILY: 新細明體; mso-fareast-font-family: SimSun; mso-fareast-language: ZH-CN">_SYSTEM_TRIG_ENABLED = false</span><br />21.Startup<br />升级完成</span>
				<span lang="EN" style="mso-ansi-language: EN">
						<o:p>
						</o:p>
				</span>
		</p>
<img src ="http://www.cnitblog.com/kevensun/aggbug/16546.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/kevensun/" target="_blank">Kevensun</a> 2006-09-08 17:53 <a href="http://www.cnitblog.com/kevensun/archive/2006/09/08/16546.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Oracle 8i升级Oracle 10G</title><link>http://www.cnitblog.com/kevensun/archive/2006/09/07/16499.html</link><dc:creator>Kevensun</dc:creator><author>Kevensun</author><pubDate>Thu, 07 Sep 2006 09:32:00 GMT</pubDate><guid>http://www.cnitblog.com/kevensun/archive/2006/09/07/16499.html</guid><wfw:comment>http://www.cnitblog.com/kevensun/comments/16499.html</wfw:comment><comments>http://www.cnitblog.com/kevensun/archive/2006/09/07/16499.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/kevensun/comments/commentRss/16499.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/kevensun/services/trackbacks/16499.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: Oracle 8.1.7.4				升级				Oracle 10.2																																								    Oracle				提供了升级工具让用户可以将				Database				从低版本升级到更高的版本				,8i				可以直接升级到										10G	...&nbsp;&nbsp;<a href='http://www.cnitblog.com/kevensun/archive/2006/09/07/16499.html'>阅读全文</a><img src ="http://www.cnitblog.com/kevensun/aggbug/16499.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/kevensun/" target="_blank">Kevensun</a> 2006-09-07 17:32 <a href="http://www.cnitblog.com/kevensun/archive/2006/09/07/16499.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>免费电话</title><link>http://www.cnitblog.com/kevensun/archive/2006/06/10/12011.html</link><dc:creator>Kevensun</dc:creator><author>Kevensun</author><pubDate>Sat, 10 Jun 2006 15:35:00 GMT</pubDate><guid>http://www.cnitblog.com/kevensun/archive/2006/06/10/12011.html</guid><wfw:comment>http://www.cnitblog.com/kevensun/comments/12011.html</wfw:comment><comments>http://www.cnitblog.com/kevensun/archive/2006/06/10/12011.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/kevensun/comments/commentRss/12011.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/kevensun/services/trackbacks/12011.html</trackback:ping><description><![CDATA[           前一段时间听同事将网上有免费电话,一直没时间去证实.今天晚上没事,该看的新闻都看了,于是上<br /> <a href="http://www.redvip.net/">http://www.redvip.net</a>下载了软件,安装相当简单.安装完后需要简单的注册,需要输入密码,手机号码,及介绍人的VIP号,输了我同事的号码92691190,为了保险其间,输手机号时用了要换掉的手机号码(没钱在里面,以免被奸商扣钱),结果,换好旧卡刚开机,就收到了验证码,输了进去,报告错误.就知道奸商骗钱.再仔细看了一下收到的码,少输了一个又1,再来一次,通过了验证,显示注册成功.立刻进入redvip软件,画面相当简单,点开我的帐户,已经有本质区5元钱在里面了.试着打了一下家里的电话,"有电话啦",家里的电话铃响了,应该OK了.赶快用QQ通知了所有在线的朋友,一方面告诉他们好消息,一方面,他们注册,可以为我带来5元的介绍费,呵呵.<img src ="http://www.cnitblog.com/kevensun/aggbug/12011.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/kevensun/" target="_blank">Kevensun</a> 2006-06-10 23:35 <a href="http://www.cnitblog.com/kevensun/archive/2006/06/10/12011.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>在大陆购买Skype Out的点数真难呀 </title><link>http://www.cnitblog.com/kevensun/archive/2006/04/15/9194.html</link><dc:creator>Kevensun</dc:creator><author>Kevensun</author><pubDate>Sat, 15 Apr 2006 06:16:00 GMT</pubDate><guid>http://www.cnitblog.com/kevensun/archive/2006/04/15/9194.html</guid><wfw:comment>http://www.cnitblog.com/kevensun/comments/9194.html</wfw:comment><comments>http://www.cnitblog.com/kevensun/archive/2006/04/15/9194.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/kevensun/comments/commentRss/9194.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/kevensun/services/trackbacks/9194.html</trackback:ping><description><![CDATA[
		<p>几经周折,公司的Skype pbx终于正常运做了.公司员工可以用公司内线电话通过Skype pbx免费拨到母公司的电话网,出差员工,合作伙伴也可利用Skype免费拨到公司的电话系统,公司员工,也可以通过内线电话,利用Skype pbx拨Skype Out拨到全球几乎所有传统电话上,而费用仅需要0.17元每分钟,相比高昂的传统电话费要低很多倍.如果真正利用起来,公司的长途电话应该可以省去多一半,可惜大陆没有买Skype Out点数的地方,用同事的信用卡在moneybookers上买了好多次,均无法支付,不知何时这么先进的设备才能真正为公司省钱呀.</p>
<img src ="http://www.cnitblog.com/kevensun/aggbug/9194.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/kevensun/" target="_blank">Kevensun</a> 2006-04-15 14:16 <a href="http://www.cnitblog.com/kevensun/archive/2006/04/15/9194.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ORA-27101 错误处理</title><link>http://www.cnitblog.com/kevensun/archive/2006/03/31/8337.html</link><dc:creator>Kevensun</dc:creator><author>Kevensun</author><pubDate>Fri, 31 Mar 2006 01:05:00 GMT</pubDate><guid>http://www.cnitblog.com/kevensun/archive/2006/03/31/8337.html</guid><wfw:comment>http://www.cnitblog.com/kevensun/comments/8337.html</wfw:comment><comments>http://www.cnitblog.com/kevensun/archive/2006/03/31/8337.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/kevensun/comments/commentRss/8337.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/kevensun/services/trackbacks/8337.html</trackback:ping><description><![CDATA[
		<p>Ｏracle Database的主机被异常关机，重新启动电脑，Database报ORA-27101 shared memory realm does not exist 错误．看来是service损坏啦．删除Service再建一新的，看看效果如何．<br />C:\&gt;oradim -delete -sid sfis<br />C:\&gt;oradim -new -sid sfis -startmode auto -pfile d:\pfile\initsfis.ora<br />重新启动Service,启动成功．</p>
<img src ="http://www.cnitblog.com/kevensun/aggbug/8337.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/kevensun/" target="_blank">Kevensun</a> 2006-03-31 09:05 <a href="http://www.cnitblog.com/kevensun/archive/2006/03/31/8337.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ORA-12500错误解决一例 </title><link>http://www.cnitblog.com/kevensun/archive/2006/03/14/7613.html</link><dc:creator>Kevensun</dc:creator><author>Kevensun</author><pubDate>Tue, 14 Mar 2006 12:47:00 GMT</pubDate><guid>http://www.cnitblog.com/kevensun/archive/2006/03/14/7613.html</guid><wfw:comment>http://www.cnitblog.com/kevensun/comments/7613.html</wfw:comment><comments>http://www.cnitblog.com/kevensun/archive/2006/03/14/7613.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/kevensun/comments/commentRss/7613.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/kevensun/services/trackbacks/7613.html</trackback:ping><description><![CDATA[<DIV class=postTitle>&nbsp; <SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">引言：</SPAN> </DIV>
<P class=MsoNormal style="TEXT-INDENT: 21.75pt"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">上星期天晚上</SPAN><SPAN lang=EN-US>10</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">点，同事打电话到家了，反映数据库的</SPAN><SPAN lang=EN-US>TNS</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">时通时断，严重影响生产。判断应该是内存用完造成用户无发连接造成。可是我在星期天上午才将内存由</SPAN><?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:chmetcnv w:st="on" TCSC="0" NumberType="1" Negative="False" HasSpace="False" SourceValue="1.5" UnitName="g"><SPAN lang=EN-US>1.5G</SPAN></st1:chmetcnv><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">增加到</SPAN><st1:chmetcnv w:st="on" TCSC="0" NumberType="1" Negative="False" HasSpace="False" SourceValue="4" UnitName="g"><SPAN lang=EN-US>4G</SPAN></st1:chmetcnv><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。无论如何没办法在家解决，只好告诉上夜班的同事每半小时将网卡中断一次，以便让产线可以使用。</SPAN></P>
<P class=MsoNormal style="TEXT-INDENT: 21.75pt"><SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">星期一上班，打开</SPAN><SPAN lang=EN-US>boot.ini,</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">发现在内存增加后没有加</SPAN><SPAN lang=EN-US> /<st1:chmetcnv w:st="on" TCSC="0" NumberType="1" Negative="False" HasSpace="False" SourceValue="3" UnitName="g">3G</st1:chmetcnv></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">开关。加上</SPAN><SPAN lang=EN-US>/<st1:chmetcnv w:st="on" TCSC="0" NumberType="1" Negative="False" HasSpace="False" SourceValue="3" UnitName="g">3G</st1:chmetcnv></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">参数，重新启动电脑，过了约半小时，产线反应问题复现</SPAN><SPAN lang=EN-US>---Ora-012500</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">错误。看来没有彻底解决。在网上查找异常原因，发现原因是虽然内存有</SPAN><st1:chmetcnv w:st="on" TCSC="0" NumberType="1" Negative="False" HasSpace="False" SourceValue="4" UnitName="g"><SPAN lang=EN-US>4G</SPAN></st1:chmetcnv><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，但</SPAN><SPAN lang=EN-US>Oracle</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">能用的只有</SPAN><st1:chmetcnv w:st="on" TCSC="0" NumberType="1" Negative="False" HasSpace="False" SourceValue="2" UnitName="g"><SPAN lang=EN-US>2G</SPAN></st1:chmetcnv><SPAN lang=EN-US>(</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">需要做一些修改才能超越此限制，但时间不允许</SPAN><SPAN lang=EN-US>)</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，而我的</SPAN><SPAN lang=EN-US>SGA</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">用了</SPAN><st1:chmetcnv w:st="on" TCSC="0" NumberType="1" Negative="False" HasSpace="False" SourceValue="1.5" UnitName="g"><SPAN lang=EN-US>1.5G</SPAN></st1:chmetcnv><SPAN lang=EN-US>,</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体"> </SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">在独占模式下，每一个</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">session</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">将单独分配</SPAN><st1:chmetcnv w:st="on" TCSC="0" NumberType="1" Negative="False" HasSpace="False" SourceValue="2" UnitName="m"><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">2M</SPAN></st1:chmetcnv><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">左右的内存</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">,300</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">个</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">Session</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">需要</SPAN><st1:chmetcnv w:st="on" TCSC="0" NumberType="1" Negative="False" HasSpace="False" SourceValue="600" UnitName="m"><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">600M</SPAN></st1:chmetcnv><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">,</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">显然，内存已经不够用了。</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P class=MsoNormal style="TEXT-INDENT: 21.75pt"><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">根据以上分析，解决方法当然有</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">3</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">种，一是修改系统参数，让</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">Oracle</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">能够使用超过</SPAN><st1:chmetcnv w:st="on" TCSC="0" NumberType="1" Negative="False" HasSpace="False" SourceValue="2" UnitName="g"><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">2G</SPAN></st1:chmetcnv><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">的内存，这需要在测试环境测过才可在正式环境进行，解决问题优先，这个以后再试。第二是减小为每一个会话分配的内存大小，以能连接更多的用户。三是减小</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">SGA</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">的大小。第二个方法其实很简单，先停止</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">oracle</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">服务和</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">TNS</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">服务，再运行以上命令</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体"><BR>C:\oracle\ora81\bin&gt;orastack oracle.exe 500000<BR>Dump of file oracle.exe<BR>Current Reserved Memory per Thread = 1048576<BR>Current Committed Memory per Thread = 4096<BR>New Reserved Memory per Thread = <st1:chmetcnv w:st="on" TCSC="0" NumberType="1" Negative="False" HasSpace="False" SourceValue="500000" UnitName="C">500000<BR></st1:chmetcnv>C:\oracle\ora81\bin&gt;orastack tnslsnr.exe 500000<o:p></o:p></SPAN></P>
<P class=MsoNormal style="TEXT-INDENT: 21.75pt"><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">Dump of file tnslsnr.exe<BR><BR>Current Reserved Memory per Thread = 1048576<BR>Current Committed Memory per Thread = 4096<BR>New Reserved Memory per Thread = 500000<BR></SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">重新启动</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">oracle</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">服务和</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">TNS</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">服务，打开数据库。不过这个也没做过，需要测试。看来降低</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">SGA</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">最简单。打开</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">init.ora</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">文件，将</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">SGA</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">降低到</SPAN><st1:chmetcnv w:st="on" TCSC="0" NumberType="1" Negative="False" HasSpace="False" SourceValue="1" UnitName="g"><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">1G</SPAN></st1:chmetcnv><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">，</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">Shutdown Database,</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">再</SPAN><SPAN lang=EN-US style="FONT-SIZE: 12pt; FONT-FAMILY: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">Startup,</SPAN><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-ascii-font-family: Verdana; mso-hansi-font-family: Verdana; mso-font-kerning: 0pt; mso-bidi-font-family: 宋体">问题解决。</SPAN></P><img src ="http://www.cnitblog.com/kevensun/aggbug/7613.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/kevensun/" target="_blank">Kevensun</a> 2006-03-14 20:47 <a href="http://www.cnitblog.com/kevensun/archive/2006/03/14/7613.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>CPU 使用率100%解决一例</title><link>http://www.cnitblog.com/kevensun/archive/2006/03/14/7612.html</link><dc:creator>Kevensun</dc:creator><author>Kevensun</author><pubDate>Tue, 14 Mar 2006 12:45:00 GMT</pubDate><guid>http://www.cnitblog.com/kevensun/archive/2006/03/14/7612.html</guid><wfw:comment>http://www.cnitblog.com/kevensun/comments/7612.html</wfw:comment><comments>http://www.cnitblog.com/kevensun/archive/2006/03/14/7612.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnitblog.com/kevensun/comments/commentRss/7612.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/kevensun/services/trackbacks/7612.html</trackback:ping><description><![CDATA[&nbsp; <SPAN>引言：</SPAN> 
<P><SPAN lang=EN-US><SPAN>&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN>年前公司的生产数据库的一个</SPAN><SPAN lang=EN-US>index</SPAN><SPAN>的</SPAN><SPAN lang=EN-US>block</SPAN><SPAN>损坏，此</SPAN><SPAN lang=EN-US>index</SPAN><SPAN>有约</SPAN><?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:chmetcnv w:st="on" TCSC="0" NumberType="1" Negative="False" HasSpace="False" SourceValue="90" UnitName="g"><SPAN lang=EN-US>90G</SPAN></st1:chmetcnv><SPAN>，</SPAN><SPAN lang=EN-US>rebuilt</SPAN><SPAN>之后仍然是坏的，决定借春节放假期间删除重新</SPAN><SPAN lang=EN-US>index, </SPAN><SPAN>花费了整个假期重建了所有</SPAN><SPAN lang=EN-US>Index,</SPAN><SPAN>删除了旧的</SPAN><SPAN lang=EN-US>Tablesapce.</SPAN></P>
<P><SPAN lang=EN-US><SPAN>&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN>开春上班，以为万事大吉，结果更惨。生产部门反应数据库很慢。用</SPAN><SPAN lang=EN-US>Spotlight</SPAN><SPAN>监控</SPAN><SPAN lang=EN-US>DB</SPAN><SPAN>，发现</SPAN><SPAN lang=EN-US>CPU</SPAN><SPAN>使用率高达</SPAN><SPAN lang=EN-US>100%</SPAN><SPAN>，之前</SPAN><SPAN lang=EN-US>CPU</SPAN><SPAN>使用率平均只有</SPAN><SPAN lang=EN-US>30%</SPAN><SPAN>。开始怀疑</SPAN><SPAN lang=EN-US>Index</SPAN><SPAN>的存储参数被我改的不够优化了。于是不断的修改</SPAN><SPAN lang=EN-US>DB</SPAN><SPAN>的各个参数，结果收效甚微。请教总公司的资深</SPAN><SPAN lang=EN-US>DBA</SPAN><SPAN>，她老人家通过</SPAN><SPAN lang=EN-US>VNC</SPAN><SPAN>连线看了好几天，说：“你的</SPAN><SPAN lang=EN-US>IO</SPAN><SPAN>很高，数据库的负担很重，这是正常的。你刚做这一行，认为存储参数影响</SPAN><SPAN lang=EN-US>DB</SPAN><SPAN>效能很正常，不过以我的经验，这些参数根本不影响</SPAN><SPAN lang=EN-US>DB</SPAN><SPAN>效能。”我说可是在之前很好，是我重建</SPAN><SPAN lang=EN-US>Index</SPAN><SPAN>之后才这样的。她说：“现在和之前的使用量相同吗？你能确定使用量相同吗？环境是在变化的。”她这样说我也没法，只好自己动手丰衣足食。</SPAN></P><SPAN lang=EN-US><SPAN>&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN>那天是星期五，比较少事，于是静下心来寻找问题点。打开</SPAN><SPAN lang=EN-US>Spotlight</SPAN><SPAN>，看</SPAN><SPAN lang=EN-US>Top session,</SPAN><SPAN>看那一个</SPAN><SPAN lang=EN-US>Session</SPAN><SPAN>占</SPAN><SPAN lang=EN-US>CPU</SPAN><SPAN>最多。找到</SPAN><SPAN lang=EN-US>CPU</SPAN><SPAN>使用率最高的</SPAN><SPAN lang=EN-US>Session,</SPAN><SPAN>查看其</SPAN><SPAN lang=EN-US>SQL</SPAN><SPAN>，发现是一</SPAN><SPAN lang=EN-US>Select</SPAN><SPAN>语句，看看这条</SPAN><SPAN lang=EN-US>Sql</SPAN><SPAN>是否有全表扫描，发现没有用到</SPAN><SPAN lang=EN-US>Index.</SPAN><SPAN>立刻用</SPAN><SPAN lang=EN-US>Toad</SPAN><SPAN>建立了相应</SPAN><SPAN lang=EN-US>Index,</SPAN><SPAN>查看</SPAN><SPAN lang=EN-US>Spotlight,</SPAN><SPAN>发现</SPAN><SPAN lang=EN-US>CPU</SPAN><SPAN>使用率降低啦！趁热打铁，再找，有找到一条，再建</SPAN><SPAN lang=EN-US>Index,</SPAN><SPAN>再看</SPAN><SPAN lang=EN-US>Spotlight</SPAN><SPAN>，</SPAN><SPAN lang=EN-US>CPU</SPAN><SPAN>使用率已经降低到之前的平均水平。再询问生产单位，反映已经恢复到之前的水平</SPAN></SPAN></SPAN></SPAN> <img src ="http://www.cnitblog.com/kevensun/aggbug/7612.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/kevensun/" target="_blank">Kevensun</a> 2006-03-14 20:45 <a href="http://www.cnitblog.com/kevensun/archive/2006/03/14/7612.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ORA-01654 错误的解决方法</title><link>http://www.cnitblog.com/kevensun/archive/2006/03/14/7611.html</link><dc:creator>Kevensun</dc:creator><author>Kevensun</author><pubDate>Tue, 14 Mar 2006 12:44:00 GMT</pubDate><guid>http://www.cnitblog.com/kevensun/archive/2006/03/14/7611.html</guid><wfw:comment>http://www.cnitblog.com/kevensun/comments/7611.html</wfw:comment><comments>http://www.cnitblog.com/kevensun/archive/2006/03/14/7611.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnitblog.com/kevensun/comments/commentRss/7611.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/kevensun/services/trackbacks/7611.html</trackback:ping><description><![CDATA[<P>引言：</P>
<P>数据库突然报：　ORA-01654: unable to extend index BO.INDEX_indexname by&nbsp;311072 in tablespace　错误，上网查原因，发现解决之道只有一个，就是增加tablespace的大小．因我的database的tablespace已经足够大了，最后发现不是tablespace不足，而是参数错误．现归纳解决此问题的方法如下．</P>
<P>方法１：</P>
<P>　　　当出现类似错误时，首先检查tablespace的空间是否足够大，如果不够大，说明tablespace的空间不够扩展了，这时候需要将tablespace的datafile的size变大，方法很简单我就不讲了，或增加新的datafile到此tablespace中，使用alter tablespace mytablespace add datafile 'XXX' size xxxx就ＯK啦．</P>
<P>方法2:</P>
<P>　　　这就是我这此遇到的问题．我的datafile的size为2000m，而我的index的next extent为2G，pct increase为50,这样一来下一个要扩展的extent为3G,而我的datafile的Size为２G,故无发找到连续3G的空间，当然会出错．</P>
<P>　　　问题找到了，解决当然很简单，修改next extent 为128k,pct increase为0,问题解决.&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 不知道是谁设定的,真是个低级错误.</P><img src ="http://www.cnitblog.com/kevensun/aggbug/7611.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/kevensun/" target="_blank">Kevensun</a> 2006-03-14 20:44 <a href="http://www.cnitblog.com/kevensun/archive/2006/03/14/7611.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>