Re: Migrating database(s) from Sybase ASE 15.7 to PostgreSQL 10.6 on Linux

From: pabloa98 <pabloa98(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: Matthias Apitz <guru(at)unixarea(dot)de>, pgsql-general(at)postgresql(dot)org
Subject: Re: Migrating database(s) from Sybase ASE 15.7 to PostgreSQL 10.6 on Linux
Date: 2019-05-03 20:59:42
Message-ID: CAEjudX6f6JEAGNs18OedP75YHp4WOXuNfyO97weq_vbgyDO4AQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

If you could use foreign data wrapper to connect
https://github.com/tds-fdw/tds_fdw then you can skip the migration back and
for to CSV.

You could even do partial migrations if needed (it could impact some
queries' speed though).

Pablo

On Fri, May 3, 2019 at 6:37 AM Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
wrote:

> On 5/3/19 4:56 AM, Matthias Apitz wrote:
> >
> > Hello,
> >
> > We're investigating the migration of our LMS (Library Managment System)
> > from Sybase ASE 15.7 to PostgreSQL 10.6. The used database in field have
> > around 400 columns, some of them are also containing BLOB (bytea) data.
> > The DB size vary upto 20 GByte. The interfaces contain any kind of
> > language one could imagine :-) ESQL/C, JDBC, Perl DBD, ...
> >
> > Re/ the migration of the data itself, are there any use case studies
> > which could we keep in mind? We plan to export the tables with our own
> > tool which produces CSV with delimiter '|' (and \| if the char | is in
> > char columns too) and with hex representation of the BLOB data. This
> seems
> > to fit nicely with PostgreSQL's COPY command.
>
> You might want to also take a look at:
>
> A PostgreSQL foreign data wrapper to connect to TDS databases (Sybase
> and Microsoft SQL Server)
> https://github.com/tds-fdw/tds_fdw
>
>
> >
> > Any known pitfalls?
> >
> > Btw: We're investigating MySQL too, but this seems to be from the list
> > now for not having an ESQL/C interface.
> >
> > Regards
> >
> > matthias
> >
>
>
> --
> Adrian Klaver
> adrian(dot)klaver(at)aklaver(dot)com
>
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bernard Quatermass 2019-05-04 15:06:29 Looking for feedback and contributions
Previous Message Andres Freund 2019-05-03 20:09:59 Re: Connecting to NOTIFY with telnet