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

Thread: Import

  1. #1
    Join Date
    Jul 2002
    Posts
    132
    Hi,

    1.What has to be done to make import run faster?
    2. How many rows get commited when we specify commit=y?

    Sonia

  2. #2
    Join Date
    Sep 2001
    Location
    Düsseldorf, Germany.
    Posts
    588
    1. BUFFER = n (number)

    Parameter that defines the number of rows inserted into a database at one time.

    2. COMMIT=Y

    Specifies whether IMPORT should commit after each time a buffer’s worth of data is written to the database

    Sameer

  3. #3
    Join Date
    Feb 2000
    Location
    Singapore
    Posts
    1,758
    If you have any index on the table drop the index, import the data and recreate the index.
    Be careful if that index is supporting any constraints..

    Sanjay

  4. #4
    Join Date
    Jul 2002
    Posts
    132
    Buffer=n ,' n' is not the number of rows . It is the buffer size in bytes.

    Also it is not dropping the index, we have to first import with indexes=n and then create the index file and run it. I do this normally.

    I want to know if there r any more ways to make import faster.

  5. #5
    Join Date
    Aug 2001
    Location
    chennai,bangalore
    Posts
    840
    Also make sure you set the statistics parameter to false,so that you dont generate statistcs when the import is going on.

    regards
    anandkl
    anandkl

  6. #6
    Join Date
    Feb 2000
    Location
    Singapore
    Posts
    1,758
    Also it is not dropping the index, we have to first import with indexes=n and then create the index file and run it. I do this normally.
    Of course, one should know how to recreate Index before droppping it.. There are several ways you can do it, one of them is what you explained.

    Sanjay

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