From: "Euler Taveira" <euler(at)eulerto(dot)com> To: "Amit Kapila" <amit(dot)kapila16(at)gmail(dot)com>, "Noah Misch" <noah(at)leadboat(dot)com> Cc: "Peter Eisentraut" <peter(at)eisentraut(dot)org>, "Shlok Kyal" <shlok(dot)kyal(dot)oss(at)gmail(dot)com>, "kuroda(dot)hayato(at)fujitsu(dot)com" <kuroda(dot)hayato(at)fujitsu(dot)com>, "Tomas Vondra" <tomas(dot)vondra(at)enterprisedb(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, "Michael Paquier" <michael(at)paquier(dot)xyz>, "Andres Freund" <andres(at)anarazel(dot)de>, "Ashutosh Bapat" <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com>, "vignesh C" <vignesh21(at)gmail(dot)com> Subject: Re: speed up a logical replica setup Date: 2024-06-26 00:50:59 Message-ID: d19dbcce-34c4-43e9-91a4-1ae79d5a4a66@app.fastmail.com Views: Whole Thread |Raw Message |Download mbox |Resend email Thread: 2022-02-21 12:09:12 from "Euler Taveira" <euler(at)eulerto(dot)com>📎 2022-02-21 23:28:49 from Andres Freund <andres(at)anarazel(dot)de> 2022-02-22 00:35:17 from "Euler Taveira" <euler(at)eulerto(dot)com> 2022-02-24 07:05:17 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2022-03-02 00:08:59 from Andreas Karlsson <andreas(at)proxel(dot)se> 2022-03-15 13:51:11 from Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>📎 2022-03-18 22:34:25 from Andrew Dunstan <andrew(at)dunslane(dot)net> 2022-03-22 01:44:33 from Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com> 2022-03-23 18:50:34 from Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com> 2022-03-22 01:25:39 from Andres Freund <andres(at)anarazel(dot)de> 2022-03-29 12:34:09 from Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com> 2022-08-02 18:56:15 from Jacob Champion <jchampion(at)timescale(dot)com> 2023-10-23 03:53:21 from "Euler Taveira" <euler(at)eulerto(dot)com>📎 2023-10-26 11:47:23 from Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com> 2023-11-01 02:46:41 from shihao zhong <zhong950419(at)gmail(dot)com> 2023-11-01 14:04:37 from "Euler Taveira" <euler(at)eulerto(dot)com> 2023-11-01 13:40:15 from Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com> 2023-11-02 06:10:02 from Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com> 2023-12-21 10:15:34 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-01-03 06:39:40 from vignesh C <vignesh21(at)gmail(dot)com> 2024-01-03 09:19:01 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-01-03 09:47:42 from vignesh C <vignesh21(at)gmail(dot)com> 2024-01-04 07:00:05 from Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com> 2024-01-04 11:04:13 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-01-04 12:21:23 from Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com> 2023-11-07 21:00:39 from Peter Eisentraut <peter(at)eisentraut(dot)org> 2023-11-07 23:12:50 from Michael Paquier <michael(at)paquier(dot)xyz> 2023-11-08 12:50:47 from "Euler Taveira" <euler(at)eulerto(dot)com> 2023-11-08 23:13:42 from Michael Paquier <michael(at)paquier(dot)xyz> 2023-11-09 14:41:53 from Peter Eisentraut <peter(at)eisentraut(dot)org> 2023-11-09 23:12:07 from Michael Paquier <michael(at)paquier(dot)xyz> 2023-12-06 07:21:44 from "Euler Taveira" <euler(at)eulerto(dot)com>📎 2023-12-20 12:22:26 from Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com> 2023-12-20 12:55:11 from "Euler Taveira" <euler(at)eulerto(dot)com> 2023-12-21 06:16:35 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-01-04 02:54:20 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-01-04 05:41:20 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-01-04 15:48:03 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-01-05 04:53:42 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-01-16 06:28:10 from Shubham Khanna <khannashubham1197(at)gmail(dot)com>📎 2024-01-18 09:43:56 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-01-19 08:48:53 from Shubham Khanna <khannashubham1197(at)gmail(dot)com>📎 2024-01-25 05:54:32 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-01-01 10:14:21 from vignesh C <vignesh21(at)gmail(dot)com> 2024-01-04 03:21:49 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-01-04 06:05:51 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-01-04 06:51:54 from Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com> 2024-01-04 11:16:28 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-01-05 06:49:14 from Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com> 2024-01-10 04:33:51 from Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>📎 2024-01-11 02:29:14 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-01-11 06:41:03 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-01-11 12:18:01 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-01-11 22:15:22 from "Euler Taveira" <euler(at)eulerto(dot)com>📎 2024-01-12 10:31:01 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-01-22 07:06:50 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-01-22 09:30:05 from Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>📎 2024-01-23 02:11:26 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-01-24 06:11:01 from Shubham Khanna <khannashubham1197(at)gmail(dot)com> 2024-01-24 11:43:00 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-01-25 09:05:14 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-01-26 00:28:45 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-01-26 05:51:49 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-01-24 01:29:09 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-01-25 23:34:46 from "Euler Taveira" <euler(at)eulerto(dot)com>📎 2024-01-26 07:55:51 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-01-29 01:10:45 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-01-29 09:57:44 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-01-30 02:01:38 from "Euler Taveira" <euler(at)eulerto(dot)com>📎 2024-01-30 09:26:59 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-01-31 12:52:23 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-01-31 14:25:06 from Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com> 2024-01-31 14:34:57 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-01-31 14:55:59 from Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com>📎 2024-01-31 15:37:52 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-01-31 17:39:28 from Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com> 2024-02-01 01:47:11 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-02-01 03:26:25 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-02-01 12:47:06 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-02-02 02:04:15 from "Euler Taveira" <euler(at)eulerto(dot)com>📎 2024-02-02 09:41:35 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-02-06 06:40:47 from Shubham Khanna <khannashubham1197(at)gmail(dot)com> 2024-02-06 08:44:44 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-02-06 08:27:55 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-02-06 10:26:21 from Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>📎 2024-02-07 05:10:55 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-02-07 04:53:37 from "Euler Taveira" <euler(at)eulerto(dot)com>📎 2024-02-07 05:31:09 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-02-07 20:54:29 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-02-08 03:04:05 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-02-14 02:56:43 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-02-14 08:35:03 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-02-15 11:23:16 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-02-16 03:14:38 from "Euler Taveira" <euler(at)eulerto(dot)com>📎 2024-02-16 06:41:37 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-02-16 12:53:43 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-02-19 05:45:38 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-02-20 09:44:14 from vignesh C <vignesh21(at)gmail(dot)com> 2024-02-20 10:17:18 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-02-20 10:33:34 from vignesh C <vignesh21(at)gmail(dot)com> 2024-02-22 15:45:02 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-03-01 20:48:20 from "Euler Taveira" <euler(at)eulerto(dot)com>📎 2024-03-05 03:48:35 from Shubham Khanna <khannashubham1197(at)gmail(dot)com> 2024-03-05 05:17:14 from Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com> 2024-03-06 02:05:42 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-03-06 10:02:06 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-03-07 04:34:38 from "Euler Taveira" <euler(at)eulerto(dot)com>📎 2024-03-07 09:36:45 from vignesh C <vignesh21(at)gmail(dot)com> 2024-03-07 13:01:38 from Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>📎 2024-03-08 08:41:12 from vignesh C <vignesh21(at)gmail(dot)com> 2024-03-07 17:14:14 from Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com> 2024-03-08 09:44:19 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-03-08 19:26:44 from Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com> 2024-03-11 04:12:06 from vignesh C <vignesh21(at)gmail(dot)com> 2024-03-11 05:03:07 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-03-16 13:31:02 from vignesh C <vignesh21(at)gmail(dot)com>📎 2024-03-16 15:46:07 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-03-16 17:08:30 from vignesh C <vignesh21(at)gmail(dot)com> 2024-03-12 10:45:02 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-03-13 06:10:21 from "Euler Taveira" <euler(at)eulerto(dot)com>📎 2024-03-13 07:47:52 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-03-13 13:09:21 from Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>📎 2024-03-15 03:51:48 from "Euler Taveira" <euler(at)eulerto(dot)com>📎 2024-03-15 06:34:01 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-03-16 15:42:51 from "Euler Taveira" <euler(at)eulerto(dot)com>📎 2024-03-18 04:07:27 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-03-18 05:05:05 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-03-18 05:43:59 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-03-18 11:15:16 from Peter Eisentraut <peter(at)eisentraut(dot)org>📎 2024-03-19 04:54:23 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-03-21 04:48:30 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-03-18 07:18:28 from vignesh C <vignesh21(at)gmail(dot)com> 2024-03-18 11:06:30 from Peter Eisentraut <peter(at)eisentraut(dot)org> 2024-03-19 15:24:19 from vignesh C <vignesh21(at)gmail(dot)com> 2024-03-19 16:19:00 from Peter Eisentraut <peter(at)eisentraut(dot)org> 2024-03-20 10:16:13 from Shubham Khanna <khannashubham1197(at)gmail(dot)com>📎 2024-03-21 04:59:06 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-03-18 13:52:28 from Peter Eisentraut <peter(at)eisentraut(dot)org>📎 2024-03-18 14:09:23 from Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> 2024-03-19 07:05:17 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-03-19 11:56:10 from Peter Eisentraut <peter(at)eisentraut(dot)org> 2024-03-21 04:19:10 from "Euler Taveira" <euler(at)eulerto(dot)com>📎 2024-03-21 09:49:16 from Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>📎 2024-03-22 03:31:34 from "Euler Taveira" <euler(at)eulerto(dot)com>📎 2024-03-22 14:12:00 from vignesh C <vignesh21(at)gmail(dot)com> 2024-03-22 14:15:35 from Shubham Khanna <khannashubham1197(at)gmail(dot)com>📎 2024-03-25 11:48:05 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-03-25 11:55:39 from Peter Eisentraut <peter(at)eisentraut(dot)org> 2024-03-25 12:36:03 from Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com> 2024-03-25 12:55:24 from Peter Eisentraut <peter(at)eisentraut(dot)org> 2024-03-25 16:06:46 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-03-26 00:56:44 from vignesh C <vignesh21(at)gmail(dot)com> 2024-03-26 02:53:21 from "Euler Taveira" <euler(at)eulerto(dot)com>📎 2024-03-26 19:12:59 from Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com> 2024-03-26 20:17:15 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-03-26 21:29:19 from Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com> 2024-04-29 09:56:48 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-04-29 11:53:19 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-04-29 11:58:10 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-04-30 06:34:17 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>📎 2024-04-30 08:47:54 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-05-18 22:55:11 from Thomas Munro <thomas(dot)munro(at)gmail(dot)com> 2024-05-20 10:28:50 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-05-20 10:59:50 from Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>📎 2024-05-22 11:19:52 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-05-22 15:16:24 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-05-23 08:54:25 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-05-23 15:13:07 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-05-24 03:24:03 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-06-07 03:49:25 from "Euler Taveira" <euler(at)eulerto(dot)com>📎 2024-06-07 09:17:59 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-06-17 11:08:43 from Peter Eisentraut <peter(at)eisentraut(dot)org> 2024-06-17 11:04:52 from Peter Eisentraut <peter(at)eisentraut(dot)org> 2024-06-18 07:23:52 from "Euler Taveira" <euler(at)eulerto(dot)com>📎 2024-06-30 13:00:00 from Alexander Lakhin <exclusion(at)gmail(dot)com> 2024-06-30 16:59:54 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> 2024-06-30 18:40:40 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> 2024-06-30 18:58:00 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> 2024-06-30 19:25:34 from Noah Misch <noah(at)leadboat(dot)com> 2024-06-30 21:01:52 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> 2024-06-30 21:08:17 from Noah Misch <noah(at)leadboat(dot)com> 2024-07-01 01:32:57 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> 2024-07-01 02:33:42 from Noah Misch <noah(at)leadboat(dot)com> 2024-07-01 03:22:25 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> 2024-07-29 19:34:55 from Robert Haas <robertmhaas(at)gmail(dot)com> 2024-07-29 20:18:32 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> 2024-07-30 03:54:52 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-07-30 04:26:31 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> 2024-07-30 04:46:54 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-07-30 05:58:41 from Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com> 2024-07-30 06:22:15 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-07-01 14:52:46 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-07-02 12:24:07 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-07-03 03:51:48 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-07-03 05:57:50 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-07-03 06:15:53 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-07-03 05:12:25 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-07-03 06:20:40 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-07-03 07:12:38 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-07-03 11:02:12 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-07-09 11:00:00 from Alexander Lakhin <exclusion(at)gmail(dot)com> 2024-07-10 11:20:50 from "Euler Taveira" <euler(at)eulerto(dot)com>📎 2024-07-11 10:26:00 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-07-11 10:21:16 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-07-11 11:22:03 from "Zhijie Hou (Fujitsu)" <houzj(dot)fnst(at)fujitsu(dot)com>📎 2024-07-11 13:34:04 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-07-12 05:40:52 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-07-11 17:00:00 from Alexander Lakhin <exclusion(at)gmail(dot)com> 2024-07-11 23:24:36 from "Euler Taveira" <euler(at)eulerto(dot)com>📎 2024-07-15 06:46:57 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-07-17 07:53:22 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-07-17 10:10:08 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-07-17 11:58:47 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-07-18 02:37:44 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-07-29 21:11:32 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-07-30 00:05:26 from "Euler Taveira" <euler(at)eulerto(dot)com>📎 2024-07-30 08:37:38 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-07-30 10:35:40 from Peter Eisentraut <peter(at)eisentraut(dot)org> 2024-07-30 13:09:03 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-07-30 03:56:15 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-07-30 05:31:25 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-05-24 09:37:05 from Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>📎 2024-04-29 10:58:17 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-03-25 13:02:01 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-03-26 02:33:26 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-03-26 02:57:27 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-03-26 04:06:09 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-03-26 04:26:43 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-06-23 06:21:57 from Noah Misch <noah(at)leadboat(dot)com> 2024-06-24 06:38:59 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-06-24 06:47:54 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-06-26 01:51:31 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-06-26 03:58:46 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-06-26 06:04:55 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-06-28 05:11:42 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>📎 2024-06-24 11:50:21 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-06-24 22:08:45 from Noah Misch <noah(at)leadboat(dot)com> 2024-06-25 06:24:54 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-06-26 00:50:59 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-06-26 19:21:16 from Noah Misch <noah(at)leadboat(dot)com> 2024-03-21 11:35:00 from vignesh C <vignesh21(at)gmail(dot)com> 2024-03-21 12:32:39 from Peter Eisentraut <peter(at)eisentraut(dot)org> 2024-03-21 13:33:30 from vignesh C <vignesh21(at)gmail(dot)com> 2024-03-21 14:30:05 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-03-22 03:54:10 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-03-22 04:13:55 from Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com> 2024-03-22 04:25:48 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-03-25 06:01:39 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-03-25 09:16:42 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-03-19 11:26:10 from Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>📎 2024-03-19 11:57:36 from Peter Eisentraut <peter(at)eisentraut(dot)org> 2024-03-21 04:56:11 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-03-20 06:14:24 from Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>📎 2024-03-12 10:13:02 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-03-08 07:03:00 from Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>📎 2024-03-08 10:01:09 from "Andrey M(dot) Borodin" <x4mmm(at)yandex-team(dot)ru> 2024-03-11 03:56:52 from vignesh C <vignesh21(at)gmail(dot)com>📎 2024-03-06 11:24:06 from vignesh C <vignesh21(at)gmail(dot)com> 2024-03-07 04:43:02 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-02-20 11:32:20 from vignesh C <vignesh21(at)gmail(dot)com> 2024-02-22 15:46:06 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-02-20 13:34:57 from vignesh C <vignesh21(at)gmail(dot)com> 2024-02-22 15:46:39 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-02-26 07:19:04 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-02-21 08:00:49 from Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>📎 2024-02-23 02:45:36 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-02-23 04:44:39 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-02-22 10:48:27 from vignesh C <vignesh21(at)gmail(dot)com> 2024-02-22 15:47:01 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-02-22 16:29:27 from vignesh C <vignesh21(at)gmail(dot)com> 2024-02-20 10:53:20 from Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> 2024-02-22 15:45:26 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-02-22 16:04:57 from 'Alvaro Herrera' <alvherre(at)alvh(dot)no-ip(dot)org> 2024-02-19 09:47:37 from Peter Eisentraut <peter(at)eisentraut(dot)org> 2024-02-19 23:28:28 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-02-19 10:22:34 from Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>📎 2024-02-20 01:28:17 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-02-20 04:19:18 from Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com> 2024-02-22 12:43:53 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-02-22 21:01:23 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-02-26 12:15:53 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-02-27 10:02:28 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-02-29 05:01:10 from Andrew Dunstan <andrew(at)dunslane(dot)net> 2024-02-16 09:20:05 from Shubham Khanna <khannashubham1197(at)gmail(dot)com>📎 2024-02-16 11:10:42 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-02-07 09:17:28 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-02-08 14:22:21 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-02-13 12:55:51 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-02-15 05:27:48 from Shubham Khanna <khannashubham1197(at)gmail(dot)com>📎 2024-02-09 06:27:33 from vignesh C <vignesh21(at)gmail(dot)com> 2024-02-13 12:57:25 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-02-14 03:26:59 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-02-09 11:48:35 from Shubham Khanna <khannashubham1197(at)gmail(dot)com> 2024-02-13 13:03:13 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-02-09 12:03:15 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-02-13 12:58:23 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-02-01 00:04:55 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-02-01 02:09:55 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-02-01 03:05:23 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-01-23 23:58:11 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-01-14 01:42:46 from Junwang Zhao <zhjwpku(at)gmail(dot)com> 2024-01-17 07:28:55 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>📎 2024-01-17 08:49:16 from Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com> 2024-01-18 09:18:58 from Peter Eisentraut <peter(at)eisentraut(dot)org> 2024-01-18 09:37:04 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-01-22 06:55:04 from Peter Eisentraut <peter(at)eisentraut(dot)org> 2024-01-22 09:08:06 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-01-22 09:22:17 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-01-23 23:44:15 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-01-25 09:27:21 from Peter Eisentraut <peter(at)eisentraut(dot)org> 2024-01-25 10:16:34 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-01-31 13:03:54 from Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com> 2024-01-11 23:00:18 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-01-12 03:35:54 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-01-12 05:08:57 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-01-12 06:32:33 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-01-12 18:32:44 from Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com> 2024-01-13 11:02:47 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-01-04 15:57:15 from "Euler Taveira" <euler(at)eulerto(dot)com> 2024-01-05 05:04:16 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-01-05 10:06:11 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-01-08 05:29:54 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-01-08 07:05:21 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-01-09 05:19:28 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-01-09 07:01:41 from "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com> 2024-01-09 09:25:37 from Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> 2024-01-10 09:39:53 from vignesh C <vignesh21(at)gmail(dot)com> Lists: pgsql-hackers
On Tue, Jun 25, 2024, at 3:24 AM, Amit Kapila wrote: > On Tue, Jun 25, 2024 at 3:38 AM Noah Misch <noah(at)leadboat(dot)com> wrote: > > > > On Mon, Jun 24, 2024 at 05:20:21PM +0530, Amit Kapila wrote: > > > On Sun, Jun 23, 2024 at 11:52 AM Noah Misch <noah(at)leadboat(dot)com> wrote: > > > > > > > > > +static void > > > > > +create_publication(PGconn *conn, struct LogicalRepInfo *dbinfo) > > > > > +{ > > > > > > > > > + appendPQExpBuffer(str, "CREATE PUBLICATION %s FOR ALL TABLES", > > > > > + ipubname_esc); > > > > > > > > This tool's documentation says it "guarantees that no transaction will be > > > > lost." I tried to determine whether achieving that will require something > > > > like the fix from > > > >https://postgr.es/m/flat/de52b282-1166-1180-45a2-8d8917ca74c6(at)enterprisedb(dot)com(dot) > > > > (Not exactly the fix from that thread, since that thread has not discussed the > > > > FOR ALL TABLES version of its race condition.) I don't know. On the one > > > > hand, pg_createsubscriber benefits from creating a logical slot after creating > > > > the publication. That snapbuild.c process will wait for running XIDs. On the > > > > other hand, an INSERT/UPDATE/DELETE acquires its RowExclusiveLock and builds > > > > its relcache entry before assigning an XID, so perhaps the snapbuild.c process > > > > Correction: it doesn't matter how the original INSERT/UPDATE/DELETE builds its > > relcache entry, just how pgoutput of the change builds the relcache entry from > > the historic snapshot. > > > > > > isn't enough to prevent that thread's race condition. What do you think? > > > > > > I am not able to imagine how the race condition discussed in the > > > thread you quoted can impact this patch. The problem discussed is > > > mainly the interaction when we are processing the changes in logical > > > decoding w.r.t concurrent DDL (Alter Publication ... Add Table). The > > > problem happens because we use the old cache state. > > > > Right. Taking the example from > >http://postgr.es/m/20231119021830.d6t6aaxtrkpn743y@awork3.anarazel.de , LSNs > > between what that mail calls 4) and 5) are not safely usable as start points. > > pg_createsubscriber evades that thread's problem if the consistent_lsn it > > passes to pg_replication_origin_advance() can't be in a bad-start-point LSN > > span. I cautiously bet the snapbuild.c process achieves that: > > > > > I am missing your > > > point about the race condition mentioned in the thread you quoted with > > > snapbuild.c. Can you please elaborate a bit more? > > > > When pg_createsubscriber calls pg_create_logical_replication_slot(), the key > > part starts at: > > > > /* > > * If caller needs us to determine the decoding start point, do so now. > > * This might take a while. > > */ > > if (find_startpoint) > > DecodingContextFindStartpoint(ctx); > > > > Two factors protect pg_createsubscriber. First, (a) CREATE PUBLICATION > > committed before pg_create_logical_replication_slot() started. Second, (b) > > DecodingContextFindStartpoint() waits for running XIDs to complete, via the > > process described at the snapbuild.c "starting up in several stages" diagram. > > Hence, the consistent_lsn is not in a bad-start-point LSN span. It's fine > > even if the original INSERT populated all caches before CREATE PUBLICATION > > started and managed to assign an XID only after consistent_lsn. From the > > pgoutput perspective, that's indistinguishable from the transaction starting > > at its first WAL record, after consistent_lsn. The linked "long-standing data > > loss bug in initial sync of logical replication" thread doesn't have (a), > > hence its bug. How close is that to accurate? > > > > Yeah, this theory sounds right to me. The key point is that no DML > (processing of WAL corresponding to DML) before CREATE PUBLICATION ... > command would have reached pgoutput level because we would have waited > for it during snapbuild.c. Can we conclude that the race condition > discussed in the other thread won't impact this patch?
As Noah said the key point is the CREATE PUBLICATION *before* creating the replication slots -- that wait transactions to complete.
-- Euler Taveira EDBhttps://www.enterprisedb.com/