Re: PostgreSQL 8.1 vs. MySQL 5.0? - Mailing list pgsql-general

From Robert Treat
Subject Re: PostgreSQL 8.1 vs. MySQL 5.0?
Date
Msg-id 200510071121.01696.xzilla@users.sourceforge.net
Whole thread Raw
In response to Re: PostgreSQL 8.1 vs. MySQL 5.0?  ("Jim C. Nasby" <jnasby@pervasive.com>)
List pgsql-general
On Thursday 06 October 2005 18:18, Jim C. Nasby wrote:
> On Thu, Oct 06, 2005 at 12:40:49PM -0700, CSN wrote:
> > --- Scott Marlowe <smarlowe@g2switchworks.com> wrote:
> > > Federated Storage Engine:  Allows MySQL to access
> > > tables in other
> > > servers like they are here.  No real direct
> > > equivalent in PostgreSQL,
> > > but dblink provides similar functionality.
> >
> > Would that be possible with table partitions? Or
> > Slony?
>
> Slony would give you a loose approximation. Table partitioning is
> unrelated. Better yet, I don't know of any reason why you can't define a
> view using dblink that would duplicate the features of a federated
> system. Of course it would be easier if it was in the back-end...

You can, but if the view runs against a large table you're screwed since pg
can't optimize complex queries into the inital query to set up the view.

Not sure if my$ql is any smarter about this, but that's the first thing to
look for if you were to investigate how well it worked.

--
Robert Treat
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL

pgsql-general by date:

Previous
From: Robert Treat
Date:
Subject: Re: PostgreSQL 8.1 vs. MySQL 5.0?
Next
From: Emi Lu
Date:
Subject: Looking for GUI for pg_dump/pg_restore under windows XP/2003 OS