Improving Oracle9i DB performance using IMPORT/EXPORT

Hi,
I'm experiencing wrong performance on Oracle9.2.0.6 DB for production system.
I have one schema and two tablespaces: the first one for data (18 datafiles sized each 1GB), and the second one for indexes (15 datafiles sized each 1GB).
I tryed to tune the db using statpack and noticed "Waits due to Row being locked by an active Transaction".i couldn't do very much for solving this issue.
So, I'm wandering if using import/export utility against database would be a solution to obtain better performance. I can follow two methods for I/E:
FIRST METHOD:
1. Take a good export (with COMPRESS=n).
2. drop the tablesapces.
3. recreate the same tablespaces (data and index).
4. make data as default and revoke RESOURCE role from user.
5. grant quota unlimited on DATA TABLESPACE and INDEX tablespace to the user.
6. Just import (single import would do). imp user/pass fromuser=x touser=y indexes=y constraints=y.
Now since both data/index tablespaces already exist, the indexes will be created in their intended tablespaces.
SECOND METHOD
Instead of Imp or exp I can use move tablespace cmd to avoid fragmenation.
1.create new tbs.
2.move all objects to new tbs.
- rebuild all indexes to new tbs.
3.drop old tbs.
4.rename new tbs name to old tbs names.
Please, could you suggest If I'm following the right way to achieve better performance?
Thanks in advance.
Claudia

"Waits due to Row being locked by an active Transaction" is an indicator that you have a blocking problem, not fragmentation. Do you have long transactions? In Oracle, only writers block writers so it appears you have multiple sessions trying to modify the same row(s).
And, on the import/export - What type of disk is attached to the system? If it is a SAN it is likely that you already have a decent degree of data distribution between data and indexes.

Similar Messages

  • Perform Client import/export SCC8 with different release component between server

    Dear All
    Isn't possible to perform Client import/export SCC8 with different release component between server.?
    Currently the condition of between two system as follows
    Source Server     : SAP ECC6.0, Component SAP_APPL, release 602 level 16
    Target Server     : SAP ECC6.0, Component SAP_APPL, release 600 level 24.
    This problem happens due we was unable to downgrade the release and patch the latest support pack of SAP_APPL reelease 600.
    Thank You, your help is much appreciated.

    No..

  • How can we use IMPORT-EXPORT as structure and TABLES parameters?

    Hello Sir,
    I have used SAPRFC with single IMPORT and EXPORT parameter.
    Could anybody give me an example in I can use IMPORT/EXPORT as structure and TABLE parameter as input?
    of course from/to PHP.
    Regards,
    RH

    Thanks

  • Migrating owb using import/export

    Hi All,
    Please could anyone throw some light on how to Migrate owb using import/export.
    we are presently having owb installed on 32 bit database with RHEL 4 os. we planning to migrate to 64 bit database with 0el5 os.
    we have planned to do export/import. my question in this is could we use export/import for migrating owb schemas with owb installed in the new server.
    Thanks in advance,
    Regrads,
    Prajwal

    Hi Prajwal,
    I do not recommend exporting and importing the owb repository schema, it will not work properly.
    First, create a new repository on the new db. Then export your projects (make sure you select include all dependencies) using owb metadata export and evetnually import it into the new database.
    Note that you wil loose all deployment status information.
    If you also have target schemas in your db, then unregister them first before migrating the data to the new db. In the new db you have to register them at the new repository. Finally you have to redeploy all mappings (using replace) in order to make them work again.
    Regards,
    Carsten.

  • Improve data load performance using ABAP code

    Hi all,
             I want to improve my load performance using ABAP code, how to do this?. If i writing ABAP code in SE38 how i can call
    in BW side? if give sample code to improve load performance it will be usefull. please guide me.

    There are several points that can improve performance of your ABAP code:
    1. Avoid using SELECT...ENDSELECT... construct and use SELECT ... INTO TABLE.
    2. Use WHERE clause in your SELECT statement to restrict the volume of data retrieved.
    3. Use FOR ALL ENTRIES in your SELECT statement to retrieve the matching records at one shot.
    4.Avoid using nested SELECT and SELECT statements within LOOPs.
    5. Avoid using INTO CORRESPONDING FIELDS OF. Instead use INTO TABLE.
    6. Avoid using SELECT * and select only the required fields from the table.
    7. Avoid Executing a SELECT multiple times in the program.
    8. Avoid nested loops when working with large internal tables.
    9.Whenever using READ TABLE use BINARY SEARCH addition to speed up the search.
    10. Use FIELD-SYMBOLS instead of a work area when there are more than 200 entries in an internal table where some fields are being manipulated.
    11. Use MOVE with individual variable/field moves instead of MOVE-CORRESPONDING.
    12. Use CASE instead of IF/ENDIF whenever possible.
    13. Runtime transaction code se30 can be used to measure the application performance.
    14. Transaction code st05 can be used to analyse the SQL trace and measure the performance of the select statements of the program.
    15. Start routines can be used when transformation is needed in the data package level. Field/individual routines can be used for a simple formula or calculation. End routines are used when you wish to populate data not present in the source but present in the target.
    16. Always use a WHERE clause for DELETE statement. To delete records for multiple values, use SELECT-OPTIONS.
    17. Always use 'IS INITIAL' instead of equal to '' because null for a character is '' but '0' for an integer.
    Hope it helps.

  • How to send internl tab val 4m 1 prog to other without using IMPORT EXPORT

    Hi All,
    I need to send the vales of internal table from one program to other program without using IMPORT and EXPORT parameter.
    Actually i have implemented one enhancement in standared program and need to send the internal table records to one Z-Program not using memory id import and export.
    How can i do that ?
    Thanks in Advance.
    Regards,
    Umesh

    Hi Umesh,
    you might create a function group with a global internal table. Then you call one FM in standard report to fill global data and a second call of a FM can access the global data - as long as this is still running in the same process (transaction).
    "Sending to an other program" is quite general, if your own program is not part of the first process, you might need to save values in a z-table and plan your report periodically checking for new data.
    BR, Christian

  • How to get the Path of the Current File using Import & Export File -Reg.

    Dear all,
    I have a mega (big) doubt. I have manually inserted the Figures from the figure folders. Now i need, fully automated. So How can I get the Figure path
    Example :
    PMString path = "E://development/Figures/";
    now i checked, How many subFolders is there in "path", get the All Subfolders and check to the Article Name.
    Example
    Article Name == subFolder name then get the Files from the SubFolders(E://development/Figures/ChapterF/*.eps files").
    now I paste the Document using to For Loop.
    Please any one can suggest me, How can We get the Path in SDK.
    Note:
    Should I have to create the relative path by myself?
    No method supplied in SDK to do this directly?
    Please I need a help of this Query as soon as posible.
    Thanks & Regards
    T.R.Harihara SudhaN

    http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/input_file.asp?frame=true
    When a file is uploaded, the file name is also submitted. The path of the file is available only to the machine within the Local Machine security zone. The value property returns only the file name to machines outside the Local Machine security zone. See About URL Security Zones for more information on security zones.
    i need to know on how to get the compelete path /directory of the filename
    using <input type="file"> tag You can't. Its a security thing.
    is there any other way to get an input file from a local host aside from <input type="file"> tag?No. Not using just html.
    You could always go into activex components, but thats different again.
    Cheers,
    evnafets

  • "Improving SQL query performance using secondary indexes"

    I have a very old copy of this document from 1997. I'm hoping to find newer version, if one exists, but the search facility on SDN is not working at the moment. Does anyone have a more up to date copy or link they can point me to ?
    thanks,
    Malcolm.

    HI,
    check it out , may be it will help you
    [http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10743/schema.htm]
    [http://teradata.uark.edu/research/wang/indexes.html]
    [http://www.geekinterview.com/question_details/33720]

  • Issue while importing table from oracle to sql server using import and export wizard

    Hi All,
    I am trying to populate oracle table to sql server using import export wizard  and i am getting the below error.the table is allready present in the database but still it throwing error like table doesn't exists.
    Could not connect source component.
    Error 0xc0202009: Source - JOB_ACTION_HISTORY [1]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    Error 0xc02020e8: Source - JOB_ACTION_HISTORY [1]: Opening a rowset for ""FLXUSER"."JOB_ACTION_HISTORY"" failed. Check that the object exists in the database.
     (SQL Server Import and Export Wizard)
    Kindly help me out
    Thanks in advance

    Hi Snehasis,
    Please check whether the table name in the Oracle database has lower case letters. The table name should be exactly correct. 
    In addition, the issue might be related to the Oracle driver. What provider/driver do you use? If you use Microsoft OLE DB Provider for Oracle, you can try the
    Oracle OLE DB Provider. If you use Enterprise or Developer edition of SSIS 2008 or higher, you can also try the
    Microsoft Connectors for Oracle by Attunity. The  Oracle OLE DB Provider and Microsoft Connectors for Oracle are proved to have better performance.
    Regards,
    Mike Yin
    TechNet Community Support

  • Use of IMPORT/EXPORT in methods

    Hi,
    Is it possible to use IMPORT/EXPORT statements in the methods which are part of BADI's.
    Thanks
    Rajavardhana reddy

    HI,
    Import
    TYPES: BEGIN OF OBJ_LINE,
            CLUSTERNAME(30),
            PROGRAMNAME(10),
          END OF OBJ_LINE,
          BEGIN OF B_LINE,
            FIELD_1    TYPE I,
            FIELD_2(1) TYPE N,
          END OF B_LINE.
    DATA: OBJ_TAB TYPE STANDARD TABLE OF OBJ_LINE,
          OBJ_WA  TYPE OBJ_LINE,
          B_PROG  TYPE STANDARD TABLE OF B_LINE,
          B_WA    TYPE B_LINE,
          A(10),
          C_PROG LIKE SYST.
    MOVE:  'A'    TO OBJ_WA-CLUSTERNAME.
    APPEND OBJ_WA TO OBJ_TAB. CLEAR OBJ_WA.
    MOVE:  'B'      TO OBJ_WA-CLUSTERNAME,
           'B_PROG' TO OBJ_WA-PROGRAMNAME.
    APPEND OBJ_WA TO OBJ_TAB. CLEAR OBJ_WA.
    MOVE:  'C'      TO OBJ_WA-CLUSTERNAME,
           'C_PROG' TO OBJ_WA-PROGRAMNAME.
    APPEND OBJ_WA TO OBJ_TAB. CLEAR OBJ_WA.
    IMPORT (OBJ_TAB) FROM MEMORY ID 'ABCD'.
    export
    TYPES: BEGIN OF OBJ_LINE,
             CLUSTERNAME(30),
             PROGRAMNAME(10),
           END OF OBJ_LINE.
    DATA: OBJ_TAB TYPE STANDARD TABLE OF OBJ_LINE,
          OBJ_WA  TYPE OBJ_LINE.
    TYPES: BEGIN OF B_LINE,
             FIELD_1    TYPE I,
             FIELD_2(1) TYPE N,
           END OF B_LINE.
    DATA: B_PROG TYPE STANDARD TABLE OF B_LINE.
    DATA: A(10),
          C_PROG LIKE SYST.
    MOVE:  'A'      TO OBJ_WA-CLUSTERNAME.
    APPEND OBJ_WA TO OBJ_TAB. CLEAR OBJ_WA.
    MOVE:  'B'      TO OBJ_WA-CLUSTERNAME,
           'B_PROG' TO OBJ_WA-PROGRAMNAME.
    APPEND OBJ_WA TO OBJ_TAB. CLEAR OBJ_WA.
    MOVE:  'C'      TO OBJ_WA-CLUSTERNAME,
           'C_PROG' TO OBJ_WA-PROGRAMNAME.
    APPEND OBJ_WA TO OBJ_TAB. CLEAR OBJ_WA.
    EXPORT (OBJ_TAB) TO MEMORY ID 'ABCD'.
    Regards,
    Laxmi.

  • When to use import and export directives?

    I'm very confused about what the import and export language extensions do and when one should use them.
    I have a Bridge application with multiple source files. As long as I don't call code in another file from the startup execution path (before all source files are loaded) and only call across modules after Bridge is running (e.g. from events in Bridge), I don't seem to need import and export. All source files seem to be in the same namespace and all can see each other's global objects/functions.
    So, when would someone use import or export? And, what is the #engine that the manual discusses in relation to import and export? If some of my source files are library files that I intend to be used by multiple different files/applications, should I be using import/export for that use? Or is this only applicable when there are somehow multiple JavaScript engines involved? And when would that situation arise?
    --John

    John,
    The import and export directives don't really matter in Bridge. All scripts execute in the same namespace. That's why namespacing your scripts is crucial in Bridge.
    The #engine directive creates another JavaScript engine instance containing the script with the directive. If you then wanted to use stuff from that engine, the import and export directives would be needed. But even with that, in Bridge, the main engine will contain the script. There will just be a second engine (you can see this in the ESTK) containing the same stuff. Since it's in the main engine, there's no point in using the import and export.
    Some of the other apps, GoLive, for instance, each script executes in its own engine and namespace. And import and export are needed.
    This could change in future versions, and if it does, we'll be certain to make sure everyone knows about it.
    Bob

  • Import/Export code using Memory ID in BO Method

    Hi experts,
    I am having a approver name and other relevant data in my report. I don't want to write the entire code I want to bring it into my BO method by using import/export memory id. Pl. guide me what should I do ? Is it possible or not?
    Thank you,
    Saquib

    I am a bit confused that what you are trying to achieve. In any case I think you can forget any export/import memory ID related solutions - they will not work!
    The workflow (or its step/task) is executing your BO method, right? You want this method to have some data when it gets executed? Normally you would want to populate the data to the workflow (or task) container, for example with function SAP_WAPI_WRITE_CONTAINER (you just need the work item ID). Then when this data is in the container, you can use it in your method (binding required).
    Somehow I feel that you looking a difficult solution for a simple problem. If you need some relevant data in your workflow, let the workflow to find it (add a new step to the workflow, and copy/paste the relevant part of the code of your report to this step). (Or try to give the data to the workflow already when it gets started, if possible). Don't try to mix things with some separate report, unless it is completely necessary, and if it is, then writing into the container is most likely the best approach.
    Regards,
    Karri

  • Passing internal table from one program to other without using IMPORT

    Hi Experts,
    I need to pass an internal table from one program to other. However i cannot use IMPORT/EXPORT due to some reason. Any idea how this can be done?
    Warm regards,
    Harshad.

    hi,
    for passing itab from one program to another u can use
    IN FIRST PROGRAM WRITE ,
    perform pass_data(SECOND_PROGRAM_NAME) using ITAB.
    in both the program declare itab with same structure.
    if u want to do some changes in that itab and if u want it back in first program then write as
    perform pass_data(SECOND_PROGRAM_NAME) using ITAB changing itab.

  • Import/Export-Tools for XML on Oracle-Lite

    We have to import/export XML-Format on the Oracle-Lite-Database.
    -Are there any tools available supporting Import and Export of XML-Data ?
    -Can someone give us a recomendation how to perform XML-Imports/Exports if there is
    no "out of the box-tool" available ?
    Thanks.

    So try. It is called Oracle XML-SQL utility and it set of classes for direct XML manipulation from/to database with HUGE amount of features. You can use it from JAVA and PL/SQL (via Java Stored Procedures). It is realy great.

  • IMPORT / EXPORT IN SCRIPTS

    Hi all.
    i have an issue in the scripts.
    is ir possible to use Import / export in scripts.
    If it is possible ,then how.
    can any body help me to solve this issue.
    Thanks,
    Eswar

    Hi,
    Use Report RSTXSCRP allows SAPscript objects (standard texts, styles, forms
    or device types to be transported between R/3 and a local or central  
    file.                                                                               
    Note: Texts, styles, and forms are client-specific! For export they are
    always read from the current client and for import they are always read
    to the current client. Device types are not client-specific so the    
    current client is not significant in the export/import of printer     
    definitions.
    Parameters to be specified:                                            
    The radio buttons Device type/Form/Style/Standard text select the      
    transport object to be imported or exported.                           
    Object name:  Name of the standard text, style, form, or device type.  
    Mode: Export means download to file, IMPORT means upload from file.    
    File system: Allows you to choose whether the file is read/written     
    locally (GUI file system) or on the application server (default        
    setting).                                                              
    Reward Points if it is Useful.
    Thanks,
    Manjunath MS.

Maybe you are looking for