Re: High update activity, PostgreSQL vs BigDBMS

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Adam Rich <adam(dot)r(at)sbcglobal(dot)net>
Cc: "'Craig A(dot) James'" <cjames(at)modgraph-usa(dot)com>, "'Guy Rouillier'" <guyr-ml1(at)burntmail(dot)com>, "'PostgreSQL Performance'" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: High update activity, PostgreSQL vs BigDBMS
Date: 2007-01-08 03:09:59
Message-ID: 1168225799.724.0.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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
> internally.

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
http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Guy Rouillier 2007-01-08 04:26:01 Re: High update activity, PostgreSQL vs BigDBMS
Previous Message Tom Lane 2007-01-08 02:47:52 Re: High update activity, PostgreSQL vs BigDBMS