Re: doubt

From: Hannu Krosing <hannu(at)skype(dot)net>
To: Greg Smith <gsmith(at)gregsmith(dot)com>
Cc: "Narasimha Rao P(dot)A" <mtech_rao(at)yahoo(dot)co(dot)in>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: doubt
Date: 2007-07-12 11:00:05
Message-ID: 1184238005.10914.7.camel@hannu-laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Ühel kenal päeval, K, 2007-07-11 kell 19:08, kirjutas Greg Smith:
> On Wed, 11 Jul 2007, Narasimha Rao P.A wrote:
>
> > Does postgreSQL support distributive query processing
>
> Not internally. It's possible in some situations to split queries up
> across multiple nodes using add-on software. pgpool-II, available at
> http://pgfoundry.org/projects/pgpool/ provides an implementation of
> distributed queries if your table has a type of key such that you split
> across it, but it's relatively immature software

Actually it is not "immature" at all, it is used 24/7 doing tens of
thousands of queries per second :P

But it is limited (by design) in what it can do - it is meant to run a
postgresql _function_ on one or more db hosts based on parameter
hash(es).

This can be used as a tool to construct a system which does distributed
queries, and also to distribute load on small OLTP queries over a set of
databases.

> and you would have to
> look at it very carefully to see if that parallel query implementation
> could fit your needs.

It has no parallel query implementation by itself (other than a special
running the same SQL on a set of hosts and merging the results), but you
definitely can progrem on using pgpool.

If you need something to distribute queries over a number of hosts
automatically, there is a commercial data warehousing product (based on
postgresql) available from greenplum, which does exactly this:

http://www.greenplum.com/index.php?page=greenplum-database

> --
> * Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend

In response to

  • Re: doubt at 2007-07-11 23:08:48 from Greg Smith

Responses

  • Re: doubt at 2007-07-12 11:29:45 from Hannu Krosing

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2007-07-12 11:29:45 Re: doubt
Previous Message Simon Riggs 2007-07-12 09:04:09 Re: "tuple concurrently updated" during index deletion