Re: json datatype and table bloat?

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: json datatype and table bloat?
Дата
Msg-id CAHyXU0yp9w1vgZcrc41kqq3o-6tqSVCmssBgFkt4vJAK6gZXSw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: json datatype and table bloat?  (Chris Travers <chris.travers@gmail.com>)
Ответы Re: json datatype and table bloat?  (Gregory Haase <haaseg@onefreevoice.com>)
Список pgsql-general
On Tue, Oct 29, 2013 at 5:38 AM, Chris Travers <chris.travers@gmail.com> wrote:
>
>
>
> On Mon, Oct 28, 2013 at 4:17 PM, Gregory Haase <haaseg@onefreevoice.com>
> wrote:
>>
>> I have a table that is triggering my nagios database bloat alert
>> regularly. Usually, I have to give it the vacuum full more than once to get
>> it under the threshold. Today I tried repeatedly and cannot get the alert to
>> resolve.
>>
>> I had a discussion with one of the primary developers about how the table
>> is utilized, and it turns out they are basically only ever inserting into
>> it. This sort of flies in the face of conventional wisdom about bloat being
>> caused by frequent updates and deletes.
>
>
> As I understand it, vacuuming only removes the tuples removed by delete and
> update operations.

well, or by rolled back transactions.  we we have to wonder if OP has
a lot of queries trying to insert and failing.  maybe check the log?

merlin


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

Предыдущее
От: Rahila Syed
Дата:
Сообщение: Increasing CPU usage of PostgreSQL
Следующее
От: Matt
Дата:
Сообщение: Re: INSERT/UPDATE statements sometimes choosing not to use PK index?