From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Phoenix Kiula" <phoenix(dot)kiula(at)gmail(dot)com> |
Cc: | "Richard Broersma Jr" <rabroersma(at)yahoo(dot)com>, "Alban Hertroys" <alban(at)magproductions(dot)nl>, "Postgres General" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Statistics collection question |
Date: | 2007-09-03 19:38:20 |
Message-ID: | 24631.1188848300@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
"Phoenix Kiula" <phoenix(dot)kiula(at)gmail(dot)com> writes:
> On 04/09/07, Richard Broersma Jr <rabroersma(at)yahoo(dot)com> wrote:
>> Thats odd, I wonder why the EXPLAIN ANALYZE time id some much less that the logged select
>> statement times?
> Because the statement has been executed and is in the cache.
That answer is way too flippant. In particular it doesn't explain your
repeated 80sec queries --- you should have enough memory in that thing
to be caching a fair amount of your data.
I'm wondering about some transaction taking exclusive lock on the table
and sitting on it for a minute or so, and also about network problems
delaying transmission of data to the client.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-09-03 19:40:09 | Re: Vacuum process idle but hogging memory 8.2.4 |
Previous Message | Andrej Ricnik-Bay | 2007-09-03 18:00:16 | Re: Data Warehousing |