Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time

From: "Mark Felder" <feld(at)feld(dot)me>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time
Date: 2011-01-12 17:17:28
Message-ID: op.vo7gzdoo34t2sn@tech304
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, 12 Jan 2011 10:45:20 -0600, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> The short of it is that cheap motherboards tend to provide cheap clock
> hardware that takes about a microsecond to read.

I'm not sure how gettimeofday() works, but is there a slight chance this
could be alleviated by choosing a different kern.timecounter.hardware
option?

kern.timecounter.choice: TSC(800) HPET(900) ACPI-fast(1000) i8254(0)
dummy(-1000000)
kern.timecounter.hardware: ACPI-fast

Or does the kernel timer stuff have nothing to do with gettimeofday()?

Regards,

Mark

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Alex Hunsaker 2011-01-12 19:17:00 Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time
Previous Message Tom Lane 2011-01-12 16:45:20 Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time