|
Re: Size of the Oracle database 11g [message #452308 is a reply to message #452307] |
Wed, 21 April 2010 04:42 |
pokhraj_d
Messages: 117 Registered: December 2007
|
Senior Member |
|
|
Run the below query:-
===============================
Prompt "Database Size"
select (select sum(bytes/1048576) from dba_data_files) "Data Mb",
(select NVL(sum(bytes/1048576),0) from dba_temp_files) "Temp Mb",
(select sum(bytes/1048576)*max(members) from v$log) "Redo Mb",
(select sum(bytes/1048576) from dba_data_files) +
(select NVL(sum(bytes/1048576),0) from dba_temp_files) +
(select sum(bytes/1048576)*max(members) from v$log) "Total Mb"
from dual;
Thanks-
P
|
|
|
|