Re: Federated Postgresql architecture ?

Поиск
Список
Период
Сортировка
От Jonah H. Harris
Тема Re: Federated Postgresql architecture ?
Дата
Msg-id 36e682920806261357h48fa718alc13dce455d6ddaa2@mail.gmail.com
обсуждение исходный текст
Ответ на Federated Postgresql architecture ?  (kevin kempter <kevin@kevinkempterllc.com>)
Ответы Re: Federated Postgresql architecture ?  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-performance
On Thu, Jun 26, 2008 at 4:33 PM, kevin kempter
<kevin@kevinkempterllc.com> wrote:
> Anyone have any experiences to share per setting up a federated architecture
> with PostgreSQL ? I wonder if the dblink contrib works well in a federated
> scenario, specifically in the setup of the federated views which equate to a
> select * from the same table on each federated server ?

Because Postgres currently lacks the ability to push down predicates
to individual nodes over a database link, you have to spend a good
amount of time writing PL set-returning functions capable of adding
appropriate WHERE clauses to queries sent over the link.  There are
other things you can do, but it's mostly hackery at this point in
time.  IIRC, David Fetter is trying to get some of the required
predicate information exposed for use in DBI-Link.

Not to self-plug, but if you require it, EnterpriseDB includes
Oracle-style database links (SELECT col FROM table@node) which support
predicate push-down.

--
Jonah H. Harris, Sr. Software Architect | phone: 732.331.1324
EnterpriseDB Corporation | fax: 732.331.1301
499 Thornall Street, 2nd Floor | jonah.harris@enterprisedb.com
Edison, NJ 08837 | http://www.enterprisedb.com/

В списке pgsql-performance по дате отправления:

Предыдущее
От: kevin kempter
Дата:
Сообщение: Federated Postgresql architecture ?
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Federated Postgresql architecture ?