Re: seq scan in the case of max() on the primary key column - Mailing list pgsql-performance

From Greg Smith
Subject Re: seq scan in the case of max() on the primary key column
Date
Msg-id 4E021FF7.7@2ndQuadrant.com
Whole thread Raw
In response to Re: seq scan in the case of max() on the primary key column  (Marti Raudsepp <marti@juffo.org>)
List pgsql-performance
On 06/22/2011 05:55 AM, Marti Raudsepp wrote:
> Now I created a wiki snippet page for this handy
> feature here:
> https://wiki.postgresql.org/wiki/Efficient_min/max_over_partitioned_table
>

I just tweaked this a bit to document the version compatibility issues
around it and make it easier to follow.  I think that's now the page we
should point people toward when this pops up again.  Between that and my
blog post I reference in it, they can find all the details and a
workaround in one place.

--
Greg Smith   2ndQuadrant US    greg@2ndQuadrant.com   Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support  www.2ndQuadrant.us
"PostgreSQL 9.0 High Performance": http://www.2ndQuadrant.com/books


pgsql-performance by date:

Previous
From: Shaun Thomas
Date:
Subject: Re: Contemplating SSD Hardware RAID
Next
From: Scott Marlowe
Date:
Subject: Re: seq scan in the case of max() on the primary key column