From: | Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: postmaster core dump |
Date: | 2005-09-19 19:07:34 |
Message-ID: | 20050919190734.GE11141@quartz.itdept.newn.cam.ac.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Sep 19, 2005 at 06:12:54PM +0100, Patrick Welche wrote:
> #15 0x081a4c2f in exec_simple_query (
> query_string=0x834501c "select timesliced, count(stats_id) from trans left j
I just truncated one line early.. the query was:
# explain select timesliced, count(stats_id) from trans left join stats on stats_id=stats.id group by timesliced;
QUERY PLAN
-------------------------------------------------------------------------------
HashAggregate (cost=123718.66..123738.61 rows=1596 width=8)
-> Hash Left Join (cost=4143.88..115550.16 rows=1633701 width=8)
Hash Cond: ("outer".stats_id = "inner".id)
-> Seq Scan on trans (cost=0.00..61341.01 rows=1633701 width=4)
-> Hash (cost=3292.30..3292.30 rows=123430 width=8)
-> Seq Scan on stats (cost=0.00..3292.30 rows=123430 width=8)
(6 rows)
Cheers,
Patrick
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-09-19 19:50:47 | Re: DISTINCT vs. GROUP BY |
Previous Message | Neil Conway | 2005-09-19 19:06:29 | Re: Beta2 Wrap Up ... |