In Oracle, we have huge amount of data imported daily, which requires us to create data files off and on in a tablespace.
Wonder if we create two data files simultaneously, will it use both when one is full? Or it will use only latest one?
oracletablespaces
In Oracle, we have huge amount of data imported daily, which requires us to create data files off and on in a tablespace.
Wonder if we create two data files simultaneously, will it use both when one is full? Or it will use only latest one?
Best Answer
The algorithms used to allocate space in different datafiles in a single tablespace are not documented except in the database administration guide where it just says:
It can change between two releases but it is likely based on same round robin algorithm.
Here is a short demo with Oracle 19 which shows that some round robin algorithm is used: