Re: How to know detailed information about HOT(Heap-Only Tuples)?

Поиск
Список
Период
Сортировка
От Luca Ferrari
Тема Re: How to know detailed information about HOT(Heap-Only Tuples)?
Дата
Msg-id CAKoxK+4=D2F-34dnqE7Hv1H+XcTSXK=X=NdjcmbwFywvq_3Rtg@mail.gmail.com
обсуждение исходный текст
Ответ на How to know detailed information about HOT(Heap-Only Tuples)?  (高健 <luckyjackgao@gmail.com>)
Список pgsql-general
On Thu, Aug 22, 2013 at 4:20 AM, 高健 <luckyjackgao@gmail.com> wrote:

> according to  a table, How many tuples are heap only tuples , and how many
> are not?
>

I believe there are not "hot tuples", a tuple is updated using HOT
depending on the indexes defined and the type of update itself.
Anyway, you can get an information of how many tuples have been
hot-touched via pg_stat_user_tables.n_tup_hot_upd


> And also , Is there any options which can influence HOT occurrance?

The storage setting (fillfactor) will change the hotness of your
tables, but of course this depends on the workload.

Luca


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

Предыдущее
От: Raghavendra
Дата:
Сообщение: Re: PostgreSQL 9.2 Logging
Следующее
От: Luca Ferrari
Дата:
Сообщение: Re: PostgreSQL 9.2 Logging