| From: | Michael Banck <mbanck(at)gmx(dot)net> |
|---|---|
| To: | Wasim Devale <wasimd60(at)gmail(dot)com> |
| Cc: | Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>, pgsql-admin <pgsql-admin(at)postgresql(dot)org> |
| Subject: | Re: data_checksums = off |
| Date: | 2024-09-09 08:59:20 |
| Message-ID: | 66deb8e9.170a0220.2d507.8cd3@mx.google.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
Hi,
On Mon, Sep 09, 2024 at 02:24:04PM +0530, Wasim Devale wrote:
> The data_checksums option is off in pg_settings and it is a preset option
> to do while doing initialisation of data directory. I can not use alter
> command any solutions to it?
You need to shut down the instance and then run
pg_checksums --enable -D <data directory>
Checksums cannot be enabled while the instance is online and the above
needs to rewrite every block so it can take a while on larger instances.
Michael
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Zaid Shabbir | 2024-09-09 08:59:58 | Re: data_checksums = off |
| Previous Message | Wasim Devale | 2024-09-09 08:54:04 | data_checksums = off |