Re: Huge Data

From: Richard Huxton <dev(at)archonet(dot)com>
To: Sezai YILMAZ <sezai(dot)yilmaz(at)pro-g(dot)com(dot)tr>, pgsql-general(at)postgresql(dot)org
Subject: Re: Huge Data
Date: 2004-01-14 13:19:46
Message-ID: 200401141319.46326.dev@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wednesday 14 January 2004 12:27, Sezai YILMAZ wrote:
> Richard Huxton wrote:
> >There's plenty on this in the archives, and probably the FAQ too.
> >
> >What are you using the count() for?
>
> I use count() for some statistics. Just to show how many records
> collected so far.

If you want an accurate number without scanning the table, you'll need to use
a trigger to keep a count up to date.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sezai YILMAZ 2004-01-14 13:25:56 Re: Huge Data
Previous Message Richard Huxton 2004-01-14 13:18:45 Re: Huge Data