Skip to Main Content
  • Questions
  • What happens when there is no space in 1 diskgroup in ASM?


Question and Answer

Connor McDonald

Thanks for the question, Saivishnu.

Asked: March 30, 2020 - 6:06 am UTC

Answered by: Connor McDonald - Last updated: March 31, 2020 - 5:55 am UTC

Category: Database Administration - Version:

Viewed 100+ times

You Asked

We have DB that is using ASM with normal redundancy. The space consumption is really high. There was an occasion when almost 1 TB space was consumed in a month.
We have been adding disks when there the remaining space gets really low. Now, we have decided to create a new Diskgroup with no redundancy(external) and create same tablespace there.
My doubts are as follows:
1 What if the space of diskgroup with normal redundancy is over? Then,does the oracle software detect this and use the 2nd diskgroup with no redundancy?

and we said...

Datafiles are datafiles no matter they are ASM and no matter what the level of redundancy.

So if you have a tablespace containing multiple datafiles, where

- datafile 1 is in an ASM disk group with normal redundancy
- datafile 2 is in an ASM disk group with external redundancy
- datafile 3 is anything else

Then we allocate extents in the datafiles loosely in a round-robin fashion unless the 1 or more of the datafiles is full and then we can't use it for more space.

From inside the database, we don't prioritise one datafile over another.

More to Explore


Need more information on Administration? Check out the Administrators guide for the Oracle Database