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: 184.108.40.206.0
Viewed 100+ times
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.