Re: select count(*) from a large table is very slow - Mailing list pgsql-admin

From Jonah H. Harris
Subject Re: select count(*) from a large table is very slow
Date
Msg-id 36e682920705180700n7a6df052pfbbc19ba185886f8@mail.gmail.com
Whole thread Raw
In response to Re: select count(*) from a large table is very slow  ("Daniel Cristian Cruz" <danielcristian@gmail.com>)
List pgsql-admin
On 5/18/07, Daniel Cristian Cruz <danielcristian@gmail.com> wrote:
> Oops... INSERT or DELETE... :)

Heh, yeah... doh!

> And remember that if using TRUNCATE, it will not run your trigger and
> you will need to reset the counter manually.

Correct.

--
Jonah H. Harris, Software Architect | phone: 732.331.1324
EnterpriseDB Corporation            | fax: 732.331.1301
33 Wood Ave S, 3rd Floor            | jharris@enterprisedb.com
Iselin, New Jersey 08830            | http://www.enterprisedb.com/

pgsql-admin by date:

Previous
From: "Daniel Cristian Cruz"
Date:
Subject: Re: select count(*) from a large table is very slow
Next
From: "Joshua D. Drake"
Date:
Subject: Re: cross database references...