pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michelle Konzack <michelle.konzack@tamay-dogan.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: Scheme conversion MySQL to PGSQL
Date: Sun, 24 Dec 2017 22:20:38 +0100
Message-ID: <f702baef3eb70d39d116ed711d9d3f54.squirrel@webmail.tamay-dogan.net> (raw)
In-Reply-To: <1e666e62-f8f5-0a8d-db37-a98863aeb95d@lucee.org>
References: <491331d0766626e73f6028b0462629fa.squirrel@webmail.tamay-dogan.net>
	<D757B6EC-FA8E-477F-BE91-D3135C088CBF@a-kretschmer.de>
	<1e666e62-f8f5-0a8d-db37-a98863aeb95d@lucee.org>

Hello Igal

Am 2017-12-24 hackte Igal @ Lucee.org in die Tasten:
> I agree with Andreas.  First create the tables, then create the
> indexes.  If you can copy the data before creating the indexes then
> you
> will probably save some time on all of the INSERTs.
>
> I am doing a similar thing migrating from SQL Server, and I am
> considering to publish an open source Migrator.
>
> Can you tell me about some of the data types that you had to change
> moving from MySQL to Postgres?

I convert only those four CREATE TABLE from mySQL to pgSQL which
is the forum pluging for squirrelmail.

auto_increment  ->   serial
int(NN)         ->   int
datetime        ->   timestamptz  (attention:  it is NOT timestamp)
longtext        ->   text

ENGINE=MyISAM   hast to be removed.

This are things, which I found on the internet.

Greetings
Michelle

-- 
Michelle Konzack
00372-54541400





view thread (9+ messages)  latest in thread

Message-ID: <f702baef3eb70d39d116ed711d9d3f54.squirrel@webmail.tamay-dogan.net>
Permalink:  ../f702baef3eb70d39d116ed711d9d3f54.squirrel@webmail.tamay-dogan.net/
Also on:    postgresql.org/message-id/f702baef3eb70d39d116ed711d9d3f54.squirrel@webmail.tamay-dogan.net

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: michelle.konzack@tamay-dogan.net
  Subject: Re: Scheme conversion MySQL to PGSQL
  In-Reply-To: <f702baef3eb70d39d116ed711d9d3f54.squirrel@webmail.tamay-dogan.net>
  References: <491331d0766626e73f6028b0462629fa.squirrel@webmail.tamay-dogan.net> <D757B6EC-FA8E-477F-BE91-D3135C088CBF@a-kretschmer.de> <1e666e62-f8f5-0a8d-db37-a98863aeb95d@lucee.org> <f702baef3eb70d39d116ed711d9d3f54.squirrel@webmail.tamay-dogan.net>

* 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