Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: External tables
External tables is an access layer to O/S flat files. Consider it like an
odbc to flat files.
I see it mostly used by ETL tools in data warehouse projects where we have
different types of sources and the data in these sources go through series
of cascaded transformations to reach the its target.
There is no need to load the data in the database to process it.
I'm sure we will have soon many access layers either by Oracle and/or others that allow us to integrate Oracle databases with the external world.
Regards,
Waleed
-----Original Message-----
Sent: Thursday, April 24, 2003 6:02 PM
To: Multiple recipients of list ORACLE-L
Another point missed so far is that
if your SQL to the external table hits
some dirty data, then it bombs out
with an Oracle error, and if you've been
busy running an insert from it the next
thing that happens is a likely to be a
massive rollback.
You also have to deal with the discard/bad
file (in the event that your external table
definition includes a 'bad limit' and doesn't
crash your process) so you haven't really
got rid of much of the infrastructure that
you would need if you were to use sqlldr -
only the SQLLOAD command and a
couple of lines of shell to check the exit
status from SQLLOAD and grep/awk the
rows-loaded count from the log.
Regards
Jonathan Lewis
http://www.jlcomp.demon.co.uk
The educated person is not the person
who can answer the questions, but the
person who can question the answers -- T. Schick Jr
One-day tutorials:
http://www.jlcomp.demon.co.uk/tutorial.html
____UK_______April 22nd ____USA_(FL)_May 2nd ____Denmark__May 21-23rd ____Sweden___June ____Finland__September ____Norway___September
Three-day seminar:
see http://www.jlcomp.demon.co.uk/seminar.html
____UK_(Manchester)_May x 2 ____Estonia___June (provisional) ____Australia_June (provisional) ____USA_(CA, TX)_August
The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/faq/ind_faq.html
> The replies so far have failed to mention that parallel loading with
> external tables is easy. With sqlloader, it ain't so easy.
>
> With external tables, it is also easy to do additional processing
via
> SQL when you load. In many cases you could avoid extra steps
required
> in sqlloader, such as loading to a temp table, then massaging your
data
> and loading to a perm table.
>
> You can skip the temp table with external tables.
>
> Jared
>
>
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jonathan Lewis INET: jonathan_at_jlcomp.demon.co.uk Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- 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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Khedr, Waleed INET: Waleed.Khedr_at_FMR.COM Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- 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 Thu Apr 24 2003 - 17:37:20 CDT
![]() |
![]() |