If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > Does oracle not move tables to recyclebin in case of drop user ?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-28-11, 02:13
wungexh wungexh is offline
Registered User
 
Join Date: Nov 2011
Posts: 19
Does oracle not move tables to recyclebin in case of drop user ?

Hi all,
Oracle does not remove a dropped table permanently from storage when recyclebin is on and table is dropped
without purge option. Table is moved to recyclebin. Dropped table can be recovered from recyclebin using flashbak drop.
In case of drop user does Oracle remove all the objects from database permanently ? What is the role of recyclebin
in drop user case ? Is dropping a user , implies dropping all its objects individually ? Why Oracle does not move
tables to recyclebin in this case ? Please, explain a bit...

Thanks & Regards
Reply With Quote
  #2 (permalink)  
Old 11-28-11, 02:39
Littlefoot Littlefoot is offline
Lost Boy
 
Join Date: Jan 2004
Location: Croatia, Europe
Posts: 3,629
Documentation says:
Quote:
When you drop a user, Oracle Database also purges all of that user's schema objects from the recycle bin.
There's some reading in this Ask Tom's discussion about "drop user".

Why is that so? I wouldn't know; most probably because Oracle programmed it that way. Why? Ask them.
Reply With Quote
  #3 (permalink)  
Old 11-28-11, 03:35
aflorin27 aflorin27 is offline
Registered User
 
Join Date: Apr 2008
Location: Iasi, Romania
Posts: 317
Just a guess:
Every Oracle object has an owner. When you drop an user, all its objects would remain orphane if not dropped.
__________________
Florin Aparaschivei
Iasi, Romania
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On