cost of query done - recorded anywhere?

Поиск
Список
Период
Сортировка
От Massa, Harald Armin
Тема cost of query done - recorded anywhere?
Дата
Msg-id e3e180dc0910080756lbb88606x9619a4b8dc83c011@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
I know that is possible via
EXPLAIN and  EXPLAIN ANALYZE
to get planned and actual time for one query - but no results.

I am looking for information like:

"to do this query, I had to":

- read x <units> from disk/os.cache
- get n <units> from my own buffers
- do n1 comparisons of strings
- do n2 comparisons of inet
- sort n3 tuples via xxx-sort
- write z pages to disk
...
And I want to use the results as normal - so to say, have a logging "what is the database really doing with all my hardwar" during normal operations.

Are those information available somewhere? Something like pg_buffercache on steroids.
Something like the windows performance-monitor is logging for the whole system.

Harald


--
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Spielberger Straße 49
70435 Stuttgart
0173/9409607
no fx, no carrier pigeon
-
%s is too gigantic of an industry to bend to the whims of reality

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

Предыдущее
От: Mitesh51
Дата:
Сообщение: How to reduce WAL file Size
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: Query inside RTF