Skip to Content
CockroachDB:決定版ガイド
book

CockroachDB:決定版ガイド

by Guy Harrison, Jesse Seldess, Ben Darnell
May 2025
Intermediate to advanced
488 pages
7h 56m
Japanese
O'Reilly Media, Inc.
Content preview from CockroachDB:決定版ガイド

第14章 管理とトラブルシューティング 管理とトラブルシューティング

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

これまでの章では、CockroachDBプラットフォーム用のアプリケーションを設計して実装する方法と、CockroachDBのデプロイを完全に管理されたクラウドプラットフォーム(CockroachDB DedicatedとServerless)、または自分のハードウェアやパブリッククラウド上のセルフホスト実装のいずれかで作成する方法を紹介してきた。

CockroachDBアプリケーションの実装とCockroachDBクラスタの設置が完了したので、CockroachDBのデプロイを健全で幸せに保つために必要な日々の管理と設定作業を検討する時が来た。

最も重要なタスクのひとつであるクラスタ最適化については、最終章に譲ることにする。

これらのタスクの多くはセルフホスト・デプロイでのみ必要だが、CockroachDB DedicatedまたはServerlessクラウド・クラスタでさえ、いくつかの注意と配慮が必要であることに注意してほしい。CockroachDBクラウドオプションを選択すると、管理のオーバーヘッドが劇的に減る。しかし、それでもいくつかのトラブルシューティングと設定タスクがあり、この章で説明する。

モニタリング

本番システムには、、システムが健全でレスポンスに優れていることを確認し、長期的な計画のためにパフォーマンスと使用率のメトリックを収集する、何らかの形の監視ソフトウェアが必要である。監視システムがなければ、データベースがリクエストに応答しなくなったかどうかわからないかもしれない。さらに、パフォーマンスの低下やキャパシティの問題を検出できない可能性もある。優れた監視システムがあれば、データベースに障害が発生したり、注意を要する問題が発生したりした場合、即座に通知される。将来のリソース要件を予測できるメトリックを手にすることができる。

優れたモニタリング・ソリューションは、検知と診断の両方の機能をサポートしている:

  • 監視システムは問題を検知し、その問題を適切な担当者に通知する。

  • 監視システムは、管理者が問題の根本原因を特定するのに十分な情報を収集する。

監視システムはまた、問題の修正に役立つ解決ツールや、問題が発生する前にその兆候を予測する予測機能を提供するかもしれない。 ...

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

実践的レイクハウス・アーキテクチャー

実践的レイクハウス・アーキテクチャー

Gaurav Ashok Thalpati
ゲームストーム2.0

ゲームストーム2.0

Dave Gray, Sunni Brown
実践者向けの説明可能なAI

実践者向けの説明可能なAI

Michael Munn, David Pitman

Publisher Resources

ISBN: 9798341651838