From: | Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr> |
---|---|
To: | Pierre BOIZOT <pierre(dot)boizot(at)gmail(dot)com> |
Cc: | PG-Mail-liste <pgsql-fr-generale(at)postgresql(dot)org> |
Subject: | Re: Streaming replication version 9.1 |
Date: | 2013-09-11 19:51:51 |
Message-ID: | m21u4vw2zs.fsf@2ndQuadrant.fr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-fr-generale |
Pierre BOIZOT <pierre(dot)boizot(at)gmail(dot)com> writes:
> Pouvez vous me confirmer que le moteur va plutot chercher à supprimer des
> walls plutôt que d'accroitre leur nombre ?
C'est appelé le « recyclage » des WALs (un seul L, pour Write Ahead Log)
et c'est assez bien détaillé dans la documentation. Il faut cependant
lire plusieurs fois la doc pour les paramétrages de CHECKPOINT ainsi que
wal_keep_segments.
http://www.postgresql.org/docs/9.3/static/runtime-config-wal.html#RUNTIME-CONFIG-WAL-CHECKPOINTS
Il est également conseillé de maintenir une archive :
http://www.postgresql.org/docs/9.3/static/continuous-archiving.html#BACKUP-ARCHIVING-WAL
http://www.postgresql.org/docs/9.3/static/app-pgreceivexlog.html
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support
From | Date | Subject | |
---|---|---|---|
Next Message | Pierre BOIZOT | 2013-09-11 21:09:41 | Re: [pgsql-fr-generale] Streaming replication version 9.1 |
Previous Message | Pierre BOIZOT | 2013-09-11 18:41:28 | Streaming replication version 9.1 |