Re: Warnings in Standby Logs - Mailing list pgsql-admin

From Fujii Masao
Subject Re: Warnings in Standby Logs
Date
Msg-id CAHGQGwFvv0pxaf_iZ1FU1H=d=exhPUoM0ss-9GkDWRP=FureMg@mail.gmail.com
Whole thread Raw
In response to Warnings in Standby Logs  ("Eric Simon" <esimon@theiqgroup.com>)
Responses Re: Warnings in Standby Logs  (masterchief <esimon@theiqgroup.com>)
List pgsql-admin
On Sat, Mar 31, 2012 at 1:20 AM, Eric Simon <esimon@theiqgroup.com> wrote:
> 2012-03-16 10:27:34 CDT LOG:  invalid record length at 9/B9F85E78
> 2012-03-16 10:27:34 CDT LOG:  streaming replication successfully connected
> to primary

Just after startup, the standby tries to read and replay the WAL files which
exist in the standby, and then if it finds invalid WAL record, IOW, it can no
longer read valid WAL record locally, it starts replication and tries to read
the WAL files from the master. So the above log message "invalid  record
..." means that there is no valid WAL record in the standby, which triggers
the replication. Since valid WAL records are streamed from the master,
you don't need to worry about that log message.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

pgsql-admin by date:

Previous
From: Dick Visser
Date:
Subject: Re: PGadmin PostgresSQL
Next
From: Scott Whitney
Date:
Subject: Re: PGadmin PostgresSQL