Home » RDBMS Server » Server Administration » Size of the Oracle database 11g
Size of the Oracle database 11g [message #452307] Wed, 21 April 2010 04:38 Go to next message
gururajster
Messages: 26
Registered: October 2006
Location: bangalorre
Junior Member

Hi All,

I just want to know how can we find the size of the oracle database 11g.Any help will be highly appreciated.



-KR
Guru
Re: Size of the Oracle database 11g [message #452308 is a reply to message #452307] Wed, 21 April 2010 04:42 Go to previous messageGo to next message
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
Re: Size of the Oracle database 11g [message #452311 is a reply to message #452308] Wed, 21 April 2010 04:47 Go to previous message
gururajster
Messages: 26
Registered: October 2006
Location: bangalorre
Junior Member

Hi pokhraj,

Many thanks for the quick reply and a solution.


-KR
Guru
Previous Topic: ORA:16000: database open for read-only access during Select on standby 11gr2 read only.
Next Topic: Refreshing the Stale Statistics in Oracle Database
Goto Forum:
  


Current Time: Mon Jul 01 08:14:30 CDT 2024