Re: how do most people import external data???
From: Bruce MacDonald <Bruce_MacDonald_at_mindlink.net>
Date: 1996/09/14
Message-ID: <323B0650.40F_at_mindlink.net>#1/1
Date: 1996/09/14
Message-ID: <323B0650.40F_at_mindlink.net>#1/1
John Matzen wrote:
>
> i'm importing web server logs into an orcale database.
>
> Right now, I'm piping the log data into a Perl script that converts
> the file into a bunch of 'INSERT INTO' lines which I then pipe into
> SQL*DBA.
>
> This process is slow...I suspect that the file I'm tyring to import
> right now will be still doing so when I get back in to the office
> Monday morning.
>
> Whats the fatest way to do this?
Instead of creating a flat file of INSERT statements, try creating a fixed-format or delimited ASCII file, and use the Oracle Data Loader to actually load the data into Oracle.
Bruce
-- Bruce MacDonald (Bruce_MacDonald_at_mindlink.net) Database Consultant Cornerstone Computer Associates Inc. Chairperson, Vancouver Oracle Users GroupReceived on Sat Sep 14 1996 - 00:00:00 CEST