Re: Autotuning Group Commit

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Autotuning Group Commit
Date: 2005-01-22 21:03:06
Message-ID: 25251.1106427786@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Simon Riggs <simon(at)2ndquadrant(dot)com> writes:
> Each transaction commit gets the current time(NULL) immediately before
> it commits.

time() has 1 second resolution and ergo is utterly useless for this.

gettimeofday() may have sufficient resolution, but the resolution is
not specified anywhere.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-01-22 21:19:16 Re: Much Ado About COUNT(*)
Previous Message Tom Lane 2005-01-22 20:57:22 Re: ARC patent