Re: count * performance issue

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: count * performance issue
Date: 2008-03-11 14:34:39
Message-ID: 20080311143439.GA1465@crankycanuck.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Tue, Mar 11, 2008 at 02:19:09PM +0000, Matthew wrote:
> of rows with IS NULL, then someone changes a row, then you find the count
> of rows with IS NOT NULL. Add the two together, and there may be rows that
> were counted twice, or not at all.

Only if you count in READ COMMITTED.

A

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Kynn Jones 2008-03-11 15:56:55 Re: Joins and DELETE FROM
Previous Message Heikki Linnakangas 2008-03-11 14:31:18 Re: count * performance issue