<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Undo &#8211; dbtan 谈DB</title>
	<atom:link href="https://dbtan.com/tag/undo/feed" rel="self" type="application/rss+xml" />
	<link>https://dbtan.com</link>
	<description>dbtan 的生活、Oracle 及 Linux 等的学习笔记、观点。      说，永远易于做！</description>
	<lastBuildDate>Tue, 02 Feb 2010 08:27:00 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>回滚段损坏的恢复</title>
		<link>https://dbtan.com/2010/02/recover-rollback-segment-mangle.html</link>
					<comments>https://dbtan.com/2010/02/recover-rollback-segment-mangle.html#comments</comments>
		
		<dc:creator><![CDATA[dbtan]]></dc:creator>
		<pubDate>Tue, 02 Feb 2010 08:27:00 +0000</pubDate>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[深入解析Oracle]]></category>
		<category><![CDATA[读书笔记]]></category>
		<category><![CDATA[Undo]]></category>
		<guid isPermaLink="false">http://www.dbtan.com/2010/02/recover-rollback-segment-mangle.html</guid>

					<description><![CDATA[回滚段损坏的恢复： 在abort关闭数据库之后，重新启动数据库即出现以下错误： SMON: about to  [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>回滚段损坏的恢复：  在abort关闭数据库之后，重新启动数据库即出现以下错误：  SMON: about to recover undo segment 57SMON: mark undo segment 57 as availableSMON: about to recover undo seg[......]</p>
<p class="read-more"><a href="https://dbtan.com/2010/02/recover-rollback-segment-mangle.html">阅读全文</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://dbtan.com/2010/02/recover-rollback-segment-mangle.html/feed</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>特殊情况的恢复</title>
		<link>https://dbtan.com/2010/02/recovery-of-special.html</link>
					<comments>https://dbtan.com/2010/02/recovery-of-special.html#respond</comments>
		
		<dc:creator><![CDATA[dbtan]]></dc:creator>
		<pubDate>Tue, 02 Feb 2010 07:28:00 +0000</pubDate>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[深入解析Oracle]]></category>
		<category><![CDATA[读书笔记]]></category>
		<category><![CDATA[Undo]]></category>
		<guid isPermaLink="false">http://www.dbtan.com/2010/02/recovery-of-special.html</guid>

					<description><![CDATA[特殊情况的恢复： 在很多情况下，特别是在使用隐含参数强制打开数据库之后，可能会在警报日志中出现ORA-0060 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>特殊情况的恢复：  在很多情况下，特别是在使用隐含参数强制打开数据库之后，可能会在警报日志中出现ORA-00600 4194错误。  4194错误通常说明UNDO段出现问题，最好的办法是通过备份进行恢复，如果没有备份，那么可以通过特殊的初始化参数进行强制启动，本文就Oracle的隐含参数进行恢复说明[......]</p>
<p class="read-more"><a href="https://dbtan.com/2010/02/recovery-of-special.html">阅读全文</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://dbtan.com/2010/02/recovery-of-special.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>使用Flashback Query恢复误删除数据</title>
		<link>https://dbtan.com/2010/02/flashback-query-recovery-delete-data.html</link>
					<comments>https://dbtan.com/2010/02/flashback-query-recovery-delete-data.html#respond</comments>
		
		<dc:creator><![CDATA[dbtan]]></dc:creator>
		<pubDate>Mon, 01 Feb 2010 04:03:00 +0000</pubDate>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[深入解析Oracle]]></category>
		<category><![CDATA[读书笔记]]></category>
		<category><![CDATA[Undo]]></category>
		<guid isPermaLink="false">http://www.dbtan.com/2010/02/flashback-query-recovery-delete-data.html</guid>

					<description><![CDATA[使用Flashback Query恢复误删除数据： 误删除了部分重要数据，并且已经提交，需要恢复。这该怎么办？ [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>使用Flashback Query恢复误删除数据：  误删除了部分重要数据，并且已经提交，需要恢复。这该怎么办？首先尝试使用flashback query闪回数据。首先确认数据库的SCN变化：  sys@CCDB&gt; col fscn for 9999999999999999sys@CCDB&#038;g[......]</p>
<p class="read-more"><a href="https://dbtan.com/2010/02/flashback-query-recovery-delete-data.html">阅读全文</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://dbtan.com/2010/02/flashback-query-recovery-delete-data.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>AUM下如何重建UNDO表空间</title>
		<link>https://dbtan.com/2010/01/rebuild-undotbs-on-aum.html</link>
					<comments>https://dbtan.com/2010/01/rebuild-undotbs-on-aum.html#respond</comments>
		
		<dc:creator><![CDATA[dbtan]]></dc:creator>
		<pubDate>Thu, 28 Jan 2010 09:37:00 +0000</pubDate>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[深入解析Oracle]]></category>
		<category><![CDATA[读书笔记]]></category>
		<category><![CDATA[Undo]]></category>
		<guid isPermaLink="false">http://www.dbtan.com/2010/01/rebuild-undotbs-on-aum.html</guid>

					<description><![CDATA[AUM下如何重建UNDO表空间： 在迁移（同平台）的时候由于UNDO表空间过大，不打算要现在的UNDO文件，想 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>AUM下如何重建UNDO表空间：  在迁移（同平台）的时候由于UNDO表空间过大，不打算要现在的UNDO文件，想要重建一个，该如何做，是否需要通过一些隐含参数来做特殊处理？前提是拥有一个有效的冷备份（或者Clean Shutdown的数据库）。拥有冷备份，那么这个操作是很简单的，并不需要使用隐含参数[......]</p>
<p class="read-more"><a href="https://dbtan.com/2010/01/rebuild-undotbs-on-aum.html">阅读全文</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://dbtan.com/2010/01/rebuild-undotbs-on-aum.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Oracle 11g 闪回数据归档</title>
		<link>https://dbtan.com/2010/01/oracle11g-fbda.html</link>
					<comments>https://dbtan.com/2010/01/oracle11g-fbda.html#respond</comments>
		
		<dc:creator><![CDATA[dbtan]]></dc:creator>
		<pubDate>Thu, 28 Jan 2010 07:40:00 +0000</pubDate>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[深入解析Oracle]]></category>
		<category><![CDATA[读书笔记]]></category>
		<category><![CDATA[Undo]]></category>
		<guid isPermaLink="false">http://www.dbtan.com/2010/01/oracle11g-fbda.html</guid>

					<description><![CDATA[Oracle 11g 闪回数据归档： 虽然ORA-01555错误可以通过种种手段来避免和减少，但是随着时间的流 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Oracle 11g 闪回数据归档：  虽然ORA-01555错误可以通过种种手段来避免和减少，但是随着时间的流逝，这些UNDO信息总会失去，那么能否将这些信息保存起来，使得数据库在一定的历史周期之内可以不断向后追溯，使得我们可以看到一个数据表在任意历史时间点上的切片呢？  从Oracle Data[......]</p>
<p class="read-more"><a href="https://dbtan.com/2010/01/oracle11g-fbda.html">阅读全文</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://dbtan.com/2010/01/oracle11g-fbda.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>ORA-01555 原因与解决</title>
		<link>https://dbtan.com/2010/01/ora-01555-reason-and-solution.html</link>
					<comments>https://dbtan.com/2010/01/ora-01555-reason-and-solution.html#respond</comments>
		
		<dc:creator><![CDATA[dbtan]]></dc:creator>
		<pubDate>Thu, 21 Jan 2010 09:19:00 +0000</pubDate>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[深入解析Oracle]]></category>
		<category><![CDATA[读书笔记]]></category>
		<category><![CDATA[Undo]]></category>
		<guid isPermaLink="false">http://www.dbtan.com/2010/01/ora-01555-reason-and-solution.html</guid>

					<description><![CDATA[ORA-01555 原因与解决： 前面提到了ORA-01555错误，那么现在来看一下ORA-01555错误是怎 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>ORA-01555 原因与解决：  前面提到了ORA-01555错误，那么现在来看一下ORA-01555错误是怎样产生的。由于回滚段是循环使用的，当事务提交以后，该事务占用的回滚段事务会被标记为非活动，回滚段空间可以被覆盖重用。那么一个问题就出现了，如果一个查询需要使用被覆盖的回滚段构造前镜像实现一[......]</p>
<p class="read-more"><a href="https://dbtan.com/2010/01/ora-01555-reason-and-solution.html">阅读全文</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://dbtan.com/2010/01/ora-01555-reason-and-solution.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Oracle 10g 闪回查询特性的增强</title>
		<link>https://dbtan.com/2010/01/oracle10g-flashback-query.html</link>
					<comments>https://dbtan.com/2010/01/oracle10g-flashback-query.html#respond</comments>
		
		<dc:creator><![CDATA[dbtan]]></dc:creator>
		<pubDate>Mon, 04 Jan 2010 10:05:00 +0000</pubDate>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[深入解析Oracle]]></category>
		<category><![CDATA[读书笔记]]></category>
		<category><![CDATA[Undo]]></category>
		<guid isPermaLink="false">http://www.dbtan.com/2010/01/oracle10g-flashback-query.html</guid>

					<description><![CDATA[Oracle 10g 闪回查询特性的增强： Oracle 9i提供了闪回特性增强，为数据恢复带来了极大的方便， [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Oracle 10g 闪回查询特性的增强：  Oracle 9i提供了闪回特性增强，为数据恢复带来了极大的方便，但是Oracle 9i的闪回查询只能提供某个时间点的数据视图，并不能告诉用户这样的数据经过了几个事务、怎样的修改（UPDATE、INSERT、DELETE等），而这些信息在回滚段中是存在的[......]</p>
<p class="read-more"><a href="https://dbtan.com/2010/01/oracle10g-flashback-query.html">阅读全文</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://dbtan.com/2010/01/oracle10g-flashback-query.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>使用ERRORSTATCK进行错误跟踪</title>
		<link>https://dbtan.com/2009/12/errorstack.html</link>
					<comments>https://dbtan.com/2009/12/errorstack.html#respond</comments>
		
		<dc:creator><![CDATA[dbtan]]></dc:creator>
		<pubDate>Tue, 29 Dec 2009 14:19:00 +0000</pubDate>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[深入解析Oracle]]></category>
		<category><![CDATA[读书笔记]]></category>
		<category><![CDATA[Undo]]></category>
		<guid isPermaLink="false">http://www.dbtan.com/2009/12/errorstack.html</guid>

					<description><![CDATA[使用ERRORSTATCK进行错误跟踪： ERRORSTACK是Oracle提供的接口，用于诊断Oracle的 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>使用ERRORSTATCK进行错误跟踪：  ERRORSTACK是Oracle提供的接口，用于诊断Oracle的错误信息。诊断事件可以在Session级设置，也可以在系统级设置，通常如果要诊断全局错误，最好在系统级设置。设置了ERRORSTACK事件之后，Oracle会将出错时的信息记入跟踪文件中，[......]</p>
<p class="read-more"><a href="https://dbtan.com/2009/12/errorstack.html">阅读全文</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://dbtan.com/2009/12/errorstack.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Oracle 9i闪回查询的新特性</title>
		<link>https://dbtan.com/2009/12/oracle9i-flashback-query.html</link>
					<comments>https://dbtan.com/2009/12/oracle9i-flashback-query.html#respond</comments>
		
		<dc:creator><![CDATA[dbtan]]></dc:creator>
		<pubDate>Tue, 29 Dec 2009 14:14:00 +0000</pubDate>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[深入解析Oracle]]></category>
		<category><![CDATA[读书笔记]]></category>
		<category><![CDATA[Undo]]></category>
		<guid isPermaLink="false">http://www.dbtan.com/2009/12/oracle9i-flashback-query.html</guid>

					<description><![CDATA[Oracle 9i闪回查询的新特性： 从Oracle 9i开始，Oracle开始提供闪回查询特性（flashb [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Oracle 9i闪回查询的新特性：  从Oracle 9i开始，Oracle开始提供闪回查询特性（flashback query），允许将回滚段中的数据进行闪回。通过这个例子来看一下这个从Oracle 9i开始提供的新特性。  先查询一下当前数据库的SCN：  sys@TQGZS&gt; sele[......]</p>
<p class="read-more"><a href="https://dbtan.com/2009/12/oracle9i-flashback-query.html">阅读全文</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://dbtan.com/2009/12/oracle9i-flashback-query.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>回滚机制的深入研究</title>
		<link>https://dbtan.com/2009/12/undo-deep-research.html</link>
					<comments>https://dbtan.com/2009/12/undo-deep-research.html#respond</comments>
		
		<dc:creator><![CDATA[dbtan]]></dc:creator>
		<pubDate>Mon, 28 Dec 2009 01:40:00 +0000</pubDate>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[深入解析Oracle]]></category>
		<category><![CDATA[读书笔记]]></category>
		<category><![CDATA[Undo]]></category>
		<guid isPermaLink="false">http://www.dbtan.com/2009/12/undo-deep-research.html</guid>

					<description><![CDATA[回滚机制的深入研究： 如果大家有兴趣深入了解一下回滚段的机制，那么请跟随我将前面的例子进一步深化。 1. 从D [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>回滚机制的深入研究：  </p>
<p>如果大家有兴趣深入了解一下回滚段的机制，那么请跟随我将前面的例子进一步深化。  </p>
<p><strong><font size="4">1. 从DML更新事务开始：</font></strong><br />重新来看这个更新语句：</p>
<blockquote>
<p>sys@TQGZS11G&gt; conn scott/tiger<br />Connected.<br />scott@TQGZS11G&gt; select * from emp;<br />&nbsp;&nbsp;&nbsp;&nbsp; EMPNO ENAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; JOB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MGR HIREDATE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SAL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COMM&nbsp;&nbsp;&nbsp;&nbsp; DEPTNO<br />---------- --------------- --------------- ---------- --------------- ---------- ---------- ----------<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7369 SMITH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CLERK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7902 17-DEC-80&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 800&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 20<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7499 ALLEN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SALESMAN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7698 20-FEB-81&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1600&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n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bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7566 03-DEC-81&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 20<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7934 MILLER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CLERK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7782 23-JAN-82&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1300&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10<br />14 rows selected.<br />scott@TQGZS11G&gt; update emp set sal=4000 where empno=7788;<br />1 row updated. </p>
</blockquote>
<p>先不提交这个事务，在另外窗口新口Session，使用SYS用户查询相关信息，进行进一步分析研究。  </p>
<p><strong><font size="4">2.获得事务信息：</font></strong><br />从事务表中可以获得关于这个事务的信息，<strong>该事务位于6号回滚段（XIDUSN），在6号回滚段上，该事务位于第0号事务槽（XIDSLOT）</strong>：</p>
<blockquote>
<p>sys@TQGZS11G&gt; select xidusn,xidslot,xidsqn,ubablk,ubafil,ubarec from v$transaction; <br />&nbsp;&nbsp;&nbsp; XIDUSN&nbsp;&nbsp;&nbsp; XIDSLOT&nbsp;&nbsp;&nbsp;&nbsp; XIDSQN&nbsp;&nbsp;&nbsp;&nbsp; UBABLK&nbsp;&nbsp;&nbsp;&nbsp; UBAFIL&nbsp;&nbsp;&nbsp;&nbsp; UBAREC<br />---------- ---------- ---------- ---------- ---------- ----------<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 898&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 20650&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 23</strong> </p>
</blockquote>
<p>从<strong><font size="4">V$ROLLSTAT</font></strong>视图中也可以获得事务信息，<strong>XACTS字段代表的是活动事务的数量</strong>，同样看到该事务位于6号回滚段：</p>
<blockquote>
<p>sys@TQGZS11G&gt; select usn,writes,rssize,xacts,hwmsize,shrinks,wraps from v$rollstat;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; USN&nbsp;&nbsp;&nbsp;&nbsp; WRITES&nbsp;&nbsp;&nbsp;&nbsp; RSSIZE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; XACTS&nbsp;&nbsp;&nbsp; HWMSIZE&nbsp;&nbsp;&nbsp; SHRINKS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WRAPS<br />---------- ---------- ---------- ---------- ---------- ---------- ----------<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5408&nbsp;&nbsp;&nbsp;&nbsp; 385024&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 385024&n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an.com/2009/12/undo-deep-research.html">阅读全文</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://dbtan.com/2009/12/undo-deep-research.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
