Re: wake up logical workers after ALTER SUBSCRIPTION

Поиск
Список
Период
Сортировка
Искать
От
Nathan Bossart
Тема
Re: wake up logical workers after ALTER SUBSCRIPTION
Дата
Msg-id
20221214231727.GA828014@nathanxps13
Ответ на
Список
Дерево обсуждения
wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Thomas Munro <thomas.munro@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Amit Kapila <amit.kapila16@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
RE: wake up logical workers after ALTER SUBSCRIPTION "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
RE: wake up logical workers after ALTER SUBSCRIPTION "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
RE: wake up logical workers after ALTER SUBSCRIPTION "houzj.fnst@fujitsu.com" <houzj.fnst@fujitsu.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
RE: wake up logical workers after ALTER SUBSCRIPTION "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Thomas Munro <thomas.munro@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Thomas Munro <thomas.munro@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Melih Mutlu <m.melihmutlu@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Melih Mutlu <m.melihmutlu@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Tom Lane <tgl@sss.pgh.pa.us>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Tom Lane <tgl@sss.pgh.pa.us>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Tom Lane <tgl@sss.pgh.pa.us>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Tom Lane <tgl@sss.pgh.pa.us>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Tom Lane <tgl@sss.pgh.pa.us>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Amit Kapila <amit.kapila16@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Amit Kapila <amit.kapila16@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Amit Kapila <amit.kapila16@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Amit Kapila <amit.kapila16@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Amit Kapila <amit.kapila16@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Amit Kapila <amit.kapila16@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Amit Kapila <amit.kapila16@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Amit Kapila <amit.kapila16@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Tom Lane <tgl@sss.pgh.pa.us>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Amit Kapila <amit.kapila16@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Tom Lane <tgl@sss.pgh.pa.us>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
RE: wake up logical workers after ALTER SUBSCRIPTION "houzj.fnst@fujitsu.com" <houzj.fnst@fujitsu.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Tom Lane <tgl@sss.pgh.pa.us>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
Re: wake up logical workers after ALTER SUBSCRIPTION Tom Lane <tgl@sss.pgh.pa.us>
Re: wake up logical workers after ALTER SUBSCRIPTION Nathan Bossart <nathandbossart@gmail.com>
RE: wake up logical workers after ALTER SUBSCRIPTION "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
RE: wake up logical workers after ALTER SUBSCRIPTION "Takamichi Osumi (Fujitsu)" <osumi.takamichi@fujitsu.com>
On Wed, Dec 14, 2022 at 02:02:58PM -0500, Tom Lane wrote:
> Maybe we could have workers that are exiting for that reason set a
> flag saying "please restart me without delay"?

That helps a bit, but there are still delays when starting workers for new
subscriptions.  I think we'd need to create a new array in shared memory
for subscription OIDs that need their workers started immediately.

I'm not totally sure this is worth the effort.  These delays surface in the
tests because the workers are started so frequently.  In normal operation,
this is probably unusual, so the launcher would typically start new workers
immediately.  But if you and/or others feel this is worthwhile, I don't
mind working on the patch.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com


В списке pgsql-hackers по дате отправления
От: Thomas Munro
Дата:
От: Tom Lane
Дата:
Сообщение: Re: Error-safe user functions
FAQ