Re: Migrating Access to Postgres

From: Jeff Eckermann <jeff_eckermann(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Migrating Access to Postgres
Date: 2003-10-03 14:51:37
Message-ID: 20031003145137.63838.qmail@web20802.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


--- Fabrizio Mazzoni <veramente(at)libero(dot)it> wrote:
> Hello .. i did the migration and my advice is that
> you forget about the automatic translation tools...

I have used the "migration wizard" that comes as a
plugin for PgAdminII, and was very happy with the
result. Yes, you can do everything by hand, but why?

>
> I took the access database and recreated all af the
> tables and relationships between them manually in
> postgres. I also added all the necessary indexes at
> design time ..
> Basiclly you have to open each table in access in
> desgn mode and recreate it in postgres (maybe first
> write it in a text file) with sql commands ...eg:
>
> create table foo (a serial primary key, b varchar)
> ......
>
> After that you have to migrate the queries and
> recreate them as views in PG...
>
> Then i dumped all the access tables to csv files and
> reimported them in pg with the copy command. Another
> solution to export the data from access to PG would
> be to link all the pg tables in access and execute
> an insert query from access.... This is a faster
> solution but sometimes access can run out of memory
> or you can get differences and errors in the
> datatypes which are very annoying...
>
> I kept access only as a frontend and beleive me this
> solution gave us a huge boost in production in our
> company ...
>
> Best Rgeards,
>
> Fabrizio Mazzoni
>
> On Wed, 1 Oct 2003 09:23:44 -0600 (CST)
> "Bernardo Robelo" <brobelo(at)agssa(dot)net> wrote:
>
> > Hi,
> > I am interested in migrating Microsoft Access
> database to Postgres
> > database. But I do not have idea of like
> initiating. Maybe some tool
> > exists for this problem.
> > Thanks you.
> > Bernardo
> >
> >
> >
> >
> >
> >
> >
> > ---------------------------(end of
> broadcast)---------------------------
> > TIP 1: subscribe and unsubscribe commands go to
> majordomo(at)postgresql(dot)org
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 7: don't forget to increase your free space map
settings

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Oleg Bartunov 2003-10-03 14:56:21 Re: Tsearch2 Causing Backend Crash
Previous Message Kris Jurka 2003-10-03 14:51:11 Re: RE : mod_auth_pgsql 2.0.1 don't close the backend