From: | "Merlin Moncure" <mmoncure(at)gmail(dot)com> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "Postgresql Performance" <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: is it possible to make this faster? |
Date: | 2006-05-26 19:40:22 |
Message-ID: | b42b73150605261240k64f3cf3ej5c2feebbe9c67c89@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
On 5/26/06, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > mysql> select user_id, acc_id, max(sample_date) from usage_samples group by 1,2
> > 939 rows in set (0.07 sec)
>
> 0.07 seconds is not impossibly out of line with my result of 0.15 sec,
> maybe your machine is just 2X faster than mine. This is a 2.8GHz dual
> Xeon EM64T, what are you testing? You said "less than 20 msec" before,
> what was that on?
600 mhz p3: 70 ms, 1100 ms slow case
1600 mhz p4: 10-30ms (mysql timer not very precise) 710ms slow case
quad opteron 865: 0 :-)
dual p3 1133 Mhz xeon, mysql 4.0.16: 500 ms
using steinar's 'substitute group by' for pg I get 40ms on the p3 and
low times on all else. your time of 150 ms is looking like the slow
case on my results.
merlin
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-05-26 20:44:46 | Re: is it possible to make this faster? |
Previous Message | Worky Workerson | 2006-05-26 19:04:59 | Re: Bulk loading/merging |