R: R: slow seqscan after vacuum analize

From: "Edoardo Ceccarelli" <eddy(at)expot(dot)it>
To: "'Sam Barnett-Cormack'" <s(dot)barnett-cormack(at)lancaster(dot)ac(dot)uk>
Cc: "'scott(dot)marlowe'" <scott(dot)marlowe(at)ihs(dot)com>, <pgsql-admin(at)postgresql(dot)org>
Subject: R: R: slow seqscan after vacuum analize
Date: 2004-02-05 02:10:13
Message-ID: 2s28b9$kqpdm@mailr-1.tiscali.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> > 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...

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message David F. Skoll 2004-02-05 02:17:02 Re: R: slow seqscan after vacuum analize
Previous Message Edoardo Ceccarelli 2004-02-05 01:06:53 R: R: slow seqscan after vacuum analize