<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>《tempfile真正文件号》的评论</title>
	<atom:link href="https://www.xifenfei.com/2012/03/tempfile%e7%9c%9f%e6%ad%a3%e6%96%87%e4%bb%b6%e5%8f%b7.html/feed" rel="self" type="application/rss+xml" />
	<link>https://www.xifenfei.com/2012/03/tempfile%e7%9c%9f%e6%ad%a3%e6%96%87%e4%bb%b6%e5%8f%b7.html</link>
	<description>提供7*24专业数据库(Oracle,SQL Server,MySQL,PostgreSQL等)恢复和技术支持@Tel:17813235971</description>
	<lastBuildDate>Thu, 11 Dec 2025 02:46:14 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>作者：惜分飞</title>
		<link>https://www.xifenfei.com/2012/03/tempfile%e7%9c%9f%e6%ad%a3%e6%96%87%e4%bb%b6%e5%8f%b7.html/comment-page-1#comment-704</link>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
		<pubDate>Tue, 06 Mar 2012 05:05:09 +0000</pubDate>
		<guid isPermaLink="false">https://www.xifenfei.com/?p=2601#comment-704</guid>
		<description><![CDATA[&lt;strong&gt;&lt;a href=&quot;#comment-702&quot; rel=&quot;nofollow&quot;&gt;jyc&lt;/a&gt;&lt;/strong&gt;, 
新增加个tempfile文件测试
[sql]
SQL&gt; select file#,rfile#,name from v$tempfile;

     FILE#     RFILE# NAME
---------- ---------- -----------------------------------
         1          1 /opt/oracle/oradata/chf/temp01.dbf

SQL&gt; select TFAFN,TFNUM from X$KCCTF;

     TFAFN      TFNUM
---------- ----------
       301          1

SQL&gt; show parameter db_files;

NAME                                 TYPE        VALUE
------------------------------------ ----------- --------------
db_files                             integer     300
SQL&gt; alter tablespace temp add tempfile 
2   &#039;/opt/oracle/oradata/chf/temp02.dbf&#039; size 10m;

Tablespace altered.

SQL&gt; select file#,rfile#,name from v$tempfile;

     FILE#     RFILE# NAME
---------- ---------- -----------------------------------
         1          1 /opt/oracle/oradata/chf/temp01.dbf
         2          2 /opt/oracle/oradata/chf/temp02.dbf

SQL&gt; select TFAFN,TFNUM from X$KCCTF;

     TFAFN      TFNUM
---------- ----------
       301          1
       302          2
[/sql]]]></description>
		<content:encoded><![CDATA[<p><strong><a href="#comment-702" rel="nofollow">jyc</a></strong>,<br />
新增加个tempfile文件测试</p>
<pre class="brush: sql; title: ; notranslate">
SQL&gt; select file#,rfile#,name from v$tempfile;

     FILE#     RFILE# NAME
---------- ---------- -----------------------------------
         1          1 /opt/oracle/oradata/chf/temp01.dbf

SQL&gt; select TFAFN,TFNUM from X$KCCTF;

     TFAFN      TFNUM
---------- ----------
       301          1

SQL&gt; show parameter db_files;

NAME                                 TYPE        VALUE
------------------------------------ ----------- --------------
db_files                             integer     300
SQL&gt; alter tablespace temp add tempfile 
2   '/opt/oracle/oradata/chf/temp02.dbf' size 10m;

Tablespace altered.

SQL&gt; select file#,rfile#,name from v$tempfile;

     FILE#     RFILE# NAME
---------- ---------- -----------------------------------
         1          1 /opt/oracle/oradata/chf/temp01.dbf
         2          2 /opt/oracle/oradata/chf/temp02.dbf

SQL&gt; select TFAFN,TFNUM from X$KCCTF;

     TFAFN      TFNUM
---------- ----------
       301          1
       302          2
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>作者：jyc</title>
		<link>https://www.xifenfei.com/2012/03/tempfile%e7%9c%9f%e6%ad%a3%e6%96%87%e4%bb%b6%e5%8f%b7.html/comment-page-1#comment-702</link>
		<dc:creator><![CDATA[jyc]]></dc:creator>
		<pubDate>Tue, 06 Mar 2012 00:58:03 +0000</pubDate>
		<guid isPermaLink="false">https://www.xifenfei.com/?p=2601#comment-702</guid>
		<description><![CDATA[&lt;strong&gt;&lt;a href=&quot;#comment-700&quot; rel=&quot;nofollow&quot;&gt;&#24796;&#20998;&#39134;&lt;/a&gt;&lt;/strong&gt;, 

原来已存在临时文件号是否改变？
添加新的临时文件后，文件号是什么？]]></description>
		<content:encoded><![CDATA[<p><strong><a href="#comment-700" rel="nofollow">&#24796;&#20998;&#39134;</a></strong>, </p>
<p>原来已存在临时文件号是否改变？<br />
添加新的临时文件后，文件号是什么？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：jyc</title>
		<link>https://www.xifenfei.com/2012/03/tempfile%e7%9c%9f%e6%ad%a3%e6%96%87%e4%bb%b6%e5%8f%b7.html/comment-page-1#comment-701</link>
		<dc:creator><![CDATA[jyc]]></dc:creator>
		<pubDate>Tue, 06 Mar 2012 00:56:30 +0000</pubDate>
		<guid isPermaLink="false">https://www.xifenfei.com/?p=2601#comment-701</guid>
		<description><![CDATA[建议增加如下测试：更改了db_files参数值。
然后1.再创建临时文件，看看文件号的结果
2.重新创建临时表空间，看看文件号的结果。]]></description>
		<content:encoded><![CDATA[<p>建议增加如下测试：更改了db_files参数值。<br />
然后1.再创建临时文件，看看文件号的结果<br />
2.重新创建临时表空间，看看文件号的结果。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：惜分飞</title>
		<link>https://www.xifenfei.com/2012/03/tempfile%e7%9c%9f%e6%ad%a3%e6%96%87%e4%bb%b6%e5%8f%b7.html/comment-page-1#comment-700</link>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
		<pubDate>Mon, 05 Mar 2012 14:11:52 +0000</pubDate>
		<guid isPermaLink="false">https://www.xifenfei.com/?p=2601#comment-700</guid>
		<description><![CDATA[进一步验证猜测
[sql]

SQL&gt; select TFAFN,TFNUM from X$KCCTF;

     TFAFN      TFNUM
---------- ----------
       201          1
SQL&gt; alter system set db_files=300 scope=spfile;

System altered.

SQL&gt; startup force;
ORACLE instance started.

Total System Global Area  622149632 bytes
Fixed Size                  2230912 bytes
Variable Size             415237504 bytes
Database Buffers          197132288 bytes
Redo Buffers                7548928 bytes
Database mounted.
Database opened.
SQL&gt; select TFAFN,TFNUM from X$KCCTF;

     TFAFN      TFNUM
---------- ----------
       301          1
[/sql]]]></description>
		<content:encoded><![CDATA[<p>进一步验证猜测</p>
<pre class="brush: sql; title: ; notranslate">

SQL&gt; select TFAFN,TFNUM from X$KCCTF;

     TFAFN      TFNUM
---------- ----------
       201          1
SQL&gt; alter system set db_files=300 scope=spfile;

System altered.

SQL&gt; startup force;
ORACLE instance started.

Total System Global Area  622149632 bytes
Fixed Size                  2230912 bytes
Variable Size             415237504 bytes
Database Buffers          197132288 bytes
Redo Buffers                7548928 bytes
Database mounted.
Database opened.
SQL&gt; select TFAFN,TFNUM from X$KCCTF;

     TFAFN      TFNUM
---------- ----------
       301          1
</pre>
]]></content:encoded>
	</item>
</channel>
</rss>
