Re: query speed depends on lifetime of frozen db?

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Andriy Tkachuk <ant(at)imt(dot)com(dot)ua>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: query speed depends on lifetime of frozen db?
Date: 2002-09-27 10:03:19
Message-ID: 20020927100319.GC21756@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Fri, Sep 27, 2002 at 12:50:14PM +0300, Andriy Tkachuk wrote:
> On Fri, 27 Sep 2002, Martijn van Oosterhout wrote:
>
> > On Fri, Sep 27, 2002 at 11:49:08AM +0300, Andriy Tkachuk wrote:
> > > On Fri, 27 Sep 2002, Shridhar Daithankar wrote:
> > > > was that vacuum full or vacuum analyze? Vacuum full should help in this case..
> > >
> > > it was full with analize
> > > That's what i want to say, that this is very strange for me that vacuum
> > > not helpfull in this situation!
> >
> > Ok, can you post the result of VACUUM FULL VERBOSE ANALYSE ?

<snip>

Um, from the looks of that output, it seems your entire DB is less than 2MB,
right? So it should be totally cached. So it must be your query at fault.
What is the output of EXPLAIN ANALYSE <query>;

--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> There are 10 kinds of people in the world, those that can do binary
> arithmetic and those that can't.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andriy Tkachuk 2002-09-27 10:04:28 Re: query speed depends on lifetime of frozen db?
Previous Message Ben-Nes Michael 2002-09-27 10:00:38 problems with char 247

Browse pgsql-hackers by date

  From Date Subject
Next Message Andriy Tkachuk 2002-09-27 10:04:28 Re: query speed depends on lifetime of frozen db?
Previous Message Andriy Tkachuk 2002-09-27 09:50:14 Re: query speed depends on lifetime of frozen db?