Re: reindexing db

From: Paul Förster <paul(dot)foerster(at)gmail(dot)com>
To: Ron <ronljohnsonjr(at)gmail(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: reindexing db
Date: 2020-12-08 06:36:19
Message-ID: 214E5DBC-1F6F-49C1-8B83-9A2EB33E969A@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Ron,

> On 08. Dec, 2020, at 06:42, Ron <ronljohnsonjr(at)gmail(dot)com> wrote:
>
> Changing subjects, but the thought of reindexing every index, whether it needs it or not, in one command, seems like a crime against database administration.

hmm, yes, I agree to *some* point. But also think about possible changes in glibc and the collation problems corrupting indexes that come with it. So, you do a reindexdb deliberately to protect yourself against index corruption because PostgreSQL can't know by itself that it needs such protection because it doesn't know of any changes in glibc.

So, it's not a crime against database administration but rather a means of defense for a database administrator against an external crime attacking the database.

Cheers,
Paul

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ron 2020-12-08 06:59:08 Re: reindexing db
Previous Message Ron 2020-12-08 05:42:33 Re: reindexing db