We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

How Online Backup works in MyRocks and RocksDB

Formal Metadata

Title
How Online Backup works in MyRocks and RocksDB
Title of Series
Number of Parts
561
Author
License
CC Attribution 2.0 Belgium:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
In this session, the speaker will talk about how MyRocks's online backups work. Both physical (myrockshotbackup) and logical (mysqldump) backups will be covered, and physical backups will be more focused. MyRocks (and RocksDB)'s physical backups basically work by 1. invoking RocksDB checkpoint that creates hard links then 2. copying data files (SST), redo logs (WAL) and others. myrockshotbackup has additional features like "renewing checkpoint" that makes replication catchup shorter, streaming backups, and auto-detecting O_DIRECT. Logical backups in MyRocks/RocksDB is more efficient than InnoDB because RocksDB more efficiently keeps track of transaction histories. How physical/logical MyRocks/RocksDB backups work are not widely discussed in public, and the speaker will demystify in this session. In this session, the speaker will talk about how MyRocks's online backups work. Both physical (myrockshotbackup) and logical (mysqldump) backups will be covered, and physical backups will be more focused. MyRocks (and RocksDB)'s physical backups basically work by 1. invoking RocksDB checkpoint that creates hard links then 2. copying data files (SST), redo logs (WAL) and others. myrockshotbackup has additional features like "renewing checkpoint" that makes replication catchup shorter, streaming backups, and auto-detecting O_DIRECT. Logical backups in MyRocks/RocksDB is more efficient than InnoDB because RocksDB more efficiently keeps track of transaction histories. How physical/logical MyRocks/RocksDB backups work are not widely discussed in public, and the speaker will demystify in this session.