Re: Streaming Questions and Sizing

From: Andy Erskine <andy(dot)erskine(at)jds(dot)net(dot)au>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org>
Subject: Re: Streaming Questions and Sizing
Date: 2015-07-02 05:02:30
Message-ID: CADqp7UBztF_LAy2uH-RqVUMo8fo-XBhcyX8n+Cu2vMjffGY2iw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

So the basebackup pulls the data directory over from the master.

I am pulling over anther copy of the data directory using basebackup

On 07/01/2015 05:51 PM, Andy Erskine wrote:

> If i grep for errors i get some invalid page header in block 56072 of
> relation base/16385/77373 errors.
>
> But not sure what else to look for ?
>

Well the above seems to be the smoking gun. You have a corrupted $DATA
directory in the standby and the WAL logs being streaming from the master
are stacking up on the standby because it can not process them. You need to
shut down the standby and start over on setting up its $DATA directory.

Just to clarify. From your previous post:

"I initially populated the directory using basebackup and pulled the data
directory across from the master."

So did you do a basebackup and then copy the data data directory over, or
where you saying the basebackup is how you pulled over the data directory?

>

>
> --
>
> *Andy Erskine*
>
> **
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Urs Berner 2015-07-02 10:34:35 Re: Ubuntu 14.04 LTS install problem
Previous Message Adrian Klaver 2015-07-02 04:08:09 Re: Streaming Questions and Sizing