Re: pg_rewind copy so much data

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Hung Phan <hungphan227(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_rewind copy so much data
Date: 2017-09-29 09:24:57
Message-ID: CAB7nPqS1Lu9Cpf2RkogeTpFMKzcqgGLLK8i+-dtARC47MYr6tA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Sep 29, 2017 at 6:22 PM, Hung Phan <hungphan227(at)gmail(dot)com> wrote:
> Thanks for your help. Do you have any more ideas about my case? I cannot
> find any reason for that. If pg_rewind just examines WAL for changed blocks
> from the common checkpoint, why did it copy all data ? As I understand, the
> information in WAL about changes cannot cover all data in the database.

The only thing I have in mind able to create this much amount of data
using this less WAL is a CREATE DATABASE using as template an existing
database. Based on the information you are giving here this is the
best guess I can do.
--
Michael

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jehan-Guillaume (ioguix) de Rorthais 2017-09-29 09:43:48 Re: Speed of conversion from int to bigint
Previous Message Hung Phan 2017-09-29 09:22:20 Re: pg_rewind copy so much data