Re: Slow WAL recovery for DROP TABLE

2018-07-18 Thread Sherrylyn Branchaw
> Hi, I have also reported a similar problem in the hackers mailing list, but particularly on TRUNCATE TABLE. https://www.postgresql.org/message-id/flat/D09B13F772D2274BB348A310EE3027C62FD6E6%40g01jpexmbkw24 Ooh, interesting. I admit I did not include TRUNCATE in my testing. > The problem lies wi

Re: Slow WAL recovery for DROP TABLE

2018-07-18 Thread Sherrylyn Branchaw
> There was a recent commit for a similar performance problem, which will appear in 9.6.10. But that was specifically for cases where there were multiple dropped tables per transaction, and large shared_buffers. Interesting, and good to know, thanks! I'm not sure we fall under either (is 8 GB lar

RE: Slow WAL recovery for DROP TABLE

2018-07-17 Thread Jamison, Kirk
Hi, I have also reported a similar problem in the hackers mailing list, but particularly on TRUNCATE TABLE. https://www.postgresql.org/message-id/flat/D09B13F772D2274BB348A310EE3027C62FD6E6%40g01jpexmbkw24 The problem lies with the standby server’s replay as it does separate scanning of the whol

Re: Slow WAL recovery for DROP TABLE

2018-07-17 Thread Jeff Janes
There was a recent commit for a similar performance problem, which will appear in 9.6.10. But that was specifically for cases where there were multiple dropped tables per transaction, and large shared_buffers. I can't reproduce your single-drop-per-transaction problem. The replica has no problem