From: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com> |
---|---|
To: | Federico Campoli <federico(at)brandwatch(dot)com> |
Cc: | "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: BUG #8192: On very large tables the concurrent update with vacuum lag the hot_standby replica |
Date: | 2013-06-06 20:17:48 |
Message-ID: | CAMkU=1wYV+8ENM-mYSKTWnB7+6wvxONWv-O_1WPc3njicChM-Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Tue, Jun 4, 2013 at 5:57 AM, Federico Campoli <federico(at)brandwatch(dot)com>wrote:
>
> I'm sorry, just guessing it could be a loop.
> The read remains stuck on the same segment.
> On my testbox I have at least 1 minute to 20 Mb/s.
> On the live system the peak is 124 Mb/s for 2 to 3 minutes without any
> progress in the wal reply.
>
> I've attached the part of postgresql's log with debug2 from my sandbox
> when that happens.
>
It looks like it is making progress, just very slowly. Basically I think
every WAL record that needs it to be replayed triggers the random read of
some data block which is not already cached on the standby.
> In warm standby everything is fine no lag at all.
>
OK, then I don't think I can reproduce it. The spiky replay I see is the
same whether the standby is hot or warm.
Cheers,
Jeff
From | Date | Subject | |
---|---|---|---|
Next Message | Jeff Janes | 2013-06-06 20:22:26 | Re: BUG #8192: On very large tables the concurrent update with vacuum lag the hot_standby replica |
Previous Message | ijmorlan | 2013-06-06 16:00:15 | BUG #8215: pg_dump includes table out of order in SQL dump |