Moving indexes to a different tablespace in siebel.

Hi,
While installation we gave same SIEBEL tablespace as default tablespace for indexes also , now I would like to move all indexes to a different tablespace. Is there any specifis utility / procedure available to move (or) recreate indexes .. or can we do it in Database using alter index <index_name> command...
Thank You,
Sunil.

You do not move constraints.
You can use the command:
ALTER INDEX index_name REBUILD TABLESPACE new_tablespace;

Similar Messages

  • 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

  • Move indexes to a different tablespace

    What is the best and easiest method to move all indexes/constraints to a different tablespace. I have 2 tablespaces one for data and the other for the indexes. At present, I have all data and indexes all in one tablespace. I would like to separate the indexes to another tablespace(which is reserved specifically for the indexes)
    Thanks

    You do not move constraints.
    You can use the command:
    ALTER INDEX index_name REBUILD TABLESPACE new_tablespace;

  • Move index to a different tablespace using dbms_redefinition?

    Hi all, I am trying to move indexes to new tablespaces. Can I use oracle built-in package DBMS_REDEFINITION for this? As far as I know dbms_redefinitoin only works for tables rebuilt online? I am running 10.2.0.5 on linux red hat, and the index sizes from 100MB to 10gb. Thank you in advance all.

    Since one can seamlessly move an index from one tablespace to another by simply doing:
    SQL>  alter index <index_name> rebuild tablespace <tablespace_name>;even considering DBMS_REDEFINITION for this makes no sense at all.
    If your boss has any further questions, show him the Oracle documentation:
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_redefi.htm
    Quote from that page:
    "The DBMS_REDEFINITION package provides an interface to perform an *online redefinition of tables*."
    (Emphasis added by me.)
    Hope that helps,
    -Mark

  • Index on different tablespaces

    I need to move some indexes on a different tablespace. How can I complete this task ? I'm not a dba..

    Have a look at these links:
    http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_1010.htm#SQLRF00805
    http://docs.oracle.com/cd/E11882_01/server.112/e25494/indexes004.htm#ADMIN11732
    ALTER INDEX YOUR_INDX REBUILD TABLESPACE YOUR_TBS;

  • Table and index in the same tablespace

    I have a table and its associated indexes all in one tablespace. Now, will creating a separate tablespace just for the indexes and drop and recreating the indexes the table has in the new tablespace help ???
    Thanks

    In all probability, no. This may have some housekeeping/ recovery benefits but it is very unlikely to have performance benefits. Most modern disk arrays are configured so that data access is spread pretty evenly across all the spindles. If your disk is configured such that you have "hot" and "cold" disks, and if you can move the index to a different tablespace that can be placed on one of the "cold" disks, this will tend to balance out disk I/O and may improve performance.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Moving sys.aud$ to a different tablespace other than system

    Hi,
    I have a 10g RAC database system with a high volume of activity and would like to monitor a large slice of it using audit.
    I have reviewed all options of audit trails and chose “db, extended” to be the most suitable for my purposes!
    I’ve noticed that all audit data goes to sys.aud$ table in system tablespace.
    I have 3 questions:
    1. What is the logic behind putting this table in systems tablespace and not sysaux (10g)?
    2. Can I move sys.aud$ table to a different tablespace (should I expect trouble for doing so)?
    3. Is there any RAC implication if I move sys.aud$ table to a different tablespace?
    Regards,
    Tal Olier
    [email protected]

    That's true, it's not recommanded to move a sys table... but we can find some good explanation for this one for aud$ table.<br>
    See Metalink Note 72460.1 : Moving AUD$ to another tablespace and adding triggers to AUD$<br>
    Or google search give some good results.<br>
    Nicolas.

  • Moving objects into different tablespaces

    Hi Gurus,
    Here is my query .
    I have 40gb space to have dataset from production database.
    Test enviornment will be refreshed with production database.
    From testing enviornment development will be refreshed to aviod any connections to production.
    As part of data copying to dev env is depending on the conditions given by business.
    So my question comes here
    Initially I will be dumpring all the data to one tablespace in one tablespace of development environment.
    It could take 39 to 40GB.
    Now i want to move objects into different tablespaces accoring to storage clause and no of records .
    New tablespaces will be created in development enviornment and will be created in same 40GB.
    Space is constraint in dev env and cann't be extended.
    How can i create tablespaces into the dev env and move objects into them?
    I hope you understood my queries ...
    In simple
    TESTING ENV - - - -- - - - > DEV ENV(Initially one tablespace for all tables/objects) - - -- -- ---- >DEV ENV(Objects in diiferent tablespaces )

    You say:
    While creating scripts of tables we are removing all tablespace names as we will be having 3 tablespaces at target that is also after loading the data into them.Don't remove the TS clause, but replace the TS so-and-so with TS that-and-that.
    Or replace tablespaces a, b and c with x+, and d* and e with y*+.
    This can be automated, but you will have to write some logic for that.
    Because ... we will be having only 3 tablespaces in DEV. ex NEWYORK tablespace is in production but it won't be created in DEv , istead all the objects into that tablespace will be moved to large table space.
    As I said: You will need a code which greps for TS NEWYORK* and replaces it with +<your_big_TS>+.
    So once again: Where is the problem?
    It's just a question of coding.

  • How to move lobsegment and  lobindex to a different Tablespace

    Oracle Version: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit
    Os: Solaris 10
    Hello Everybody,
    I want to move a lobsegment and a lobindex to a differrent tablespace.
    But when i am executing the following statement in order to move the LOBINDEX I am getting the errors listed below:
    SQL> ALTER INDEX SYS_IL0000012358C00008$$ REBUILD TABLESPACE INDX;
    ALTER INDEX SYS_IL0000012358C00008$$ REBUILD TABLESPACE INDX
    ERROR at line 1:
    ORA-02327: cannot create index on expression with datatype LOB
    Is there any differrent commands/methods of moving the LOBSEGMENT/LOBINDEX to a differrent tablespace.
    Any help Appreciated..
    Regards,
    Prosenjit Mukherjee.

    Hi,
    Assuming that I have table "TEST" in USERS TableSpace
    CREATE TABLE TEST
    TEST_ID NUMBER NOT NULL,
    TEST_NAME CLOB,
    CONSTRAINT PK_TEST PRIMARY KEY(TEST_ID)
    SQL> ALTER TABLE TEST MOVE TABLESPACE EXAMPLE;
    Above command will move the table to new tablespace but will not move the CLOB segment and it will still be in original tablespace. This is because LOB data is stored outside of the table.
    Check the tablespace of the CLOB column by issuing following sql.
    SQL> SELECT index_name, tablespace_name
    FROM user_indexes WHERE table_name = ‘TEST’;
    INDEX_NAME TABLESPACE_NAME
    SYS_IL0000073575C00002$$ USERS
    In order to move CLOB column to different tablespace, we have to issue following command.
    SQL> ALTER TABLE TEST MOVE LOB(TEST_NAME) STORE AS (TABLESPACE EXAMPLE);
    In above example, TEST_NAME is the CLOB column which we want to move to new tablespace and EXAMPLE is target tablespace. Above command will successfully move LOB segments to the new tablespace. We can verify it by issuing same sql again.
    SQL> SELECT index_name, tablespace_name
    FROM user_indexes WHERE table_name = ‘TEST’;
    INDEX_NAME TABLESPACE_NAME
    SYS_IL0000073575C00002$$ EXAMPLE
    - Pavan Kumar N

  • Different versions of Siebel

    Please let me know whether we can use JCA or any other api to connect to different versions of Siebel namely 7.5 and 7.8 without invoking any jars provided with Siebel. If incase anybody has faced this problem.
    thanks in advance.

    Yes. You can use http to post a Siebel XML-formatted
    message to Siebel. You specify one of the following actions to be performed on the XML message:
    Delete
    Upsert (Insert/Update)
    Query
    The result is that a corresponding Workflow is executed to process the message. A Siebel Workflow is a customized business application for managing and enforcing business processes.
    Use http to POST the message to the Web server. The Siebel WebServer Extension invokes the specified Business Service which, in turn, starts an internal Workflow.
    The Workflow invokes the Siebel EAI XML Converter, which converts the information from XML into the Siebel internal format and presents it to the Siebel EAI Adapter. The information is then sent to the Siebel Server via the Siebel Object Manager. If any data is to be returned, the Siebel EAI Adapter can pass the result to the EAI XML Converter and send the data back to the http client as a Siebel XML message.
    You may want to consider using the httpsoap Binding Component. You can go to http://java.sun.com/javaee/index.jsp and click on the free downloads tab and download the Netbeans 5.5 Enterprise Pack Early Access to start playing with this.
    Good Luck.
    Fred Aabedi

  • User_lobs and user_segments view shows different tablespace for lob segment

    Hi,
    I am trying to move lob in different tablespace for partitioned table.
    I used
    alter table <table_name> move partition <partition_name> lob(lob_column) store as (tablespace <tablespace_name>);
    alter index <index_name> rebuild partition <partition_name> tablespace <tablespace_name>
    ALTER TABLE <table_name> MODIFY DEFAULT ATTRIBUTES TABLESPACE <tablespace_name>
    ALTER INDEX  <index_name> modify default ATTRIBUTES TABLESPACE <tablespace_name>
    Database - 10.2.0.5
    OS- HP Itanium 11.31
    I can see in user_lob_partitions, user_segments and  user_part_tables shows me new tablespace information
    whereas user_lobs and user_part_indexes shows me different information regarding tablespace.
    I checked some documents in metalink but didnt help me.
    I think that I am missing something or doing some step wrong.
    Please help.
    SQL> select partition_name, lob_partition_name, tablespace_name from user_lob_partitions where table_name in ('TRB1_PUB_LOG','TRB1_SUB_ERRS','TRB1_PUB_LOG') ;
    PARTITION_NAME                 LOB_PARTITION_NAME             TABLESPACE_NAME
    S2000                          SYS_LOB_P8585                  USAGE_REORG_TBS
    S2001                          SYS_LOB_P8587                  USAGE_REORG_TBS
    S2003                          SYS_LOB_P8589                  USAGE_REORG_TBS
    S2004                          SYS_LOB_P8591                  USAGE_REORG_TBS
    S2005                          SYS_LOB_P8593                  USAGE_REORG_TBS
    S2006                          SYS_LOB_P8595                  USAGE_REORG_TBS
    S2007                          SYS_LOB_P8597                  USAGE_REORG_TBS
    S2008                          SYS_LOB_P8599                  USAGE_REORG_TBS
    S2010                          SYS_LOB_P8601                  USAGE_REORG_TBS
    S2011                          SYS_LOB_P8603                  USAGE_REORG_TBS
    S2012                          SYS_LOB_P8605                  USAGE_REORG_TBS
    S2013                          SYS_LOB_P8607                  USAGE_REORG_TBS
    S2014                          SYS_LOB_P8609                  USAGE_REORG_TBS
    S2015                          SYS_LOB_P8611                  USAGE_REORG_TBS
    S2888                          SYS_LOB_P8613                  USAGE_REORG_TBS
    S2999                          SYS_LOB_P8615                  USAGE_REORG_TBS
    S3000                          SYS_LOB_P8617                  USAGE_REORG_TBS
    S3001                          SYS_LOB_P8619                  USAGE_REORG_TBS
    S3004                          SYS_LOB_P8621                  USAGE_REORG_TBS
    S3005                          SYS_LOB_P8623                  USAGE_REORG_TBS
    S3006                          SYS_LOB_P8625                  USAGE_REORG_TBS
    S3007                          SYS_LOB_P8627                  USAGE_REORG_TBS
    S3008                          SYS_LOB_P8629                  USAGE_REORG_TBS
    S3009                          SYS_LOB_P8631                  USAGE_REORG_TBS
    S3010                          SYS_LOB_P8633                  USAGE_REORG_TBS
    S3011                          SYS_LOB_P8635                  USAGE_REORG_TBS
    S3012                          SYS_LOB_P8637                  USAGE_REORG_TBS
    S3013                          SYS_LOB_P8639                  USAGE_REORG_TBS
    S3014                          SYS_LOB_P8641                  USAGE_REORG_TBS
    S3015                          SYS_LOB_P8643                  USAGE_REORG_TBS
    S3050                          SYS_LOB_P8645                  USAGE_REORG_TBS
    SMAXVALUE                      SYS_LOB_P8647                  USAGE_REORG_TBS
    32 rows selected.
    SQL> select TABLE_NAME,COLUMN_NAME,SEGMENT_NAME,TABLESPACE_NAME,INDEX_NAME,PARTITIONED from user_lobs where TABLE_NAME in ('TRB1_PUB_LOG','TRB1_SUB_ERRS','TRB1_SUB_LOG') ;
    TABLE_NAME                     COLUMN_NAME                    SEGMENT_NAME                   TABLESPACE_NAME                INDEX_NAME                     PAR
    TRB1_SUB_ERRS                  GENERAL_DATA_C                 SYS_LOB0006703055C00017$$      TRBDBUS1LNN1                   SYS_IL0006703055C00017$$       YES
    TRB1_SUB_LOG                   GENERAL_DATA_C                 SYS_LOB0006703157C00017$$      TRBDBUS1LNN1                   SYS_IL0006703157C00017$$       YES
    TRB1_PUB_LOG                   GENERAL_DATA_C                 SYS_LOB0006702987C00014$$      TRBDBUS1LNN1                   SYS_IL0006702987C00014$$       YES
    SQL> SQL> select unique segment_name ,tablespace_name from user_Segments where segment_name in (select SEGMENT_NAME from user_lobs where TABLE_NAME in('TRB1_PUB_LOG','TRB1_SUB_ERRS','TRB1_SUB_LOG') );
    SEGMENT_NAME                                                                      TABLESPACE_NAME
    SYS_LOB0006702987C00014$$                                                         USAGE_REORG_TBS
    SYS_LOB0006703055C00017$$                                                         USAGE_REORG_TBS
    SYS_LOB0006703157C00017$$                                                         USAGE_REORG_TBS
    SQL> select unique segment_name ,tablespace_name from user_Segments where segment_name in (select INDEX_NAME from user_lobs where TABLE_NAME in('TRB1_PUB_LOG','TRB1_SUB_ERRS','TRB1_SUB_LOG') );
    SEGMENT_NAME                                                                      TABLESPACE_NAME
    SYS_IL0006702987C00014$$                                                          USAGE_REORG_TBS
    SYS_IL0006703055C00017$$                                                          USAGE_REORG_TBS
    SYS_IL0006703157C00017$$                                                          USAGE_REORG_TBS
    SQL> select unique index_name,def_tablespace_name from user_part_indexes where table_name in ('TRB1_PUB_LOG','TRB1_SUB_ERRS','TRB1_SUB_LOG');
    INDEX_NAME                     DEF_TABLESPACE_NAME
    SYS_IL0006702987C00014$$       TRBDBUS1LNN1
    SYS_IL0006703055C00017$$       TRBDBUS1LNN1
    SYS_IL0006703157C00017$$       TRBDBUS1LNN1
    TRB1_PUB_LOG_PK                USAGE_REORG_IX_TBS
    TRB1_SUB_ERRS_1IX              USAGE_REORG_IX_TBS
    TRB1_SUB_ERRS_1UQ              USAGE_REORG_IX_TBS
    TRB1_SUB_ERRS_2IX              USAGE_REORG_IX_TBS
    TRB1_SUB_LOG_1IX               USAGE_REORG_IX_TBS
    TRB1_SUB_LOG_PK                USAGE_REORG_IX_TBS
    SQL> select unique def_tablespace_name from user_part_tables where table_name in ('TRB1_PUB_LOG','TRB1_SUB_ERRS','TRB1_SUB_LOG');
    DEF_TABLESPACE_NAME
    USAGE_REORG_TBS
    Please let me know if some more details required.

    >whereas user_lobs and user_part_indexes shows me different information regarding tablespace.
    do you see different results after starting a new session after the ALTER statements were issued?

  • How to simply create a locally partitioned index with a dedicated tablespac

    Dears,
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64biSuppose you have a range partitioned table t on date d with n partitions p1, p2,....pn
    If you create a locally partitioned index using the following script
    create index ind_loc on t(d) local;all the partitioned indexes will be created on the same default tablespace.
    Is there a simple creation script (not that where we have to add each partition and each tablespace) to use in order to associate each partitioned index to a given tablespace?
    Best Regards
    Mohamed Houri

    Suppose you have a range partitioned table t on date d with n partitions p1, p2,....pn
    If you create a locally partitioned index using the following script
    create index ind_loc on t(d) local;all the partitioned indexes will be created on the same default tablespace.
    Is there a simple creation script (not that where we have to add each partition and each tablespace) to use in order to associate each partitioned index to a given tablespace?
    Hi Mohamed ,
    AFAIK , there is no such script . If you want partition to be stored in different tablespaces, then you will have to specify partition name along with tablespace name in create index command.
    Regards
    Rajesh

  • Windows don't see my Sound Blaster card after moving it to a different PCI sl

    Hi there,
    MY CARD IS THE:
    Sound Blaster XF-I Xtreme Music
    ==============================
    MY PROBLEM IS AS FOLLOWS
    ==============================
    My sound blaster card was working properly during year, but... [color="#ff0000"]when I changed it to a different PCI slot inside my PC (the card was removed from one PCI slot to a different one)... then Windows Vista is unable to find the card, and is not listed in the device manager... so I cannot play sound, because the card is not recognized by Windows Vista
    In Windows Vista, in the device manager, all devices seems to work fine. I dont find yellow triangles neither question marks. The problem is the Sound Blaster XF-I Extreme Music card dont appear in the sound, video and game controllers list.
    If I try to run the Creative Console... says it don't detect my card.
    All this happened when I moved it to a different PCI slot, before this, the sound card was working fine
    Consequently, I don't have sound and cannot play music.
    A friend told me that perhaps it could be a very good idea uninstall the drivers and installing them again... but also I DON'T KNOW HOW TO UNINSTALL THE DRIVERS, because when I was searching in the control panel, programs... I don't see any reference to "creative drivers" or "sound blaster drivers"
    The only I see are three entries...
    Creative Sound Blaster properties...
    The console (Creative Sound Blaster console)
    And the initiator (Creative Console Initiator)
    But I dont find any reference to the drivers... :smileysurprised:
    [color="#ff0000"]===> Please, could you tell me how to solve the problem, to allow Windows Vista detect my sound card and again I can have audio?
    [color="#ff0000"]===> Please, could you tell me how to uninstall the drivers?
    Remember that Creative Recommend to uninstall the drivers the following:
    To uninstall the driver, do the following:
    Click Start -> All Programs -> Control Panel.<
    Double-click the Device Manager icon.<
    [color="#ff0000"]Double-click the Sound, video and game controllers option.<
    [color="#ff0000"]Right-click the Creative SB X-Fi option, and select Uninstall.
    The Confirm Device Uninstall dialog box appears.<
    Select the Delete the driver software for this device option.
    Note: This check box must be selected to avoid reinstallation issues.<
    Click the OK button.<
    Restart your computer.<
    But also remember that I don't have that entry in the device manager, because Windows is not recognizing the card... so the situation is I have the drivers loaded in my Windows Vista... but I don't have that entry in the device manager list... so consequently I don't know where are the drivers to uninstall them, and again, install them... so I cannot uninstall and doing a clean installation afterwards.
    [color="#ff0000"]===> Please, could you tell me if the proper drivers for my card are the following (in Spanish)
    [url="http://es.europe.creative.com/support/downloads/download.asp?MainCategory=67&nRegionFK=&nCountryFK =&nLanguageFK=&sOSName=Windows+Vista+32-bit&region=3&Product_Name=X-Fi+XtremeMusic&Product_ID=4066&modelnumber=&driver lang=034&OS=26&select=0&x=32&y=6">TO SEE THE DRIVERS I WILL USE, CLICK HERE[/url]
    Lately, the creative file containing the drivers for my model was this:
    SBXF_PCDVT_LB_2_5_0002.exe
    (Was from 2007)
    Message Edited by mrmister00 on 04-04-2008 04:40 PM

    Are you sure you have enabled viewing 'hidden files' in the explorer ?
    http://helpx.adobe.com/x-productkb/global/show-hidden-files-folders-extensions.html
    gardener179 wrote:
    If I try it again I will follow your advice when moving the catalogue to the default location. (but can you be more specific regarding what comprises the restored catalogue files (ie are they all inside one PSD folder, or are there other folders that sit alongside it?).
    Suppose you have a backup folder named 'MyBackup'.
    When you restore it to a 'custom' location, you state or create a destination folder on any drive. Let's call it 'My Restaur'. When the restore is complete, you get a new folder 'My Restaur' in which you find a subfolder named 'My Backup' = its the catalog ; along with other subfolders in the same structure as they were in the original folders.
    The catalog folder contains :
    (PSE6 test catalog)
    To get rid of the unwanted folder heirarchy transferred from XP when restoring to a New Location but retaining Old File Structure would you suggest dragging and dropping the Folders in PS Folder View or some other process?.I gather I must do this from within PS to avoid having to reconnect all the files.
    Yes, moving folder trees by dragging them in folder view to 'shortcut' unwanted subfolder stages is ok. I don't like it very much because I don't know what would happen if you had a power shortage during the process... But if you have still the backup, that would be good. For a big catalog, be patient, but there would be no need to reconnect.

  • Import schema to a different tablespace

    hi,
    I've exported my instance:
    EXP SYSTEM/MANAGER@OLDINSTANCE FULL=Y FILE=C:\EXP_FILE.DMP LOG=C:\ERROR_EXP.LOG
    after I've created new tablespace and new user:
    CREATE TABLESPACE MAX DATAFILE 'c:\MAX01.dbf' SIZE 3800M REUSE DEFAULT STORAGE
    (INITIAL 10240 NEXT 10240 MINEXTENTS 1 MAXEXTENTS 256 PCTINCREASE 0) ONLINE;
    CREATE USER MAX IDENTIFIED BY MAX DEFAULT TABLESPACE MAX TEMPORARY TABLESPACE TEMP;
    finally I've imported tom's objects in MAX:
    IMP SYSTEM/MANAGER@NEWINSTANCE FROMUSER=TOM TOUSER=MAX FILE=C:\EXP_FILE.DMP LOG=C:\ERROR_IMP.log
    but in some tables I get these errors:
    IMP-00017: following statement failed with ORACLE error 1658:
    "CREATE TABLE "AREA" ("OFL" VARCHAR2(4), "OBL" VARCHAR2(32), "OSITE" V"
    "ARCHAR2(32), "OLS" VARCHAR2(32), "OAREA" NUMBER, "DV_ID" VARCHAR2(32), "DP_"
    "ID" VARCHAR2(32), "ODISMESSO" VARCHAR2(2), "OTYPE" VARCHAR2(64), "OCAT" VAR"
    "CHAR2(64), "OOCCUP" NUMBER, "SFL" VARCHAR2(32), "SBL" VARCHAR2(32), "SSITE""
    " VARCHAR2(32), "PRORATE" VARCHAR2(8), "STYPE" VARCHAR2(64), "SCAT" VARCHAR2"
    "(64), "SAREA" NUMBER, "SOCCUP" NUMBER, "AREA_SERV" NUMBER) PCTFREE 10 PCTU"
    "SED 40 INITRANS 1 MAXTRANS 255 LOGGING STORAGE(INITIAL 314572800 NEXT 52428"
    "800 MINEXTENTS 1 MAXEXTENTS 1000 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS "
    "1 BUFFER_POOL DEFAULT) TABLESPACE "TOM""
    IMP-00003: ORACLE error 1658 encountered
    ORA-01658: unable to create INITIAL extent for segment in tablespace TOM
    In new instance there are 2 tablespaces (TOM, MAX)
    I tried 2 solution:
    1) I've taken the tablespace TOM offline in the new instance, but when I import fromuser=TOM touser=MAX.............
    I get error because not exist tablespace TOM
    2)I removed MAX's quota on the TOM tablespace in the new instance.
    ALTER USER MAX QUOTA unlimited ON TOM;
    but when I import I get alway the same error:
    ORA-01658: unable to create INITIAL extent for segment in tablespace TOM
    I know That I must encrease tablespace TOM for avoid this error, but I must create 6 new users in 6 different tablespaces and I'd to increase tablespace TOM too much (how many GB?).
    how can I import schema to a different tablespace?
    Thanks
    Raf

    I don't understand why you cannot import TOM's scheme
    to new instance, because you say that you' ve TOM
    tablespace in the database.
    Check size of it, may be you need to increase size or
    you can TOM tablespace set autoextended.
    Also, you can set MAX tablespace is default in new database and set TOM tablespace is readonly.
    Then import cannot create object in TOM tablespace
    and create this in MAX tablespace.
    Best regards, Victor

  • How to import partitioned tables in different tablespace

    Hi everyone,
    I try to import the partitioned tables in different tablespace.
    Consider the following situation:
    I have a dump file which is created by using "Export" utility. Some data are in partitioned tables, some of them are in non-partitioned tables. Also, all tables are located in "MYTBS" tablesapce. I try to import all data from this dump file to another database. I didn't get error messages when importing the data from non-partitioned tables. However, I got error message when importing the data from partitioned tables. The error message is: tablespace 'MYTBS' does not exist.
    I just want to how I can solve this problem other than create 'MYTBS' tablespace for my new database.
    Thanks in advance.
    Angel

    Hi,
    I got the following error message:
    IMP-00017: following statement failed with ORACLE error 959:
    "CREATE TABLE "FACILITYCONNECTION",....., "CONNECTIONTYPE" "
    "NUMBER(1, 0) NOT NULL ENABLE) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 25"
    "5 PARALLEL ( DEGREE DEFAULT INSTANCES 1) NOLOGGING STORAGE( PCTINCREASE 0) "
    "TABLESPACE "MYTBS" PARTITION BY RANGE ("CONNECTIONTYPE" ) (PARTITION "
    ""EXT" VALUES LESS THAN (1) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 S"
    "TORAGE(INITIAL 65536) TABLESPACE "MYTBS" NOLOGGING, PARTITION "FAC" VA"
    "LUES LESS THAN (2) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(I"
    "NITIAL 65536) TABLESPACE "MYTBS" NOLOGGING )"
    IMP-00003: ORACLE error 959 encountered
    ORA-00959: tablespace 'MYTBS' does not exist
    Thanks.
    Angel

Maybe you are looking for

  • How do you add multiple users to an itunes account

    how do you add multiple users to an itunes account

  • Problems with foreign characters

    I've had the problem of iTunes not displaying foreign (Japanese in my case) characters. I do have proper language packs installed and I've seen these characters work on other people's computers. My iPod displays them perfectly too. Is there a setting

  • FireWire 800 and USB bus failure

    I am trying to resolve an ongoing issue with my iMac. External storage devices will not stay mounted. I have had data corruption and several drive failures that I believe are attributable to the sudden loss of connection to the computer. It can not b

  • GR mov type for inwarding scrap of by product

    Dear all Guru, we enter scrap / byproduct in BOM of semi finished subcontracting material. so when we inward this material SAP select the mov type 545 and puts this stock to sp stock "O" so if now i need to inward this material to our stock....ex : s

  • How I Fixed "Sorry something went wrong" on my Microsoft Account when I Tried Logging In

    Ok I have this issue like a few hours ago so I scoured the internet for any solution for me to be able to log into my account to no avail. Yup I did delete that xml folder and uninstalled my skype and reinstalled it. I also disabled my antivirus and