Re: Statistics collection question - Mailing list pgsql-general

From Phoenix Kiula
Subject Re: Statistics collection question
Date
Msg-id e373d31e0709031019x1228d07ds7ed5f505a9112b2c@mail.gmail.com
Whole thread Raw
In response to Re: Statistics collection question  (Richard Broersma Jr <rabroersma@yahoo.com>)
Responses Re: Statistics collection question  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On 04/09/07, Richard Broersma Jr <rabroersma@yahoo.com> wrote:
> --- Phoenix Kiula <phoenix.kiula@gmail.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.

pgsql-general by date:

Previous
From: Richard Broersma Jr
Date:
Subject: Re: Statistics collection question
Next
From: "Andrej Ricnik-Bay"
Date:
Subject: Re: Data Warehousing