Re: Suppressing useless wakeups in walreceiver
От
Nathan Bossart
Тема
Re: Suppressing useless wakeups in walreceiver
Дата
Msg-id
20221116042416.GA102089@nathanxps13
Ответ на
Re: Suppressing useless wakeups in walreceiver (Thomas Munro)
Список
Дерево обсуждения
Suppressing useless wakeups in walreceiver Thomas Munro <thomas.munro@gmail.com>
Re: Suppressing useless wakeups in walreceiver Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Suppressing useless wakeups in walreceiver Thomas Munro <thomas.munro@gmail.com>
Re: Suppressing useless wakeups in walreceiver Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
Re: Suppressing useless wakeups in walreceiver Thomas Munro <thomas.munro@gmail.com>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
Re: Suppressing useless wakeups in walreceiver Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
Re: Suppressing useless wakeups in walreceiver Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
Re: Suppressing useless wakeups in walreceiver Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
Re: Suppressing useless wakeups in walreceiver Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
Re: Suppressing useless wakeups in walreceiver Thomas Munro <thomas.munro@gmail.com>
Re: Suppressing useless wakeups in walreceiver Thomas Munro <thomas.munro@gmail.com>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
Re: Suppressing useless wakeups in walreceiver Tom Lane <tgl@sss.pgh.pa.us>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
Re: Suppressing useless wakeups in walreceiver Thomas Munro <thomas.munro@gmail.com>
Re: Suppressing useless wakeups in walreceiver Thomas Munro <thomas.munro@gmail.com>
Re: Suppressing useless wakeups in walreceiver Thomas Munro <thomas.munro@gmail.com>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
Re: Suppressing useless wakeups in walreceiver Thomas Munro <thomas.munro@gmail.com>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
Re: Suppressing useless wakeups in walreceiver Thomas Munro <thomas.munro@gmail.com>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
Re: Suppressing useless wakeups in walreceiver Thomas Munro <thomas.munro@gmail.com>
Re: Suppressing useless wakeups in walreceiver Thomas Munro <thomas.munro@gmail.com>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
Re: Suppressing useless wakeups in walreceiver Thomas Munro <thomas.munro@gmail.com>
Re: Suppressing useless wakeups in walreceiver Thomas Munro <thomas.munro@gmail.com>
Re: Suppressing useless wakeups in walreceiver Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Suppressing useless wakeups in walreceiver Thomas Munro <thomas.munro@gmail.com>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
Re: Suppressing useless wakeups in walreceiver Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Suppressing useless wakeups in walreceiver Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
Re: Suppressing useless wakeups in walreceiver Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
Re: Suppressing useless wakeups in walreceiver Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
Re: Suppressing useless wakeups in walreceiver Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Suppressing useless wakeups in walreceiver Nathan Bossart <nathandbossart@gmail.com>
On Wed, Nov 16, 2022 at 04:57:08PM +1300, Thomas Munro wrote: > On Tue, Nov 15, 2022 at 5:49 PM Nathan Bossart wrote: >> Another option might be to just force initial reply/feedback messages when >> streaming starts. The attached patch improves src/test/recovery test >> runtime just like the previous one I posted. > > Yeah, looks good in my tests. I think we just need to make it > conditional so we don't force it if someone has > wal_receiver_status_interval disabled. Yeah, that makes sense. IIUC setting "force" to false would have the same effect for the initial round of streaming, but since writePtr/flushPtr will be set in later rounds, no reply would be guaranteed. That might be good enough for the tests, but it seems a bit inconsistent. So, your patch is probably the way to go. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com
В списке pgsql-hackers по дате отправления
От: Jeff Davis
Дата: