Re: 9.1 got really fast ;)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 9.1 got really fast ;)
Дата
Msg-id 14474.1318866274@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 9.1 got really fast ;)  (Alban Hertroys <haramrae@gmail.com>)
Ответы Re: 9.1 got really fast ;)
Re: 9.1 got really fast ;)
Список pgsql-general
Alban Hertroys <haramrae@gmail.com> writes:
> On 17 October 2011 17:25, Steve Crawford <scrawford@pinpointresearch.com> wrote:
>> Even stand-alone statements take place within a transaction - just not an
>> explicit one.

> I doubt that more than 2.368 ms passed between the start of a
> transaction and the stand-alone statement it's wrapping though. Not
> impossible, but clock skew seems more likely to me.

We take some pains to ensure that the same gettimeofday reading is used
for both a transaction's start timestamp and the statement timestamp of
its first statement.  So I'm not sure what's up with Scott's report.
But in the OP's EXPLAIN case, that's the difference between successive
readings taken within the EXPLAIN code, so it's hard to see how to
explain it in any other way than "your system clock went backwards".
Possibly the underlying cause is clock skew between different processors
on a multiprocessor machine?

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: plpgsql; execute query inside exists
Следующее
От: Szymon Guz
Дата:
Сообщение: Re: index bloat question