Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Force to use a tablespace
Alternatively you can move the entire table to a new tablespace (not
sharing two tablespaces, but entirely relocated) using the syntax:
alter table <blah> move tablespace <new_tablespace>;
This will online relocate the table, you can move the indexes as well but you must do that individually for each index - look at the syntax for altering indexes (in particular look at online rebuilding).
Regards,
Mark.
"Ron Rogers" <RROGERS_at_galot To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> tery.org> cc: Sent by: Subject: RE: Force to use a tablespace root_at_fatcity.c om 20/03/2003 04:29 Please respond to ORACLE-L
Roland,
If the table is already established and you want the next extents to
be in a different datafile then you can force that situation. Onca a
table was been created in a perticular tablespace I don't know of a way
to split the table across multiple tablespaces other that partitioning.
To force the table to use another datafile you have to add the additional datafile and then resize the original datafile to a minimal size and the next extent will be in the additional datafile. You could also look into ALTER TABLE foobar ALLOCATE_EXTENT clause. Ron
>>> lhaouhach_at_avl.sonatrach.dz 03/19/03 08:33AM >>> do like this example:
CREATE TABLE TABLE_NAME
(COL1 TYPE1,
COL2 TYPE2,
.......
)
PCTFREE 10 PCTUSED 40
INITRANS 1 MAXTRANS 255
TABLESPACE TABLE_SPACE_NAME
STORAGE ( INITIAL 20K NEXT 372K PCTINCREASE 50
MINEXTENTS 1 MAXEXTENTS 249 );
-----Message d'origine-----
De : roland.skoldblom_at_ica.se [mailto:roland.skoldblom_at_ica.se]
Envoyé : mercredi 19 mars 2003 11:54
À : Multiple recipients of list ORACLE-L
Objet : Force to use a tablespace
Hallo,
anyone who knows how to force a table to use a special tablespace?
Thanks in advance.
Roland
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author:
INET: roland.skoldblom_at_ica.se
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting servicesto: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting servicesto: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Ron Rogers
INET: RROGERS_at_galottery.org
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting servicesto: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Privileged/Confidential information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply e-mail or by telephone on (61 3) 9612-6999. Please advise immediately if you or your employer does not consent to Internet e-mail for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of Transurban City Link Ltd shall be understood as neither given nor endorsed by it.Received on Wed Mar 19 2003 - 15:33:16 CST
![]() |
![]() |