Oracle: Get current size of Instance

Today I needed to get the current size of our Oracle Instance and used the following query as sysdba:

select sum(bytes)/1024/1024 Size_MB from dba_data_files;

SIZE_MB
———-
230185.297

Yep! That is 230GB!

Advertisements
This entry was posted in Oracle. Bookmark the permalink.

One Response to Oracle: Get current size of Instance

  1. Seema Dave says:

    Nice posting but we should also take size of Redo log files in same using V$log. Because sometimes we have more groups and more members in database.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s