Tagged articles
4 articles
Page 1 of 1
MaGe Linux Operations
MaGe Linux Operations
Aug 24, 2024 · Databases

Recovering PostgreSQL After Power Loss: Fixing Invalid Checkpoint Errors

After a power outage caused a PostgreSQL instance running in Kubernetes to fail with connection errors and an invalid primary checkpoint record, this guide explains how to diagnose missing socket files, inspect process IDs, use pg_resetwal to repair the checkpoint, and successfully restart the database.

Checkpoint RepairDatabase RecoveryKubernetes
0 likes · 5 min read
Recovering PostgreSQL After Power Loss: Fixing Invalid Checkpoint Errors
ITPUB
ITPUB
Feb 28, 2022 · Databases

Recovering a Corrupted PostgreSQL Database with pg_resetwal: A Step‑by‑Step Guide

This article explains how a deep understanding of database internals, illustrated by an Oracle recovery story, enables you to restore PostgreSQL instances when WAL files or pg_control are missing, providing detailed command parameters, preparation steps, and cautions for safe recovery.

Database RecoveryOraclePostgreSQL
0 likes · 10 min read
Recovering a Corrupted PostgreSQL Database with pg_resetwal: A Step‑by‑Step Guide
Qingyun Technology Community
Qingyun Technology Community
Jan 24, 2022 · Databases

Recover Lost PostgreSQL Data: Tools, Techniques, and Best Practices

This article explains why PostgreSQL data loss occurs, compares DDL and DML causes, and reviews several recovery tools—including pg_resetwal, pg_dirtyread, pg_recovery, pg_filedump, WalMiner, and pageinspect—providing usage examples, summaries, and practical recommendations for effective data restoration.

Data RecoveryDatabase ToolsMVCC
0 likes · 14 min read
Recover Lost PostgreSQL Data: Tools, Techniques, and Best Practices