Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wdBky-003wkq-13 for pgsql-general@arkaria.postgresql.org; Fri, 26 Jun 2026 18:58:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wdBkv-00CX3c-2z for pgsql-general@arkaria.postgresql.org; Fri, 26 Jun 2026 18:58:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wdBkv-00CX3U-1z for pgsql-general@lists.postgresql.org; Fri, 26 Jun 2026 18:58:25 +0000 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wdBkt-00000000ObK-0W6n for pgsql-general@lists.postgresql.org; Fri, 26 Jun 2026 18:58:25 +0000 Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-2c6aba584a2so1822975ad.0 for ; Fri, 26 Jun 2026 11:58:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alaska.edu; s=google; t=1782500301; x=1783105101; darn=lists.postgresql.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:content-type:from:to:cc :subject:date:message-id:reply-to:content-type; bh=rSPCHItdU5zWM4ZtG8LVmpxQWmbA4kkQztXqAzv4JqM=; b=YzUw/k00dRuDx9nLuA9t/h7lV9aSHVy4GeepLmXtXal09GEtvAPp6xngH0Zsu65G2g 51LP7CZLEuLC3+6xIRGMm5rfRhJ7GtYil02r5VxCq90bSHgoiQtGip9fnvvLmLjJbcWT jM4N3SCd8hc20LzNUvpe5PA0rq+lNN1kh0OiCs1yxRjlr32dNO8jUr6q+ZZn2FsAUDxp kirMvGQnKnklq+AJ2QEJRJBJQzqM4b5DKeeYDOSNjJIzPEtGyXx1aCeOPCAjqYloxmcY eJBxoxxT02E+1f98uZI4A81LuGWCu060C9+R+S5f9B1u0Bok3jaPZogcOcX4pclSxZt0 zJ4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782500301; x=1783105101; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:content-type:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=rSPCHItdU5zWM4ZtG8LVmpxQWmbA4kkQztXqAzv4JqM=; b=LGzxiBqfTt3A62yl4CvKsUhrRZHsJ0lFqNZYSlBBrfADBVhGN42hS7UEg0tModFyMF F+BjYZ7vrITXL5fOi+M2ivnyYVo86/KJfk3oMpdJ1l7aVptxWRyhujXrXP7tuUWW02Ri Cv0velN7MVawid02zeIGEj8nPewmbImalZKwyus3GiZwyPhqdxynUtXqF6TRC6zobx+o EGMLBCQa2E1/2AAsL3j1S5hdoO9w2qWgP18sAyt3NZazZU/0Ri5ia54a5MRxnEjU24n4 2nQucdRgUCcW4rvnDlFGl98a6qwPVx4aDZ9R7O8OvN7SRKk/4TXo+u9v/SS5nONP/Ibu 17wg== X-Forwarded-Encrypted: i=1; AHgh+Rpgm4SLM55HYFoH7sJ3u+CiOp6C075w2unTpi132NJgo95oC53i0na+SO+K/HKfD3W5mNKmlaw+C8GX6iTD@lists.postgresql.org X-Gm-Message-State: AOJu0YwBKIDmtlVSD02xiTI+K0rZAMLiMF+N9bS//qOY8MZK2ns+dHre S99ocGp1b3fiwk/weKSpgOrGk4YemxlQrrSBdQgPQmP0FhmG3bGA0JeKdoC5rGYMbA== X-Gm-Gg: AfdE7cmB5yrT/9O4FYLkaicGuMeS+eCW7CPR9wfoh5nWqa7Qr/AEtXFde7qxWB5qLU4 gYzLu/oRMzJKGMAlLz5DFNmVOB8l18cs6cMKbLI3YDpQZIeGXQo5hn/GY4nj7UQZbRnK2CloE3c KJqwRfaGstpkzXRAVPcEHHYVqh/xYiG6jWXXP+/yTwXnGlJRkUy4HRlLg3B27B8Erxd3LQQ6C2k MnctiBEfez6ZJYdL7Z21YOBXKnevcbwSYT1ga/TPZq91RebyeK36sWf6sZULt+5K4/zvqyTHoYp uFNNk6hZw+kXizdgRmiYuOc7YCuMh4Wt1Hi92ETzMg+v/2ZiHtAofqEeb1WgzRuhuAuXpEP7tn6 7uh7iHPic9LlIzTOqs1CZGKi9z3nxSJMq/UGBb17OzTJo+GlPXloqDarUX1rzFy2vQFXrRETHGb AaYAHaZnOIu862kyQg9dQa1xgXZN+PXiA7qDARtvDM/z6fqDszlPBzcVQelqKjo/0V+Eej6+kdN v7XT082 X-Received: by 2002:a17:902:fc87:b0:2c0:c965:6656 with SMTP id d9443c01a7336-2c7fc729c16mr41844285ad.6.1782500300892; Fri, 26 Jun 2026 11:58:20 -0700 (PDT) Received: from smtpclient.apple (63-140-92-92-radius.dynamic.acsalaska.net. [63.140.92.92]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2c7f5ac8988sm45658695ad.15.2026.06.26.11.58.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jun 2026 11:58:20 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.600.51.1.1\)) Subject: Re: PostgreSQL 15-->18 slowdown? From: Israel Brewster In-Reply-To: <1207571.1782499465@sss.pgh.pa.us> Date: Fri, 26 Jun 2026 10:58:09 -0800 Cc: Ruben Morais , PostgreSQL General Content-Transfer-Encoding: quoted-printable Message-Id: <13194ED9-7C4A-4442-B1FE-00AEC602233D@alaska.edu> References: <4A6D9280-1409-42A8-9A1F-99E2A558E2BB@alaska.edu> <7F4F161B-CD44-4686-A49B-C1C466A66951@alaska.edu> <1207571.1782499465@sss.pgh.pa.us> To: Tom Lane X-Mailer: Apple Mail (2.3864.600.51.1.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Jun 26, 2026, at 10:44=E2=80=AFAM, Tom Lane = wrote: >=20 > Israel Brewster writes: >=20 >> SubPlan 1 >> -> Limit (cost=3D0.00..0.48 rows=3D1 width=3D1) >> -> Nested Loop (cost=3D0.00..13833793.79 = rows=3D29105774 width=3D1) >> -> Seq Scan on tilt_data = (cost=3D0.00..13469970.40 rows=3D29105774 width=3D16) >> Filter: (station =3D stations.id) >> -> Materialize (cost=3D0.00..1.22 rows=3D1 = width=3D16) >> -> Seq Scan on tilt_orientation = (cost=3D0.00..1.21 rows=3D1 width=3D16) >> Filter: (station =3D stations.id) >=20 > Can you show us the EXPLAIN output for this part of the plan in v15? I wish I could - I was wanting to see that myself. Unfortunately, I = upgraded to 18 using =E2=80=94link, so by the time I discovered this = issue, I had no way to go back to 15 (other than restoring from backups = or the like), at least to the best of my knowledge.=20 --- Israel Brewster Software Engineer Alaska Volcano Observatory=20 Geophysical Institute - UAF=20 2156 Koyukuk Drive=20 Fairbanks AK 99775-7320 Work: 907-474-5172 cell: 907-328-9145=20 >=20 > regards, tom lane