Re: pg_clog questions

Поиск
Список
Период
Сортировка
От Benjamin Krajmalnik
Тема Re: pg_clog questions
Дата
Msg-id 8511B4970E0D124898E973DF496F9B432516E3@stash.stackdump.local
обсуждение исходный текст
Ответ на pg_clog questions  ("Benjamin Krajmalnik" <kraj@illumen.com>)
Ответы Re: pg_clog questions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
I have autovacuum turned on with the default settings.
The issue is that we are mostly inserting records, sometimes updating,
very seldom deleting.  The ones which get deleted are in partitioned
tables, and will be done away with via truncate once the data retention
period is over.

Logs show that autovacuum is running on all databases.

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Thursday, May 25, 2006 2:01 PM
To: Benjamin Krajmalnik
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] pg_clog questions

"Benjamin Krajmalnik" <kraj@illumen.com> writes:
> While checking our server, I noticed quite a few files in the pg_clog
> directory.

> Is there a maintenance task which can be run to purge the files which
> are no longer needed?

VACUUM.  If they're not disappearing, you aren't running an adequate
vacuum regime --- missing out some databases, perhaps?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_clog questions
Следующее
От: "Benjamin Krajmalnik"
Дата:
Сообщение: Re: Strange errors in log file