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 1sZY93-001kLL-7A for pgsql-general@arkaria.postgresql.org; Thu, 01 Aug 2024 15:55:13 +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 1sZY8z-00BRrx-SB for pgsql-general@arkaria.postgresql.org; Thu, 01 Aug 2024 15:55:09 +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 1sZY8z-00BRrp-FF for pgsql-general@lists.postgresql.org; Thu, 01 Aug 2024 15:55:09 +0000 Received: from mail-io1-xd2f.google.com ([2607:f8b0:4864:20::d2f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sZY8s-002d6x-VO for pgsql-general@lists.postgresql.org; Thu, 01 Aug 2024 15:55:08 +0000 Received: by mail-io1-xd2f.google.com with SMTP id ca18e2360f4ac-81f8f01981aso268414439f.2 for ; Thu, 01 Aug 2024 08:55:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ilm.com; s=google; t=1722527700; x=1723132500; darn=lists.postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=fqQzjsoHwWOmLskUwYWK9vU/c/66kzO0D0oknwp+K6o=; b=bGmpx5B8rvkuC/uayJyfBcayr8rdXqo3O+IvQVz6Ndkukf1bxJDRG0wUir4RFnmpt6 mlnbnjbX7Wu7ljLMGFbyS9cOmwL6m0f/BfiHcAey/w9MBOo1M27H7rZ1/Almbc7mK2Si 36+gBVQ4POPOQcaKek+jALkGvb6tE7e1P3ZeA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722527700; x=1723132500; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=fqQzjsoHwWOmLskUwYWK9vU/c/66kzO0D0oknwp+K6o=; b=IT4bipJht9Gc8S1hyGoovWupNAzsq9deXDbg+4+yGcb/ocgnDzCvPEukFSkRiuLwz4 grEEChgXbEjkEr9XtJTj23uBKnydpV50Ny7mJOz64ow7VNJd7cWeFgmojvd7f9MIyzQd GtWnqUtbbYL5YbAx7t/+FNPDrJ+l/gVnUZ10+Z5DNsI3S+xt41EYKSqgVrHbrfszShZA QVyy9ARHSZ0IsdxJZRcZmhPf9Hcnt56G4bfIjpqfxa3aL1sUERAUbjd6dUh9DN8/267o 3yFJjyOvmieSIUOP5eI2Im5KkeDzqW+JRAcQI4S3v+533m58ujnlmwXKWOLPdI+U0AvH UNUw== X-Gm-Message-State: AOJu0YyOSrhbOvnSC6IkqYEsFeBr5TBprGRN6YYMTMOWp5/jjFBMvcGD SYq6w4cYBRVMDBOUv8sYyocmlIDX0Mu9XnVsU5AI4unlNfG++lDg9J75suxk86X2Ev+HRb9xTTv AjDV+iiv2Q8X4ytlf6h5+t2erhQA8y8+f7/N9iMRW0s0fFFgv X-Google-Smtp-Source: AGHT+IHKVQoNXOMacS0Wo7dv9Sx1bdqK4U7xEsMRcsCAzpnf/2GKl2ks41DxQ1UvHBahqVzawLOM1cUO1DMnJ0UkQNc= X-Received: by 2002:a05:6602:13cb:b0:81f:8694:6956 with SMTP id ca18e2360f4ac-81fd433fd20mr102977239f.4.1722527700269; Thu, 01 Aug 2024 08:55:00 -0700 (PDT) MIME-Version: 1.0 From: Jim Vanns Date: Thu, 1 Aug 2024 16:54:49 +0100 Message-ID: Subject: VACUUM on temp table blocks VACUUM on another... To: pgsql-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000b0dfbb061ea13bf8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000b0dfbb061ea13bf8 Content-Type: text/plain; charset="UTF-8" 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? They're in separate tablespaces (pg_temp_NN) and effectively distinct with respect to the sessions. Cheers, Jim -- Jim Vanns Principal Production Engineer Industrial Light & Magic, London --000000000000b0dfbb061ea13bf8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have two sessions, each creating a temporary table of th= e same name - 'foobar'. Why would a vacuum of 'foobar' from= one session block the vacuum of 'foobar' in the other session? The= y're in separate tablespaces (pg_temp_NN) and effectively distinct with= respect to the sessions.

Cheers,

Jim

--
Jim Vanns
Principal Production Engineer
I= ndustrial Light & Magic, London
--000000000000b0dfbb061ea13bf8--