WAL configuration and REINDEX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello admins,

I have a PostgreSQL 8.1.4 server under Linux Red Hat with several databases. The server is configured with WAL archiving turned on. As a maintenance process, every night one cron job launches a backup process to the server with pg_dump, then the server shuts down and starts up and do a REINDEX DATABASE to all databases to keep all tables reindexed.

After 30 days of no activity to the server (this is a DBA test server) the amount of WAL segments is increasing at very high speed. Every REINDEX process generates between 25 and 30 WAL segments. With this behavior (and no activity!!) I can not maintain this amount of data to performs future WAL backups and recovers.

Any idea to decrease the number of WAL segments generated?
Is possible to know when a table would be reindexed and to avoid dayly REINDEX process?

Thank you.
Jose Manuel García V.
begin:vcard
fn;quoted-printable:Jose Manuel Garc=C3=ADa Valladolid
n;quoted-printable:Garc=C3=ADa Valladolid;Jose Manuel
org;quoted-printable;quoted-printable:Conseller=C3=ADa de Infraestructuras y Transportes;Servicio de Organizaci=C3=B3n e Inform=C3=A1tica
adr;quoted-printable;dom:;;Av. Blasco Iba=C3=B1ez 50;Valencia;VALENCIA
email;internet:garcia_josval@xxxxxx
title:Analista
x-mozilla-html:FALSE
url:http://www.cit.gva.es
version:2.1
end:vcard


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux