pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedDatabase migration
6+ messages / 6 participants
[nested] [flat]
* Database migration
@ 2003-07-16 22:52 Dilan Arumainathan <dilan_a@impark.com>
0 siblings, 1 reply; 6+ messages in thread
From: Dilan Arumainathan @ 2003-07-16 22:52 UTC (permalink / raw)
To: pgsql-admin
I am trying to migrate a database from Oracle to Postgresql. I am using the
PgAdmin database migration wizard (1.5.60-Dev) to do this. Using ODBC I am
able to migrate small tables but I have a few tables that have over 10
million rows that are failing. I know the reason as I am getting an
"Snapshot too old" error from Oracle but am unable to come up with a
workaround. I prefer using the wizard as it takes care of nulls etc. which I
might have to handle if I went the dump and load route. Can someone give me
an idea on getting around this (other than preventing updates to Oracle).
Also, is there a way to turn off WAL while loading bulk data.
thanks
dilan
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Database migration
@ 2003-07-16 23:21 Tom Lane <tgl@sss.pgh.pa.us>
parent: Dilan Arumainathan <dilan_a@impark.com>
0 siblings, 0 replies; 6+ messages in thread
From: Tom Lane @ 2003-07-16 23:21 UTC (permalink / raw)
To: Dilan Arumainathan <dilan_a@impark.com>; +Cc: pgsql-admin
"Dilan Arumainathan" <dilan_a@impark.com> writes:
> [ Oracle problem ]
You'd probably have better luck asking about that in an Oracle-specific
list.
> Also, is there a way to turn off WAL while loading bulk data.
No. You could consider turning off fsync though.
regards, tom lane
^ permalink raw reply [nested|flat] 6+ messages in thread
* Database Migration
@ 2007-10-03 07:01 Khan, Mahmood Ahram <Mahmood.Khan@in.unisys.com>
0 siblings, 2 replies; 6+ messages in thread
From: Khan, Mahmood Ahram @ 2007-10-03 07:01 UTC (permalink / raw)
To: pgsql-admin-owner@postgresql.org; pgsql-admin; tgl@sss.pgh.pa.us
Hi,
1. What are necessary steps we should follow for migration of a
production database from Oracle 10g (10.2.0.1) to PostgreSQL 8.2.4?
2. What are the most common issues we get and how to fix them in
migration procedure?
3. Any tools available for doing this migration activity. If yes,
the URLs of the tools.
Thanks & Best Regards
M.AHRAM KHAN
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Database Migration
@ 2007-10-03 15:01 Kevin Kempter <kevin@kevinkempterllc.com>
parent: Khan, Mahmood Ahram <Mahmood.Khan@in.unisys.com>
1 sibling, 1 reply; 6+ messages in thread
From: Kevin Kempter @ 2007-10-03 15:01 UTC (permalink / raw)
To: pgsql-admin
On Wednesday 03 October 2007 01:01:00 Khan, Mahmood Ahram wrote:
> Hi,
>
>
>
>
>
>
> 1. What are necessary steps we should follow for migration of a
> production database from Oracle 10g (10.2.0.1) to PostgreSQL 8.2.4?
> 2. What are the most common issues we get and how to fix them in
> migration procedure?
> 3. Any tools available for doing this migration activity. If yes,
> the URLs of the tools.
>
>
>
>
>
>
>
>
>
> Thanks & Best Regards
>
>
>
> M.AHRAM KHAN
EnterpriseDB has a toolset to migrate data from Oracle into EnterpriseDB
(which of course is PostgreSQL plus). I'm not sure if their tool migrates
from Oracle into generic PostgreSQL as well - I had heard that this was in
the works. It might be worth a look.
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Database Migration
@ 2007-10-03 15:58 Joshua D. Drake <jd@commandprompt.com>
parent: Khan, Mahmood Ahram <Mahmood.Khan@in.unisys.com>
1 sibling, 0 replies; 6+ messages in thread
From: Joshua D. Drake @ 2007-10-03 15:58 UTC (permalink / raw)
To: Khan, Mahmood Ahram <Mahmood.Khan@in.unisys.com>; +Cc: pgsql-admin-owner@postgresql.org; pgsql-admin; tgl@sss.pgh.pa.us
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Khan, Mahmood Ahram wrote:
> Hi,
>
>
> 1. What are necessary steps we should follow for migration of a
> production database from Oracle 10g (10.2.0.1) to PostgreSQL 8.2.4?
> 2. What are the most common issues we get and how to fix them in
> migration procedure?
> 3. Any tools available for doing this migration activity. If yes,
> the URLs of the tools.
In general it is not very difficult, there are exceptions of course but
it is more time consuming than difficult.
You can use Orafce:
http://pgfoundry.org/projects/orafce/
This will get you a lot of compatibility with data types and function.
The #1 complaint I hear about migrating to Oracle is the lack of the
Oracle feature Packages. Some of this can be simulated (very little)
with the use of schemas but for the most part you should just consider
rewriting all your procedures in your favorite pl language.
Sincerely,
Joshua D. Drake
>
>
>
>
>
>
>
>
>
> Thanks & Best Regards
>
>
>
> M.AHRAM KHAN
>
>
>
>
- --
=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 24x7/Emergency: +1.800.492.2240
PostgreSQL solutions since 1997 http://www.commandprompt.com/
UNIQUE NOT NULL
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHA7w4ATb/zqfZUUQRAnPyAJ9JMV6Y/bG2aJYeY2Ov8nTdoT9lGgCdHpof
4r/eGjn1J3Kbf8aRTGWU54Q=
=q24e
-----END PGP SIGNATURE-----
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Database Migration
@ 2007-10-04 02:47 Devrim GÜNDÜZ <devrim@CommandPrompt.com>
parent: Kevin Kempter <kevin@kevinkempterllc.com>
0 siblings, 0 replies; 6+ messages in thread
From: Devrim GÜNDÜZ @ 2007-10-04 02:47 UTC (permalink / raw)
To: pgsql-admin; +Cc: Khan, Mahmood Ahram <Mahmood.Khan@in.unisys.com>
Hi,
On Wed, 2007-10-03 at 09:01 -0600, Kevin Kempter wrote:
> I'm not sure if their tool migrates from Oracle into generic
> PostgreSQL as well
After migrating to EDB, you can run PostgreSQL's pg_dump against EDB and
dump the database. Of course, schema will probably need to be edited
before that dump is reloaded to PostgreSQL.
Regards,
--
Devrim GÜNDÜZ
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/
Attachments:
signature.asc (application/pgp-signature, 188B) download
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2007-10-04 02:47 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-07-16 22:52 Database migration Dilan Arumainathan <dilan_a@impark.com>
2003-07-16 23:21 ` Tom Lane <tgl@sss.pgh.pa.us>
2007-10-03 07:01 Database Migration Khan, Mahmood Ahram <Mahmood.Khan@in.unisys.com>
2007-10-03 15:01 ` Re: Database Migration Kevin Kempter <kevin@kevinkempterllc.com>
2007-10-04 02:47 ` Re: Database Migration Devrim GÜNDÜZ <devrim@CommandPrompt.com>
2007-10-03 15:58 ` Re: Database Migration Joshua D. Drake <jd@commandprompt.com>
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