Re: Why so long between archive calls?

From: Andy Shellam <andy(dot)shellam-lists(at)mailnetwork(dot)co(dot)uk>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Why so long between archive calls?
Date: 2006-08-29 16:19:25
Message-ID: 44F4690D.2010503@mailnetwork.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Chris,

I take it you've checked that the archive_command is actually succeeding
(check the postgresql log file.)
Perhaps try running it manually with an early log file as the PostgreSQL
user account?

When you say you're 500 files behind, how old is the earliest log?

Andy.

Chris Hoover wrote:
> I am working on getting my development system working with archive
> logging so I can use the pitr features of Postgres. However, I am
> finding that the actual archiving is not keeping up with the
> generation of the logs. I am now over 500 wal archive files behind
> (8+ GB).
>
> What controls how often the archive_command is called?
>
> The actual running of my archive script is taking 1-2 seconds, so I'm
> not sure why we are so far behind.
>
> Thanks for any advise,
>
> Chris
>
> PG 8.1.3
> RH AS 4
> !DSPAM:37,44f45f03143293039237985!

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2006-08-29 16:28:00 Re: pgsql.v814 - BLCKSZ
Previous Message Lane Van Ingen 2006-08-29 16:10:31 Re: dbsize.so for PostgreSQL 8.1.4 on Red Hat Enterprise Linux 4.0