Move tables to application tablespace

Hai All,
In my application many tables and indexes stay in system tablespace. Use query 'Alter table table_name move tablespace app_tbs' and 'Alter table index_name move tablespace indx_tbs'. we can move objects from system tablespace to application tablespace. Any other solution for this kind of activity.
Please help,
Shiju

Alter table index_name move tablespace indx_tbsThis is not move but rebuild for index.
Nicolas.

Similar Messages

  • How to move table from one tablespace to other tablespace?

    how to move table from one tablespace to other tablespace?

    887274 wrote:
    how to move table from one tablespace to other tablespace?
    alter table <table_name> move  tablespace <new_tablespace_name>;
    Rebuild the indexes; alter index <index_name> rebuild <new_tablespace_name> online;Example;:
    SQL> create table ttt( ID NUMBER PRimary key);
    Table created.
    SQL> insert into ttt values (1);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select index_name, status  from dba_indexes where table_name='TTT';
    INDEX_NAME                 STATUS
    SYS_C0010863                 VALID
    SQL> alter table ttt move tablespace users;
    Table altered.
    SQL> select index_name, status  from dba_indexes where table_name='TTT';
    INDEX_NAME                 STATUS
    SYS_C0010863                 UNUSABLE
    SQL> alter index SYS_C0010863 rebuild tablespace users online;
    Index altered.
    SQL> select index_name, status  from dba_indexes where table_name='TTT';
    INDEX_NAME                 STATUS
    SYS_C0010863                 VALID
    SQL>

  • Move table to new tablespace

    How can we move table with long col to new tablespace(LMT) from DMT?

    Well, converting LONGs to LOBs is always "painful" :-)
    But it is doable, however, the solution depends upon the version of the database.
    There are several metalink notes coverting this matter:
    Note 137160.1 Oracle 9i PLSQL LONG-TO-LOB API For Easier LONG to LOB Migration
    Note 282464.1 How to convert LONG to a CLOB
    However here is one that I used recently and it needs one 10g instance as a staging site. (I don't know if this approach has been documented on Metalink. It worked for me, it might work for you as well, but you should test it first).
    My production database was 8i and it contained a table with LONG column. The requirement was to convert this column to CLOB.
    I exported the table and imported it in 10g database.
    Once in 10g I used ALTER TABLE tablename MODIFY longcolumn CLOB; which worked perfectly fine.
    Finally I exported the table with CLOB column from the 10g database and imported it back in 8i database.
    example:
    SQL> create table t
      2  (c1 long);
    Table created.
    SQL> insert into t values ('foo');
    1 row created.
    SQL> desc t
    Name                                      Null?    Type
    C1                                                 LONG
    SQL> alter table t
      2  modify c1 clob;
    Table altered.
    SQL> desc t
    Name                                      Null?    Type
    C1                                                 CLOB
    SQL> select c1 from t;
    C1
    foo
    SQL>Cheers,
    Mihajlo

  • Move tables to new tablespace

    Hi,
    I have 2 tablespaces
    (a) DATA_TBS
    (b) INDEX_TBS
    So, i am going to create another DATA_TBS_1 Tablespace..and move the some smaller tables from DATA_TBS to DATAB_TBS_1 Tablespace...
    All the Tables Indexes are in INDEX_TBS...i am going to move only Tables..
    If i move some tables to DATA_TBS_1..
    do we need to rebuild the indexes of those tables...i think it is no necessary..because we are not touching indexes...
    please help me

    Stop thinking. Read:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/tables.htm#sthref2297

  • Move Table on Ora 9.2 from tablespace to another (dictionary managed)

    Hello,
    is it possible to move tables with brtools from dictionary managed tablespace to another dictionary managed tablespace on Oracle 9.2 ?

    Hello Axel,
    this is a case where the BRSPACE error is not nice, because you have no easy chance to move this one table to a LMTS tablespace. In this case I would propose you to execute ALTER TABLE MOVE directly on Oracle side:
    ALTER TABLE <table_name> MOVE TABLESPACE <target_tablespace>;
    Afterwards all indexes of the table have to be rebuilt in order to validate them again:
    ALTER INDEX <index_name> REBUILD ONLINE;
    Kind regards
    Martin

  • Can i move blob column one tablespace to another tablespace

    When I ruining the following script
    ALTER TABLE T_Transaction_Image
    MOVE LOB(RCSCOMPRESSED_IMAGE,CAMERA_PHOTO_1,CAMERA_PHOTO_2,NUMBER_PLATE)
    STORE AS TABLESPACE IMAGE
    I found error
    ORA-22853: invalid LOB storage option specification
    Here we have more than one column having BLOB data type .
    Question
    I want to know can i move multiple column in single alter table ?
    and how can i move blob column one tablespace to another tablespace
    Thanks in advance
    Edited by: abdul moyed on Feb 3, 2011 6:33 PM

    http://decipherinfosys.wordpress.com/2007/11/21/moving-lob-column-to-a-different-tablespace/
    Regards
    Asif Kabir

  • Problem in Creating a table with Default Tablespace

    Hi All,
    1) Can anybody plz tell me the syntax to move a table from one tablespace to another.
    2) Also, plz tell me the Syntax of when creating a table specifying the tablespace name also.
    Regards

    1) Alter table <table_name> move tablespace <tablespace_name>
    2) example of create table is given below
    CREATE TABLE emp123
    ( employee_id NUMBER(6)
    TABLESPACE <tablespace_name>
    STORAGE (INITIAL 600
    NEXT 600
    MINEXTENTS 2
    MAXEXTENTS 100 );
    Read following doc for more details
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14200/toc.htm
    Cheer,
    Virag

  • How to relocate table in new tablespace in Oracle 8i

    Hi all
    I would like to know how to relocate table from one tablespace to another tablespace in Oracle 8i. Currently, I create new table without data in new tablespace and then load data from old table in old tablespace. However, I think it is not efficient at all. Could anyone kindly advise any method to proceed it
    Thanks

    Nick has pointed out the best way to relocate a table. With the alter table move command you do not have to worry about FK or any other kind of constraints, table triggers, or grants. They all remain in place. You just need to rebuild the indexes as Nick pointed out.
    There were some restrictions on the types of tables that could be moved with alter table move when the command first was introduced. I think LOB columns were unsupported at first. The old exp/imp had to be used for those cases.
    HTH -- Mark D Powell --

  • Move objects from one tablespace to another

    Hello
    Running Oracle 10g rel 2 and I would like to move all objects from one tablespace to another. There are Primary Key indexes to other tables in this tablespace. The size grew too large and I want to reduce the size.
    Thank you.

    Good afternoom Sir!
    I believe that below "ask tom - moving tables across tablespaces" may help you.
    http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:47812348053
    Regards,
    Marcello M.

  • Moving table from one tablespace to another

    Hi,
    I want to move several tables from one tablespace to another as I know I need to rebuild indexes(as indexes are invalid after this) what I want to know is that constraints needs to recreate again after table movement, Thanks.

    what I want to know is that constraints needs to recreate again after table movementNo you don't need do that.

  • Moving partioned tables to different tablespaces in oracle 11g.

    Dear All,
    I need to move the partitioned table to different tablespace. I moved all the partitions individually and also the index.
    however i have a issue now, when i check the view user_tables or dba_tables, i see null tablespaces correspomding to the table in the tablespace_name column.
    how can i see the tablespace name in these views.

    Even thouh Sb has given you the correct answer, I am just showing you below cut and paste sqlplus screen of 11.2.0.1 :
    test1@ORCL> create table t (x number)
      2    partition by list (x)
      3    (partition p1 values (10),
      4    partition p2 values (20));
    Table created.
    test1@ORCL> select table_name,tablespace_name from user_tables;
    TABLE_NAME                     TABLESPACE_NAME
    T
    1 row selected.
    ---Means tablespace_name.user_tables is always null for partition table(s).
    ---Ok, then how do I see the tablespace name?
    test1@ORCL> select table_name, partition_name,tablespace_name
      2  from user_tab_partitions
      3  where table_name = 'T';
    TABLE_NAME                     PARTITION_NAME                 TABLESPACE_NAME
    T                              P1                             USERS
    T                              P2                             USERS
    2 rows selected.
    test1@ORCL> ALTER TABLE T MOVE PARTITION P1 TABLESPACE EXAMPLE;
    Table altered.
    test1@ORCL> select table_name, partition_name,tablespace_name
      2  from user_tab_partitions
      3  where table_name = 'T';
    TABLE_NAME                     PARTITION_NAME                 TABLESPACE_NAME
    T                              P1                             EXAMPLE
    T                              P2                             USERS
    2 rows selected.
    test1@ORCL> select table_name,tablespace_name from user_tables;
    TABLE_NAME                     TABLESPACE_NAME
    T
    1 row selected.Just for your information please.
    Regards
    Girish Sharma

  • I want move indexes from one tablespace to other tablespace

    i'd like to know how i get move the index from one tablespace to other tablespace.
    Thank's
    []'s
    Vitor - Brasil

    Thank's for the answer, but i didn`t understand. May you explain better? I`m need to very much!! I want move the procedures from one tablesapce to other tablespace, because when i export the tables to one tablespace, the oracle export to other tablespace. I have to move the tables, but i dìdn`t get move the procedures!!
    Thank's
    []'s
    Vitor - Brasil

  • Transport table from system tablespace to another tablespace

    hi there,
    how can we transport a table from system tablespace to another tablespace(example users tablespace)?

    Assuming you are not trying to move any data dictionary tables.
    Use alter table to move it,
    ALTER TABLE my_table MOVE TABLESPACE USERS;
    Rebuild index after move.
    This will work on Oracle 9i and above.

  • Want to drop non-system table from system tablespace

    My system tablespace was having some user tables , so I moved those tables to user tablespace. Now that tables are showing in both the tablespaces ex. RET_OFF is showing in system as well as users tablespace I want to drop it from system tablespace only . Can I do it . plz help

    Hi Florian , plz check the below details . I am working on Oracle 11g on Windows platform.
    SQL> alter table REF_VAT_OFF move tablespace vatsoft;
    Table altered.
    SQL> select owner, table_name, tablespace_name
    2 from dba_tables
    3 where table_name='REF_VAT_OFF';
    OWNER TABLE_NAME     TABLESPACE_NAME
    KNVATCEN REF_VAT_OFF     SYSTEM
    OWNER TABLE_NAME     TABLESPACE_NAME
    KNVAT REF_VAT_OFF     VATSOFT

  • Nokia C5-03 move newly installed application to me...

     Hi,
    How do you move your installed application from phone memory to memory card in Nokia C5-03
    Regards,
    S

    Hello Shareen, the application once installed in your phone cannot be moved to memory card. The only option is to remove the application from phone memory and then install it to your memory card.
    Nokia C7

Maybe you are looking for