Re: Statistics collection question

From: "Phoenix Kiula" <phoenix(dot)kiula(at)gmail(dot)com>
To: "Richard Broersma Jr" <rabroersma(at)yahoo(dot)com>
Cc: "Alban Hertroys" <alban(at)magproductions(dot)nl>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Postgres General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Statistics collection question
Date: 2007-09-03 17:19:04
Message-ID: e373d31e0709031019x1228d07ds7ed5f505a9112b2c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 04/09/07, Richard Broersma Jr <rabroersma(at)yahoo(dot)com> wrote:
> --- Phoenix Kiula <phoenix(dot)kiula(at)gmail(dot)com> wrote:
> > LOG: duration: 93473.282 ms statement: select t_info, dstats, id
> > from trades where t_alias = '17huv' and status = 'Y'
> >
> > -----------------------
> >
> > Index Scan using trades_unique_t_alias on trades (cost=0.00..3.41
>
> > Time: 2.990 ms
>
>
> 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrej Ricnik-Bay 2007-09-03 18:00:16 Re: Data Warehousing
Previous Message Richard Broersma Jr 2007-09-03 16:56:28 Re: Statistics collection question