Re: Database conversion woes...

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Kevin Carpenter <kevin(at)valenfor(dot)com>
Cc: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Database conversion woes...
Date: 2004-02-03 17:30:38
Message-ID: Pine.LNX.4.33.0402031019420.23676-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Tue, 3 Feb 2004, Kevin Carpenter wrote:

> Hello everyone,
>
> I am doing a massive database conversion from MySQL to Postgresql for a
> company I am working for. This has a few quirks to it that I haven't
> been able to nail down the answers I need from reading and searching
> through previous list info.
>
> For starters, I am moving roughly 50 seperate databases which each one
> represents one of our clients and is roughly 500 megs to 3 gigs in size.
> Currently we are using the MySQL replication, and so I am looking at
> Mammoths replicator for this one. However I have seen it only allows on
> DB to be replicated at a time.

Look into importing all those seperate databases into seperate schemas in
one postgresql database.

> With the size of each single db, I don't
> know how I could put them all together under one roof,

There's no functional difference to postgresql if you have 1 huge database
or 50 smaller ones that add up to the same size.

> and if I was
> going to, what are the maximums that Postgres can handle for tables in
> one db?

None. also see:

http://www.postgresql.org/docs/faqs/FAQ.html#4.5

> We track over 2 million new points of data (records) a day, and
> are moving to 5 million in the next year.

That's quite a bit. Postgresql can handle it.

> Second what about the physical database size, what are the limits there?

none.

> I have seen that it was 4 gig on Linux from a 2000 message, but what
> about now? Have we found way's past that?

It has never been 4 gig. It was once, a long time ago, 2 gig for a table
I believe. That was fixed years ago.

> Thanks in advance, will give more detail - just looking for some open
> directions and maybe some kicks to fuel my thought in other areas.

Import in bulk, either using copy or wrap a few thousand inserts inside
begin;end; pairs.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Josh Berkus 2004-02-03 19:01:57 Re: Database conversion woes...
Previous Message scott.marlowe 2004-02-03 17:16:46 Re: MySQL+InnoDB vs. PostgreSQL test?