Re: [GENERAL] Log storage

Поиск
Список
Период
Сортировка
От legrand legrand
Тема Re: [GENERAL] Log storage
Дата
Msg-id 1508329501188-0.post@n3.nabble.com
обсуждение исходный текст
Ответ на Re: [GENERAL] Log storage  (Ivan Sagalaev <maniac@softwaremaniacs.org>)
Список pgsql-general
I saw a similar project on oracle that was storing (long) messages (clob).
Partionning by creation date was in place, as btree indexes to access data
per id. It was working fine for inserts, as for sélect, but purges (delete)
where not freeing space. In fact rétention was  not the  same for all
records. We changed partitionning key to deletion date ans replaced  deletes
per partition drops.

Maybe, if all your records have the same rétention , partition per création
can help for purge. Local index on création date would Aldo help.

PAscal



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

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

Предыдущее
От: Ivan Sagalaev
Дата:
Сообщение: Re: [GENERAL] Log storage
Следующее
От: Laurent Laborde
Дата:
Сообщение: Re: [GENERAL] Log storage