Re: Sharing data between databases

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Sharing data between databases
Дата
Msg-id 4DCB5F58.3070009@hogranch.com
обсуждение исходный текст
Ответ на Re: Sharing data between databases  (Tim Uckun <timuckun@gmail.com>)
Список pgsql-general
On 05/11/11 9:04 PM, Tim Uckun wrote:
>> or carefully structure your dblink joins so they can perform efficiently,
>> >  possibly using temp tables as a sort of materialized view.
> According to the documents unless you are writing procedural code with
> cursors when you touch the dblink view it will pull the entire
> table/recordset over.
>

well, the idea is, you only query the remote server for the data you
know you'll need.  yeah, you can't arbitrarily do complex joins between
large tables, you want to filter as much as you can with the remote
query so the dblink only pulls across data you need.   procedures might
help too.





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

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