pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Edoardo Ceccarelli <eddy@expot.it>
To: 'Sam Barnett-Cormack' <s.barnett-cormack@lancaster.ac.uk>
Cc: 'scott.marlowe' <scott.marlowe@ihs.com>
Cc: pgsql-admin@postgresql.org
Subject: R: R: slow seqscan after vacuum analize
Date: Thu, 5 Feb 2004 03:10:13 +0100
Message-ID: <2s28b9$kqpdm@mailr-1.tiscali.it> (raw)
In-Reply-To: <Pine.LNX.4.50.0402050055510.13707-100000@short.lancs.ac.uk>

> > AFTER (actual db)
> > portaportese=# explain analyze SELECT * FROM utente where 
> luogorilasciodoc='ciao';
> >                                                 QUERY PLAN
> >
> > 
> ----------------------------------------------------------------------
> > ----------------
> > --------------------
> >  Seq Scan on utente  (cost=0.00..92174.50 rows=3 width=724) (actual
> > time=705.41..6458.19 rows=15 loops=1)
> >    Filter: (luogorilasciodoc = 'ciao'::bpchar)  Total 
> runtime: 6458.29 
> > msec
> > (3 rows

After a VACUUM FULL ANALYZE:

portaportese=# explain analyze SELECT * FROM utente where luogorilasciodoc='ciao';
                                                QUERY PLAN

--------------------------------------------------------------------------------------
--------------------
 Seq Scan on utente  (cost=0.00..41329.21 rows=154 width=724) (actual
time=91.61..751.28 rows=15 loops=1)
   Filter: (luogorilasciodoc = 'ciao'::bpchar)
 Total runtime: 751.35 msec


Things are better now! :) it surely was because i have used the normal vacuum...
 





view thread (9+ messages)  latest in thread

Message-ID: <2s28b9$kqpdm@mailr-1.tiscali.it>
Permalink:  ../2s28b9$kqpdm@mailr-1.tiscali.it/
Also on:    postgresql.org/message-id/2s28b9$kqpdm@mailr-1.tiscali.it

 · 

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-admin@postgresql.org
  Cc: eddy@expot.it, s.barnett-cormack@lancaster.ac.uk, scott.marlowe@ihs.com
  Subject: Re: R: R: slow seqscan after vacuum analize
  In-Reply-To: <2s28b9$kqpdm@mailr-1.tiscali.it>
  References: <Pine.LNX.4.50.0402050055510.13707-100000@short.lancs.ac.uk> <2s28b9$kqpdm@mailr-1.tiscali.it>

* 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