From: | Hung Phan <hungphan227(at)gmail(dot)com> |
---|---|
To: | Michael Paquier <michael(dot)paquier(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-15 05:57:26 |
Message-ID: | CANHVDh0kncGgysksAwGpg+0mY=DnSJyr+3L8Kr=zdH6j47xFDw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I use ver 9.5.3. I have just run again and get the debug log. It is very
long so I attach in mail
On Wed, Sep 13, 2017 at 5:57 PM, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
wrote:
> On Wed, Sep 13, 2017 at 2:21 PM, Hung Phan <hungphan227(at)gmail(dot)com> wrote:
> > If I run pg_rewind with debug option, it just show additional bunch of
> files
> > copied in directories like base or pg_tblspc. I claim that there is no
> data
> > inserted of modified from the first step. The only difference between two
> > server is caused by restarting old master.
>
> That's exactly this kind of data that would allow to conclude where
> the data comes from, and you are not showing it, so it is not possible
> to make a clear conclusion. Are known the file paths, the offset
> position in the file where a chunk of data is taken, and the chunk
> size. If you see for example a bunch of 8kB blocks being copied, this
> means that some extra load ran on the master before it was stopped,
> and before running the rewind. Are you sure that you don't have large
> log files for example?
>
> I would be curious to know what is the version of Postgres 9.5 you are
> using as well.
> --
> Michael
>
Attachment | Content-Type | Size |
---|---|---|
pg_rewind debug log.dat | application/octet-stream | 547.3 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Hung Phan | 2017-09-15 06:03:50 | Re: pg_rewind copy so much data |
Previous Message | Craig Ringer | 2017-09-15 04:14:46 | Re: BDR, near xid wraparound, a lot of files in pg_subtrans directory |