Re: Slow query with big tables

Поиск
Список
Период
Сортировка
От Andreas Kretschmer
Тема Re: Slow query with big tables
Дата
Msg-id 20160825103619.GA14979@tux
обсуждение исходный текст
Ответ на Slow query with big tables  (Tommi Kaksonen <t2nn2t@gmail.com>)
Список pgsql-performance
Tommi Kaksonen <t2nn2t@gmail.com> wrote:

> ---Version---
> PostgreSQL 9.2.1, compiled by Visual C++ build 1600, 64-bit

current point release for 9.2 is 9.2.18, you are some years behind.

The plan seems okay for me, apart from the on-disk sort: increase
work_mem to avoid that.

If i where you i would switch to PG 9.5 - or wait for 9.6 and parallel
execution of aggregates.



Regards, Andreas Kretschmer
--
Andreas Kretschmer
http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Tommi Kaksonen
Дата:
Сообщение: Slow query with big tables
Следующее
От: Tommi K
Дата:
Сообщение: Re: Slow query with big tables