Splitting objects of a schema into 2 tablespaces

Hi is it possible in Oracle database to split a schema objects into 2 tablespaces (or more)?
I am trying to export and then import a schema to another machine but getting a : tablespace APEX_XXXXXX does not exist error. About 4 tables and respective constraints chucked this error while everything else got imported successfully.
I have granted quota unlimited on the tablespace when I created user.
I didnt' think it was possible but can't see why it would look for that APEX_xxxx tablespace for those particular tables. Exporting gave no errors btw.
Using Oracle Database 11G R2.

Thanks for your replies.
Basically I am going to move objects from SYSTEM tablespace to a designated one called APEX_XXXX (later on). But trying to import into a local machine before I get into that.
Now looks like few of them already exist in APEX_XXXXX, so I need to move the rest across. I prefer to use REMAP_TABLESPACE option of Data Pump as Oracle docs recommend it as a cleaner way to move schema & objects from A to B.
However, would it have any implications if some tables already exists in APEX_XXXX tablespace?
I am planning to do something like this
impdb system/system schemas=lsprod REMAP_TABLESPACE=SYSTEM:APEX_XXXX logfile=export.logThank you.
here is the first 10 lines of the original import.
Connected to: Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
Export file created by EXPORT:V11.02.00 via conventional path
Warning: the objects were exported by LSPROD, not by you
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
import server uses AL32UTF8 character set (possible charset conversion)
export client uses US7ASCII character set (possible charset conversion)

Similar Messages

  • How can I import objects of one schema into others ?

    Hi all,
    I want to import the objects of a schema into another users schema. e.g I want to import the whole schema of user Scott into another user... Robert's schema ? Is it possible to do so ?
    Any help would be precious.
    Thanx
    Zaaf.

    Hi,
    Lets imagine that you have two users, scott and user1.
    Step 1. take export of scott schema
    exp scott/tiger file=scott.dmp
    step 2. import into user1 schema
    imp user1/password file=scott.dmp full=y
    hope this will help you.

  • Help! How to transfer tablespace of certain schema into another tablespace?

    Hi I'm using oracle 10g, i have schema name test which is in USERS tablespace.. how can I move it to different tablespace?thanks

    Changing the default tablespace will only affect the creation of new objects. You could perform a "ALTER TABLE xxx MOVE ..." on all tables, followed by moves or rebuilds of all indexes. It might be simpler to do a datapump export of the schema and re-import it with the REMAP_TABLESPACE=USERS:NEW_TABLESPACE option
    Bjoern

  • Relocating objects into new tablespace?

    I was looking for an easy way to relocate all objects from one table space to another table space? Is there a utility or any way to have all objects in one table space move to a new tablespace with out have to either move or rebuild each object one at a time.
    We have a tablespace that is 50 gig but is only 2% utilized so I am looking to shrink the overall db size by relocating the objects, and the dropping the 50 gig table space.
    I am trying to avoid extracting all of the ddl for all of the objects as well as the ddl to rebuild all of the indexes as there are over 200 objects that need relocating?
    Thanks.

    HI..
    To relocate the tables into another tablespace you can spool the output of below query and run it.
    select 'alter table '||owner||'.'||table_name||' move tablespace new_tbs_name parallel N;' from dba_tables where tablespace_name='XXX';
    Note:- N = cpu_count-1
    parallel --> to fasten the activity
    After its done,
    Rebuild the indexes of these tables:-
    select 'alter index '||owner||'.'||index_name||' rebuild parallel N;' from dba_indexes where table_name in (select table_name from dba_tables where tablespace_name='XXX');
    Then change the degree back:--
    select 'alter table '||owner||'.'||table_name||' parallel (degree 1);' from dba_tables where degree > 1;
    select 'alter index '||owner||'.'||index_name||' parallel (degree 1);' from dba_indexes where degree > 1;
    If on 10g
    select 'alter table '||owner||'.'||table_name||' parallel (degree 1);' from dba_tables where degree > '1';
    select 'alter index '||owner||'.'||index_name||' parallel (degree 1);' from dba_indexes where degree > '1';
    HTH
    Anand

  • 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.

  • Move schema to anothe tablespace

    Hi
    During installation of one Oracle application , this has created "WIRELESS" schema in system tablespace. "WIRELESS" schema consis of table/index/LOB Objects. Now I want to migrate entire wireless schema to xx_tablespace. kindly suggest me the ways to do this.
    Thanks
    Krishna

    Have you read the documentation? Every single option for expdp and impdp is documented http://docs.oracle.com/cd/E11882_01/server.112/e22490/toc.htm
    As Osama suggested:
    a). Create a new schema with the default tablespace set to the tablespace to where you want to move the objects
    b). expdp the old schema
    c). impdp the using fromuser/touser to put the objects into the new schema
    d). Drop the old schema
    e). Rename the new schema to the old schema
    Another alternative that wouldn't need expdp/impdp and a temporary new schema would be to use alter table move and alter index rebuild to move the tables/indexes directly. If you have partitioned tables, you'd need to account for that. You can do the same in online mode using DBMS_REDEFINITION
    Which option you pick probably depends on a few things:
    a). Downtime requirements - DBMS_REDEFNITION can possibly do the reorg with zero downtime.
    b). Size of objects in the schema and whether you have enough space for the extra expdp file
    John

  • How to copy one schema into another

    I need to copy one schema into another. That means, all the tables, views, constraints, etc, and all the data as well.
    I have a dmp file of source-schema (created daily with expdp by our backup schedule).
    Can I use impdp to import this dmp file into dest-schema? I'm thinking about something like this:
    The dmp file was created with:
    expdp source-schema/pwd DIRECTORY=dmpdir DUMPFILE=myproject.dmp
    Create the copy on dest-schema with:
    impdp dest-schema/pwd DIRECTORY=dmpdir DUMPFILE=myproject.dmp
    (dest-schema is an existing schema on the same machine. I'll drop all the tables before executing the command. Is there anything else I should do first?)
    If this approach is not feasible, kindly suggest me an alternative.
    Thank you.
    Edited by: mgro on Apr 16, 2010 3:22 AM (changed 2nd command: expdp to impdp)

    Thank you both. Dean, I've made a note of your proposed command. May use it next time.
    In the end I used the following command and it worked for me. I added TABLE_EXISTS_ACTION=REPLACE since the destination was not empty.
    First I ran these command logged in as SYS
    GRANT Import Full Database TO dest-schema;
    GRANT Create Any Directory TO dest-schema;
    GRANT Unlimited Tablespace TO dest-schema;
    impdp
    dest-schema/pwd
    DIRECTORY=dmpdir
    DUMPFILE=myproject.dmp
    REMAP_SCHEMA=source-schema:dest-schema
    TABLE_EXISTS_ACTION=REPLACE
    LOGFILE=implog.log
    There were some errors though. The import process complained about constraints referencing non-existent primary keys.
    It turns out that the source schema has some constraints that are marked with status DISABLED. These constraints either:
    - are not part of the DUMP file
    or
    - are in the DUMP file but skipped during import
    Don't know if this is a bug or by design behavior.

  • Converting object wrapper type array into equivalent primary type array

    Hi All!
    My question is how to convert object wrapper type array into equivalent prime type array, e.g. Integer[] -> int[] or Float[] -> float[] etc.
    Is sound like a trivial task however the problem is that I do not know the type I work with. To understand what I mean, please read the following code -
    //Method signature
    Object createArray( Class clazz, String value ) throws Exception;
    //and usage should be as follows:
    Object arr = createArray( Integer.class, "2%%3%%4" );
    //"arr" will be passed as a parameter of a method again via reflection
    public void compute( Object... args ) {
        a = (int[])args[0];
    //or
    Object arr = createArray( Double.class, "2%%3%%4" );
    public void compute( Object... args ) {
        b = (double[])args[0];
    //and the method implementation -
    Object createArray( Class clazz, String value ) throws Exception {
         String[] split = value.split( "%%" );
         //create array, e.g. Integer[] or Double[] etc.
         Object[] o = (Object[])Array.newInstance( clazz, split.length );
         //fill the array with parsed values, on parse error exception will be thrown
         for (int i = 0; i < split.length; i++) {
              Method meth = clazz.getMethod( "valueOf", new Class[]{ String.class });
              o[i] = meth.invoke( null, new Object[]{ split[i] });
         //here convert Object[] to Object of type int[] or double[] etc...
         /* and return that object*/
         //NB!!! I want to avoid the following code:
         if( o instanceof Integer[] ) {
              int[] ar = new int[o.length];
              for (int i = 0; i < o.length; i++) {
                   ar[i] = (Integer)o;
              return ar;
         } else if( o instanceof Double[] ) {
         //...repeat "else if" for all primary types... :(
         return null;
    Unfortunately I was unable to find any useful method in Java API (I work with 1.5).
    Did I make myself clear? :)
    Thanks in advance,
    Pavel Grigorenko

    I think I've found the answer myself ;-)
    Never thought I could use something like int.class or double.class,
    so the next statement holds int[] q = (int[])Array.newInstance( int.class, 2 );
    and the easy solution is the following -
    Object primeArray = Array.newInstance( token.getPrimeClass(), split.length );
    for (int j = 0; j < split.length; j++) {
         Method meth = clazz.getMethod( "valueOf", new Class[]{ String.class });
         Object val = meth.invoke( null, new Object[]{ split[j] });
         Array.set( primeArray, j, val );
    }where "token.getPrimeClass()" return appropriate Class, i.e. int.class, float.class etc.

  • Scripts of objects in a schema.

    Hi
    I am working on a problem which is:
    To generate the scripts of objects in a schema, with separate object types in different folders, with separate files for each object.
    For instance if I have a schema called HR then the scripts for all the tables in this schema should be in a predefined folder called TABLES and within this folder the individual scripts for tables tab1.sql , tab2.sql.. and so on. I need to do this for all objects in the given schema. This I need to do from sql*plus and not from any GUI.
    For this I am able to figure out some basic steps required. Below is the sample for same
    DECLARE
    V_SCRIPT VARCHAR2(4000);
    CURSOR C1 IS
      SELECT OBJECT_TYPE,OBJECT_NAME,OWNER
      FROM ALL_OBJECTS WHERE OWNER ='HR' ;
    BEGIN
      FOR I IN C1 LOOP
          with scripts as (select dbms_metadata.get_ddl(I.OBJECT_TYPE,I.OBJECT_NAME,I.OWNER) txt from dual)
          select replace(txt,'"') ||'/' script_text INTO V_SCRIPT from scripts;
          DBMS_OUTPUT.PUT_LINE(V_SCRIPT);
      END LOOP;
    END;
    {code}
    Here in the script I can identify few problems like:
    1. The DBMS_OUTPUT.PUT_LINE will work till the buffer level and after that will give an error message. Is there any way to eliminate this?
    2. How can I spool the files in the middle of pl/sql code.
    These scripts are to be created on a windows system in some location like *c:\scripts\tables\..*,*c:\scripts\indexes\..* and so on.
    The database version should be:
    {code}
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    "CORE     10.2.0.3.0     Production"
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    {code}
    Also I came to know of utl_file package, can I use this for the same.
    please provide your expert guidance for the problem.
    Thanks
    Ansh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Two thoughts:
    First: The Oracle database does not have folders. What product are you working in?
    Second: Cursor loops such as the one you've written have been obsolete in Oracle for more than 12 years: Why are you writing one now?
    Look up BULK COLLECT and FORALL at http://tahiti.oracle.com

  • Script to generate all the tables and objects in a schema

    how to write a script to generate all the tables and objects in a schema.
    with toad the no of tables generated is not matching when i check from schema .

    Dear Sidhant,
    Try this script:
    set termout off
    set feedback off
    set serveroutput on size 100000
    spool ddl_schema.sql
    begin
    dbms_output.put_line('--');
    dbms_output.put_line('-- DROP TABLES --');
    dbms_output.put_line('--');
        for rt in (select tname from tab order by tname) loop
            dbms_output.put_line('DROP TABLE '||rt.tname||' CASCADE CONSTRAINTS;');
        end loop;
    end;
    declare
        v_tname  varchar2(30);
        v_cname  char(32);
        v_type     char(20);
        v_null   varchar2(10);
        v_maxcol number;
        v_virg     varchar2(1);
    begin
    dbms_output.put_line('--');
    dbms_output.put_line('-- CREATE TABLES --');
    dbms_output.put_line('--');
        for rt in (select table_name from user_tables order by 1) loop
            v_tname:=rt.table_name;
            v_virg:=',';
            dbms_output.put_line('CREATE TABLE '||v_tname||' (');
            for rc in (select table_name,column_name,data_type,data_length,
                                data_precision,data_scale,nullable,column_id
                    from user_tab_columns tc
                    where tc.table_name=rt.table_name
                    order by table_name,column_id) loop
                        v_cname:=rc.column_name;
                        if rc.data_type='VARCHAR2' then
                            v_type:='VARCHAR2('||rc.data_length||')';
                        elsif rc.data_type='NUMBER' and rc.data_precision is null and
                                             rc.data_scale=0 then
                            v_type:='INTEGER';
                        elsif rc.data_type='NUMBER' and rc.data_precision is null and
                                         rc.data_scale is null then
                            v_type:='NUMBER';
                        elsif rc.data_type='NUMBER' and rc.data_scale='0' then
                            v_type:='NUMBER('||rc.data_precision||')';
                        elsif rc.data_type='NUMBER' and rc.data_scale<>'0' then
                            v_type:='NUMBER('||rc.data_precision||','||rc.data_scale||')';
                        elsif rc.data_type='CHAR' then
                             v_type:='CHAR('||rc.data_length||')';
                        else v_type:=rc.data_type;
                        end if;
                        if rc.nullable='Y' then
                            v_null:='NULL';
                        else
                            v_null:='NOT NULL';
                        end if;
                        select max(column_id)
                            into v_maxcol
                            from user_tab_columns c
                            where c.table_name=rt.table_name;
                        if rc.column_id=v_maxcol then
                            v_virg:='';
                        end if;
                        dbms_output.put_line (v_cname||v_type||v_null||v_virg);
            end loop;
            dbms_output.put_line(');');
        end loop;
    end;
    declare
        v_virg        varchar2(1);
        v_maxcol    number;
    begin
    dbms_output.put_line('--');
    dbms_output.put_line('-- PRIMARY KEYS --');
    dbms_output.put_line('--');
        for rcn in (select table_name,constraint_name
                from user_constraints
                where constraint_type='P'
                order by table_name) loop
            dbms_output.put_line ('ALTER TABLE '||rcn.table_name||' ADD (');
            dbms_output.put_line ('CONSTRAINT '||rcn.constraint_name);
            dbms_output.put_line ('PRIMARY KEY (');
            v_virg:=',';
            for rcl in (select column_name,position
                    from user_cons_columns cl
                    where cl.constraint_name=rcn.constraint_name
                    order by position) loop
                select max(position)
                    into v_maxcol
                    from user_cons_columns c
                    where c.constraint_name=rcn.constraint_name;
                if rcl.position=v_maxcol then
                    v_virg:='';
                end if;
                dbms_output.put_line (rcl.column_name||v_virg);
            end loop;
            dbms_output.put_line(')');
            dbms_output.put_line('USING INDEX );');
        end loop;
    end;
    declare
        v_virg        varchar2(1);
        v_maxcol    number;
        v_tname        varchar2(30);
    begin
    dbms_output.put_line('--');
    dbms_output.put_line('-- FOREIGN KEYS --');
    dbms_output.put_line('--');
        for rcn in (select table_name,constraint_name,r_constraint_name
                from user_constraints
                where constraint_type='R'
                order by table_name) loop
            dbms_output.put_line ('ALTER TABLE '||rcn.table_name||' ADD (');
            dbms_output.put_line ('CONSTRAINT '||rcn.constraint_name);
            dbms_output.put_line ('FOREIGN KEY (');
            v_virg:=',';
            for rcl in (select column_name,position
                    from user_cons_columns cl
                    where cl.constraint_name=rcn.constraint_name
                    order by position) loop
                select max(position)
                    into v_maxcol
                    from user_cons_columns c
                    where c.constraint_name=rcn.constraint_name;
                if rcl.position=v_maxcol then
                    v_virg:='';
                end if;
                dbms_output.put_line (rcl.column_name||v_virg);
            end loop;
            select table_name
                into v_tname
                from user_constraints c
                where c.constraint_name=rcn.r_constraint_name;
            dbms_output.put_line(') REFERENCES '||v_tname||' (');
            select max(position)
                    into v_maxcol
                    from user_cons_columns c
                    where c.constraint_name=rcn.r_constraint_name;
            v_virg:=',';
            select max(position)
                into v_maxcol
                from user_cons_columns c
                where c.constraint_name=rcn.r_constraint_name;
            for rcr in (select column_name,position
                    from user_cons_columns cl
                    where rcn.r_constraint_name=cl.constraint_name
                    order by position) loop
                if rcr.position=v_maxcol then
                    v_virg:='';
                end if;
                dbms_output.put_line (rcr.column_name||v_virg);
            end loop;
            dbms_output.put_line(') );');
        end loop;
    end;
    begin
    dbms_output.put_line('--');
    dbms_output.put_line('-- DROP SEQUENCES --');
    dbms_output.put_line('--');
        for rs in (select sequence_name
                from user_sequences
                where sequence_name like 'SQ%'
                order by sequence_name) loop
            dbms_output.put_line('DROP SEQUENCE '||rs.sequence_name||';');
        end loop;
    dbms_output.put_line('--');
    dbms_output.put_line('-- CREATE SEQUENCES --');
    dbms_output.put_line('--');
        for rs in (select sequence_name
                from user_sequences
                where sequence_name like 'SQ%'
                order by sequence_name) loop
            dbms_output.put_line('CREATE SEQUENCE '||rs.sequence_name||' NOCYCLE;');
        end loop;
    end;
    declare
        v_virg        varchar2(1);
        v_maxcol    number;
    begin
    dbms_output.put_line('--');
    dbms_output.put_line('-- INDEXES --');
    dbms_output.put_line('--');
        for rid in (select index_name, table_name
                from user_indexes
                where index_name not in (select constraint_name from user_constraints)
                    and index_type<>'LOB'
                order by index_name) loop
            v_virg:=',';
            dbms_output.put_line('CREATE INDEX '||rid.index_name||' ON '||rid.table_name||' (');
            for rcl in (select column_name,column_position
                    from user_ind_columns cl
                    where cl.index_name=rid.index_name
                    order by column_position) loop
                select max(column_position)
                    into v_maxcol
                    from user_ind_columns c
                    where c.index_name=rid.index_name;
                if rcl.column_position=v_maxcol then
                    v_virg:='';
                end if;
                dbms_output.put_line (rcl.column_name||v_virg);
            end loop;
            dbms_output.put_line(');');
        end loop;
    end;
    spool off
    set feedback on
    set termout on Best Regards,
    Francisco Munoz Alvarez
    www.oraclenz.com

  • Error Importing Repository Schema Into Repository

    Hi,
    I am currently working on a project at a client and I am having an issue importing an XML Repository Schema into a repository.
    I have Development and Quality Repositories which are supposed to be nearly identical.  There have been quite a few changes made to the Quality Repository and the client wants me to export the Quality schema and import it into the Development repository and accept a few changes (I realize changes are typically migrated from Development to Quality).  This should be a relatively simple task however I keep receiving the following error: u201COne or more of the selected items requires that you select additional itemsu201D, when I attempt to change just one field.  I have scoured the SAP forums and exhausted the Reference Guide for MDM and I cannot find a solution.  Any help or suggestions would be greatly appreciated.
    Thanks,
    Don

    Hi,
    You are facing this issue because you are trying to import changes in an object, but rejecting changes for its dependent objects. For example, you are trying to import a new port with a new remote system, but not accepted change in the remote system table.
    I would suggest you to check the MDM log files. it will give you more details why your import repository schema is failing, and which dependent object need to be imported.
    Kindly check the log files and revert.
    Best Regards,
    Shiv

  • Importing data tables into data tablespace and indexes into tablespaces

    Hi
    I want to import data into new schema and i want to store tables into data tablespaces and index into index tablespace ...can anyone tell me how it will possible...

    I want to import data into new schema and i want to store tables into data tablespaces and index into index tablespace ...can anyone tell me how it will possible...
    imp userid=/user/passwd show=y indexfile=import.sql indexes=n full=y
    imp userid=/user/passwd show=y indexfile=import2.sql full=y
    Edit the import.sql and import2.sql to modify the tables' tablespace and indexes tablespace.
    execute import.sql the script in the database. this will create the tables in their respective tablespace.
    imp userid=/user/passwd full=y ignore=y indexes=n constraints=y - to import just the data since the tables have already been created.
    imp userid=/user/passwd full=y ignore=y rows=n  - to import just the indexes since the tables and data have already been imported.

  • How to suppress compiler errors without excluding database objects from the "Schema Compare" tool (using VS2013/SSDT)

    Hi,
    In short: How to suppress compiler errors without excluding the object from the "Schema Compare" tool ??
    A bit longer:
    We have a SQL Server 2008 project in Visual Studio 2013 running SQL Server Data Tool.
    An old database, with a lot of history in, has been imported into SSDT and there are many syntax errors preventing the project from compiling/running. An typical error is: "SQL70001: This statement is not recognized in this context".
    Running the "faulty" scripts on the server, executes just fine. I understand that there are syntax errors and they should be rewritten, but it's not gonna happen just like that - it is a slow process over a long period of time.
    I know it is possible to change Build Action to None, but that also exclude the object from appearing in the Schema Compare function/window.
    So - how to ignore some compiler errors and still having the objects to appear when doing "Schema Compare" ??
    Thank you in advance.

    Hi Steven,
    Thanks for your comments.
    Well, it sure does help in the future, but right now i would prefer the other way - to suppress some errors and still allow the scripts to build.
    The thing is that if we "rewrite" the objects into create scripts, then we have a huge test job ahead of us + the database environments (PROD vs DEV and UAT) does not share the same AD or DB users and therefore grants is lost if dropping/creating
    objects, right!
    If you drop a object before creating it, the drop will also drop the roles and grants and since they don't share user table, the create will not be able to add the permissions again. There might be a solution to that, but it is going to be very complicated
    for some newbies like us. We need something we can trust.
    BR
    Peter

  • Import of data into default tablespace

    I have Oracle 8.0 on one server having Win NT. Herein I have one
    database and a user assigned with 'x' default tablespace. I
    created a new user having 'y' as default tablespace. Then using
    imp command with fromuser - touser parameters, I imported data
    of 1st user into the new user. Atthis time the objects got
    created in the default tablespace of 1st user and not the new
    one. How do I manage this? i.e. the import to take place in the
    default tablespace of the new user

    Read the reference for the importAnXFDF-method. It's very straight-forward.

  • Some objects in sys schema not imported usinf full database import/export.

    Hello All,
    We need to migrate database from one server to new server using same database version 11g Release 2 (11.2.0.1.0). We have some production objects in sys schema. We took full export using full=y and then import on new server using full=y. Other objects belonging to different tablespaces and users has successfully imported but production objects i.e table in sys schema not import.
    We used following commands for export and import:
    # exp system file=/u01/backup/orcl_full_exp.dmp log=/u01/backup/orcl_full_exp.log full=y statistics=none
    # imp system file=/u01/backup/orcl_full_exp.dmp log=/u01/backup/orcl_full_imp.log full=y ignore=y
    Kind Regards,
    Sharjeel

    Hi,
    First of all it is not good practice to keep user object in the sys schema
    second you are useing version 11gr2 what not you go for datapump export/import method.
    third, did you get any error in import, what is the error

Maybe you are looking for

  • HT4059 How can I see how many downloads my book has had?

    I'm trying to find where I can check the numbers of downloads my book has received, has anyone a clue of where I can check this? Thanks in advance for any help

  • No partitions found ! error while deploying a soa composite from jdev

    Hi, I have an issue while deploying a composite from Jdev. After selecting the server I am getting "No partitions found!" error in the SOA Servers step of the Deployment. Followed this link ( Re: JDev PS2 (10.3.3) can't deploy SOA to WLS PS1 (10.3.2)

  • IPOD Shuffle not recognized by computer, and caused a  USB power surge

    Device is not recognized by computer, and I tried the listed support recommendations. The problem originated when I plugged the IPOD shuffle directly into the computer USB ( not using a hub), and this caused a warning window to appear saying unknown

  • Newbie question about livecycle data services es

    Hi all. i've downloaded the LiveCycle ES2 VMware virtual appliance, setup it up on a esxi server, workspace, content space, all are up and running, but here comes my question, how do i install livecycle data services in there?how do i set it up to st

  • Full Document Path on the MAC

    Has anyone tried to use the PIGetDocumentName on the macintosh. It gives back only the Document title. On windows we get the entire file path with PIGetDocumentName. Is there another way to get the full path of the front document on the mac. thanks a