Re: json datatype and table bloat?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: json datatype and table bloat?
Дата
Msg-id 9064.1383080739@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: json datatype and table bloat?  (Gregory Haase <haaseg@onefreevoice.com>)
Ответы Re: json datatype and table bloat?  (Gregory Haase <haaseg@onefreevoice.com>)
Список pgsql-general
Gregory Haase <haaseg@onefreevoice.com> writes:
> I've isolated the problem to the json field not showing up in pg_stats,
> which affects the calculation of the avg row size in the bloat query.

> I'm not sure if this is a json issue or some other kind of issue.

Possibly your "bloat query" is failing to consider the toast table
associated with this table?  If the json values are large they'd
mostly be in the toast table not the main table.

(It's unfortunate that VACUUM FULL doesn't tell you about what's
in the toast table.  I'd try just VACUUM VERBOSE here, without the
FULL, to get more info.)

            regards, tom lane


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

Предыдущее
От: Gregory Haase
Дата:
Сообщение: Re: json datatype and table bloat?
Следующее
От: Gregory Haase
Дата:
Сообщение: Re: json datatype and table bloat?