Re: archive_timeout - good indication

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

 



Kevin,

Thank you for the reply.
I guess 60Sec is a valid option if this is the 'time period' we can tolerate.

PS pg_clearxlogtail I tried to lookup more info about it but could not find much.
With regards to pglesslog I found the site which hosts the project, seems interesting.

My question is does it copy the logs as well as compresses it, because there is an example: archive_command = 'pg_compresslog "%p" /"%f"'
Is this instead of using 'cp'?

Thank you very much

Best regards

Renato



Renato Oliveira
Systems Administrator
e-mail: renato.oliveira@xxxxxxxxxxx

Tel: +44 (0)1763 260811
Fax: +44 (0)1763 262410
http://www.grant.co.uk/

Grant Instruments (Cambridge) Ltd

Company registered in England, registration number 658133

Registered office address:
29 Station Road,
Shepreth,
CAMBS SG8 6GB
UK

-----Original Message-----


From: Kevin Grittner [mailto:Kevin.Grittner@xxxxxxxxxxxx]
Sent: 09 April 2010 15:22
To: Renato Oliveira; pgsql-admin
Subject: Re:  archive_timeout - good indication

Renato Oliveira <renato.oliveira@xxxxxxxxxxx> wrote:

> What would be a good indication for  'archive_timeout' on a busy
> server?

The maximum amount of time for which you can tolerate lost
transactions in case you need to use the backup for crash recovery.
Note that you need to balance that need against the space
requirements of the WAL files.  You can mitigate the space problem
by using pg_clearxlogtail or pglesslog.

-Kevin



-----Original Message-----


P Please consider the environment before printing this email
CONFIDENTIALITY: The information in this e-mail and any attachments is confidential. It is intended only for the named recipients(s). If you are not the named recipient please notify the sender immediately and do not disclose the contents to another person or take copies.

VIRUSES: The contents of this e-mail or attachment(s) may contain viruses which could damage your own computer system. Whilst Grant Instruments (Cambridge) Ltd has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should therefore carry out your own virus checks before opening the attachment(s).

OpenXML: For information about the OpenXML file format in use within Grant Instruments please visit our http://www.grant.co.uk/Support/openxml.html


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


[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