Re: Index only select count(*)

From: Alban Hertroys <haramrae(at)gmail(dot)com>
To: Toni Helenius <Toni(dot)Helenius(at)syncrontech(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Index only select count(*)
Date: 2013-10-07 09:31:21
Message-ID: 19541E51-23B8-41E1-B79D-2A5864A4B28D@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Oct 7, 2013, at 11:23, Toni Helenius <Toni(dot)Helenius(at)syncrontech(dot)com> wrote:

> The output of analyze:
> "Aggregate (cost=18240.50..18240.51 rows=1 width=0)"
> " -> Seq Scan on min1_009 (cost=0.00..18108.60 rows=52760 width=0)"

That's the output of Explain, not of Explain Analyze. The latter has actual measurements to go with the estimated costs, which gives a lot more insight.

Alban Hertroys
--
If you can't see the forest for the trees,
cut the trees and you'll find there is no forest.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Toni Helenius 2013-10-07 09:34:08 Re: Index only select count(*)
Previous Message Toni Helenius 2013-10-07 09:23:59 Index only select count(*)