Re: Autotuning Group Commit

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Autotuning Group Commit
Дата
Msg-id 25251.1106427786@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Autotuning Group Commit  (Simon Riggs <simon@2ndquadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ARC patent
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Much Ado About COUNT(*)