From: Ryszard Lach <siaco@autograf.pl>
To: pgsql-performance@postgresql.org
Subject: Re: 7.3 vs 7.2 - different query plan, bad performance
Date: Mon, 16 Jun 2003 15:55:21 +0200
Message-ID: <20030616135521.GO1734@siaco.id.pl> (raw)
In-Reply-To: <isgrevcc4r7h887q8hhe3crmiha8vrv9fu@4ax.com>
References: <20030613184506.GE21614@siaco.id.pl>
<ugipevc89eaqk90s23n8kd2iut5uvskpk4@4ax.com>
<20030616063850.GA31813@siaco.id.pl>
<373rev0fotgpq2osvlldf41b8flambulk9@4ax.com>
<20030616114147.GJ1734@siaco.id.pl>
<isgrevcc4r7h887q8hhe3crmiha8vrv9fu@4ax.com>
On Mon, Jun 16, 2003 at 03:24:52PM +0200, Manfred Koizar wrote:
> On Mon, 16 Jun 2003 13:41:47 +0200, Ryszard Lach <siaco@autograf.pl>
> wrote:
> >On Mon, Jun 16, 2003 at 12:31:08PM +0200, Manfred Koizar wrote:
> >> EXPLAIN ANALYSE SELECT * FROM v_c;
>
> >siaco=# explain analyze select count(*) from v_c;
> ^^^^^^ ^
> See the difference? I bet if you
> EXPLAIN ANALYSE SELECT * FROM v_c;
> you get a much longer runtime.
Yes, indeed.
> BTW, did the index on a.parent_id help? In my test it improved
> runtime from 59449.71 msec to 1203.26 msec (SELECT * with Postgres
> 7.2).
Oh yeah... Thanks a lot once more.
Richard.
--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: siaco@autograf.pl
Subject: Re: 7.3 vs 7.2 - different query plan, bad performance
In-Reply-To: <20030616135521.GO1734@siaco.id.pl>
References: <20030613184506.GE21614@siaco.id.pl> <ugipevc89eaqk90s23n8kd2iut5uvskpk4@4ax.com> <20030616063850.GA31813@siaco.id.pl> <373rev0fotgpq2osvlldf41b8flambulk9@4ax.com> <20030616114147.GJ1734@siaco.id.pl> <isgrevcc4r7h887q8hhe3crmiha8vrv9fu@4ax.com> <20030616135521.GO1734@siaco.id.pl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox