Re: Optimizing further - Mailing list pgsql-general

From Tom Lane
Subject Re: Optimizing further
Date
Msg-id 1988.1024022129@sss.pgh.pa.us
Whole thread Raw
In response to Optimizing further  (Ken Williams <ken@mathforum.org>)
Responses Re: Optimizing further  (Ken Williams <ken@mathforum.org>)
List pgsql-general
Ken Williams <ken@mathforum.org> writes:
> When I run the query, it takes a really long time (10 seconds)
> the first time I execute it, and then returns instantly the
> second time.

That sounds like a caching issue.  How much RAM do you have,
what have you got shared_buffers set to, etc?

            regards, tom lane

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: read this and puke
Next
From: Ken Williams
Date:
Subject: Re: Optimizing further