pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mary Anderson <maryfran@demog.berkeley.edu>
To: pgsql-admin@postgresql.org
Subject: replicating postgresql database to ms-sql database
Date: Fri, 06 Jul 2007 10:48:48 -0700
Message-ID: <468E8080.4030901@demog.berkeley.edu> (raw)

Hi list,
    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?
I am hoping the slony can be instructed to produce an ascii transaction 
log which can then be massaged and applied to the MS-SQL database. 
(This is a database of population statistics which is relatively static.
It will be read only on the ms-sql node)

     I think it is much better to have both databases running postgres, 
by the way.

mary anderson



view thread (5+ messages)  latest in thread

Message-ID: <468E8080.4030901@demog.berkeley.edu>
Permalink:  ../468E8080.4030901@demog.berkeley.edu/
Also on:    postgresql.org/message-id/468E8080.4030901@demog.berkeley.edu

 · 

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-admin@postgresql.org
  Cc: maryfran@demog.berkeley.edu
  Subject: Re: replicating postgresql database to ms-sql database
  In-Reply-To: <468E8080.4030901@demog.berkeley.edu>

* 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