Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: Optimizing further - Mailing list pgsql-general

From Tom Lane
Subject Re: Optimizing further
Date
Msg-id [email protected]
Whole thread Raw
In response to Optimizing further  (Ken Williams <[email protected]>)
Responses Re: Optimizing further
List pgsql-general
Ken Williams <[email protected]> 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