Skip to Content
データベースリライアビリティエンジニアリング ―回復力のあるデータベースシステムの設計と運用
book

データベースリライアビリティエンジニアリング ―回復力のあるデータベースシステムの設計と運用

by Laine Campbell, Charity Majors, 八木 和生
April 2021
Beginner to intermediate
308 pages
4h 25m
Japanese
O'Reilly Japan, Inc.
Content preview from データベースリライアビリティエンジニアリング ―回復力のあるデータベースシステムの設計と運用

5章インフラストラクチャエンジニアリング

これまでに、サービスレベル定義、リスク分析、そして見える化について紹介してきました。これらはいわばデータベース構築前の準備運動です。ここからいよいよデータベースクラスタ構築の実践例に移ります。本章では、いくつかのホストにおけるデータベース構築例を紹介します。最近の話題であるサーバーレスや DBaaS(Database as a Service)はもちろん、用途に応じたストレージの使い分けについても触れていきます。

5.1 ホスト

これまでにも述べてきた通り、データベースはどこかになんとなく存在しているものでありません。データベースにはきちんとした実体があります。どこかにデータベースを動かすホストが存在するのです。慣習的にそれらは物理サーバーであることが多かったものの、この10年ほどの、めまぐるしいハードウェアおよびソフトウェアの進歩により、仮想サーバー、コンテナ、そして抽象化されたマネージドサービスに至るまで、取りうる選択肢は大幅に拡がっています。ここではそれぞれの長所と短所、そしてその実装はどんなふうになっているのかを比較検討していきましょう。

5.1.1 物理サーバー

物理サーバーを運用する場合、そこで動いているサービスは、OSを通してハードウェアのリソースを100%使用可能です。サービスがまだ始まったばかりの段階では、この点がマイナスに働くこともあります。トラフィックが少なく、リソースが十分に余っている状態も珍しくありません。DBREとしての最初の一歩は、データベースサーバーと、そのほかのサーバーを分離させることです。そのためには、データベースサーバーが必要とするリソースがどれくらいなのかを把握する必要があります。一般的にデータベースサーバーは、CPU、メモリ、ストレージI/Oといったリソースにおいてかなりの割り当てを必要とします。OS上で動作するプロセスは、そのパフォーマンスを左右するのがCPUであったりI/Oであったりするので、複数のプロセスにおいてリソースの奪い合いが起きないように設計する必要があります。そのためには、データベース専用のサーバーを用意することがもっとも適切な方法といえるでしょう。 ...

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

並行プログラミング入門 ―Rust、C、アセンブリによる実装からのアプローチ

並行プログラミング入門 ―Rust、C、アセンブリによる実装からのアプローチ

高野 祐輝
リーンエンタープライズ ―イノベーションを実現する創発的な組織づくり

リーンエンタープライズ ―イノベーションを実現する創発的な組織づくり

Jez Humble, Joanne Molesky, Barry O'Reilly, 角 征典, 笹井 崇司, Eric Ries

Publisher Resources

ISBN: 9784873119403Other