pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oleg Lebedev <olebedev@waterford.org>
To: Postgres SQL Mailing List <pgsql-sql@postgresql.org>
Subject: won't drop the view
Date: Fri, 14 Dec 2001 19:28:20 -0700
Message-ID: <3C1AB544.9BD4D05A@waterford.org> (raw)

Hi everybody,
I just vacuumed and vacuumed analyzed my database. Now, I am trying to
execute a view, which was perfectly working before, but it seems to be
very slow. It was sitting there for 10 mins before I cancelled it.
Usually it was taking on the order of 5 secs to execute the view.
I just recreated the view, but the problem still persists.
Here is what EXPLAIN tells me:
EXPLAIN select * from progress_report;
Subquery Scan progress_report  (cost=16386.56..16386.56 rows=2
width=128)
  ->  Sort  (cost=16386.56..16386.56 rows=2 width=128)
        ->  Nested Loop  (cost=16299.45..16386.55 rows=2 width=128)

How can I "restore" the "before-the-vacuum" performance?
thanks,

Oleg




view thread (12+ messages)  latest in thread

Message-ID: <3C1AB544.9BD4D05A@waterford.org>
Permalink:  ../3C1AB544.9BD4D05A@waterford.org/
Also on:    postgresql.org/message-id/3C1AB544.9BD4D05A@waterford.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: olebedev@waterford.org
  Subject: Re: won't drop the view
  In-Reply-To: <3C1AB544.9BD4D05A@waterford.org>

* 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