Will Drop User cascade deallocate the space. [message #288235] |
Sun, 16 December 2007 01:20 |
ibnadam
Messages: 7 Registered: December 2007
|
Junior Member |
|
|
Dear Experts,
This is my first post. I have a doubt regarding Drop user xxx cascade.I know that,
Delete: Will only delete the rows and does not deallocate space.
Truncate: will delete rows and does deallocate space.
Drop: will delete all rows, constraint and defination but what about deallocation of space.
When we issue this statement
SQL> Drop user xxx cascade. will it give back all the space occupied by the objects of xxx schema.
I request you to clarify with sql statments, i mean the space being deallocated if it deallocates.
Regards,
|
|
|
|
Re: Will Drop User cascade deallocate the space. [message #288244 is a reply to message #288236] |
Sun, 16 December 2007 05:09 |
ibnadam
Messages: 7 Registered: December 2007
|
Junior Member |
|
|
Thanks,
Can we query dba_data_file to get the notice of space deallocation. will it shows the space deallocation over database?
select sum(bytes)/(1024*1024) from dba_data_files ;
sum(bytes)
-------------
234.234
some thing like above.
Please help
|
|
|
|
|
|