Re: Streaming Questions and Sizing

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Andy Erskine <andy(dot)erskine(at)jds(dot)net(dot)au>
Cc: PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org>
Subject: Re: Streaming Questions and Sizing
Date: 2015-07-02 04:08:09
Message-ID: 5594B929.8020906@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andy Erskine 2015-07-02 05:02:30 Re: Streaming Questions and Sizing
Previous Message Andy Erskine 2015-07-02 00:51:08 Re: Streaming Questions and Sizing