pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Edoardo Ceccarelli <eddy@axa.it>
To: 'David F. Skoll' <dfs@roaringpenguin.com>
To: 'Edoardo Ceccarelli' <eddy@axa.it>
Cc: pgsql-admin@postgresql.org
Subject: R: R: slow seqscan after vacuum analize
Date: Thu, 5 Feb 2004 03:18:31 +0100
Message-ID: <2s28b9$kqpmo@mailr-1.tiscali.it> (raw)
In-Reply-To: <Pine.LNX.4.58.0402042115370.6678@shishi.roaringpenguin.com>

Yes, you are right but it wasn't the case this time, I have run the explain plenty of
times with same results. I think that the reason was that I made a simple VACUUM,
after a VACUUM FULL ANALYZE (1h!!) things are ok 

Best Regards
Edoardo

> -----Messaggio originale-----
> Da: David F. Skoll [mailto:dfs@roaringpenguin.com] 
> Inviato: giovedì 5 febbraio 2004 3.17
> A: Edoardo Ceccarelli
> Cc: pgsql-admin@postgresql.org
> Oggetto: Re: R: [ADMIN] slow seqscan after vacuum analize
> 
> On Thu, 5 Feb 2004, Edoardo Ceccarelli wrote:
> 
> > Things are worst only for seqscan, when it uses indexscan 
> timing is good.
> 
> It might just be that running VACUUM flushed the operating 
> system's buffer cache.
> 
> I always try running two or three EXPLAIN ANALYZE's in a row 
> for the same query.  Usually, the first one takes much longer 
> than the rest.
> 
> Regards,
> 
> David.
> 
> 




view thread (9+ messages)  latest in thread

Message-ID: <2s28b9$kqpmo@mailr-1.tiscali.it>
Permalink:  ../2s28b9$kqpmo@mailr-1.tiscali.it/
Also on:    postgresql.org/message-id/2s28b9$kqpmo@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@axa.it, dfs@roaringpenguin.com
  Subject: Re: R: R: slow seqscan after vacuum analize
  In-Reply-To: <2s28b9$kqpmo@mailr-1.tiscali.it>
  References: <Pine.LNX.4.58.0402042115370.6678@shishi.roaringpenguin.com> <2s28b9$kqpmo@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