Re: REINDEX backend filtering

From: Julien Rouhaud <rjuju123(at)gmail(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: REINDEX backend filtering
Date: 2021-03-14 08:10:07
Message-ID: 20210314081007.kr3q5qusyhl2i4p4@nol
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Mar 03, 2021 at 01:56:59PM +0800, Julien Rouhaud wrote:
>
> Please find attached v5 which address all previous comments:
>
> - consistently use "outdated"
> - use REINDEX (OUTDATED) grammar (with a new unreserved OUTDATED keyword)
> - new --outdated option to reindexdb
> - expose a new "pg_index_has_outdated_dependency(regclass)" SQL function
> - use that function in reindexdb --outdated to sort tables by total
> indexes-to-be-processed size

v6 attached, rebase only due to conflict with recent commit.

Attachment Content-Type Size
v6-0001-Add-a-new-OUTDATED-filtering-facility-for-REINDEX.patch text/x-diff 17.3 KB
v6-0002-Add-a-outdated-option-to-reindexdb.patch text/x-diff 14.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2021-03-14 08:48:22 Re: Using COPY FREEZE in pgbench
Previous Message Julien Rouhaud 2021-03-14 08:06:45 Re: Feature improvement: can we add queryId for pg_catalog.pg_stat_activity view?