Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oIxlR-0007ts-Pc for pgsql-hackers@arkaria.postgresql.org; Tue, 02 Aug 2022 19:41:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oIxkS-0007xG-5H for pgsql-hackers@arkaria.postgresql.org; Tue, 02 Aug 2022 19:40:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oIxkR-0007x6-SF for pgsql-hackers@lists.postgresql.org; Tue, 02 Aug 2022 19:40:11 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oIxkL-0000e0-JB; Tue, 02 Aug 2022 19:40:10 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 272JdxnL2686055; Tue, 2 Aug 2022 15:39:59 -0400 From: Tom Lane To: "Jonathan S. Katz" cc: Robert Haas , Noah Misch , Andrew Dunstan , Bruce Momjian , Michael Paquier , Justin Pryzby , "pgsql-hackers@postgresql.org" , Shruthi Gowda Subject: Re: pg15b2: large objects lost on upgrade In-reply-to: References: <3901843.1659116952@sss.pgh.pa.us> <4152163.1659124804@sss.pgh.pa.us> <125444.1659136594@sss.pgh.pa.us> <20220730054401.GB3644221@rfd.leadboat.com> <351616.1659192034@sss.pgh.pa.us> <635c8809-3525-7dae-a1a1-0d9069cd86bc@postgresql.org> <2657259.1659460333@sss.pgh.pa.us> Comments: In-reply-to "Jonathan S. Katz" message dated "Tue, 02 Aug 2022 15:27:49 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2686053.1659469199.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 02 Aug 2022 15:39:59 -0400 Message-ID: <2686054.1659469199@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Jonathan S. Katz" writes: > On 8/2/22 3:23 PM, Robert Haas wrote: >> I'm not quite sure how to rule that theory in or out, though. > Without overcomplicating this, are we able to check to see if autovacuum= = > ran during the course of the test? Looks like we're all thinking along the same lines. grassquit shows this at the end of the old server's log, immediately after the query to retrieve the old horizons: 2022-08-01 19:33:41.608 UTC [1487114][postmaster][:0] LOG: received fast = shutdown request 2022-08-01 19:33:41.611 UTC [1487114][postmaster][:0] LOG: aborting any a= ctive transactions 2022-08-01 19:33:41.643 UTC [1487114][postmaster][:0] LOG: background wor= ker "logical replication launcher" (PID 1487132) exited with exit code 1 2022-08-01 19:33:41.643 UTC [1493875][autovacuum worker][5/6398:0] FATAL: = terminating autovacuum process due to administrator command 2022-08-01 19:33:41.932 UTC [1487121][checkpointer][:0] LOG: checkpoint c= omplete: wrote 1568 buffers (9.6%); 0 WAL file(s) added, 0 removed, 33 rec= ycled; write=3D31.470 s, sync=3D0.156 s, total=3D31.711 s; sync files=3D89= 3, longest=3D0.002 s, average=3D0.001 s; distance=3D33792 kB, estimate=3D3= 4986 kB 2022-08-01 19:33:41.933 UTC [1487121][checkpointer][:0] LOG: shutting dow= n and wrasse shows this: 2022-08-02 06:35:01.974 CEST [5606:6] LOG: received fast shutdown request 2022-08-02 06:35:01.974 CEST [5606:7] LOG: aborting any active transactio= ns 2022-08-02 06:35:01.975 CEST [6758:1] FATAL: terminating autovacuum proce= ss due to administrator command 2022-08-02 06:35:01.975 CEST [6758:2] CONTEXT: while vacuuming index "spg= ist_point_idx" of relation "public.spgist_point_tbl" 2022-08-02 06:35:01.981 CEST [5606:8] LOG: background worker "logical rep= lication launcher" (PID 5612) exited with exit code 1 2022-08-02 06:35:01.995 CEST [5607:42] LOG: shutting down While not smoking guns, these definitely prove that autovac was active. regards, tom lane