Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: external tables
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
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlput 'unsubscribe' in the subject line.
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request_at_freelists.org