Solved

Loading external information into Oracle - similar to BCP in Sybase and SQL Server

Posted on 2008-10-22
3
558 Views
Last Modified: 2013-12-18
Hi,

I have a question regarding loading external information (i.e. from a file for instance) into a table in an Oracle database.

I'm familiar with Sybase and SQL Server with doing a BCP IN. Oracle doe not have a BCP utility. It does have several other mannerisms. From some information I have gathered: SQLLDR in Oracle is commensurate with BCP IN in Sybase and SQL Server. The control file is commensurate with the format file, I believe. Yet, I have also heard and do not know much about them on datapump and datadump. In addition, it is also my understanding that since Oracle 9i there is also the ability of external tables. (Although, the external tables are a bit of a concern to me as they can have issues.)

I'm looking for something that is consistently applied and will meet about 80% or more of routine loading of information. (Again, like BCP IN in SQL Server and Sybase).

Any information on that would be greatly appreciated.

Thanks
0
Comment
Question by:davism
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
sujith80 earned 125 total points
ID: 22783598
A quick overview :

SQL Loader - Loads files from the file system to Oracle database. Files can be fixed width or delimited. Very fast for reading flat files.

External Tables - Reads a file on the file system from the database as if it was a table. Very convenient to apply formatting, tranformations etc on the data. Can avoid the use of a staging table. Can use parallelism etc.

datapump : Used for unloading and loading data from oracle database to oracle database. Unloading generates oracle formatted files, which can be loaded back ONLY using datapump.

In my opinion you must for for External Tables( They are quite reliable and fast, havent come across much of runtime issues)
Or
You must use sqlloader(safer option, very fast in my opition by using DIRECT path loading etc).

You must read the respective sections from this book(a must):
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/toc.htm
0
 
LVL 1

Author Closing Comment

by:davism
ID: 31508972
sujith80,

Thanks much for the answer. I provides for another area of opinion and one that coincides more with others I've passed the information to.

The general theme is for the use of SQLLDR (SQL Loader).

Thanks again and very much appreciated! (Nice link as well!)
0
 
LVL 27

Expert Comment

by:sujith80
ID: 22901294
You are welcome.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now