Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: type of striping
Holger Baer wrote:
> Howard J. Rogers wrote:
> [snip]
>
>> >> >> Just thought I'd mention that in fact, things were and are, precisely >> the opposite way around. In a multi-file tablespace in 8.0, for example, >> Oracle would allocate the initial extent on file 1, the next on file 2, >> the next on file 3, then back to file 1, 2, and so on. It would, in >> short, "round robin" the extents. >> >> In locally-managed tablespace, it hammers disk 1 to death and only moves >> on to disk 2 when no more space is available on disk 1 *IF* the >> tablespace is AUTOALLOCATE LMT. If you do UNIFORM SIZE LMT, then the >> round robin behaviour is unchanged. >> >> As this little test proves (done on 9i, so LMT is the default): >> >> SQL> create tablespace t >> 2 datafile '/oracle/oradata/sapphire/t1.dbf' size 5m, >> 3 '/oracle/oradata/sapphire/t2.dbf' size 5m, >> 4 '/oracle/oradata/sapphire/t3.dbf' size 5m >> 5 autoallocate; >> >> Tablespace created. >> >> SQL> create table T1 tablespace T as select * from dba_objects; >> >> Table created. >> >> SQL> select file_id from dba_extents >> 2 where segment_name='T1'; >> >> FILE_ID >> ---------- >> 6 >> 6 >> 6 >> 6 >> 6 >> 6 >> 6 >> 6 >> 6 >> >> [So, file 6 hammered to death in the autoallocate tablespace, and the >> other two files don't get a look-in]
You're quite right Holger, and I'd forgotten that. We had this discussion a few ages back, as I recall (and I think I'd forgotten it then, too!). It makes rather a big difference, doesn't it? It means Fabrizio's should be even less concernsed about autoallocate tablespace than I was suggesting.
Thank you for the correction.
Fabrizio: I hope you noticed Holger's input.
Regards
HJR
Received on Wed Dec 08 2004 - 05:00:22 CST