Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time - Mailing list pgsql-admin

From Mark Felder
Subject Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time
Date
Msg-id op.vo7gzdoo34t2sn@tech304
Whole thread Raw
In response to Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time
List pgsql-admin
On Wed, 12 Jan 2011 10:45:20 -0600, Tom Lane <tgl@sss.pgh.pa.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

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time
Next
From: Alex Hunsaker
Date:
Subject: Re: Postgresql 9.0.2 explain analyze very slow (10x), compared to actual query time