<?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>《ORACLE 12C move datafile测试》的评论</title>
	<atom:link href="https://www.xifenfei.com/2012/12/oracle-12c-move-datafile%e6%b5%8b%e8%af%95.html/feed" rel="self" type="application/rss+xml" />
	<link>https://www.xifenfei.com/2012/12/oracle-12c-move-datafile%e6%b5%8b%e8%af%95.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/12/oracle-12c-move-datafile%e6%b5%8b%e8%af%95.html/comment-page-1#comment-1167</link>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
		<pubDate>Thu, 13 Dec 2012 15:04:24 +0000</pubDate>
		<guid isPermaLink="false">https://www.xifenfei.com/?p=4022#comment-1167</guid>
		<description><![CDATA[move datafile 也支持cdb中数据文件
[sql]
SQL&gt; select file#,name from v$datafile where file#=1;

     FILE# NAME
---------- -------------------------------------------------------
         1 /u01/app/oracle/oradata/lunar/system01.dbf

1 rows selected.

SQL&gt; alter database move datafile 1 to &#039;/tmp/system01.dbf&#039;;

Database altered.

SQL&gt; select file#,name from v$datafile where file#=1;

     FILE# NAME
---------- -------------------------------------------------------
         1 /tmp/system01.dbf

1 rows selected.
[/sql]]]></description>
		<content:encoded><![CDATA[<p>move datafile 也支持cdb中数据文件</p>
<pre class="brush: sql; title: ; notranslate">
SQL&gt; select file#,name from v$datafile where file#=1;

     FILE# NAME
---------- -------------------------------------------------------
         1 /u01/app/oracle/oradata/lunar/system01.dbf

1 rows selected.

SQL&gt; alter database move datafile 1 to '/tmp/system01.dbf';

Database altered.

SQL&gt; select file#,name from v$datafile where file#=1;

     FILE# NAME
---------- -------------------------------------------------------
         1 /tmp/system01.dbf

1 rows selected.
</pre>
]]></content:encoded>
	</item>
</channel>
</rss>
