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 1tlY3P-0000sF-RB for pgsql-admin@arkaria.postgresql.org; Fri, 21 Feb 2025 18:47:16 +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 1tlY2Q-00ETFw-MP for pgsql-admin@arkaria.postgresql.org; Fri, 21 Feb 2025 18:46:14 +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 1tlY2Q-00ET5J-5N for pgsql-admin@lists.postgresql.org; Fri, 21 Feb 2025 18:46:14 +0000 Received: from fout-b6-smtp.messagingengine.com ([202.12.124.149]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tlY2M-0029TV-0J for pgsql-admin@lists.postgresql.org; Fri, 21 Feb 2025 18:46:11 +0000 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfout.stl.internal (Postfix) with ESMTP id 73EFF114017F; Fri, 21 Feb 2025 13:46:09 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Fri, 21 Feb 2025 13:46:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1740163569; x=1740249969; bh=6 eXcmAQKBmmeDssorA3Sm5ilDh0RJj8mWKELvwaEie8=; b=TINjV+L0NOECiNFKx dTeXhZyM7kJ63G3b4U8gZoLE64iY6PuSdmSasS/4/AdXdxELFHycEL10UpwyBWL6 aJKvILDlvOnAIR3PqS+rk9+Z9mtyf+rIhRtPLn0GuXOt7K1d1gxYlJvIhRtwRN7R 7Hpa9lLQqnzLsb6vxoBIADVoUHYDUGHvV2mRclegIm/MCxn35nlSHaOgFQYlwyid 2XNg842Hc0IDNW/UHL0XPF7GlX0NNcuHjA2rUvKDpxfhOS6u2/g055kqDfctI8DF tpwvX20nA7OIAqUmou55KOSOmgUiZ5r8NWPw3yV0vugO21llPLhB4UYhqhy0y/3E STREQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdejtdejkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecuogfuuhhsphgvtghtff homhgrihhnucdlgeelmdenucfjughrpeffhffvvefukfggtggugfgjsehtkeertddttdej necuhfhrohhmpemllhhvrghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvh hhrdhnohdqihhprdhorhhgqeenucggtffrrghtthgvrhhnpeehudetgffgheeiheeiieeg ieeufefhkeeujedugeekffelieeiiefhvdelheelgfenucffohhmrghinhepvghnthgvrh hprhhishgvuggsrdgtohhmpdhgohhoghhlvgdrtghomhenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnoh dqihhprdhorhhgpdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgt phhtthhopehrohhnlhhjohhhnhhsohhnjhhrsehgmhgrihhlrdgtohhmpdhrtghpthhtoh epphhgshhqlhdqrggumhhinheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 21 Feb 2025 13:46:08 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1740163566; bh=Mjv3lptXznGJBIcGZNV/BgdOmDpfpKybAyrnuDtPVNE=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=UoHguHJwGBM1qDoUD3jm0PStnZoT3V3LJYZokGDJpAqWhXnxtLAoU8zQQfiBdRFte 6veBjP25te8apfOQxl2sL/M8pkIPV/gmdRYWmzn/ZgvAyUTSOovSFJoyrcwP6Y9L7B nw0t/jEvptnN5teywi6HnmSN92IoK+2AxtNJRXrfWnUNo8WJ/MPshSFk8wNigOgvZH zDwRWfrmcClDCwaWs/sxbQgjB9D1KJz7FqpUTawhUzR97ASwJbuUzYYKaOPhwQmw2C TwIVV0QTmd0JUUxpiomus87tjuF9bVDJQadK3f+Y42+Ol7rCAGrYWT9pvZB9yks4nn g3hDmaTyL+L8Q== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id 5C71B8F; Fri, 21 Feb 2025 19:46:06 +0100 (CET) Date: Fri, 21 Feb 2025 19:46:06 +0100 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Ron Johnson Cc: Pgsql-admin Subject: Re: Feature Request: multithreaded reindexdb --concurrently of a single table Message-ID: <202502211846.grjzhouis773@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025-Feb-18, Ron Johnson wrote: > It would be really really handy to be able to run multiple REINDEX INDEX > jobs at the same time, either by just specifying the table as above and > reindexdb automagically getting the index names, or by manually enumerating > each index, and then see all four REINDEX INDEX statements in > pg_stat_activity. I don't think multiple REINDEX commands can run concurrently on the same table, so this is not a reindexdb issue but a server issue. And TBH I think the server feature to support that is not likely to be implemented soon. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "Ed is the standard text editor." http://groups.google.com/group/alt.religion.emacs/msg/8d94ddab6a9b0ad3