Re: [GENERAL] Log storage - Mailing list pgsql-general

From legrand legrand
Subject Re: [GENERAL] Log storage
Date
Msg-id 1508329501188-0.post@n3.nabble.com
Whole thread Raw
In response to Re: [GENERAL] Log storage  (Ivan Sagalaev <maniac@softwaremaniacs.org>)
List 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 by date:

Previous
From: Ivan Sagalaev
Date:
Subject: Re: [GENERAL] Log storage
Next
From: Laurent Laborde
Date:
Subject: Re: [GENERAL] Log storage