Re: Slow query with big tables - Mailing list pgsql-performance

From Andreas Kretschmer
Subject Re: Slow query with big tables
Date
Msg-id 20160825103619.GA14979@tux
Whole thread Raw
In response to Slow query with big tables  (Tommi Kaksonen <t2nn2t@gmail.com>)
List 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 by date:

Previous
From: Tommi Kaksonen
Date:
Subject: Slow query with big tables
Next
From: Tommi K
Date:
Subject: Re: Slow query with big tables