Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Data load options

RE: Data load options

From: Koivu, Lisa <lisa.koivu_at_efairfield.com>
Date: Wed, 25 Jul 2001 06:41:48 -0700
Message-ID: <F001.003545C4.20010725062614@fatcity.com>

Hi Sean,

Others have given you different options.  Here's some considerations:

1.  SQL Script.

Can be SLOW
May require intermittent commits in your script Manual and error prone
Must go through SQL engine

2.  SQL Loader

Can be very fast (direct - bypassing SQL engine). Direct path load will invalidate indexes. You can keep track of rejected records easily (.bad file) Dependent upon your file format being EXACT, no errors.

3.  Import

Requires minimal manual fiddling
Can be very slow - I once imported 150GB and it took ~3 days Does not seamlessly handle all object types (INtermedia (domain) indexes is one example) Restarting an import will take a lot longer.  If your import fails, be sure and truncate/drop all tables before starting again. Have the option of not including indexes (INDEXES=N) Can also reset your storage parms prior to import (export with data=n, edit file [SSSHHH] and enter new storage parms / import, export with data=y, import data with IGNORE=Y)

I'm sure others will have additional considerations to share.  My choice has always been exp/imp.

Lisa Koivu
The Vicodin-enhanced DBA
Ft. Lauderdale, FL, USA

-----Original Message-----

From:   O'Neill, Sean [SMTP:Sean.ONeill_at_organon.ie]
Sent:   Wednesday, July 25, 2001 6:16 AM
To:     Multiple recipients of list ORACLE-L
Subject:        Data load options

I'm trying to compile a list of options for loading data into an Oracle database on NT platform.  What I've come up with so far is:
[1] SQL script that performs inserts, updates.
[2] SQL Loader utility
[3] Import utility

Are there others?
Anyone care to share experience based opinions on pros and cons of the methods?

Sean :)

Rookie Data Base Administrator
[0%] OCP Oracle8i DBA
[0%] OCP Oracle9i DBA

-------------------------------- ------------ 
Organon (Ireland) Ltd.
E-mail: sean.oneill_at_organon.ie   [subscribed: Digest Mode]

Visit: http://groups.yahoo.com/group/Oracle-OCP-DBA

"Nobody loves me but my mother... and she could be jivin' too."  - BB King

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: O'Neill, Sean
  INET: Sean.ONeill_at_organon.ie


Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Jul 25 2001 - 08:41:48 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US