Re: [PERFORM] EXPLAIN ANALYZE on 8.2

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: [PERFORM] EXPLAIN ANALYZE on 8.2
Дата
Msg-id 87irgdiccg.fsf@enterprisedb.com
обсуждение исходный текст
Ответ на Re: [PERFORM] EXPLAIN ANALYZE on 8.2  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: [PERFORM] EXPLAIN ANALYZE on 8.2  (Martijn van Oosterhout <kleptog@svana.org>)
Re: [PERFORM] EXPLAIN ANALYZE on 8.2  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
"Martijn van Oosterhout" <kleptog@svana.org> writes:

> BTW, doing gettimeofday() without kernel entry is not really possible.

That's too strong a conclusion. Doing gettimeofday() without some help from
the kernel isn't possible but it isn't necessary to enter the kernel for each
call.

There are various attempts at providing better timing infrastructure at low
overhead but I'm not sure what's out there currently. I expect to do this what
we'll have to do is invent a pg_* abstraction that has various implementations
on different architectures. On Solaris it can use DTrace internally, on Linux
it might have something else (or more likely several different options
depending on the age and config options of the kernel). 

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com


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

Предыдущее
От: "Albe Laurenz"
Дата:
Сообщение: Re: unixware and --with-ldap
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: unixware and --with-ldap