From: Eugene Fokin <elf@solvo.ru>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Victor Yegorov <viktors.jegorovs@nordlb.lv>
Cc: pgsql-performance@postgresql.org
Subject: Re: 7.3.2 vs 7.1.2
Date: Wed, 21 May 2003 11:19:03 +0400
Message-ID: <20030521071903.GC4664@solvo.ru> (raw)
In-Reply-To: <29699.1053448821@sss.pgh.pa.us>
References: <20030520122838.GA28654@solvo.ru>
<20030520130913.GM1976@nordlb.lv>
<20030520132842.GA29262@solvo.ru>
<20030520140713.GN1976@nordlb.lv>
<29699.1053448821@sss.pgh.pa.us>
On Tue, May 20, 2003 at 12:40:21PM -0400, Tom Lane wrote:
>
> [...skipped...]
>
> I'm not sure whether selecting the count from this view is really all
> that important to Eugene, but if it is he could make an alternate view
> that has the same FROM clause and nothing interesting in its select
> list, and then count that.
>
This is the one sample from the working system for which I'm trying
to upgrade the database.
And you're right. I've removed all subqueries from select list and I've
got original 5 seconds ! After that I tried to add one subquery back (the
simpliest one) and got the same 40-50 seconds again !
--
Eugene Fokin
SOLVO Ltd. Company
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: elf@solvo.ru, tgl@sss.pgh.pa.us, viktors.jegorovs@nordlb.lv
Subject: Re: 7.3.2 vs 7.1.2
In-Reply-To: <20030521071903.GC4664@solvo.ru>
References: <20030520122838.GA28654@solvo.ru> <20030520130913.GM1976@nordlb.lv> <20030520132842.GA29262@solvo.ru> <20030520140713.GN1976@nordlb.lv> <29699.1053448821@sss.pgh.pa.us> <20030521071903.GC4664@solvo.ru>
* 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