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.94.2) (envelope-from ) id 1rNJu4-00AzBf-RK for pgsql-bugs@arkaria.postgresql.org; Tue, 09 Jan 2024 21:44:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rNJu3-00FtdE-Nl for pgsql-bugs@arkaria.postgresql.org; Tue, 09 Jan 2024 21:44:55 +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.94.2) (envelope-from ) id 1rNJu3-00Ftd5-7U for pgsql-bugs@lists.postgresql.org; Tue, 09 Jan 2024 21:44:55 +0000 Received: from mail-yb1-xb2f.google.com ([2607:f8b0:4864:20::b2f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1rNJu0-000iMk-QL for pgsql-bugs@lists.postgresql.org; Tue, 09 Jan 2024 21:44:54 +0000 Received: by mail-yb1-xb2f.google.com with SMTP id 3f1490d57ef6-dbed430ef5eso2571965276.1 for ; Tue, 09 Jan 2024 13:44:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; t=1704836691; x=1705441491; darn=lists.postgresql.org; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=5Y08rBcXoUY5RjiW0jYlfLD7Qg6d03y6LBCsm0CNd9o=; b=LQFr8dL5LWxP3zppZmWpknF+t/xtxMOm+mGv1IhHDWZF7b4QXZjbMFInKhqLofm/CH jNa0NkSajkBc5iKAXENGKI2wVU0k8ZWHTYPa9EIoeJA/sX+l3WODOovn4u8uAGxGDRi+ r/VpQ3FMpFo7vhjUICCnMA4eqx6z6gMEwca4o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704836691; x=1705441491; h=user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5Y08rBcXoUY5RjiW0jYlfLD7Qg6d03y6LBCsm0CNd9o=; b=BbOP6b4PPDg/ujOClrwFAzmgfZSrCLye18MKI/xwyW3Fbwv4VgT0Y8VJDGp+yhx0Px b+oGgzEiIER9wrQcD7MeIzrQgylylVWM7GZnG+dVXuOEbJD6Ij+xI5ae/yvOdVr9JWPG oAYFEgvSREwQtiEhNYgXnZoF7Py8CNsmStN2MTMhP9nRik9wmTOCKrSIaC6Mgp7CHW8u V+FLMOsew6wv94FgU8j9YPCeEqGiwR20gemcQMyk16/tYKQUkxGYGc4cpQnBxJX75qei lX77vmbi2KFG30vEoWQ5LvCuuW+3Bw5Y03nI1pK5RG7CrMkhWTbxaHYPyd0zMotMBCEs LaQA== X-Gm-Message-State: AOJu0YxJB7grFc/ppJI/1k03KtDYzeWloTbdxXAKQdxu2m2K5EO8QQv+ kILQrHcTZFH6fs2WODdXJashWlsSrppq X-Google-Smtp-Source: AGHT+IGVvrPmd/OmcQxdr5ZXALcrpUutaVAUhIEBYHUwGa1BYo6tvR5PiZ54KY4jQK/fGx2BATX8vg== X-Received: by 2002:a25:f809:0:b0:dbc:b890:5c2e with SMTP id u9-20020a25f809000000b00dbcb8905c2emr21386ybd.109.1704836690666; Tue, 09 Jan 2024 13:44:50 -0800 (PST) Received: from rfd.leadboat.com ([2600:1702:a20:5750::48]) by smtp.gmail.com with ESMTPSA id k9-20020a25b349000000b00dbcdf062499sm987955ybg.54.2024.01.09.13.44.49 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Jan 2024 13:44:50 -0800 (PST) Date: Tue, 9 Jan 2024 13:44:47 -0800 From: Noah Misch To: Peter Geoghegan Cc: Matthias van de Meent , robertmhaas@gmail.com, Alexander Lakhin , PostgreSQL mailing lists , Andres Freund Subject: Re: BUG #17257: (auto)vacuum hangs within lazy_scan_prune() Message-ID: <20240109214447.88@rfd.leadboat.com> References: <17257-1e46de26bec11433@postgresql.org> <20231225024402.77@rfd.leadboat.com> <20240106202413.e5@rfd.leadboat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/2.2.12 (2023-09-09) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Jan 09, 2024 at 03:59:19PM -0500, Peter Geoghegan wrote: > On Sat, Jan 6, 2024 at 3:24 PM Noah Misch wrote: > > On Sun, Dec 31, 2023 at 03:53:34PM -0800, Peter Geoghegan wrote: > > > I am aware of a production database that appears to run into the same > > > problem. Inserts and concurrent cross-partition updates are used > > > heavily on this instance (the table in question uses partitioning). > > > Perhaps you happened upon a similar problematic production database, > > > and found this thread when researching the issue? Maybe we've both > > > seen the same problem in the wild? > > > > I did find this thread while researching the symptoms I was seeing. No > > partitioning where I saw them. > > I'm starting to think that partitioning was just a red herring. The > instance had problems in the presence of DELETEs, not UPDATEs (or > cross-partition UPDATEs). > > Did the affected system that you investigated happen to have an > atypically high number of databases? The system 15.4 system that I saw > the problem on had almost 3,000 databases. No, single-digit database count here.