Re: Performance difference between Slon master and slave

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: Performance difference between Slon master and slave
Дата
Msg-id 566F0145.30707@BlueTreble.com
обсуждение исходный текст
Ответ на Performance difference between Slon master and slave  (Matthew Lunnon <mlunnon@rwa-net.co.uk>)
Ответы Re: Performance difference between Slon master and slave  (Mattthew Lunnon <mlunnon@rwa-net.co.uk>)
Список pgsql-performance
On 12/14/15 11:16 AM, Matthew Lunnon wrote:
> Inspecting the execution plan shows that there are some differences, for
> example, the slave is using a HashAggregate when the master is simply
> grouping. There also seems to be a difference with the ordering of the
> sub plans.

Have you tried analyzing the tables on the slave?

Also, keep in mind that the first time you access rows on a Slony slave
after they're replicated Postgres will need to write hint bits out,
which will take some time. But that's clearly not the issue here.
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com


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

Предыдущее
От: Matthew Lunnon
Дата:
Сообщение: Performance difference between Slon master and slave
Следующее
От: Pedro França
Дата:
Сообщение: Getting an optimal plan on the first execution of a pl/pgsql function