Could ANALYZE estimate bloat?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Could ANALYZE estimate bloat?
Дата
Msg-id 523C9AF4.8090402@agliodbs.com
обсуждение исходный текст
Ответы Re: Could ANALYZE estimate bloat?  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: Could ANALYZE estimate bloat?  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
Hackers,

I've been tinkering with a number of table bloat checks, and it occurred
to me that the problm is that these are all approximations based on
overall gross statistics, and as such highly inaccurate.

It seems like would could have ANALYZE, while sampling from the table,
also check the amount of dead space per page and use that as an estimate
of the % of dead space overall.  We'd still need something else for
indexes, but this seems like it would be a good start.

No?

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [RFC] Extend namespace of valid guc names
Следующее
От: Robert Haas
Дата:
Сообщение: Re: FW: REVIEW: Allow formatting in log_line_prefix