Re: replicating postgresql database to ms-sql database

From: Ben Kim <bkim(at)tamu(dot)edu>
To: pgsql-admin(at)postgresql(dot)org
Cc: Mary Anderson <maryfran(at)demog(dot)berkeley(dot)edu>
Subject: Re: replicating postgresql database to ms-sql database
Date: 2007-07-08 22:21:42
Message-ID: Pine.GSO.4.64.0707081712260.24290@coe.tamu.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


On Fri, Jul 06, 2007 at 10:48:48AM -0700, Mary Anderson wrote:
> I have been asked if it is possible to asynchronously replicate a
> postgresql database to ms-sql. My answer is yes, provided postgresql
> ORM features aren't used in the design of the database. One does an
> ascii dump of the tables and then bulk loads them into MSSQL. The
> database in question will be about 10G. Is there a sane way to do this?

As a pull option, it's also possible to use MS SQL's DTS tasks. You can
define complex import tasks and (I believe) run the task regularly using
the windows scheduler.

Massaging can be done by custom conversion scripts, in perl or vb, within
the task definition.

My 2 cents.

Regards,

Ben K.
Developer
http://benix.tamu.edu

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Carmen Martinez 2007-07-08 23:51:30 Catalog insertion
Previous Message Tom Lane 2007-07-08 16:29:24 Re: Start problem on Linux