pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pavan Deolasee <pavan.deolasee@gmail.com>
To: Gábor Farkas <gabor@nekomancer.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: select count(*) performance (vacuum did not help)
Date: Mon, 24 Sep 2007 19:53:49 +0530
Message-ID: <2e78013d0709240723w7dc0379ai7f8b323f45439b15@mail.gmail.com> (raw)
In-Reply-To: <46F7C494.1050604@nekomancer.net>
References: <46F7C494.1050604@nekomancer.net>

On 9/24/07, Gábor Farkas <gabor@nekomancer.net> wrote:
>
>
> INFO:  "main_activity": found 41001 removable, 11672 nonremovable row
> versions in 160888 pages
> DETAIL:  0 dead row versions cannot be removed yet.
> There were 14029978 unused item pointers.
> 0 pages are entirely empty.
> CPU 5.53s/1.71u sec elapsed 227.35 sec.
> INFO:  analyzing "public.main_activity"
> INFO:  "main_activity": 160888 pages, 4500 rows sampled, 4594 estimated
> total rows
>
>
Looking at the number of rows vs number of pages, ISTM that VACUUM FULL
should help you.

Thanks,
Pavan

-- 
Pavan Deolasee
EnterpriseDB     http://www.enterprisedb.com

view thread (9+ messages)  latest in thread

Message-ID: <2e78013d0709240723w7dc0379ai7f8b323f45439b15@mail.gmail.com>
Permalink:  ../2e78013d0709240723w7dc0379ai7f8b323f45439b15@mail.gmail.com/
Also on:    postgresql.org/message-id/2e78013d0709240723w7dc0379ai7f8b323f45439b15@mail.gmail.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: pavan.deolasee@gmail.com, gabor@nekomancer.net
  Subject: Re: select count(*) performance (vacuum did not help)
  In-Reply-To: <2e78013d0709240723w7dc0379ai7f8b323f45439b15@mail.gmail.com>
  References: <46F7C494.1050604@nekomancer.net> <2e78013d0709240723w7dc0379ai7f8b323f45439b15@mail.gmail.com>

* 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