pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Förster <paul.foerster@gmail.com>
To: Ron <ronljohnsonjr@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: reindexing db
Date: Tue, 8 Dec 2020 08:21:27 +0100
Message-ID: <A54CA469-6EAA-40AD-AD37-7E877268786A@gmail.com> (raw)
In-Reply-To: <39a8cdb5-bfbb-9ae8-5867-c4234373277c@gmail.com>
References: <292966DF-135C-4483-81A9-5027FC3C8A82@elevated-dev.com>
	<f477709e-6371-1ba3-84df-37e5df8e5d83@gmail.com>
	<214E5DBC-1F6F-49C1-8B83-9A2EB33E969A@gmail.com>
	<39a8cdb5-bfbb-9ae8-5867-c4234373277c@gmail.com>

Hi Ron,

> On 08. Dec, 2020, at 07:59, Ron <ronljohnsonjr@gmail.com> wrote:
> 
> Probably a habit from my VAX/VMS days, but I prefer to enumerate every table, not only for tracking but so that if the command fails 90% of the way through, I can skip over the the completed portions.

doing this IMHO defeats the purpose of concurrency because you'd have to issue reindex statements sequentially. Also, but I definitely can't say for sure, reindexdb should skip and report indexes which it has a problem with and then continue to do the remaining indexes. But as I said, I may be wrong with this.

Cheers,
Paul




view thread (17+ messages)  latest in thread

Message-ID: <A54CA469-6EAA-40AD-AD37-7E877268786A@gmail.com>
Permalink:  ../A54CA469-6EAA-40AD-AD37-7E877268786A@gmail.com/
Also on:    postgresql.org/message-id/A54CA469-6EAA-40AD-AD37-7E877268786A@gmail.com

 · 

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: paul.foerster@gmail.com, ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: reindexing db
  In-Reply-To: <A54CA469-6EAA-40AD-AD37-7E877268786A@gmail.com>

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

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