Re: Slow WAL recovery for DROP TABLE - Mailing list pgsql-general

From Jeff Janes
Subject Re: Slow WAL recovery for DROP TABLE
Date
Msg-id CAMkU=1znu3UnsunV_kODRKJEy-K-Kh9qmvvz3wC3EY4Wi6-8TQ@mail.gmail.com
Whole thread Raw
In response to Slow WAL recovery for DROP TABLE  (Sherrylyn Branchaw <sbranchaw@gmail.com>)
Responses Re: Slow WAL recovery for DROP TABLE  (Sherrylyn Branchaw <sbranchaw@gmail.com>)
List pgsql-general

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 keeping up with the master.

Can you share the reproduction scripts, and any non-default config settings?  Especially the setting of shared_buffers (on both master and replica, if different)

Cheers,

Jeff

pgsql-general by date:

Previous
From: Sherrylyn Branchaw
Date:
Subject: Slow WAL recovery for DROP TABLE
Next
From: Márcio Antônio Sepp
Date:
Subject: Can't compile postgresql 11 on FreeBSD 11.1