Production block comparison facility - Mailing list pgsql-hackers

From Simon Riggs
Subject Production block comparison facility
Date
Msg-id CA+U5nMLb2g0Rreatc_HJb6VDMgh9DKfnya1YkZFckptcaZXeaw@mail.gmail.com
Whole thread Raw
Responses Re: Production block comparison facility
List pgsql-hackers
The block comparison facility presented earlier by Heikki would not be
able to be used in production systems. ISTM that it would be desirable
to have something that could be used in that way.

ISTM easy to make these changes

* optionally generate a FPW for every WAL record, not just first
change after checkpoint
full_page_writes = 'always'

* when an FPW arrives, optionally run a check to see if it compares
correctly against the page already there, when running streaming
replication without a recovery target. We could skip reporting any
problems until the database is consistent
full_page_write_check = on

The above changes seem easy to implement.

With FPW compression, this would be a usable feature in production.

Comments?

-- Simon Riggs                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: [bug fix] pg_ctl always uses the same event source
Next
From: Simon Riggs
Date:
Subject: Re: Built-in binning functions