agora inbox for pgsql-admin@postgresql.org  
help / color / mirror / Atom feed
From: Álvaro Herrera <alvherre@alvh.no-ip.org>
To: Ron Johnson <ronljohnsonjr@gmail.com>
Cc: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: Feature Request: multithreaded reindexdb --concurrently of a single table
Date: Fri, 21 Feb 2025 19:46:06 +0100
Message-ID: <202502211846.grjzhouis773@alvherre.pgsql> (raw)
In-Reply-To: <CANzqJaCWmJDMvfZR2Zsi=dzjNmRYJoyM_CMLN9L58GEU9YSvYQ@mail.gmail.com>

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





view thread (3+ messages)  latest in thread

Message-ID: <202502211846.grjzhouis773@alvherre.pgsql>
Permalink:  ../202502211846.grjzhouis773@alvherre.pgsql/
Also on:    postgresql.org/message-id/202502211846.grjzhouis773@alvherre.pgsql

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: alvherre@alvh.no-ip.org, ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Feature Request: multithreaded reindexdb --concurrently of a single table
  In-Reply-To: <202502211846.grjzhouis773@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox