Re: json datatype and table bloat?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: json datatype and table bloat?
Дата
Msg-id 18449.1383331827@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: json datatype and table bloat?  (Gregory Haase <haaseg@onefreevoice.com>)
Ответы Re: json datatype and table bloat?
Список pgsql-general
Gregory Haase <haaseg@onefreevoice.com> writes:
> The json_data column is not accounted for in pg_stats:

Ah!  I hadn't twigged to the fact that your bloat measurement approach
assumed you had pg_stats entries for all the columns.

> So I'm not sure if I'd actually qualify this as a "bug", but it appears
> that there is no way to currently get stats on a json data type.

ANALYZE currently punts on columns that don't have an equality operator,
which json does not.  There isn't that much in the way of stats that we
could collect, though I suppose we could still compute average datum width
and null fraction.

I'm not sure whether there are plans to invent an equality operator for
json.

            regards, tom lane


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

Предыдущее
От: Gregory Haase
Дата:
Сообщение: Re: json datatype and table bloat?
Следующее
От: "Janek Sendrowski"
Дата:
Сообщение: Searching for appropriate pivots for my Fixed Query Array