Submit Search
[MANABIYA] 20180323 Amazon Aurora with PostgreSQL Compatibility
2 likes
1,774 views
Amazon Web Services Japan
MANABIYA (2018年3月23日 ) Introduction to Amazon Aurora with PostgreSQL Compatibility
Technology
Read more
1 of 63
Download now
Downloaded 29 times
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
More Related Content
What's hot
(19)
PDF
The Twelve-Factor Appで考えるAWSのサービス開発
Amazon Web Services Japan
PDF
20180619 AWS Black Belt Online Seminar データレイク入門: AWSで様々な規模のデータレイクを分析する効率的な方法
Amazon Web Services Japan
PDF
多要素認証による Amazon WorkSpaces の利用
Amazon Web Services Japan
PDF
[最新版は別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar AWS re:Inven...
Amazon Web Services Japan
PPTX
AWS Black Belt Online Seminar 2018 動画配信 on AWS
Amazon Web Services Japan
PDF
AWS Black Belt Online Seminar 2018 Amazon WorkSpaces
Amazon Web Services Japan
PDF
20180612 AWS Black Belt Online Seminar AWS で実現するライブ動画配信とリアルタイムチャットのアーキテクチャパターン
Amazon Web Services Japan
PDF
20210127 AWS Black Belt Online Seminar Amazon Redshift 運用管理
Amazon Web Services Japan
PDF
Serverless backendformobilegame and_aws-appsync_gamingtechnight-2
Amazon Web Services Japan
PDF
【JAWS-UG東京発表資料】AWS Summit Tokyo 2018の振り返りと最新アップデート
Amazon Web Services Japan
PDF
20180704(20190520 Renewed) AWS Black Belt Online Seminar Amazon Elastic File ...
Amazon Web Services Japan
PDF
【IVS CTO Night & Day】Serverless & Mobile Updates
Amazon Web Services Japan
PDF
Amazon Connect 概要 & 最新情報アップデート
Amazon Web Services Japan
PDF
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
Amazon Web Services Japan
PPTX
Japan Wrap Up re:Invent2018
Kameda Harunobu
PDF
AWS Black Belt Online Seminar 2017 Amazon ElastiCache
Amazon Web Services Japan
PDF
AWS Black Belt Online Seminar 2018 re:Invent 2017 Recap Machine Learning / Da...
Amazon Web Services Japan
PDF
Day 1 with Amazon Web Services - AWSご利用開始時に最低限おさえておきたい10のこと
Amazon Web Services Japan
PDF
20180703 AWS Black Belt Online Seminar Amazon Neptune
Amazon Web Services Japan
The Twelve-Factor Appで考えるAWSのサービス開発
Amazon Web Services Japan
20180619 AWS Black Belt Online Seminar データレイク入門: AWSで様々な規模のデータレイクを分析する効率的な方法
Amazon Web Services Japan
多要素認証による Amazon WorkSpaces の利用
Amazon Web Services Japan
[最新版は別にございます! Descriptionをご確認ください] AWS Black Belt Online Seminar AWS re:Inven...
Amazon Web Services Japan
AWS Black Belt Online Seminar 2018 動画配信 on AWS
Amazon Web Services Japan
AWS Black Belt Online Seminar 2018 Amazon WorkSpaces
Amazon Web Services Japan
20180612 AWS Black Belt Online Seminar AWS で実現するライブ動画配信とリアルタイムチャットのアーキテクチャパターン
Amazon Web Services Japan
20210127 AWS Black Belt Online Seminar Amazon Redshift 運用管理
Amazon Web Services Japan
Serverless backendformobilegame and_aws-appsync_gamingtechnight-2
Amazon Web Services Japan
【JAWS-UG東京発表資料】AWS Summit Tokyo 2018の振り返りと最新アップデート
Amazon Web Services Japan
20180704(20190520 Renewed) AWS Black Belt Online Seminar Amazon Elastic File ...
Amazon Web Services Japan
【IVS CTO Night & Day】Serverless & Mobile Updates
Amazon Web Services Japan
Amazon Connect 概要 & 最新情報アップデート
Amazon Web Services Japan
SaaS テナント毎のコストを把握するための「AWS Application Cost Profiler」のご紹介
Amazon Web Services Japan
Japan Wrap Up re:Invent2018
Kameda Harunobu
AWS Black Belt Online Seminar 2017 Amazon ElastiCache
Amazon Web Services Japan
AWS Black Belt Online Seminar 2018 re:Invent 2017 Recap Machine Learning / Da...
Amazon Web Services Japan
Day 1 with Amazon Web Services - AWSご利用開始時に最低限おさえておきたい10のこと
Amazon Web Services Japan
20180703 AWS Black Belt Online Seminar Amazon Neptune
Amazon Web Services Japan
Similar to [MANABIYA] 20180323 Amazon Aurora with PostgreSQL Compatibility
(20)
PDF
AWS Black Belt Online Seminar 2017 Amazon Aurora with PostgreSQL Compatibility
Amazon Web Services Japan
PDF
[PGConf.ASIA 2018]Deep Dive on Amazon Aurora with PostgreSQL Compatibility
Amazon Web Services Japan
PDF
20190828 AWS Black Belt Online Seminar Amazon Aurora with PostgreSQL Compatib...
Amazon Web Services Japan
PDF
AWS Black Belt Online Seminar 2017 Amazon Aurora
Amazon Web Services Japan
PDF
エンタープライズワークロードにおけるAmazon Auroraの活用
Amazon Web Services Japan
PDF
[db tech showcase Tokyo 2015] A33:Amazon Aurora Deep Dive by アマゾン データ サービス ジャ...
Insight Technology, Inc.
PDF
Amazon Aurora
Shinpei Ohtani
PDF
はじめてのAmazon Aurora
Jun Okubo
PDF
Best Practices for Running PostgreSQL on AWS
Amazon Web Services Japan
PDF
Using Amazon Aurora for Enterprise Workloads
Amazon Web Services Japan
PDF
Amazon Aurora Deep Dive (re:Invent 2015 DAT405 日本語翻訳版)
Amazon Web Services Japan
PDF
AWSデータベースアップデート2017
Amazon Web Services Japan
PDF
Aurora
maruyama097
PDF
[Aurora事例祭り]Amazon Aurora を使いこなすためのベストプラクティス
Amazon Web Services Japan
PDF
20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL
Amazon Web Services Japan
PDF
AWSのデータベースサービス全体像
Amazon Web Services Japan
PDF
Amazon Aurora Deep Dive (db tech showcase 2016)
Amazon Web Services Japan
PDF
AWSサービスアップデートまとめ (re:Invent 2016とその前後)
Amazon Web Services Japan
DOCX
Aurora features
拓也 岸本
PDF
Amazon Aurora - Auroraの止まらない進化とその中身
Amazon Web Services Japan
AWS Black Belt Online Seminar 2017 Amazon Aurora with PostgreSQL Compatibility
Amazon Web Services Japan
[PGConf.ASIA 2018]Deep Dive on Amazon Aurora with PostgreSQL Compatibility
Amazon Web Services Japan
20190828 AWS Black Belt Online Seminar Amazon Aurora with PostgreSQL Compatib...
Amazon Web Services Japan
AWS Black Belt Online Seminar 2017 Amazon Aurora
Amazon Web Services Japan
エンタープライズワークロードにおけるAmazon Auroraの活用
Amazon Web Services Japan
[db tech showcase Tokyo 2015] A33:Amazon Aurora Deep Dive by アマゾン データ サービス ジャ...
Insight Technology, Inc.
Amazon Aurora
Shinpei Ohtani
はじめてのAmazon Aurora
Jun Okubo
Best Practices for Running PostgreSQL on AWS
Amazon Web Services Japan
Using Amazon Aurora for Enterprise Workloads
Amazon Web Services Japan
Amazon Aurora Deep Dive (re:Invent 2015 DAT405 日本語翻訳版)
Amazon Web Services Japan
AWSデータベースアップデート2017
Amazon Web Services Japan
Aurora
maruyama097
[Aurora事例祭り]Amazon Aurora を使いこなすためのベストプラクティス
Amazon Web Services Japan
20190424 AWS Black Belt Online Seminar Amazon Aurora MySQL
Amazon Web Services Japan
AWSのデータベースサービス全体像
Amazon Web Services Japan
Amazon Aurora Deep Dive (db tech showcase 2016)
Amazon Web Services Japan
AWSサービスアップデートまとめ (re:Invent 2016とその前後)
Amazon Web Services Japan
Aurora features
拓也 岸本
Amazon Aurora - Auroraの止まらない進化とその中身
Amazon Web Services Japan
Ad
More from Amazon Web Services Japan
(20)
PDF
202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
Amazon Web Services Japan
PDF
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS
Amazon Web Services Japan
PDF
202204 AWS Black Belt Online Seminar AWS IoT Device Defender
Amazon Web Services Japan
PDF
Infrastructure as Code (IaC) 談義 2022
Amazon Web Services Japan
PDF
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現
Amazon Web Services Japan
PDF
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...
Amazon Web Services Japan
PDF
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
Amazon Web Services Japan
PPTX
20220409 AWS BLEA 開発にあたって検討したこと
Amazon Web Services Japan
PDF
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
Amazon Web Services Japan
PDF
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
Amazon Web Services Japan
PDF
Amazon QuickSight の組み込み方法をちょっぴりDD
Amazon Web Services Japan
PDF
マルチテナント化で知っておきたいデータベースのこと
Amazon Web Services Japan
PDF
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
Amazon Web Services Japan
PDF
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
Amazon Web Services Japan
PDF
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
Amazon Web Services Japan
PDF
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Web Services Japan
PDF
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
Amazon Web Services Japan
PPTX
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
Amazon Web Services Japan
PDF
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
Amazon Web Services Japan
PDF
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
Amazon Web Services Japan
202205 AWS Black Belt Online Seminar Amazon VPC IP Address Manager (IPAM)
Amazon Web Services Japan
202205 AWS Black Belt Online Seminar Amazon FSx for OpenZFS
Amazon Web Services Japan
202204 AWS Black Belt Online Seminar AWS IoT Device Defender
Amazon Web Services Japan
Infrastructure as Code (IaC) 談義 2022
Amazon Web Services Japan
202204 AWS Black Belt Online Seminar Amazon Connect を活用したオンコール対応の実現
Amazon Web Services Japan
202204 AWS Black Belt Online Seminar Amazon Connect Salesforce連携(第1回 CTI Adap...
Amazon Web Services Japan
Amazon Game Tech Night #25 ゲーム業界向け機械学習最新状況アップデート
Amazon Web Services Japan
20220409 AWS BLEA 開発にあたって検討したこと
Amazon Web Services Japan
202202 AWS Black Belt Online Seminar AWS Managed Rules for AWS WAF の活用
Amazon Web Services Japan
202203 AWS Black Belt Online Seminar Amazon Connect Tasks.pdf
Amazon Web Services Japan
Amazon QuickSight の組み込み方法をちょっぴりDD
Amazon Web Services Japan
マルチテナント化で知っておきたいデータベースのこと
Amazon Web Services Japan
機密データとSaaSは共存しうるのか!?セキュリティー重視のユーザー層を取り込む為のネットワーク通信のアプローチ
Amazon Web Services Japan
パッケージソフトウェアを簡単にSaaS化!?既存の資産を使ったSaaS化手法のご紹介
Amazon Web Services Japan
202202 AWS Black Belt Online Seminar Amazon Connect Customer Profiles
Amazon Web Services Japan
Amazon Game Tech Night #24 KPIダッシュボードを最速で用意するために
Amazon Web Services Japan
202202 AWS Black Belt Online Seminar AWS SaaS Boost で始めるSaaS開発⼊⾨
Amazon Web Services Japan
[20220126] JAWS-UG 2022初頭までに葬ったAWSアンチパターン大紹介
Amazon Web Services Japan
202111 AWS Black Belt Online Seminar AWSで構築するSmart Mirrorのご紹介
Amazon Web Services Japan
202201 AWS Black Belt Online Seminar Apache Spark Performnace Tuning for AWS ...
Amazon Web Services Japan
Ad
Recently uploaded
(8)
PDF
20250630_aws_reinforce_2025_aws_sheild_network_security_director
uedayuki
PDF
SIG-AUDIO 2025 Vol.02 オンラインセミナー SIG-Audioプレゼン資料_オーディオプラグイン開発_塩澤達矢.pdf
IGDA Japan SIG-Audio
PDF
AIツールを使った研究の効率化 Improving Research Efficiency with AI Tools
Tohoku University
PDF
生成AIパネルトーク(Interop25Tokyo APPS JAPAN M1-07,M2-07 嶋ポジショントーク)
嶋 是一 (Yoshikazu SHIMA)
PDF
go tool と Minimal Version Selection アルゴリズム
Keisuke Ishigami
PDF
2023年版Web3技術の理想と現実
Syuhei Hiya
PPTX
新卒・中途採用者向け採用ピッチ資料2025年7月版(20250702).pptx
Official74
PPTX
オープンソース界隈の利用者や技術者から見たオープンソースEDAとは? What is open source EDA from the perspecti...
Industrial Technology Research Institute (ITRI)(工業技術研究院, 工研院)
20250630_aws_reinforce_2025_aws_sheild_network_security_director
uedayuki
SIG-AUDIO 2025 Vol.02 オンラインセミナー SIG-Audioプレゼン資料_オーディオプラグイン開発_塩澤達矢.pdf
IGDA Japan SIG-Audio
AIツールを使った研究の効率化 Improving Research Efficiency with AI Tools
Tohoku University
生成AIパネルトーク(Interop25Tokyo APPS JAPAN M1-07,M2-07 嶋ポジショントーク)
嶋 是一 (Yoshikazu SHIMA)
go tool と Minimal Version Selection アルゴリズム
Keisuke Ishigami
2023年版Web3技術の理想と現実
Syuhei Hiya
新卒・中途採用者向け採用ピッチ資料2025年7月版(20250702).pptx
Official74
オープンソース界隈の利用者や技術者から見たオープンソースEDAとは? What is open source EDA from the perspecti...
Industrial Technology Research Institute (ITRI)(工業技術研究院, 工研院)
[MANABIYA] 20180323 Amazon Aurora with PostgreSQL Compatibility
1.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved Daichi Egawa, Solutions Architect Amazon Web Services Japan K.K. 2018.3.23 Introduction to Amazon Aurora with PostgreSQL Compatibility
2.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved 内容についての注意点 本資料では 2018 年 3 月 23 日時点のサービス内容および価格についてご説明しています。最新 の情報は AWS 公式ウェブサイト (http://aws.amazon.com) にてご確認ください。 資料作成には十分注意しておりますが、資料内の価格と AWS 公式ウェブサイト記載の価格 に相違があった場合、 AWS 公式ウェブサイトの価格を優先とさせていただきます。 価格は税抜表記となっています。日本居住者のお客様が東京リージョンを使用する場合、別 途消費税をご請求させていただきます。 AWS does not offer binding price quotes. AWS pricing is publicly available and is subject to change in accordance with the AWS Customer Agreement available at http://aws.amazon.com/agreement/. Any pricing information included in this document is provided only as an estimate of usage charges for AWS services based on certain information that you have provided. Monthly charges will be based on your
3.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved Agenda AWS のデータベースサービス Amazon Aurora とその特徴 アーキテクチャ パフォーマンス 管理・運用 移行 まとめ
4.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved AWS のサービス群 ネットワーク アナリティクスコンピュート ストレージ & 配信 開発ツール 管理ツール セキュリティ アプリケーションサービス モバイルサービス データベース エンタープライズアプリ S3 CloudFront EFS Glacier Storage Gateway API Gateway AppStream CloudSearc h Elastic Transcoder SES SQS SWF Device Farm Mobile Analytics Cognito SNS RDS DynamoDB ElastiCach e RedShift WorkSpaces WorkDocs WorkMail Lambda EC2 Container Service Elastic Beanstalk EC2 VPC Direct Connect Route 53 EMR Data Pipeline Kinesis Machine Learning Elastic Load Balancing QuickSight Elasticsearch Service CodeCommit CodeDeploy CodePipelin e CloudWatch Cloud Formation CloudTrail Config OpsWorks Service Catalog Identity & Access Management Directory Service Trusted Advisor Cloud HSM Key Management Service Web App Firewall SnowballDMS IOT IoT Hubs Mobile Hub CodeBuild Athena AI Lex Machine Learning Polly Rekognition GameLift ゲーム Pinpoint Step Functions Amazon Relational Database Services 移行
5.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved フルマネージドな リレーショナルデータベース シンプルかつ迅速にスケール 高速、安定したパフォーマンス 低コスト、従量課金 Amazon RDS Amazon RDS 概要 Amazon Aurora
6.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved オンプレミス On EC2 RDS リレーショナルデータベースの デプロイメントモデル
7.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved データベース管理のフルマネージド化による 運用負荷の軽減 Power, HVAC, net Rack & stack Server maintenance OS patches DB s/w patches Database backups Scaling High availability DB s/w installs OS installation App optimization Power, HVAC, net Rack & stack Server maintenance OS patches DB s/w patches Database backups Scaling High availability DB s/w installs OS installation App optimization Power, HVAC, net Rack & stack Server maintenance OS patches DB s/w patches Database backups Scaling High availability DB s/w installs OS installation App optimization オンプレミス On EC2 RDS お客様
8.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved データベース管理者( DBA )は より付加価値の高い仕事に集中できる これまでの DBA バックアップスクリプトの作成、 仕掛け 障害時のフェイルオーバー運用、 障害サーバーの再構築 パッチ適用やスケールのための メンテナンス作業 各種ログ・メトリクスの可視化、 アラート設定 ハードウェア、ソフトウェアの 保守切れによるマイグレーション これからの DBA 各データベースエンジンの特性を 理解して、パフォーマンスを チューニング ログ・メトリクスからボトルネッ クを特定、解消 新しい施策に向けた検証や ベンチマーク データベースを中心とした 全体的なシステムアーキテクト
9.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved Amazon Aurora とは
10.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved リレーショナルデータベースをもう一度考える 今、データベースを再度実装するならどうするか? Ø スタックの分割 Ø 以下のようなことを実装 : ü スケールアウト ü セルフヒーリング ü 分散サービスの活用
11.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved Amazon Aurora 特徴 (http://aws.amazon.com/jp/rds/aurora/) • PostgreSQL9.6, MySQL5.6/5.7 との互換性 • 3AZ に 6 本のディスクに書き込み 2 本のディスク 障害では Read/Write 可能。 3 本のディスク障 害でも Read 可能 • キャシュとログを Aurora プロセスから分離するこ とで Aurora プロセスのリスタートでもキャッ シュが残る • レプリケーション遅延は 10-20ms 程 • 64TB までディスクがシームレスにスケールする 価格体系 (http://aws.amazon.com/jp/rds/aurora/pricing/) • 選択したインスタンスタイプ • 実際に利用したディスク容量 ( プロビジョニング Amazon がクラウド時代に再設計したデータベース
12.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved PostgreSQL For Aurora 2017/10/24 GA リリース! (Virginia, Ohio, Oregon, Ireland) 2017/11/22 Region Expansion(Canada , Frankfurt, Sydney,Mumbai) 2018/2/8 Region Expansion(Tokyo) 2018/3/14 Region Expansion(Singapore, London)
13.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved 低コストPostgreSQL 9.6 互換 ハイパフォーマンス スケーラブル、 堅牢かつセキュア スナップショット経由で RDS for PostgreSQL か ら移行可能 Amazon Aurora with PostgreSQL CompatiblityAmazon Aurora with PostgreSQL Compatiblity
14.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved PostgreSQL Compatibility PostgreSQL-compatible edition を選択可能に
15.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved PostgreSQL Compatibility PostgreSQL 9.6 との互換性 Ø SQL Ø クライアントアプリケーション (psql, pg_dump など ) Ø プロシージャ (PL/pgSQL など ) RDS for PostgreSQL で利用可能な拡張モジュールを利用可能 Ø 例 )PL/pgSQL, pgcypto, PostGIS, pg_hint_plan, orafce など ※ その他のモジュールについては以下のドキュメントを参照くださ い http://docs.aws.amazon.com/ja_jp/AmazonRDS/latest/UserGuide/CHAP_ RDS for PostgreSQL のスナップショットから移行可能
16.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved アーキテクチャ
17.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved Service Oriented Architecture ログとストレージレイヤを シームレスにスケールする ストレージサービスに移動 EC2, VPC, DynamoDB, SWF, Route 53 などの AWS サービス を管理コンポーネントに採用 Amazon S3 を利用して 99.999999999% の耐久性で ストリーミングバックアップ Amazon DynamoDB Amazon SWF Amazon Route 53 Logging + StorageLogging + Storage SQLSQL TransactionsTransactions CachingCaching Amazon S3 Amazon RDS Data Plane Control Plane
18.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved キャッシュレイヤの分離 キャッシュレイヤは通常、データベース プロセス内にある – データベースが ダウンした場合、消去される キャッシュをデータベースプロセス外に 移動 データベースプロセスのリスタートが発 生してもキャッシュが残った状態を 維持可能 サービスにすぐデータベースを戻すこと が出来る 高速なクラッシュリカバリ + 保持可能な キャッシュ = DB 障害から高速に復 帰可能 SQLSQL TransactionsTransactions CachingCaching SQLSQL TransactionsTransactions CachingCaching SQLSQL TransactionsTransactions CachingCaching キャッシュプロセスを DB プロセス外におくことで DB プロセスの再起動でもキャッシュが残る
19.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved Aurora を構成するコンポーネント 詳細: http://docs.aws.amazon.com/ja_jp/AmazonRDS/latest/UserGuide/Aurora.Overview.html
20.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved Aurora を構成するコンポーネント DB クラスター Ø Amazon Aurora の管理単位 Ø プライマリインスタンス、レプリカ、クラスターボリュームの総称 プライマリインスタンス (Writer) Ø 読み込み、書き込みを行うマスターインスタンス Aurora レプリカ (Reader) Ø 読み込みをスケールアウトさせるレプリカ (15 台まで作成可能 ) クラスターボリューム (Amazon Aurora ストレージ ) ( 詳細は後述 ) Ø 3 つの AZ 間でレプリケートされる仮想ボリューム Ø プライマリインスタンスもレプリカも同じクラスターボリュームを利 用
21.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved Aurora エンドポイント 以下の 3 種類のエンドポイントが利用可能 Ø クラスターエンドポイント:常にプライマリインスタンスを指すエンドポイ ント Ø リーダーエンドポイント ( 読み込みエンドポイント ) :レプリカに接続す る単一のエンドポイント Ø インスタンスエンドポイント:各インスタンスごとのエンドポイント
22.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved クラスタエンドポイント Availability Zone A Availability Zone B VPC subnet VPC subnet VPC subnet VPC subnet Aurora Writer Aurora Reader クラスタエンドポイントクラスタエンドポイント 各 Aurora ノードは個別 にエンドポイント ( イ ンスタンスエンドポイ ント ) を持っている クラスターエンドポイン トは、その時アクティ ブな Aurora Writer ノードの CNAME Write
23.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved フェイルオーバが発生 すると、 Aurora ノー ドの昇格が行われ、 クラスタエンドポイ ントの指し先が変わ る Availability Zone A Availability Zone B VPC subnet VPC subnet VPC subnet VPC subnet Aurora Writer Aurora Writer クラスタエンドポイントクラスタエンドポイント Write クラスタエンドポイント
24.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved リーダーエンドポイント クラスタ内の Reader に ラウンドロビンで接 続 常に Reader に接続され るが、 Reader が 1 イ ンスタンスもいなく なった場合は Writer に接続 Reader の追加・削除は 自動で行われるAvailability Zone A Availability Zone B VPC subnet VPC subnet VPC subnet VPC subnet Aurora Reader Aurora Reader リーダエンドポイントリーダエンドポイント Read Aurora Writer Amazon Aurora cluster 内の Reader に単一のエンドポイントを提供
25.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved Aurora ストレージ SSD を利用したシームレスに スケールするストレージ 10GB から 64TB までシーム レスに自動でスケール アップ 実際に使った分だけ課金 標準で高可用性を実現 3AZ に 6 つのデータのコピー を作成 クォーラムシステムの採用 継続的に S3 へ増分バック SQLSQL TransactionsTransactions AZ 1 AZ 2 AZ 3 CachingCaching Amazon S3
26.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved ディスク障害検知と修復 2 つのコピーに障害が起こっても、読み書きに影響は無い 3 つのコピーに障害が発生しても読み込みは可能 自動検知、修復 SQLSQL TransactionTransaction AZ 1 AZ 2 AZ 3 CachingCaching SQLSQL TransactionTransaction AZ 1 AZ 2 AZ 3 CachingCaching 読み書き可能読み込み可能
27.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved セキュリティ データの暗号化 AES-256 ( ハードウエア支援 ) ディスクと Amazon S3 に置かれている全ブロックを暗号化 AWS KMS を利用したキー管理 SSL を利用したデータ通信の保護 標準で Amazon VPC を使ったネットワークの分離 ノードへ直接アクセスは不可能 業界標準のセキュリティとデータ保護の認証をサポート StorageStorage SQLSQL TransactionsTransactions CachingCaching Amazon S3 ApplicationApplication 詳細:
28.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved レプリケーション 可用性 データベースノードに不具合が発生す ると、自動的に検知され置換 不具合が発生したプロセスは自動的に 検知され、再起動 フェイルオーバーの必要がある場合、 レプリカは自動的にプライマリへ昇格 フェイルオーバー順を指定可能 AZ 1 AZ 3AZ 2 Primary Node Primary Node Primary Node Primary Node Primary Database Node Primary Database Node Primary Node Primary Node Primary Node Primary NodeRead ReplicaRead Replica Primary Node Primary Node Primary Node Primary NodeRead ReplicaRead ReplicaDatabase and Instance MonDatabase and Instance Mon パフォーマンス リードレプリカを利用して、参照のスケールアウトが可能 リーダーエンドポイントを利用して自動的にバランシング 可能
29.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved Amazon Aurora Continuous Backup セグメントスナップショット ログレコード リカバリポイント Segment 1 Segment 2 Segment 3 Time 各セグメントごとに Amazon S3 へ継続的なスナップショットを並列に取得 Amazon Aurora が使用しているディスクの仕組みによりパフォーマンスへ影響を与 えない リストア時、並列非同期に適切なセグメントのスナップショットとログを取得し、 ストレージへ適用
30.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved 高速なデータ修復 既存のデータベース 最後のチェックポイントからログ を適用していく PostgreSQL ではシングルスレッ ドなため適用完了までの時間が増 加 Amazon Aurora Disk read の一環として、オンデ マンドで redo log の適用を行う 並列、分散、非同期で行われる Checkpointed DataCheckpointed Data WALWAL T0 でクラッシュが発生すると 最後のチェックポイントからの ログを適用する必要がある T0 T0 T0 でクラッシュが発生すると redo を並列で分散して非同期でログの適用を行う
31.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved 高速でより予測可能なフェイルオーバー時間 App running App runningFailure detectionFailure detection DNS propagationDNS propagation RecoveryRecovery RecoveryRecovery DB failure DB failure Amazon RDS for PostgreSQL is good: failover times of ~60 seconds Failure detectionFailure detection DNS propagationDNS propagation RecoveryRecovery DB failure DB failure Amazon Aurora is better: failover times < 30 seconds 1 5 - 2 0 s e c 3 - 1 0 s e c Replica-Aware App RunningReplica-Aware App Running App Running App Running
32.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved パフォーマンス
33.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved ベンチマーク環境 PostgreSQL – Single AZ, no backup Amazon Aurora EBSEBS EBSEBS EBSEBS 60,000 total IOPS AZ 1 AZ 2 AZ 3 Amazon S3 r4.16xlarge database instance r4.16xlarge database instance Storage Node Storage Node Storage Node Storage Node Storage Node Storage Node r4.8xlarge client driverr4.8xlarge client driver r4.16xlarge database instance r4.16xlarge database instance r4.8xlarge client driverr4.8xlarge client driver r4.8xlarge client driverr4.8xlarge client driver Amazon S3 Amazon RDS r4.16xlarge 30,000 iops Amazon Aurora PostgreSQL Performance Benchmarking Guide : https://d1.awsstatic.com/product-marketing/Aurora/RDS_Aurora_PostgreSQL_Performance_Assessment_Benchmarking_V1-0.pdf
34.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved pgbench による性能測定結果 Amazon Aurora は、 PostgreSQL のピーク性能値の 1.6 倍以上、 最多クライアント数で実行した際の 2.9 倍以上のスループットを発揮
35.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved sysbench による性能測定結果 .22x .53x .27x Amazon Aurora は、 PostgreSQL のピーク性能値の 2 倍以上、 最多クライアント数で実行した際の 5 倍以上のスループットを発揮
36.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved 規模がより大きい環境 で Aurora は真価を発揮 データベースサイズが、 10GiB から 100 GiB に増えるにつれて、 スループットも 1.8 倍から 4.4 倍に 1.8x 2.8x sysbench 実行時の結果。それぞれの最大スループット時の結果で比較。
37.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved Amazon Aurora の継続的な改善: GA にあたっての改善 GA 時の性能測定では Preview 時点に比べて、より高い性能を発揮
38.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved Amazon Aurora Loads Data Faster pgbench でのデータロードでは、 PostgreSQL の 2 倍早く完了
39.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved 高負荷環境でも、高速なレスポンスタイム 重い書き込み処理中のレスポンスタイムは、 PostgreSQL に比べて 2 倍以上高速 ( 加えて、 10 倍以上一貫した結果に )
40.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved 一貫したパフォーマンスを発揮 測定中のパフォーマンスは、 PostgreSQL に比べて 3 倍以上一貫した 結果に
41.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved Amazon Aurora Reduced Recovery Time Up to 97% ストレージシステムのリカバリが高速に実行可能
42.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved ベンチマークから見る Aurora の特徴と使い所 高いクエリ並列度、データサイズが大きい環境で性能を発揮 Ø コネクション数、データ量が多いワークロードで高スループッ ト、安定した性能を発揮 Ø 並列度が活かせる場面でより性能的な優位性を発揮 Ø リカバリ、 Vacuum などの処理がより高速に 高い可用性・堅牢性を兼ね備えつつ、高スループットを実現 Ø Aurora ストレージは 3AZ で、 6 つのコピーを保持 Ø 自動的かつ継続的なバックアップ取得
43.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved I/O を減らす ネットワークパケットを最小限にする 結果をキャッシュしておく データベースエンジンをオフロードす る DO LESS WORK 非同期で処理する レイテンシーの通り道を減らす ロックフリーなデータ構造を使う バッチ操作を同時に行う BE MORE EFFICIENT データベースは I/O が全て ネットワーク接続したストレージは PACKETS/SECOND が全て 高スループットの処理に コンテキストスイッチ は許されない 性能向上のために行っていること
44.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved IO traffic in Aurora ( データベース ) AZ 1 AZ 3 Primary instance Primary instance Amazon S3 AZ 2 Replica instance Replica instance AMAZON AURORA ASYNC 4/6 QUORUM DISTRIBUTED WRITES IO FLOW REDO ログレコードのみ書き込む ; 全てのステップは非同期 データブロックは書かない ( チェックポイント , キャッシュ置換 時 ) 6 倍のログ書き込みだが , 1/9 のネットワークトラフィック ネットワークとストレージのレイテンシー異常時の耐性 OBSERVATIONS PERFORMANCE REDO ログレコードをまとめる – 完全に LSN 順に並ぶ 適切なセグメントに分割する – 部分ごとに並ぶ ストレージノードへまとめて書き込む DATAAMAZON AURORA + WAL LOG COMMIT LOG & FILESWAL T Y PE O F W RI T E write-only もしくは、 read/write が混在するワークロード にて、 PostgreSQL のコミュニティエディションに比べ て、 2 倍以上の性能を発揮
45.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved IO traffic in Aurora ( ストレージノード ) LOG RECORDS Primary instancePrimary instance INCOMING QUEUE STORAGE NODE S3 BACKUPS3 BACKUP 1 2 3 4 5 6 7 8 UPDATE QUEUE ACK HOT LOG DATA BLOCKS POINT IN TIME SNAPSHOT GC SCRUB COALESCE SORT GROUP PEER-TO-PEER GOSSIPPeer storage nodes Peer storage nodes 全てのステップは非同期 ステップ 1 と 2 だけがフォアグラウンドのレイテンシーに影 響 インプットキューは PostgreSQL に比べて極めて小さい レイテンシーにセンシティブな操作に向く ディスク領域をバッファーに使ってスパイクに対処 OBSERVATIONS IO FLOW 1レコードを受信しインメモリのキューに追加 2レコードを SSD に永続化して ACK 3レコードを整理してギャップを把握 4ピアと通信して穴埋め 5ログレコードを新しいバージョンのデータブロックに合体 6定期的にログと新しいバージョンのブロックを S3 に転送 7定期的に古いバージョンのガベージコレクションを実施 8定期的にブロックの CRC を検証
46.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved 管理・運用
47.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved スケーリング スケールアップ スケールアウト Ø リードレプリカ:最大 15 台まで インスタンスクラス vCPU メモリ (GiB)db.r4.large 2 15.25db.r4.xlarge 4 30.5db.r4.2xlarge 8 61db.r4.4xlarge 16 122db.r4.8xlarge 32 244db.r4.16xlarge 64 488
48.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved Aurora のモニタリング CloudWatch Ø 詳細: http://docs.aws.amazon.com/ja_jp/AmazonRDS/latest/UserGuide/Auror 拡張モニタリング Ø 詳細: http://docs.aws.amazon.com/ja_jp/AmazonRDS/latest/UserGuid Performance Insight( プレビュー ) Ø http://docs.aws.amazon.com/ja_jp/AmazonRDS/latest/User Ø
49.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved 拡張モニタリング OS レベルの監視情報を提供
50.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved Performance Insights Intuitive tuning for managed cloud databases
51.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved Performance Insights dashboard Average Active Sessions グラフ Top Load Items テーブル
52.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved Average Active Sessions グラフ データベースへのワークロードとキャパシティを表示 データベースへの負荷を以下の観点でリアルタイムに表示 Ø Waits( 待機状態 ) Ø SQL Ø アクセス元ホスト Ø データベースユーザー 各観点のドリルダウン 時間軸の調整 最大 CPU ラインとの比較
53.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved 分析の観点の一例 最大 CPU ラインとの比較 Ø 最大 CPU ラインをよく超えており、待機状態が CPU の場合 ü Max_connections の調整 ü 該当クエリのチューニング ü インスタンスタイプのスケールアップ Ø Ø 最大 CPU ラインを超えていないにも関わらず、システムに ボトルネックが発生している場合は? Ø 単一の重たいクエリが発生している可能性 ü 単一のセッションで重たいクエリをドリルダウンで探索 Ø テーブルなどへのアクセス競合が発生している可能性 Ø データベース以外の部分で問題が発生している可能性
54.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved 移行
55.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved RDS for PostgreSQL からのマイグレーション RDS スナップショットから Aurora を作成可能 Ø マネジメントコンソールで数クリックの操作で移行 Ø スナップショットは PostgreSQL 9.6.1 以降 であることが必 要
56.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved RDS for PostgreSQL から Aurora PostgreSQL の リードレプリカを作成可能に ( より短いダウンタイムでの移行が可能 に )Aurora PostgreSQL リードレプリカを RDS for PostgreSQL の インスタンスとして作成可能に RDS for PostgreSQL から Aurora に対してレプリケーションが可能に よりダウンタイムの短い移行が可能 対応バージョン: RDS for PostgreSQL 9.6.1 以降 詳細:
57.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved レプリケーション 以下のような場合は、 AWS Database Migration Service ( DMS )を利用した移行も検討 Ø RDS for PostgreSQL 以外のデータベースからの移行する場 合 特徴 (https://aws.amazon.com/jp/dms/) マネージド型データベース移行サービス 異機種 RDB 間のデータ移行をサポート 継続的なレプリケーション( CDC )機能
58.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved まとめ クラウド時代に Amazon が再設計した RDBMS Ø スケーラブル、高い堅牢性、可用性をもつ設計 Ø PostgreSQL 9.6 と互換性があり既存資産を流用しやすい Ø 高いクエリ並列度、データサイズが大きい環境で性能を発揮 Ø コネクション数、データ量が多いワークロードでより優位性を 発揮 Ø 高可用性・実環境での性能向上を実現するための多くのチャレ
59.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved Q&A
60.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved 参考資料 Amazon Aurora SIGMOD 論文 ( 英語 ) http://www.allthingsdistributed.com/files/p1041-verbitski.pdf Amazon Aurora ストレージエンジン http://aws.typepad.com/sajp/2017/02/introducing-the-aurora-storage-engine.html Amazon Aurora ストレージの quorum に関する実装について https://aws.amazon.com/jp/blogs/news/amazon-aurora-under-the-hood-quorum-and-correlated-failure/ https://aws.amazon.com/jp/blogs/news/amazon-aurora-under-the-hood-quorum-reads-and-mutating-state/ https://aws.amazon.com/jp/blogs/news/amazon-aurora-under-the-hood-reducing-costs-using-quorum-sets/ https://aws.amazon.com/jp/blogs/news/amazon-aurora-under-the-hood-quorum-membership/ re:invent 2017 Aurora with PostgreSQL Compatibility 関連セッション Deep Dive on the Amazon Aurora PostgreSQL-compatible Edition : https://www.youtube.com/watch?v=nd_BT_H-vsM Report from the Field on Amazon Aurora Performance : https://www.youtube.com/watch?v=6kDP-95YJKU
61.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved オンラインセミナーのご紹介 - AWS Black Belt Online Seminar とは AWSJ の Tech メンバが AWS に関する様々な事を紹介するオンラインセミ ナーです 【火曜 12:00~13:00 】 主に AWS のソリューションや 業界カットでの使いどころなどを紹介 ( 例: IoT 、金融業界向け etc.) 【水曜 18:00~19:00 】 主に AWS サービスの紹介や アップデートの解説 ( 例: EC2 、 RDS 、 Lambda etc.) ※ 開催曜日と時間帯は変更となる場合がございます。
62.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved 公式 Twitter/Facebook AWS の最新情報をお届けします @awscloud_jp 検索検索 最新技術情報、イベント情報、お役立ち情報、 お得なキャンペーン情報などを日々更新しています! もしくは http://on.fb.me/1vR8yWm
63.
, , .
. .© 2018 Amazon Web Services Inc or its Affiliates All rights reserved
Download