DISABLE_PAGE_SKIPPING option for vacuumdb

From: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: DISABLE_PAGE_SKIPPING option for vacuumdb
Date: 2016-09-08 17:32:14
Message-ID: CAD21AoDRzzQfD7qYznVnV4ipchO=R9PKaOtCx3TgNMS3Ymwf2w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Attached patch add --disable-page-skipping option to vacuumed command for 9.6.
If by any chance the freeze map causes the serious data corruption bug
then the user will want to run pg_check_visible() and vacuum with
DISABLE_PAGE_SKIPPING option to the multiple tables having problem.
In this case, I think that this option for vacuumdb would be convenient.

Please give me feedback.

Regards,

--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Attachment Content-Type Size
disable_page_skipping_option_for_vacuumdb_v1.patch application/octet-stream 4.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Erik Rijkers 2016-09-08 17:40:05 logical replication WIP: FailedAssertion("!(list_length(stmt->tables) > 0)", File: "publicationcmds.c", Line: 350)
Previous Message Peter Geoghegan 2016-09-08 17:23:17 Re: Parallel tuplesort (for parallel B-Tree index creation)