Re: [HACKERS] VACUUM and ANALYZE disagreeing on what reltuples means
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] VACUUM and ANALYZE disagreeing on what reltuples means |
| Дата | |
| Msg-id | 17044.1521748285@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [HACKERS] VACUUM and ANALYZE disagreeing on what reltuples means (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: [HACKERS] VACUUM and ANALYZE disagreeing on what reltuples means
|
| Список | pgsql-hackers |
I wrote:
> Tomas Vondra <tomas.vondra@2ndquadrant.com> writes:
>> The 0002 part is the main part, unifying the definition of reltuples on
>> three main places:
> On to this part ...
I've pushed 0002 with several corrections: it did not seem to me that
you'd correctly propagated what ANALYZE is doing into CREATE INDEX or
pgstattuple. Also, since one of the things VACUUM does with num_tuples
is to report it as "the total number of non-removable tuples", I thought
we'd better leave that calculation alone. I made the added code count
live tuples in a new variable live_tuples, instead.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера