pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Detlef Rudolph <runic@gmx.de>
To: pgsql-performance@postgresql.org
Subject: Re: select count(*) performance
Date: Sat, 11 Aug 2007 17:54:41 +0200
Message-ID: <5i64cvF3mnmcsU1@mid.individual.net> (raw)
In-Reply-To: <1186578085.034463.116030@q75g2000hsh.googlegroups.com>
References: <1186578085.034463.116030@q75g2000hsh.googlegroups.com>

Hello Group,

I've tried the VACUUM ANALYSE, that doesn't help
much, but VACUUM FULL improves Performance down
from about 40 secs to 8. I think in future I would
use the reltuples value from pg_class for the table.

Thanks a lot for your answers and a good Sunday,
Det



view thread (9+ messages)  latest in thread

Message-ID: <5i64cvF3mnmcsU1@mid.individual.net>
Permalink:  ../5i64cvF3mnmcsU1@mid.individual.net/
Also on:    postgresql.org/message-id/5i64cvF3mnmcsU1@mid.individual.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: runic@gmx.de
  Subject: Re: select count(*) performance
  In-Reply-To: <5i64cvF3mnmcsU1@mid.individual.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox