Re: mysql_fdw trouble

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: mysql_fdw trouble
Дата
Msg-id 56326D12.707@hogranch.com
обсуждение исходный текст
Ответ на Re: mysql_fdw trouble  (Dane Foster <studdugie@gmail.com>)
Ответы Re: mysql_fdw trouble
Список pgsql-general
On 10/29/2015 11:20 AM, Dane Foster wrote:
​I think you are correct about mysql_fdw "... sending the trim() checks for remote execution" because according to the docs:

"The latest version will push-down the foreign table where clause to the foreign server. The where condition on the foreign table will be executed on the foreign server hence there will be fewer rows to to bring across to PostgreSQL. This is a performance feature."


the alternative would be to fetch the whole table across the FDW interface, then run the where locally, for a large table where you're only selecting a few rows, this would be very painful.

I guess using mysql_fdw is a no-go for my data migration needs.

or, rewrite that WHERE clause to be mysql compatible.


-- 
john r pierce, recycling bits in santa cruz

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

Предыдущее
От: Jim Longwill
Дата:
Сообщение: Configure Different Databases on One Server
Следующее
От: John R Pierce
Дата:
Сообщение: Re: Configure Different Databases on One Server