Increasing size of ASM-based bigfile tablespace

Firstly few commands to get you up & running:

– Get names of tablespaces: “select name from v$tablespace;”

– Get names of disk groups: “select name from v$asm_diskgroup;”

– Get names of data files: “select name from v$datafile;”

In my case it was a big file tablespace, which only option is to resize, not to add more data files, so I did the following:

ALTER TABLESPACE tablespace_name RESIZE 40G;

To check for the size, run the following query:

SELECT tablespace_name,file_name, bytes/1024/1024 SIZE_MBYTES
FROM dba_data_files
WHERE tablespace_name IN (‘SIEBELDATA’, ‘SIEBELINDEX’)
ORDER BY tablespace_name

About SoCRaT

Software Engineer, OSS & Linux Geek
This entry was posted in Uncategorized and tagged , , . Bookmark the permalink.

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