Re: creating of temporary table takes very long

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Sriram Dandapani" <sdandapani(at)counterpane(dot)com>
Cc: "Pgsql-Performance \(E-mail\)" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: creating of temporary table takes very long
Date: 2006-04-17 19:28:38
Message-ID: 4409.1145302118@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Sriram Dandapani" <sdandapani(at)counterpane(dot)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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Sriram Dandapani 2006-04-17 19:48:57 Re: creating of temporary table takes very long
Previous Message Sriram Dandapani 2006-04-17 18:52:15 Re: creating of temporary table takes very long