Tagged articles
54 articles
Page 1 of 1
Lobster Programming
Lobster Programming
Jul 28, 2025 · Databases

How MySQL’s Double Write Buffer Prevents Partial Write Failures

This article explains why MySQL data pages can suffer partial write failures during crashes, how the mismatch between InnoDB and OS page sizes contributes to the problem, and how the Double Write Buffer mechanism safeguards data integrity by providing a recoverable copy of each page.

Database RecoveryDouble Write BufferInnoDB
0 likes · 7 min read
How MySQL’s Double Write Buffer Prevents Partial Write Failures
IT Xianyu
IT Xianyu
Jun 4, 2025 · Databases

Comprehensive Guide to Automated MySQL Backup and Restore with Docker

This article provides a step‑by‑step tutorial for DBAs to design a reliable MySQL backup strategy, write a Bash automation script, schedule it with cron, and perform restoration drills using Docker containers, while covering directory planning, command checks, cleanup, and common troubleshooting.

AutomationBackupDatabase Recovery
0 likes · 17 min read
Comprehensive Guide to Automated MySQL Backup and Restore with Docker
MaGe Linux Operations
MaGe Linux Operations
Feb 9, 2025 · Databases

How to Recover Accidentally Deleted MySQL Tables: Real Enterprise Cases

This article presents two real‑world MySQL recovery scenarios—full backup restoration after an accidental table deletion and incremental recovery using XtraBackup—detailing backup strategies, binlog extraction, step‑by‑step commands, and validation procedures to safely restore production databases.

BackupBinlogDatabase Recovery
0 likes · 10 min read
How to Recover Accidentally Deleted MySQL Tables: Real Enterprise Cases
Liangxu Linux
Liangxu Linux
Sep 12, 2024 · Databases

Master MySQL Redo Log & Binlog: 15 Essential Interview Questions Explained

Explore 15 classic MySQL log interview questions covering redo log, WAL, binlog, undo log, two‑phase commit, write‑ahead logging, crash‑safe mechanisms, log flushing settings, and recovery procedures, with detailed explanations, execution flow diagrams, and configuration parameters to help you ace database engineering interviews.

BinlogDatabase RecoveryWAL
0 likes · 16 min read
Master MySQL Redo Log & Binlog: 15 Essential Interview Questions Explained
Liangxu Linux
Liangxu Linux
Sep 2, 2024 · Databases

Master MySQL Logs: Redo, Binlog, Undo & Crash‑Safe Mechanisms Explained

This article compiles 15 classic MySQL log interview questions and provides detailed explanations of redo log, WAL, binlog, undo log, two‑phase commit, crash‑safe mechanisms, and related configuration parameters, helping readers understand database recovery and replication fundamentals.

BinlogCrash SafeDatabase Recovery
0 likes · 17 min read
Master MySQL Logs: Redo, Binlog, Undo & Crash‑Safe Mechanisms Explained
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
dbaplus Community
dbaplus Community
Jun 30, 2024 · Databases

How MySQL’s Write‑Ahead Log Safeguards Data During Power Failures

An in‑depth guide explains MySQL’s write‑ahead log mechanism, covering buffer pool, redo and undo logs, checkpoint types, and how the system recovers from power failures, with step‑by‑step examples and practical configuration tips for reliable data consistency.

CheckpointDatabase RecoveryWAL
0 likes · 12 min read
How MySQL’s Write‑Ahead Log Safeguards Data During Power Failures
ITPUB
ITPUB
May 6, 2024 · Databases

How MySQL’s Write‑Ahead Log Protects Data During Power Outages

This article explains MySQL InnoDB’s write‑ahead logging, detailing the roles of Buffer Pool, Redo and Undo logs, checkpoint mechanisms, and how they ensure data consistency and atomicity when a sudden power loss occurs.

CheckpointDatabase RecoveryInnoDB
0 likes · 12 min read
How MySQL’s Write‑Ahead Log Protects Data During Power Outages
ITPUB
ITPUB
Apr 12, 2024 · Databases

How to Recover Accidentally Deleted Oracle Databases: Step‑by‑Step Guide

This guide explains how to rescue both physically and logically deleted Oracle databases, covering RMAN file recovery, full database restoration, flashback table techniques, recycle‑bin usage, flashback database configuration, and essential backup strategies to prevent data loss.

BackupDatabase RecoveryFlashback
0 likes · 10 min read
How to Recover Accidentally Deleted Oracle Databases: Step‑by‑Step Guide
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 10, 2023 · Databases

Diagnosing and Resolving MongoDB and Redis Replication Failures: Oplog Issues and Recovery Strategies

This article analyzes a MongoDB replication failure caused by missing oplog entries, compares logical initialization repair methods with Redis replication, and provides practical steps—including oplog size adjustment and snapshot techniques—to restore synchronization and prevent similar issues in production environments.

Database RecoveryLogical InitializationMongoDB
0 likes · 9 min read
Diagnosing and Resolving MongoDB and Redis Replication Failures: Oplog Issues and Recovery Strategies
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 16, 2023 · Databases

Diagnosing and Resolving InnoDB Page Corruption in MySQL

This article describes how to identify, analyze, and fix InnoDB page corruption in MySQL instances, covering log inspection, querying metadata tables, using innodb_force_recovery, and the inno_space tool, with example commands and best‑practice recommendations to prevent data loss.

Database RecoveryInnoDBPage Corruption
0 likes · 11 min read
Diagnosing and Resolving InnoDB Page Corruption in MySQL
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 30, 2023 · Databases

Greenplum Segment Failure Diagnosis and Recovery Procedures

This article explains how to simulate and diagnose segment failures in a Greenplum cluster, including identifying master, segment, and tablespace issues, generating recovery configuration files, and using gprecoverseg and gpstate commands to restore segment roles and ensure all nodes are operational.

Database RecoveryGreenplumSegment Failure
0 likes · 24 min read
Greenplum Segment Failure Diagnosis and Recovery Procedures
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
ZhiKe AI
ZhiKe AI
Sep 24, 2021 · Databases

How to Manually Re‑Add a Detached MySQL MGR Cluster Node

This guide walks through exporting business databases, re‑initializing the MySQL instance, importing data, extracting GTID information, creating replication and monitoring accounts with helper functions, resetting logs, and finally re‑joining the node to a MySQL Group Replication cluster.

Database RecoveryGTIDGroup Replication
0 likes · 8 min read
How to Manually Re‑Add a Detached MySQL MGR Cluster Node
ITPUB
ITPUB
Jul 15, 2021 · Databases

Recovering an Oracle Table After a Week-Long Data Mishap with RMAN and DBLINK

This guide walks through restoring a mistakenly updated Oracle 11.2.0.1 table to a specific point in time using RMAN tablespace recovery on a new host, handling Windows-specific issues, and finally retrieving the data via a database link, with full scripts and step‑by‑step instructions.

DBLINKDatabase RecoveryOracle
0 likes · 14 min read
Recovering an Oracle Table After a Week-Long Data Mishap with RMAN and DBLINK
StarRing Big Data Open Lab
StarRing Big Data Open Lab
Nov 19, 2020 · Databases

How Logical Undo Logging and Constant-Time Recovery Transform Modern Databases

This article explains the principles of Logical Undo Logging, compares it with Physical Logging, and examines advanced recovery techniques such as SQL Server's Constant Time Recovery and the in‑memory database Silo's Force Recovery, highlighting their impact on concurrency, performance, and recovery latency.

Constant Time RecoveryDatabase RecoveryLogical Undo Logging
0 likes · 21 min read
How Logical Undo Logging and Constant-Time Recovery Transform Modern Databases
ITPUB
ITPUB
Jun 8, 2020 · Databases

How to Simulate and Recover Various Oracle File Corruptions

This guide walks through simulating corruption of Oracle password, parameter, control, data, and log files, demonstrates the resulting errors, and provides step‑by‑step RMAN and SQL commands to restore each file type while emphasizing backup best practices.

Control FileDatabase RecoveryFile Corruption
0 likes · 16 min read
How to Simulate and Recover Various Oracle File Corruptions
Java Backend Technology
Java Backend Technology
Mar 5, 2020 · Operations

How a Massive Delete-Database Crisis at Weimeng Reveals Key Ops Lessons

On Feb 23, Weimeng suffered a large‑scale system outage caused by a core operations staff mistakenly deleting production databases, prompting a multi‑day recovery effort with Tencent Cloud support; the article examines the incident’s background, historical parallels, crisis response, and broader operational insights for DevOps and reliability engineering.

Database RecoveryDevOpsOperations
0 likes · 16 min read
How a Massive Delete-Database Crisis at Weimeng Reveals Key Ops Lessons
Efficient Ops
Efficient Ops
Feb 26, 2020 · Operations

What the Weimeng Delete‑Database Outage Teaches About Modern Ops

After a core operations staff accidentally deleted Weimeng’s production database in February, the platform endured a multi‑day outage, prompting a transparent crisis response, extensive Tencent Cloud support, and a deep analysis of recovery challenges, operational best practices, and the broader lessons for modern DevOps teams.

Database RecoveryOperationscrisis management
0 likes · 15 min read
What the Weimeng Delete‑Database Outage Teaches About Modern Ops
Qunar Tech Salon
Qunar Tech Salon
Feb 13, 2020 · Databases

Understanding InnoDB REDO Log Recovery Process

This article explains how InnoDB uses REDO logs to recover a crashed MySQL database, detailing the steps of locating checkpoints, scanning log segments, parsing mini‑transactions, storing records in hash tables, and applying them to restore data consistency.

Database RecoveryInnoDBMini-transaction
0 likes · 23 min read
Understanding InnoDB REDO Log Recovery Process
37 Interactive Technology Team
37 Interactive Technology Team
Jun 21, 2019 · Databases

Understanding MySQL Flashback: Principles, Tools, and Pseudo GTID

MySQL Flashback leverages the ROW‑format binary log to generate inverse DML statements—turning deletes into inserts, updates into reverse updates, and inserts into deletes—while tools parse WriteRows, UpdateRows, and DeleteRows events, using injected Pseudo GTID markers to delimit change ranges and enable automated rollback despite DDL limitations.

BinlogBinlog ParsingDatabase Recovery
0 likes · 6 min read
Understanding MySQL Flashback: Principles, Tools, and Pseudo GTID
ITPUB
ITPUB
May 10, 2018 · Databases

Recovering a Crashed SQL Server Database When Backups Are Unavailable

When a SQL Server database crashes and you lack recent backups or usable transaction logs, you can still attempt recovery by attaching the data file, switching the database to emergency mode, running DBCC checks, and rebuilding objects, though some data loss may be inevitable.

DBCCDatabase RecoveryEmergency Mode
0 likes · 7 min read
Recovering a Crashed SQL Server Database When Backups Are Unavailable
Tencent Database Technology
Tencent Database Technology
May 9, 2018 · Databases

Optimizing Xtrabackup Recovery Process for InnoDB Databases

Xtrabackup is an open-source hot backup tool for InnoDB and XtraDB databases, offering non-blocking backups with features like fast backup speeds, reliable physical backups, and efficient disk space usage. The recovery process involves complex log parsing and page flushing mechanisms, which can be optimized to improve performance, especially for large datasets.

Backup ToolsDatabase ManagementDatabase Recovery
0 likes · 16 min read
Optimizing Xtrabackup Recovery Process for InnoDB Databases
ITPUB
ITPUB
Feb 19, 2018 · Databases

Recovering a Dropped MySQL Database Without Backups

This guide walks through stopping services, backing up the MySQL data directory, compiling the undrop‑for‑InnoDB tool, parsing ibdata1 to rebuild system tables, extracting CREATE TABLE statements, and loading recovered data back into MySQL, while highlighting common pitfalls such as command‑line flags and UTF‑8 emoji issues.

Database RecoveryInnoDBLinux
0 likes · 7 min read
Recovering a Dropped MySQL Database Without Backups
ITPUB
ITPUB
Oct 12, 2017 · Databases

Recovering Oracle SYSAUX DBF Corruption and Restoring User Data

The article details a step‑by‑step recovery of an Oracle database where the SYSAUX01.DBF file was corrupted, using DBV detection, attempted repairs, analysis of export/Data Pump failures, and low‑level file parsing to fully restore the ZXFG user's data.

CorruptionDBVData Pump
0 likes · 5 min read
Recovering Oracle SYSAUX DBF Corruption and Restoring User Data
ITPUB
ITPUB
Jun 13, 2017 · Databases

Recover a Dropped MySQL Database with Binlog and Full Backup Steps

This guide explains how to restore an accidentally dropped MySQL database by leveraging nightly full backups and incremental binlog files, detailing the required configuration, command usage, and step‑by‑step procedures to safely recover lost data.

BackupData RestorationDatabase Recovery
0 likes · 5 min read
Recover a Dropped MySQL Database with Binlog and Full Backup Steps
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Apr 13, 2017 · Databases

How to Quickly Recover a Single MySQL Table with XtraBackup

This guide explains how to use Percona XtraBackup for fast single‑table recovery in both local full‑backup and remote streaming scenarios, detailing preparation steps, command examples, and essential configuration tweaks to minimize downtime and data loss.

BackupDatabase RecoverySingle Table Restore
0 likes · 7 min read
How to Quickly Recover a Single MySQL Table with XtraBackup
ITPUB
ITPUB
Feb 15, 2017 · Databases

Master Oracle Flashback: Recover Data with Queries, Versions, and Transactions

This article explains Oracle Flashback technology—from basic flashback queries and version queries to transaction-level recovery—detailing required undo tablespace settings, essential parameters, SQL syntax, and step‑by‑step examples that demonstrate how to restore erroneous DML operations efficiently.

Database RecoveryFlashbackOracle
0 likes · 9 min read
Master Oracle Flashback: Recover Data with Queries, Versions, and Transactions
ITPUB
ITPUB
Jan 29, 2017 · Databases

Step-by-Step Oracle RMAN Disaster Recovery: Backup, Restore, and Validation

This guide walks through simulating a catastrophic Oracle database failure, performing incremental RMAN backups, verifying backup completeness, and executing a full restore and recovery—including spfile, controlfile, datafiles, and archived logs—so you can confidently recover a database after total data loss.

BackupDatabase RecoveryOracle
0 likes · 15 min read
Step-by-Step Oracle RMAN Disaster Recovery: Backup, Restore, and Validation
ITPUB
ITPUB
Oct 19, 2016 · Databases

Recovering Lost Oracle Datafiles: SCN Adjustment and Open‑Database Tricks

This article walks through a real Oracle 11gR2 datafile loss case, explains how backup‑software snapshots caused mismatched SCNs, and details step‑by‑step recovery methods—including offline drop, header SCN editing, and forcing the database open with SCN adjustment—to successfully restore the instance.

Backup FailureDatabase RecoveryDatafile Loss
0 likes · 12 min read
Recovering Lost Oracle Datafiles: SCN Adjustment and Open‑Database Tricks
ITPUB
ITPUB
Sep 7, 2016 · Databases

Fix ORA-38706/ORA-38707 Errors and Enable Oracle Flashback Database

This guide explains why ORA-38706 and ORA-38707 occur when Flashback Database is turned on, shows how to switch the Oracle database to ARCHIVE mode, and provides step‑by‑step SQL commands to enable Flashback and verify the configuration.

Archive ModeDatabase RecoveryFlashback Database
0 likes · 5 min read
Fix ORA-38706/ORA-38707 Errors and Enable Oracle Flashback Database
ITPUB
ITPUB
Jun 27, 2016 · Databases

How to Quickly Recover a Corrupted Oracle 11g Database on Windows

A step‑by‑step guide shows how to reinstall Oracle 11g, adjust environment variables, copy essential files, recreate Oracle services, and verify the database connection to restore a Windows‑based Oracle database that was damaged by antivirus deletions.

Database RecoveryOracleOracle11g
0 likes · 5 min read
How to Quickly Recover a Corrupted Oracle 11g Database on Windows
ITPUB
ITPUB
Jun 24, 2016 · Databases

How Oracle Uses Undo to Provide Consistent Reads and Recover Transactions

This article explains Oracle's undo mechanism, detailing how it enables consistent reads, supports transaction rollback, and facilitates instance recovery by tracking SCN numbers and chaining undo blocks to reconstruct past data states.

Consistent ReadDatabase RecoveryOracle
0 likes · 10 min read
How Oracle Uses Undo to Provide Consistent Reads and Recover Transactions
dbaplus Community
dbaplus Community
May 20, 2016 · Databases

How to Tackle Oracle Bad Blocks: Practical Strategies for DBAs

The article explains why Oracle bad block incidents demand scenario‑driven handling, outlines interview questions, describes the pitfalls of inspecting each alert log, and advocates promptly switching to disaster‑recovery and using backups to restore service, while sharing real‑world cases and practical DBA advice.

Bad BlocksDBADatabase Recovery
0 likes · 8 min read
How to Tackle Oracle Bad Blocks: Practical Strategies for DBAs
dbaplus Community
dbaplus Community
Apr 7, 2016 · Databases

Recover Deleted Oracle Datafiles Using Linux File Descriptors and BBED

This article walks through two unconventional Oracle recovery techniques—restoring a mistakenly deleted datafile by leveraging Linux file descriptors and bypassing a missing archive log with BBED—detailing the scenarios, analysis, step‑by‑step commands, and practical considerations.

BBEDDatabase RecoveryDatafile
0 likes · 9 min read
Recover Deleted Oracle Datafiles Using Linux File Descriptors and BBED