例子:
alter tablespace temp add tempflie ‘d:\temp1.dbf’ size 100m reuse:
说明:
The way the database interprets filename also depends on whether you specify it with theSIZE andREUSE clauses.
-
If you specify
filenameonly, or with theREUSEclause but without theSIZEclause, then the file mustalready exist. -
If you specify
filenamewithSIZEbut withoutREUSE, then the file must be a new file. -
If you specify
filenamewith bothSIZEandREUSE, then the file can be either new or existing. If the file exists, then it is reused with the new size. If it does not exist, then the database ignores theREUSEkeyword and creates a new file of the specified size.
注释:
filename指的就是例子中的 ‘d:\temp1.dbf’ 。
参考:
http://docs.oracle.com/cd/E11882_01/server.112/e41084/clauses004.htm#CJADEBBF
解决办法:异地冷恢复时 如果发现v$datafile里的有些用户用的数据文件没有备份
alterdatabase语句中有reuse选项?那执行该语句后,数据文件到底是属于哪个表空间的?

1626

被折叠的 条评论
为什么被折叠?



