Re: count(*) performance

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
Cc: Mikael Carneholm <Mikael(dot)Carneholm(at)WirelessCar(dot)com>, Postgresql Performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: count(*) performance
Date: 2006-03-27 23:13:48
Message-ID: 24743.1143501228@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Matthew T. O'Connor" <matthew(at)zeut(dot)net> writes:
> It is fairly easy to implement, however it has been discussed before and
> decided that it wasn't necessary. What the system cares about is how
> long it's been since the last vacuum in terms of XIDs not time.

I think Alvaro is intending to do the latter (store per-table vacuum xid
info) for 8.2.

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Mikael Carneholm 2006-03-27 23:17:43 Re: count(*) performance
Previous Message Matthew T. O'Connor 2006-03-27 22:43:02 Re: count(*) performance