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 1sZdK4-002M9f-QM for pgsql-general@arkaria.postgresql.org; Thu, 01 Aug 2024 21:26:56 +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 1sZdK3-00DVRi-9i for pgsql-general@arkaria.postgresql.org; Thu, 01 Aug 2024 21:26:55 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sZdK2-00DVRa-P1 for pgsql-general@lists.postgresql.org; Thu, 01 Aug 2024 21:26:54 +0000 Received: from mail-oo1-xc29.google.com ([2607:f8b0:4864:20::c29]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sZdK0-002bnI-6d for pgsql-general@postgresql.org; Thu, 01 Aug 2024 21:26:53 +0000 Received: by mail-oo1-xc29.google.com with SMTP id 006d021491bc7-5d5bd1b79cfso4331146eaf.2 for ; Thu, 01 Aug 2024 14:26:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722547611; x=1723152411; darn=postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=bUJaOYCmE4qrGlDpYbGda5vt6if11W84cvCg5RhshCo=; b=CwuDEqd5hMv+Twny6VvXrPLXG3F/v3vw7JJ6bkfM0LhJ6nv7UagDSrAYX0HiDfnwIL WxFOApax6B9jdT3jzmASQZCuP8uKQS/8ndsT+940dCCw+P2Bnbj+rsfCNHlQgFN+fiP/ gV2iUP3zygnGa0GafVcW2myTm0COadnAIM7DGkWPCMNNfrpbK9JFDu1/lcPMg7mkIwDC 2It/G2D9s9k49hPArtIAwxvOmiljkzRzh5BqHCKwYlVlHSr13mSp51aqR/gN/RxAtivh F/EVlUMHOroqwvC7x9k/WRl8nBNasiqfrwsg6GmQoCave/9dDTQ0MpmG+NOjJekmXU0a 8qmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722547611; x=1723152411; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bUJaOYCmE4qrGlDpYbGda5vt6if11W84cvCg5RhshCo=; b=nynjxSAy2u+qvS7nmOa6YpvGEl6erfIl5cvrHkDFuG9PkiRXclEYeRjlR4rBjDe3w9 HqyI0atltuV09aZ/+JYtydN1LgBOQg3mx1V4skcMQWVn7+nl3+DFH7RaudzXurPfKDzu msmip12zlx31aayQb89t5mVvsDo3vOKZTtLiwytf5hLDNANf4e9Q2hVXl6iAodcWP3Lv FlgeaKZ2+n80r6TAziiL04Xu7f9FLrl8kr9zLwF7qewb7sMnxMJdN0cQJZF03gJzRVmE wekjZ8eXFCm3um9FahXpOJByJV+0Mjrfm0LaXtvLIX40muCq80kUfUZq9lAqPbmiEkX8 FooA== X-Gm-Message-State: AOJu0YyVjsM+XqLt+2OeC0pZnpEgV2/5AWOIZhqPNfR/kfAB9+4ff2Nf v//8kJAFyogSQ6OotTtXrrqq1CKLj77jCYQsA1JZRzlkwbKZqYI/gDh0L3c24ledDlw1NV22pYy k0E1zqVC8Jl4Oz3LBEPgv3Uf9T5qLtg== X-Google-Smtp-Source: AGHT+IF1WnmOdmM123eOPAN95nmnHZt/qSIhl19yHKfdxrhYqlXI2WizD4NJfVisU7E+5S7XSmHe3Wmk9f3i6D9qCCs= X-Received: by 2002:a05:6870:c095:b0:25e:11f4:f694 with SMTP id 586e51a60fabf-26891d48638mr1739533fac.21.1722547611411; Thu, 01 Aug 2024 14:26:51 -0700 (PDT) MIME-Version: 1.0 References: <3780009.1722539561@sss.pgh.pa.us> <2583d693-f728-46d6-af57-5012cb223b28@aklaver.com> In-Reply-To: From: Ron Johnson Date: Thu, 1 Aug 2024 17:26:40 -0400 Message-ID: Subject: Re: VACUUM on temp table blocks VACUUM on another... To: pgsql-general Content-Type: multipart/alternative; boundary="0000000000007cb2c5061ea5dea0" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000007cb2c5061ea5dea0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable PG 15.0 or 15.7? On Thu, Aug 1, 2024 at 3:58=E2=80=AFPM Jim Vanns wrote: > Sorry, PG15. > > Jim > > On Thu, 1 Aug 2024 at 20:25, Adrian Klaver > wrote: > >> On 8/1/24 12:12, Tom Lane wrote: >> > Jim Vanns writes: >> >> I have two sessions, each creating a temporary table of the same name= - >> >> 'foobar'. Why would a vacuum of 'foobar' from one session block the >> vacuum >> >> of 'foobar' in the other session? >> > >> > That's fairly hard to believe. Can you provide a self-contained test >> > case? >> >> Would also be nice to know what version of Postgres and where you are >> running the server? >> >> > >> > regards, tom lane >> > >> > >> >> -- >> Adrian Klaver >> adrian.klaver@aklaver.com >> >> > > -- > Jim Vanns > Principal Production Engineer > Industrial Light & Magic, London > --0000000000007cb2c5061ea5dea0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
PG 15.0 or 15.7?

=
On Thu, Aug 1, 2024 at 3:58=E2=80=AFP= M Jim Vanns <jvanns@ilm.com> wr= ote:
Sorry, PG15.

Jim

On Thu, 1 Aug 2024 at 20:25,= Adrian Klaver <adrian.klaver@aklaver.com> wrote:
On 8/1/24 12:12, Tom Lane wrote:
> Jim Vanns <jvan= ns@ilm.com> writes:
>> I have two sessions, each creating a temporary table of the same n= ame -
>> 'foobar'. Why would a vacuum of 'foobar' from one = session block the vacuum
>> of 'foobar' in the other session?
>
> That's fairly hard to believe.=C2=A0 Can you provide a self-contai= ned test
> case?

Would also be nice to know what version of Postgres and where you are
running the server?

>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0regards, tom lane
>
>

--
Adrian Klaver
adrian.klave= r@aklaver.com



--
Jim Vanns
Principal Production Engineer
Industrial Lig= ht & Magic, London
--0000000000007cb2c5061ea5dea0--