pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: Postgresql Performance <pgsql-performance@postgresql.org>
Subject: Re: is it possible to make this faster?
Date: Fri, 26 May 2006 13:55:15 -0400
Message-ID: <27570.1148666115@sss.pgh.pa.us> (raw)
In-Reply-To: <b42b73150605261046w78e48f72j5f080db0e4ee5370@mail.gmail.com>
References: <b42b73150605251307id0e7998td4a3693f0d456f88@mail.gmail.com>
	<15919.1148590347@sss.pgh.pa.us>
	<16119.1148591497@sss.pgh.pa.us>
	<b42b73150605252147h218ec25ci183283334731adbd@mail.gmail.com>
	<25668.1148653358@sss.pgh.pa.us>
	<b42b73150605260956h30a960efl39d75601d5767747@mail.gmail.com>
	<27137.1148663259@sss.pgh.pa.us>
	<b42b73150605261046w78e48f72j5f080db0e4ee5370@mail.gmail.com>

"Merlin Moncure" <mmoncure@gmail.com> writes:
> can't thing of anything, I'm running completely stock, did you do a
> optimize table foo?

Nope, never heard of that before.  But I did it, and it doesn't seem to
have changed my results at all.

> 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?

			regards, tom lane



view thread (25+ messages)  latest in thread

Message-ID: <27570.1148666115@sss.pgh.pa.us>
Permalink:  ../27570.1148666115@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27570.1148666115@sss.pgh.pa.us

 · 

reply

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, mmoncure@gmail.com
  Subject: Re: is it possible to make this faster?
  In-Reply-To: <27570.1148666115@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