Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Performance > Re: Best practi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 10 Topic 4021 of 4352
Post > Topic >>

Re: Best practice to load a huge table from ORACLE to PG

by jonah.harris@[EMAIL PROTECTED] ("Jonah H. Harris") Apr 26, 2008 at 09:14 PM

On Sat, Apr 26, 2008 at 9:25 AM, Adonias Malosso <malosso@[EMAIL PROTECTED]
> wrote:
> I=B4d like to know what=B4s the best practice to LOAD a 70 milion rows,
1=
01
> columns table
> from ORACLE to PGSQL.

The fastest and easiest method would be to dump the data from Oracle
into CSV/delimited format using something like ociuldr
(http://www.anysql.net/en/ociuldr.html)
and load it back into PG using
pg_bulkload (which is a helluva lot faster than COPY).  Of course, you
could try other things as well... such as setting up generic
connectivity to PG and inserting the data to a PG table over the
database link.

Similarly, while I hate to see shameless self-plugs in the community,
the *fastest* method you could use is dblink_ora_copy, contained in
EnterpriseDB's PG+ Advanced Server; it uses an optimized OCI
connection to COPY the data directly from Oracle into Postgres, which
also saves you the intermediate step of dumping the data.

--=20
Jonah H. Harris, Sr. Software Architect | phone: 732.331.1324
EnterpriseDB Cor****ation | fax: 732.331.1301
499 Thornall Street, 2nd Floor | jonah.harris@[EMAIL PROTECTED]
 NJ 08837 | http://www.enterprisedb.com/

--=20
Sent via pgsql-performance mailing list (pgsql-performance@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
 




 10 Posts in Topic:
Best practice to load a huge table from ORACLE to PG
malosso@[EMAIL PROTECTED]  2008-04-26 10:25:22 
Re: Best practice to load a huge table from ORACLE to PG
jd@[EMAIL PROTECTED] (&q  2008-04-26 08:10:24 
Re: Best practice to load a huge table from ORACLE to PG
llonergan@[EMAIL PROTECTE  2008-04-26 09:13:34 
Re: Best practice to load a huge table from ORACLE to PG
jonah.harris@[EMAIL PROTE  2008-04-26 21:14:53 
Re: Best practice to load a huge table from ORACLE to PG
gsmith@[EMAIL PROTECTED]   2008-04-27 09:01:46 
Re: Best practice to load a huge table from ORACLE to PG
dfontaine@[EMAIL PROTECTE  2008-04-28 09:49:37 
Re: Best practice to load a huge table from ORACLE to PG
tino@[EMAIL PROTECTED] (  2008-04-28 21:59:02 
Re: Best practice to load a huge table from ORACLE to PG
malosso@[EMAIL PROTECTED]  2008-04-28 18:37:46 
Re: Best practice to load a huge table from ORACLE to PG
jonah.harris@[EMAIL PROTE  2008-04-28 23:31:11 
Re: Best practice to load a huge table from ORACLE to PG
Dorren <database.repli  2008-04-29 00:09:29 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 20:25:59 CDT 2008.