Re: Autotuning Group Commit - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Autotuning Group Commit
Date
Msg-id 25251.1106427786@sss.pgh.pa.us
Whole thread Raw
In response to Autotuning Group Commit  (Simon Riggs <simon@2ndquadrant.com>)
List pgsql-hackers
Simon Riggs <simon@2ndquadrant.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: ARC patent
Next
From: Bruce Momjian
Date:
Subject: Re: Much Ado About COUNT(*)