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: external tables

RE: external tables

From: Anthony Molinaro <amolinaro_at_wgen.net>
Date: Thu, 29 Jul 2004 19:24:03 -0400
Message-ID: <D17DB304A9F42B4787B68861F9DAE61C033F8C@wgdc02.wgenhq.net>


Susan,
  Use the external table, it's awesome. True, you can't index them,   but you can easily:

create table x nologging as select * from external_table;

Then put an index on x.=20

You can even create x as a partitioned table.

The idea is, you can now perform sql on this 20gb flat file. You probably wouldn't want to use it
directly in joins if it's that big but you can now easily distribute it. You can use it to merge into=20
other tables or insert /*+ append */ for direct path access. =20
Give it a shot.

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

From: susan lam [mailto:susanzlam_at_yahoo.com]=20 Sent: Thursday, July 29, 2004 7:13 PM
To: oracle-l_at_freelists.org
Subject: external tables

Hi,
I've a huge flat file (about 20GB) to load into a 9i database. I would like to make use of the external table feature but I do not know the usefulness of it if I cannot create any indexes on external tables. Querying on the table will be slow without the indexes. Are there other alternatives where I could make use of the external table feature and yet be able to query the table without any performance impact?

TIA susan



Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=20

Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html

-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--

Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
Received on Thu Jul 29 2004 - 18:20:48 CDT

Original text of this message

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