Skip to Content
CockroachDB: The Definitive Guide, 2nd Edition
book

CockroachDB: The Definitive Guide, 2nd Edition

by Guy Harrison, Jesse Seldess, Ben Darnell, Rob Reid
March 2025
Intermediate to advanced
542 pages
8h 50m
Japanese
O'Reilly Media, Inc.
Content preview from CockroachDB: The Definitive Guide, 2nd Edition

第12章 バックアップとディザスタリカバリ バックアップと災害復旧

この作品はAIを使って翻訳されている。ご意見、ご感想をお待ちしている:translation-feedback@oreilly.com

高可用性は、ほとんどの最新アプリケーションにとって唯一の選択肢である。前の章では、最も極端な状況を除き、あらゆる状況に耐えられる分散CockroachDBクラスタを構成する方法を見てきた。

とはいえ、最もレジリエンスの高いレプリケーション方式を採用したクラスタであっても、回復できない事態に遭遇する可能性はある。例えばサイバー攻撃の結果、複数のデータセンターが連携して障害を起こし、クラスタ内の全データが回復不能になる可能性がある。

また、クラスタインフラは無傷のままでも、その中のデータが破損してしまう状況もある。例えば、データベース管理者(DBA)が開発システムで作業しているつもりで本番データをうっかり変更してしまったり、ランサムウェア攻撃で全データを消去しようとしたり、アプリケーションのバグが時間の経過とともにデータを微妙に破損させたりする可能性がある。

CockroachDBには、(主にAS OF SYSTEM TIME 節に基づいて)データ破損からの復旧を支援する多くの機能があるが、バックアップはデータベース内のデータの損失や破損に対する究極の保険となる。

バックアップはまた、比較的遠い過去のデータ状態を復元する能力も提供する。これは、規制の点から、あるいはデータが論理的に破損し、ある時点からの「やり直し」が必要になった場合に必要となる。

バックアップ

CockroachDBのバックアップは、、災害やデータ破損の問題が発生した場合に迅速に復元できるデータのオフラインコピーを作成する主要な手段である。

バックアップはクラスタ全体、または個々のデータベースやテーブルに対して行うことができる。バックアップには、データの現在の状態だけでなく、バックアップ時にデータベースが知っているすべての履歴を含めることができる(デフォルトでは、以下の方法で設定された4時間のウィンドウのデータを含む)。 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

CockroachDB: The Definitive Guide, 2nd Edition

CockroachDB: The Definitive Guide, 2nd Edition

Guy Harrison, Jesse Seldess, Ben Darnell, Rob Reid
CockroachDB: The Definitive Guide

CockroachDB: The Definitive Guide

Guy Harrison, Jesse Seldess, Ben Darnell

Publisher Resources

ISBN: 9798341634695