pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Edoardo Ceccarelli <eddy@axa.it>
To: 'Christopher Browne' <cbbrowne@acm.org>
To: pgsql-admin@postgresql.org
Subject: R: R: slow seqscan after vacuum analize
Date: Thu, 5 Feb 2004 18:00:52 +0100
Message-ID: <2s28b9$l7fca@mailr-1.tiscali.it> (raw)
In-Reply-To: <m3fzdpmzv7.fsf@wolfe.cbbrowne.com>

> But if the Original Poster is encountering that the database 
> is doing Seq Scans when it would be better to do an Index 
> Scan, that is a separate problem, and focusing on the VACUUM 
> may distract from the _real_ problem...
> --

I have only noticed that after a VACUUM ANALYZE of the db the time of a seq scan (when
a seqscan is required) has increased by a factor of ten, this is my primary focus,
otherwise I would have posted something about "my select is really slow ..."

To be more precise: 
Given a query that HAS to be executed with a seqscan I have noticed an increase in
time comparing before and after the vacuum.


Anyway I am working to create the same situation again to post some output of the
verbose option of the vacuum.

Edoardo




view thread (9+ messages)  latest in thread

Message-ID: <2s28b9$l7fca@mailr-1.tiscali.it>
Permalink:  ../2s28b9$l7fca@mailr-1.tiscali.it/
Also on:    postgresql.org/message-id/2s28b9$l7fca@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, cbbrowne@acm.org
  Subject: Re: R: R: slow seqscan after vacuum analize
  In-Reply-To: <2s28b9$l7fca@mailr-1.tiscali.it>
  References: <m3fzdpmzv7.fsf@wolfe.cbbrowne.com> <2s28b9$l7fca@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