-
Datafile has been removed already , But I still can find its information in V$datafile
why?
1. www.dbasupport.com
2. www.dbforums.com
3. www.itpub.net
4. www.csdn.net
5. www.umlchina.com
6. www.tek-tips.com
7. www.cnforyou.com
8. fm365.federal.com.cn
9. www.programmersheaven.com
10.http://msdn.microsoft.com/library/default.asp
ligang1000@hotmail.com
-
Unless you offline and remove the datafile with a drop command the entry will remain in the data dictionary. Simply removing the datafile will not remove it association with the Oracle database.
Regards
Jim
Oracle Certified Professional
"Build your reputation by helping other people build theirs."
"Sarcasm may be the lowest form of wit but its still funny"
Click HERE to vist my website!
-
would you please tell us how did you remove the datafile...means using what command??
"Greatest Rewards come only with Greatest Commitments!"
-
as per my knowledge .
once created datafile cannot be dropped through normal sql syntax . tablespace associated with the datafile can be dropped, which removes the datafile from v$datafile.
-
alter database datafile 'xxx' offline drop;
Or if it is the only datafile in the tablespace,
Drop tablespace name including contents;
-
offlince drop a datafile will force you to drop entire tablespace
-
Pando, what do u mean by 'force to drop entire tablespace'? I agree that offline a datafile means that u may drop the tablespace at a later time and not that U will be forced to drop it.
-
after droping the datafile . i believe we cannot make it online
with a similar syntax . only option it leaves is to recover the database if it is in archivelog mode .
is this syntax valid prior to version 8 .
-
I think we moved from the actual question posed. The one line reply is:
"References to the dropped datafiles are not eliminated from views unless the tablespace in which they exist is recreated or dropped. "
-
Originally posted by soniaarora
Pando, what do u mean by 'force to drop entire tablespace'? I agree that offline a datafile means that u may drop the tablespace at a later time and not that U will be forced to drop it.
may?
no, you are forced to, you cant never ever remove a datafile from a tablespace
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|