From: Tom Lane <tgl@sss.pgh.pa.us>
To: Sriram Dandapani <sdandapani@counterpane.com>
Cc: Pgsql-Performance \(E-mail\) <pgsql-performance@postgresql.org>
Subject: Re: creating of temporary table takes very long
Date: Mon, 17 Apr 2006 15:28:38 -0400
Message-ID: <4409.1145302118@sss.pgh.pa.us> (raw)
In-Reply-To: <6992E470F12A444BB787B5C937B9D4DF0406A629@ca-mail1.cis.local>
References: <6992E470F12A444BB787B5C937B9D4DF0406A629@ca-mail1.cis.local>
"Sriram Dandapani" <sdandapani@counterpane.com> writes:
> [ query snipped ]
> This takes forever (I have to cancel the statement each time)
How long did you wait?
> c_chkpfw_hr_tr has same indexes as chkpfw_tr_hr_dimension
Which would be what exactly? What does EXPLAIN show for that SELECT?
(I won't make you post EXPLAIN ANALYZE, if you haven't got the patience
to let it finish, but you should at least provide EXPLAIN results.)
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, sdandapani@counterpane.com
Subject: Re: creating of temporary table takes very long
In-Reply-To: <4409.1145302118@sss.pgh.pa.us>
* 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