Re: Performance question

From: "Tille, Andreas" <TilleA(at)rki(dot)de>
To:
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Performance question
Date: 2001-09-11 11:59:38
Message-ID: Pine.LNX.4.33.0109111358040.4709-100000@wr-linux02.rki.ivbb.bund.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 10 Sep 2001, Einar Karttunen wrote:

> ...
> temp=# CREATE INDEX hfia ON Hauptdaten_Fall (IstAktuell);
> CREATE
> temp=# explain SELECT MeldeKategorie,count(ID) FROM Hauptdaten_Fall
> temp-# WHERE IstAktuell=20 GROUP BY MeldeKategorie
> temp-# ORDER BY MeldeKategorie;
> NOTICE: QUERY PLAN:
>
> Aggregate (cost=8.30..8.35 rows=1 width=16)
> -> Group (cost=8.30..8.33 rows=10 width=16)
> -> Sort (cost=8.30..8.30 rows=10 width=16)
> -> Index Scan using hfia on hauptdaten_fall (cost=0.00..8.14 rows=10 width=16)
>
Thanks for the hint but the index exists but is not used (see my previous
mail with a detailed description).

Kind regards

Andreas.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Culley Harrelson 2001-09-11 12:06:44 Re: Fwd: Re: unicode in 7.1
Previous Message Tille, Andreas 2001-09-11 11:56:16 Re: Performance question