29回勉強会資料「PostgreSQLのリカバリ超入門」
See also http://www.interdb.jp/pgsql (Coming soon!)
初心者向け。PostgreSQLのWAL、CHECKPOINT、 オンラインバックアップの仕組み解説。
これを見たら、次は→ http://www.slideshare.net/satock/29shikumi-backup
29回勉強会資料「PostgreSQLのリカバリ超入門」
See also http://www.interdb.jp/pgsql (Coming soon!)
初心者向け。PostgreSQLのWAL、CHECKPOINT、 オンラインバックアップの仕組み解説。
これを見たら、次は→ http://www.slideshare.net/satock/29shikumi-backup
This document discusses the application of PostgreSQL in a large social infrastructure project involving smart meter management. It describes three main missions: (1) loading 10 million datasets within 10 minutes, (2) saving data for 24 months, and (3) stabilizing performance for large scale SELECT statements. Various optimizations are discussed to achieve these missions, including data modeling, performance tuning, reducing data size, and controlling execution plans. The results showed that all three missions were successfully completed by applying PostgreSQL expertise and customizing it for the large-scale requirements of the project.
12. 12Copyright ? 2013 NTT DATA Corporation
狭い依存関係の例
RDD1
パーティション1-1
This is a pen.
This is a book.
What is this?
パーティション1-2
Thank you.
No Problem.
This is a cup.
RDD2
パーティション2-1
This is a pen.
This is a book.
パーティション2-2
This is a cup.
「This is」
Filterの例
親パーティションが単一の子パーティションの生成に関わっている依存関係
13. 13Copyright ? 2013 NTT DATA Corporation
広い依存関係の例
RDD1
パーティション1-1
dog, white
dog, black
cat, white
パーティション1-2
cat, black
dog, brown
cat, brown
RDD2
パーティション2-1
dog, white
dog, black
パーティション2-2
GroupByKeyの例
dog, brown
cat, black
cat, brown
cat, white
キーに基づく
グルーピング
キー?バリュー形
式のデータセット
親パーティションが、複数の子パーティションの生成に関わっている依存関係