checksum
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| checksum [2024/08/29 12:52] – created jbi | checksum [2025/05/31 08:29] (current) – jbi | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== enable checksum after creation (initdb) ====== | ====== enable checksum after creation (initdb) ====== | ||
| - | Ubuntu 24.04 / postgres v16 with primary and secondary: | + | **Ubuntu 24.04 / postgres v16 with primary and secondary:** |
| + | * shutdown primary and secondary | ||
| - | secondary: shut down the secondary | + | * and - on both clusters: |
| + | < | ||
| + | sudo -u postgres / | ||
| </ | </ | ||
| - | / | + | |
| - | </ | + | |
| - | + | * And check if checksum is enabled on both (on): | |
| - | primary: shut down the primary | + | < |
| - | + | sudo -u postgres psql -c "show data_checksums" | |
| - | </ | + | |
| - | / | + | |
| - | </ | + | |
| - | + | ||
| - | Start the primary | + | |
| - | Start the secondary | + | |
| - | + | ||
| - | Check if checksum is enabled on both: | + | |
| - | + | ||
| - | < | + | |
| - | show data_checksums; | + | |
| </ | </ | ||
checksum.1724928726.txt.gz · Last modified: 2024/08/29 12:52 by jbi
