Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group