Re: foreign data wrappers

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: foreign data wrappers
Дата
Msg-id 4D8E0125.9060905@dunslane.net
обсуждение исходный текст
Ответ на Re: foreign data wrappers  (Zheng Yang <zhengyang4k@gmail.com>)
Ответы Re: foreign data wrappers  (Zheng Yang <zhengyang4k@gmail.com>)
Re: foreign data wrappers  (Zheng Yang <zhengyang4k@gmail.com>)
Список pgsql-students

On 03/24/2011 10:07 PM, Zheng Yang wrote:
>
>
> I've briefly gone through the slides. Regarding the 6 callbacks, is
> that correct to say that a full table scan will always be performed
> irregardless of the sql statement,
> the FDW is blind to the sql query performed, right?

Yes, fairly much. If the feed is large you need some way to pass a limit
to the foreign side, possibly via table options. I'm fairly sure you
won't be able to get it via the SELECT statement.

>
> And can anyone help explain what a planner is? What does this "provide
> cost estimates to planner" mean? Thanks!


See <http://www.postgresql.org/docs/current/static/planner-optimizer.html>

If you're going to work on PostgreSQL code you need to read the docs.

cheers

andrew


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

Предыдущее
От: Shiv
Дата:
Сообщение: Re: foreign data wrappers
Следующее
От: Zheng Yang
Дата:
Сообщение: Re: foreign data wrappers