DWH loading : Do you use 2 types of tablespaces ? 2004-06-01 - By NGUYEN Philippe (Cetelem)
Oracle 9R2,
Tablepsace LMT / extent uniform size
Hi gurus!
after loading my table with an ETL my my_big_table took 22Go.
after a "alter table big_table move " -- > move in the same tablespace, it
decreased to 10 Go.
So, now I want to retrieve the unused space from my tablespace again but
reducing datafiles give me an ORA-03297 (See ORA-03297.ora-code.com) (files contains used data beyond
requested RESIZE value).
I guess alter 'table my_big_table move tablespace an_other_tablespace ' would
solve the problem so my questions are :
1. For a DWH , do you use to use 2 type of tablespace , one for the loading
operation and one for de definitive use.
2. Is there other solution avoid the use of two tablespaces ?
Thanks in advance !
Philippe
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN " >
<HTML >
<HEAD >
<META HTTP-EQUIV= "Content-Type " CONTENT= "text/html; charset=iso-8859-1 " >
<META NAME= "Generator " CONTENT= "MS Exchange Server version 5.5.2657.73 " >
<TITLE >DWH loading : Do you use 2 types of tablespaces ? </TITLE >
</HEAD >
<BODY >
<P > <FONT SIZE=2 >Oracle 9R2, </FONT >
<BR > <FONT SIZE=2 >Tablepsace LMT / extent uniform size </FONT >
</P >
<P > <FONT SIZE=2 >Hi gurus! </FONT >
<BR > <FONT SIZE=2 >after loading my table with an ETL my my_big_table took 22Go. </FONT >
<BR > <FONT SIZE=2 >after a "alter table big_table move " --> move in the same tablespace, it decreased to 10 Go. </FONT >
<BR > <FONT SIZE=2 >So, now I want to retrieve the unused space from my tablespace again but reducing datafiles give me an ORA-03297 (See ORA-03297.ora-code.com) (files contains used data beyond requested RESIZE value). </FONT > </P >
<P > <FONT SIZE=2 >I guess alter 'table my_big_table move tablespace an_other_tablespace ' would solve the problem so my questions are : </FONT >
<BR > <FONT SIZE=2 >1. For a DWH , do you use to use 2 type of tablespace , one for the loading operation and one for de definitive use. </FONT >
<BR > <FONT SIZE=2 >2. Is there other solution avoid the use of two tablespaces ? </FONT >
</P >
<P > <FONT SIZE=2 >Thanks in advance ! </FONT >
<BR > <FONT SIZE=2 >Philippe </FONT >
</P >
<BR >
<BR >
</BODY >
</HTML >
|
|