pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Teran <david.teran@cluster9.com>
Cc: Stephan Szabo <sszabo@megazone.bigpanda.com>
Cc: PgSQL Performance ML <pgsql-performance@postgresql.org>
Subject: Re: another query optimization question
Date: Fri, 30 Jan 2004 17:40:29 -0500
Message-ID: <20419.1075502429@sss.pgh.pa.us> (raw)
In-Reply-To: <07461B1A-5370-11D8-9392-000A95A6F0DC@cluster9.com>
References: <32DEEB93-534E-11D8-9392-000A95A6F0DC@cluster9.com>
	<20040130100845.E58632@megazone.bigpanda.com>
	<F8B3002A-5350-11D8-9392-000A95A6F0DC@cluster9.com>
	<17545.1075490366@sss.pgh.pa.us>
	<07461B1A-5370-11D8-9392-000A95A6F0DC@cluster9.com>

David Teran <david.teran@cluster9.com> writes:
>> I recall that we saw similar symptoms once before, and I thought we'd
>> fixed it, but I didn't find any relevant mentions in the CVS logs.
>> 
>> What version are you running, exactly?

> 7.4.1, build from sourcecode. Running on MacOS X Server 10.3.2, dual G5 
> with 3.5 GB RAM

Interesting.  I have recollected where we saw this before: 
http://archives.postgresql.org/pgsql-hackers/2003-11/msg01528.php
Apparently gettimeofday() has a glitch on some BSD releases.  OS X is
a BSD derivative and it's not so surprising if it has it too.

May I suggest that you try the test program given here:
http://archives.postgresql.org/pgsql-hackers/2003-11/msg01546.php
and file a bug report with Apple if it shows any out-of-order results?

I am fairly certain that I tried that test program when I devised it
on my own OS X machine, and couldn't get a failure.  Maybe it depends
on your hardware (hm, could dual CPUs be the key factor)?

			regards, tom lane



view thread (12+ messages)  latest in thread

Message-ID: <20419.1075502429@sss.pgh.pa.us>
Permalink:  ../20419.1075502429@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20419.1075502429@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, david.teran@cluster9.com, sszabo@megazone.bigpanda.com
  Subject: Re: another query optimization question
  In-Reply-To: <20419.1075502429@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