On Sun, 2007-01-07 at 20:26 -0600, Adam Rich wrote:
> I'm using 8.2 and using order by & limit is still faster than MAX()
> even though MAX() now seems to rewrite to an almost identical plan
Gonna need you to back that up :) Can we get an explain analyze?
> Count(*) still seems to use a full table scan rather than an index scan.
There is a TODO out there to help this. Don't know if it will get done.
Joshua D. Drake
=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
In response to
pgsql-performance by date
|Next:||From: Guy Rouillier||Date: 2007-01-08 04:26:01|
|Subject: Re: High update activity, PostgreSQL vs BigDBMS|
|Previous:||From: Tom Lane||Date: 2007-01-08 02:47:52|
|Subject: Re: High update activity, PostgreSQL vs BigDBMS |