Re: Sharing data between databases

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Sharing data between databases
Дата
Msg-id 4DCB4F1D.4000300@postnewspapers.com.au
обсуждение исходный текст
Ответ на Sharing data between databases  (Tim Uckun <timuckun@gmail.com>)
Ответы Re: Sharing data between databases
Список pgsql-general
On 05/12/2011 08:48 AM, Tim Uckun wrote:
> What is the preferred way to share tables between databases?
>
> I read about dblink but it doesn't seem optimal because it needs to
> pull in the entire query every time the view is referenced so it might
> be highly inefficient if I am trying to join a dblinked table with a
> "local" table.

There isn't a good one for PostgreSQL, really.

Most people use replication tools like slony, londiste or bucardo to
replicate shared tables between databases, so each has a copy.

SQL/MED may improve the situation - at some point, possibly.

--
Craig Ringer

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: invalid byte sequence for encoding "UTF8": 0xf1612220
Следующее
От: Tim Uckun
Дата:
Сообщение: Re: Sharing data between databases