Oracle export/import and indexing

Hello All,
I am a newbie in oracle filed and trying to understand export/import funtionality and indexing related to it. May be it's silly but I don't get any other way to understand it.
Below are the topics I tried to understand-
1) I export one Db and trying to import that in another database server. I used sysdba username to import. A new table space will get created or how the data will store in database what would be the effect in indexing with this export and import.
2) If i import one more db on the same database server using sysdba username then also how indexing will behave?
Please help me to understand
Thanks
Sayan
Edited by: Sayan_Roy on Sep 26, 2011 11:41 PM

Indexes are tied to tables. The default behaviour, in the absence of you specifying any directives, is that Oracle runs
CREATE TABLE
INSERT INTO table
CREATE INDEX
So, the Indexes are created after each of the corresponding tables.
Do NOT ever attempt to export/import objects owned by SYSDBA. You should be creating a separate schema to hold all your objects (Tables, Indexes, Views, Procedures, Functions etc). That separate schema can be exported and imported into another database. If you have multiple such schemas, a Full Export Import will copy all the schemas.
If a schema preexists in the target database, the import will error when attempting to CREATE TABLE --- unless you specify directives to handle this.
Please read the documentation on Export and Import for the version that you are testing.
Hemant K Chitale

Similar Messages

  • Issue with Oracle Export/Import

    Hello Oracle,
    I m using Oracle Import Utility to Import data .This utility, i m controlling through a C#.Net Application.
    But I want to show the time estimation required to complete the Export/Import process in advance just like the windows feature when we are copying files from one place to another.
    How can we get time estimation in advance to import the dump file or after analysis of dump file ?
    Is Oracle providing any information regarding estimated time required to import the dump in data base.
    Pls guide me.
    Thanks.
    Regards
    Tarun

    But I want to show the time estimation required to
    complete the Export/Import process in advance just
    like the windows feature when we are copying files
    from one place to another.So you want to show the user that it will be another 10 minutes left to complete the export/import, and just when he/she thinks it is nearly complete the time to remaining is reported in some 20+ digit number? ;)
    The export and import utilities do not have a method to report the time remaining to complete that I have seen.

  • Doubt in  export, import and table para when creating Function Module

    Dear fellow ABAPers,
    I have a doubt in defining export, import and table parameter while creating a function module.
    I am calling a function module inside a user exit. Now in the user exit the SAP fills an internal table called i_lfa1 with all the data user has eneterd.
    Now I want to pass this whole internal table to function module and the perform some checks on the values of internal table.
    After that function module fills an error structure with values depending on some check.
    1)
    How do I pass this internal table to function module ? 
    When I am creating function module in se37 where do I define this iternal table type ? Is it in Import or Table parameter during function module creation?
    2)
    Where do I define error structure type (which is returned by function module to main program)? Is it in Export or table parameter during function module creation?
    Please clear my doubt..
    Relevant points will be awarded.
    Regards,
    Tushar.

    Hi Tushar,
    1. How do I pass this internal table to function module ?
       I assume u are creating your own Y/Z FM.
       Pass it thru TABLES parameter.
    2. When I am creating function module in se37 where do I define this iternal table type
       Define this in TABLES interface.
       What Type ?
       THE SAME TYPE WHICH HAS BEEN DEFINED
        WHILE PASSING IN THE USER-EXIT FUNCTION MODULE.
       IF U SEE THE FM OF THE USER-EXIT,
       U WILL COME TO KNOW.
    3.
    Where do I define error structure type (which is returned by function module to main program)? Is it in Export or table parameter during function module creation?
    Define it in TABLES interace. (not in export, import)
      (Since what u are going to return is an internal table)
      U can take for eg. BDCMSGCOLL.
      OR u can create your own Y/Z structure
    for the same purpose.
      (or u can use the structure type T100)
    I hope it helps.
    Regards,
    Amit M.

  • ORACLE 버젼 간 EXPORT/IMPORT 상호 호환성 참조표

    제품 : ORACLE SERVER
    작성날짜 : 2002-10-08
    ORACLE 버젼 간 EXPORT/IMPORT 상호 호환성 참조표
    ===============================================
    버젼이 상이한 데이타베이스간의 export/import 작업은 작업 수행시 반드시 상호
    호환성을 확인하여야 하며, 호환성이 없는 버젼간의 작업은 IMP-9 또는 IMP-10
    오류와 함께 작업이 실패하게 된다.
    다음은 V8.0 미만의 버젼으로 import하고자 할 때 사용될 export 도구의 버젼
    정보이고,
    ---------------------------------------------+
    | EXPORT | IMPORT to |
    | from --------------------------------+
    | | 7.0.x | 7.1.x | 7.2.x | 7.3.x |
    | 7.0.x | EXP70x | EXP70x | EXP70x | EXP70x |
    | 7.1.x | EXP70x | EXP71x | EXP71x | EXP71x |
    | 7.2.x | EXP70x | EXP71x | EXP72x | EXP72x |
    | 7.3.x | EXP70x | EXP71x | EXP72x | EXP73x |
    | 8.0.x 주1| EXP70x | EXP71x | EXP72x | EXP73x |
    | 8.1.x 주1| EXP70x | EXP71x | EXP72x | EXP73x |
    다음은 V8.0 이상의 버젼으로 import하고자 할 때 사용될 export 도구의 버젼
    정보이다.
    ----------------------------------------------------------------------+
    | EXPORT | IMPORT to |
    | from --------------------------------------------------------
    | | 8.0.3 | 8.0.4 | 8.0.5 | 8.0.6 | 8.1.5 | 8.1.6 | 8.1.7 |
    ----------------------------------------------------------------+
    | 7.x 주2| EXP7x | EXP7x | EXP7x | EXP7x | EXP7x | EXP7x | EXP7x |
    ----------------------------------------------------------------+
    | 8.0.3 | EXP803 | EXP803 | EXP803 | EXP803 | EXP803 | EXP803 | EXP803 |
    | 8.0.4 | EXP803 | EXP804 | EXP804 | EXP804 | EXP804 | EXP804 | EXP804 |
    | 8.0.5 | EXP803 | EXP804 | EXP805 | EXP805 | EXP805 | EXP805 | EXP805 |
    | 8.0.6 | EXP803 | EXP804 | EXP805 | EXP806 | EXP806 | EXP806 | EXP806 |
    ----------------------------------------------------------------+
    | 8.1.5 | EXP803 | EXP804 | EXP805 | EXP806 | EXP815 | EXP815 | EXP815 |
    | 8.1.6 | EXP803 | EXP804 | EXP805 | EXP806 | EXP815 | EXP816 | EXP816 |
    | 8.1.7 | EXP803 | EXP804 | EXP805 | EXP806 | EXP815 | EXP816 | EXP817 |
    ----------------------------------------------------------------+
    * 주의 사항 *
    주1.Oracle8이나 Oracle8i 데이타베이스를 Oracle7 데이타베이스로 import하고자
    하는 경우에는, import 수행 전 반드시 Oracle8이나 Oracle8i 데이타베이스를
    대상으로 SYS 사용자로 CATEXP7.SQL 스크립트를 수행하여야 함.
    주2.Oracle7 export dump 화일을 Oracle8이나 Oracle8i 데이타베이스로 import
    하는 경우에는 DATE 타입의 컬럼에 지정되어 있는 제약조건이 invalid 상태로
    변함.
    기타 주의사항으로는,
    1. 상위 버젼의 데이타베이스에 대해 exp 명령을 사용할 경우에는 반드시 tns
    alias를 이용한 SQL*Net 접속이 필요하며,
    2. DIRECT path export 방식은 지원하지 않으므로, CONVENTIONAL path 방법만을
    사용하여야 한다.
    현재 운영중인 데이타베이스가 유지하고 있는 export와 import 관련 뷰의 버젼을
    확인하기 위해서는 다음 명령어를 이용할 수 있고, 값에 해당하는 버젼 번호는
    아래 표와 같다.
    SQL> SELECT * FROM sys.props$ WHERE name LIKE 'EXPORT%';
    NAME VALUE$ COMMENT$
    EXPORT_VIEWS_VERSION 8 Export views revision #
    | EXPORT_VIEWS_VERSION |
    ------------------------------+
    | Value | Introduced in Release |
    ------------------------------+
    | 1 | 7.1.3 |
    | 2 | 7.2.1 |
    | 3 | 7.2.3 |
    | 4 | 8.0.1 |
    | 5 | 8.0.2 |
    | 6 | 8.0.3 |
    | 7 | 8.0.4 |
    | 8 | 8.1.6 |
    ------------------------------+

  • Difference between client Export/Import and a system refresh

    Hi Experts,
    I would like to know the diffrence between client Export/Import and System refresh.
    Actually i have done client export from our production system and imported it into our quality system, I have asked our functional consultants whether the production data is now available in Quality. They replied me saying whole data of production system is available in Quality system as off date i have copied the export.
    The size of the export was around 8GB, How can this have all the data of Production system which is around 600 GB.
    In this way what is the use of System refresh which is done by database level ( changing the cntrl file etc... ), As i am getting all the data by doing Client Export/Import.
    Thanks & Regards,
    Injamuri

    Hi,
    What is system refresh when and why it is done?
    The system refersh is nothing but the deletion of the client and replacing the data from other client. For example : you have clients 100, 200 and 300. Suppose when you want to refresh the client 100 you remove the client 100 and replace it with 200 0r 300 as per your reqiurement.
    Mostly the refresh of clients will be happen at the time of development stage.
    System Refresh is a simplified term to Client Copy. Client Copy means copying the production client on to the quality to test the real data. As recommend by SAP this need to carried out every 3 months.
    The process to carry out the same is as follows:
    1. Create a client on quality system using txn scc4
    2. Create a RFC between Production system and Quality System (need to create on quality system)
    3. Login to the newly created client using sap* and pass as a password
    4. Txn sccl to start the client copy.
    You can test the client copy by selecting the test run option. (test run will estimate the time taken for the activity).
    Anil

  • Export/Import and Client Copy

    Hi All,
    Could you please help me with what are the major differences between Export/Import...client copy...and a System Refresh.How they differ from each other.
    Regards
    Rajesh

    Hello Rajesh ,
    I have capture some data from SAP Help :
    Local Copy: Copying Clients Within a System:
    You can improve the performance of the client copy by, for example, by excluding tables or packages, with Edit -> Expert Settings.
    You can exclude tables from the client copy, for example if they are not relevant for the target client, in the Tables tab
    Copying Clients Between Systems (Remote Copy):
    The same product is installed, with the same release, in both systems
    The client copier can copy a client into another system. The systems can be on different platforms. You can change the client number.
    When you copy a client from one system to another, the data is transferred directly via the RFC interface - there is no intermediate storage on hard disk.
    Transporting Clients Between Systems ;Client export (SCC8):
    The client copier can copy a client into another system, which can be on a different platform. You can change the client number.
    You are no longer required to transport clients before you can copy them between systems. You can make a remote copy instead.
    Up to three transport requests are created, depending on the selected copy profile and the existing data.
    The transport request for texts is e.g. only created if the source client contains customer texts.
    <sid>KO<no>  cross-client data
    <sid>KT<no>  client-specific data
    <sid>KX<no>  texts and forms
    The data export is performed automatically asynchronously. The output of the export includes the names of the transport requests that are to be imported.
    Import transport requests into the target client (STMS)
    Choose one of the transport requests of the client transport in the Transport Management System (TMS). The other transport requests belonging to this client transport are then automatically added in the correct order.
    Import these transport requests into the target client.
    client import postprocessing (SCC7)
    You need to perform postprocessing activities to adapt the runtime environment to the current state of the data.
    Copy by Transport Request :
    This function transports customizing changes that have been recorded in a transport request between two clients in a system.
    You can choose whether you only copy the object list of the request or also the object lists of unreleased tasks in the request.
    Entries in the target client are overwritten or deleted according to the key entries in the transport request.
    Choose Administration -> System administration -> Administration -> Client admin. ->Special Functions -> Copy Transport Request.
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/69/c24c0f4ba111d189750000e8322d00/frameset.htm">For more info Click here</a>
    Regards ,
    Santosh Karadkar

  • Export-Import and Naming convention question

    All,
    Newbie here. Have a question related to the naming convention for SAP R/3 system and XI manual export/import process. We are currently in the development environment where our R/3 systems are named as D55CLNT400, D56CLNT300 etc (first 3 characters are the system id, and last 3 are the client number.) This is per the XI best practices convention.
    The question i have is - if we name the technical system as above - and export the configuration objects from the Dev to Test environment - where the R/3 systems are named as T55CLNT400, T56CLNT300 (similar naming structure). Does it mean that we need to manually change almost all of the items in the Test environment on the configuration side (like business sytem name, interface determination, receiver determination etc)
    Is this the correct way or are we missing something??? I would have preferred a way - where we needed to only update the communication channel parameters.
    Thanks.
    Message was edited by:
            thezone

    In the SLD, create three Business System Groups: DEV, QAS and PRD.
    In each of these groups, you must have the relevant application servers (in your case, R/3s) and one integration server (XI).
    Then, for each Business System in Group DEV, define a transport target in QAS group.
    In your case, the transport landscape should be like this:
    D55CLNT400 -> T55CLNT400
    D56CLNT300 -> T56CLNT300
    XI_DEV -> XI_QAS
    Do the same for the QAS group (defining transport targets in PRD group). Observe that you need to have the same number of Business Systems in each group for this to work properly.
    Now, when you transport your configuration objects from XI_DEV to XI_QAS, all the Business Systems in DEV landscape will be replaced for the equivalent ones in QAS landscape.
    More info: http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/a21e3e0987760be10000000a114084/frameset.htm
    Regards,
    Henrique.

  • ASD Export/Import and the Anti-Marshal (kind of like a supervillain)

    Just tried to export a single resource action and import it back into the same environment with a new "prefix" and I get the following errors on validation....  same goes for importing it into another environment.  (which we will call "new environment"... where the Resource Action doesn't exist)  The workflow that the RA points to exists in the current environment because there is an RA that already points to that workflow.  In the new environment, the workflow exists due to a successful vRO sync.  (we can then build a successful form against the workflow in the new environment.)
    It seems like it is complaining about the Resource Type, but none of those were selected for export.. so one would expect that they wouldn't be imported.
    Anybody try out the export/import functionality in ASD and have it be successful?
    When we build a form in our Lab environment, we have to completely rebuild it in two other environments.  Though building forms in ASD is exceedingly fun and intuitive, we would really like to have a working export/import capability!

    It throws same error for exporting/importing ASD blueprints( Nothing else was selected to export like actions etc). In this case ASD blueprint exists in the destination.  Sean, did you make any progress?
    Failed on Can not unmarshal entity:resource-mappings of type: com.vmware.vcac.designer.rest.stubs.CsResourceType
    Warning
    RHEL
    Service Blueprint
    blueprint.name.duplication
    Info
    RHEL
    Service Blueprint
    blueprint.validation.success
    Error
    Can not unmarshal entity:resource-operations
    Resource Action
    resourceoperation.unmarshal.exception
    Error
    Can not unmarshal entity:resource-types
    Custom Resource/Mapping
    resourcetype.unmarshal.exception
    Error
    Can not unmarshal entity:resource-mappings
    Custom Resource/Mapping
    resourcetype.unmarshal.exception

  • Personas - Export / Import and missing icons

    Morning all.
    Have many of you used the import  / export feature to move flavours between clients? I have used it successfully in the past but the now have an issue.
    I have 4 flavours and a bunch of media files, many of which are shared amongst the flavours. When I export them the export is missing quite a few of the media files.
    Has anyone else experienced this issue?
    thanks,
    Neil

    further testing has revealed that it's files of type 'icon' only that don't get exported, the 'pic' file types export fine.
    Can anyone confirm the behaviour on their system please?

  • Oracle Export/Import tility

    Hi
    I wanted to know whether the object privileges granted on various objects are exported along with everything else when an export is carried out in full database export mode.
    I have gone through Oracle documentation for Oracle
    Utilities. I found that system privilege grants, role grants, table grants are exported in full database mode export. But there is no mention of any other object priviliges.
    Further this is the explanation for the export parameter "GRANT"
    GRANTS
    Default: Y
    Specifies whether or not the Export utility exports object grants. The object grants that are exported depend on whether you use full database or user mode. In full database mode, all grants on a table are exported. In user mode, only those granted by the owner of the table are exported. Note that system privilege grants are always exported.
    Thanks and Regards
    Poorvi

    Hi Joel
    I had gone through all that documentation before posting the query.
    By the way we are still on Oracle 8.1.7 because of restrictions placed by the client applications.
    I wanted to know whether the object privilege grants on various objects(eg. execute on procedures, select on views, alter and select on sequences etc.) are exported along with everything else when an export is carried out in full database export mode.
    I know from the white paper for Oracle utilities that, role grants, table grants and system privilige grants are included in a full database export mode. There are so many other object privilige grants that could be made.
    I could not find whether grants on any database objects other than tables are included or not in a full database export.
    Example : If user A has granted execute on procedure PROC1 to user B, whether this grant is exported along with the procedure and both the users in a full database export mode.
    I was hoping to draw on experience of forum members here. If anyone has encountered a similar question and has a solution to it, please help me.
    Thanks
    Poorvi

  • Export, Import and Table declaration in custom function module

    I am creating a custom function module. Parameters needed are export internal table and one data field from the internal table.
    What do i need to fill for 'associated type' for these export parameters since size of the internal table and type for the data field from the internal table vary.

    Hello Albert
    If the function module need not be RFC-enabled then you have many ways to define such dynamic parameters, e.g.:
    FUNCTION ZUS_SDN_DYNAMIC_PARAMS.
    *"*"Local Interface:
    *"  EXPORTING
    *"     REFERENCE(ET_ITAB) TYPE  TABLE
    *"     REFERENCE(ET_ITAB_1) TYPE  ANY
    *"     REFERENCE(ET_ITAB_2)
    *"     REFERENCE(ED_DATA) TYPE  CLIKE
    *"     REFERENCE(ED_DATA_1) TYPE  ANY
    *"     REFERENCE(ED_DATA_2)
    ENDFUNCTION.
    See also: How to return back a structure of dynamic tables in a Function Module
    Regards
      Uwe

  • Is it possible to import and export Config Toll Configuration  from one sys

    Hi All,
    Is it possible to import and export Config Toll Configuration  from one system to Another system (QUS/PRD), for especific service.
    Kindly let me know the pro and corn of it and step by step process
    Thanks alot for your time.
    Thanks
    AB

    Yes...It is certainly possible but then you would need to bring OS level j2ee filestructure as well and there are lots of changes at OS level in *.properties file and then at configtool level changes related to hostname, system numbers and port numbers etc.
    This is not much difficult but not impossible also if you do it very carefully. Please note that SAP DOES NOT SUPPORT THIS METHOD.
    alternatively, you can use sapinst to export-import j2ee filesystem from source to target which inturn would require to do configtool export/import and then changes at configtool level.
    Do let us know your requirement so that we cud help you in case you are facing any issues.
    cheers !!!
    Ashish

  • ?BUG? App Export / Import error with javascript

    Greetings -
    Anyone have an idea on how to get around this or if I'm doing something wrong?
    I have a page button to collapse a tree, with a URL Target of:
    javascript:apex.widget.tree.collapse_all($v(P2130_TREE_ID));
    Page and button work fine, have never had a problem.  Until I went to do an application import and found that the SQL file for the import was corrupted due to the above line.  SQL file has:
         p_button_redirect_url=>'javascript:apex.widget.tree.collapse_all($v(P'||to_char(2130+www_flow_api.g_id_offset)||''_TREE_ID));',
    It appears to have an extra (2x) single quote right before _TREE_ID.  I have this logic in several places in my application and every place caused the same error.
    Application copy also fails with same error.
    Thanks,
    Scott

    Tom -
    I assume this is the prior post you where talking about : https://forums.oracle.com/thread/2401714
    However, this doesn't cover my problem.  I have tried all the follow, and they all break export / import and copy functionality due to mismatched quotes:
    collapse_all($v(P2130_TREE_ID));
    collapse_all($v('P2130_TREE_ID'));
    collapse_all($v("P2130_TREE_ID"));
    collapse_all('&P2130_TREE_ID.');
    collapse_all("&P2130_TREE_ID.");
    These all allow the collapse button to work.
    NOW, if I change my ID tag to be something like 'P_SCOTT_TREE' then everything works just fine (import/export/copy).  It's having a number in the tag that is cause the problems because the export is casting it to_char and somehow throwing in an extra quote.
    Thanks,
    Scott

  • Oracle export from 8i

    I have a newbie question - I searched the web for a long time but I cannot find any answers.
    I understand that all packages,procedures and stored program units are stored in system tablespace or
    sysaux tablespace. My requirement is to copy a few schemas from a source database into a target database. Is it enough to exp the schemas and bring them into the target database ? Will this bring the stored program units also across.Or will I need to export the sys/system schemas ?. I exported one schema and did the following in unix.
    strings expdat.dmp|grep -i "package" but this returns nothing. I also opened the exp file and searched for the packages but to no avail. So I created a parfile (tables=somepackagename) but exp complained that the object was not found.
    Any Ideas ?

    Hello,
    Oracle version in both source and target is 8.1.6.3.0I know it's not related to your question but, why do you use a 10 years old release ?
    You may think to migrate someday to a newer release.
    More over, from Oracle 10g, you may use DataPump (expdp / impdp) instead of the classical export/import and, with DataPump you can select accurately the Object TYPE you want to export or import by using EXCLUDE / INCLUDE parameters.
    For instance, to export only Procedure, you may use this with DataPump:
    INCLUDE=PROCEDUREElse about the content of expdat.dmp file you may try this:
    imp <user>/<password> file=expdat.dmp log=<logfile>.log full=y SHOW=YIt's better than opening the dump file.
    Hope this help.
    Best regards,
    Jean-Valentin
    Edited by: Lubiez Jean-Valentin on Jun 27, 2010 12:06 PM

  • Page Export/Import problems

    I have been trying to migrate my portal 3.0.7 development to another portal 3.0.8 development database and have been having problems with the page export and import routines. I have been following the Oracle Export / Import document and first come across the problem when importing the content area as it tries to import its content area page.
    I have then tried to export / import pages separately and consistently get the following error.
    pageimp.csh s portal30 p portal30 m reuse d pobpage.dmp c Kenny.ogg security
    Start Portal Page Import
    Please Wait...
    declare
    ERROR at line 1:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL30.WWUTL_POB_TRANSPORT", line 1879
    ORA-01403: no data found
    ORA-06512: at line 6
    Disconnected from Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - Production
    Import of Portal Page Complete
    The Export command used was as follows:
    pageexp.csh s portal30 p portal30 n PAGE0 d pobpage.dmp c tools.ogg security
    As I am migrating from 3.0.7 to 3.0.8 I use the 3.0.7 export script and the 3.0.8 import script. For completeness I have also tried using the 3.0.7 and 3.0.8 import and export scripts, and get the same error.
    The version of Portal I am using is the Solaris version.
    When I look at the new site and click on the pages Tab no new pages are loaded as expected. Does anyone have a similar problem or am I overlooking something?
    Any suggestions?
    Thanks
    Garry
    null

    Portal 3.0.8 is now available in both NT and UNIX. So you need to upgrade both your platforms and then use export/import between the same versions. That's easier said than done as I have yet to get the export/import scripts to correctly and fully work on exporting from NT to UNIX Tru64. Originally I ran the scripts on NT and connected to the UNIX DB; however, somewhere I saw that it is more relaible to run the scripts on UNIX. So I am trying that now.
    Good luck!
    (By the way I notice that Larry declared war on complexity. The laughable irony of this is revealed by a look at these discussion boards!)
    null

Maybe you are looking for