Tagged articles
3 articles
Page 1 of 1
ITPUB
ITPUB
Nov 22, 2022 · Databases

How Redis RDB Works: Snapshotting, BGSAVE, and Copy‑On‑Write Explained

Redis achieves high speed by keeping data in memory, but to avoid data loss it offers two persistence methods—RDB and AOF; this article explains RDB’s snapshot mechanism, the SAVE vs BGSAVE commands, copy‑on‑write handling, automatic save configuration, and the internal structures that drive periodic backups.

BGSAVECopy-on-WritePersistence
0 likes · 13 min read
How Redis RDB Works: Snapshotting, BGSAVE, and Copy‑On‑Write Explained