pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Adonias Malosso <malosso@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Best practice to load a huge table from ORACLE to PG
Date: Sat, 26 Apr 2008 08:10:24 -0700
Message-ID: <481345E0.5050900@commandprompt.com> (raw)
In-Reply-To: <8a5d3c890804260625o7ad0700fp79f951c58c242720@mail.gmail.com>
References: <8a5d3c890804260625o7ad0700fp79f951c58c242720@mail.gmail.com>

Adonias Malosso wrote:
> Hi All,
> 
> I´d like to know what´s the best practice to LOAD a 70 milion rows, 101 
> columns table
> from ORACLE to PGSQL.
> 
> The current approach is to dump the data in CSV and than COPY it to 
> Postgresql.
> 
> Anyone has a better idea.

Write a java trigger in Oracle that notes when a row has been 
added/delete/updated and does the exact same thing in postgresql.

Joshua D. Drake


> 
> 
> Regards
> Adonias Malosso




view thread (12+ messages)  latest in thread

Message-ID: <481345E0.5050900@commandprompt.com>
Permalink:  ../481345E0.5050900@commandprompt.com/
Also on:    postgresql.org/message-id/481345E0.5050900@commandprompt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: jd@commandprompt.com, malosso@gmail.com
  Subject: Re: Best practice to load a huge table from ORACLE to PG
  In-Reply-To: <481345E0.5050900@commandprompt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox