DBAsupport.com Forums - Powered by vBulletin
Results 1 to 7 of 7

Thread: Insert and Update performance

  1. #1
    Join Date
    Mar 2002
    Posts
    303

    Insert and Update performance

    Hi,

    I use a ETL for bulk insert and update from diferent sources(Flat files, Oracle ,...) to Oracle Server(Datawarehouse).
    Witch is the best configuration for Oracle Server: Block size, sort area size u.s.o?
    I'm using log files=100M, Block size=16K, TBS and Tables are in NOLOGGING mode, I'm disabling indexes before inserting und updating but the performance is still low?

    Note: I can't not modify the generated SQL .
    Any Idea?

  2. #2
    Join Date
    Dec 2000
    Location
    Brazil / São Paulo
    Posts
    97
    what is size of tables ? what number of lines insert / update ?
    what is size of rollback segment ?
    what is commit frequence ?
    for update, disabling indexes, is bad idea.
    after insert, update you re create indexes ? who time this process ?
    Márcio de Souza Almeida
    DBA Oracle / SQLServer / PostgreSQL
    Rua Cupa, 139 Apto 85 A
    Penha - São Paulo - SP
    03640-000 - Brasil
    http://www.directory.com.br

  3. #3
    Join Date
    Mar 2002
    Posts
    303
    Size of tables:
    The tables are Fact-tables~ 1 to 2 Gb and Rows~ 4 to 10 millions rows.

    commit frequence:
    commit after 1000 Rows.

    Time:
    Insert und update time for 3 million rows~ 2 Hours

    Time to create indexes:
    3 to 10 Minutes


    How can i take more performance?

    Bensmail

  4. #4
    Join Date
    Nov 2000
    Posts
    14
    Can you detail more about the process please ? In terms of ETL tool used, the kind of sql generated by the tool , Also some information about Source and Target.

    Cheers
    Vish

  5. #5
    Join Date
    Mar 2002
    Posts
    303
    ETL used: Genio from Hummingbird
    sqlused: Oracle sql: INSERT INTO product SELECT..... WHERE....
    Source and Target: Oracle 8.1.7 on AIX

  6. #6
    Join Date
    Jan 2001
    Posts
    2,828
    Hi

    Try changing the tables to nologgging..

    before the load
    alter table table_name nologing
    after the load
    alter table logging
    Alter table test parallel(10);

    regards
    Hrishy
    Last edited by hrishy; 05-14-2003 at 07:08 AM.

  7. #7
    Join Date
    Dec 2000
    Location
    Brazil / São Paulo
    Posts
    97
    If you use

    Insert /*+ append */
    Into audit_ohb
    nologging

    in best performace.

    Clause WHERE is in best preformace?
    And Archive mode ?
    Márcio de Souza Almeida
    DBA Oracle / SQLServer / PostgreSQL
    Rua Cupa, 139 Apto 85 A
    Penha - São Paulo - SP
    03640-000 - Brasil
    http://www.directory.com.br

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width