no sql資料庫應用與實務
TRANSCRIPT
Ray Wang
資料庫基礎觀念
NoSQL介紹
AWSDynamoDB資料庫介紹
MongoDB資料庫簡介
3
10
17
24
2
3
MySQL MSSQLAWS
DynamoDBMongoDB
4
SQL NoSQL
圖片來源wwwabramsimoncom kenmypixnetnet 5
6圖片來源wwwabramsimoncom kenmypixnetnet
Relational
bull傳統關聯式資料庫資料以行(Row)為單位儲存
Column-oriented
bull資料以列(Column)為單位儲存
Key-value
bull類似常見的HashTable一個Key對應一個Value
Document-oriented
bull一個Key對應一個Value以JSON或XML等格式進行存儲圖片來源wwwmongodborg awsamazoncom wwwcollegeofwebdesigningcom wwwgooglecom zhwikipediaorg wwwtimestoredcom 7
8
名稱 例子
Relational 書名哈利波特作者JK羅琳-gt1樓2排
Column-oriented 書名哈利波特作者JK羅琳-gt書號123
Key-value 書號123 1樓2排3櫃
Document-oriented 把書放在一起不留空位
圖片來源wwwtimestoredcom
圖片來源highlyscalablewordpresscom 9
10
11
外在需求
讀寫速度 低延遲 使用者缺乏耐心
資料量 大量的資料和流量
社群網站大數據物聯網
擴展性 高擴展性 開心農場
營運成本 低營運成本
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
不使用關聯式資料庫(或SQL語言)
針對大型數據設計(Big Data)
基於21世紀互聯網特徵的需求(SQL的不足)
沒有schema可以在任何時候向一條記錄添加新字段
- Martin Fowler 《NoSQL Distilled》
圖片來源martinfowlercom 12
風向-gt風向溫度濕度氣壓hellip
對於SQL關連式資料庫在擴展性上缺陷而生的產物
圖片來源bigsonatacom 13
14
NoSQL的優點 說明
快速的讀寫 DynamoDB利用Key-Value (HashTable)達到快速讀寫
支撐大量的資料和流量
DynamoDB提供Auto Scaling
簡單的擴展 MongoDB利用Document-oriented儲存達到高擴展性
低廉的成本 OpenSource
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
15
NoSQL的缺點 說明
不提供對SQL的支持 SQL資料庫import到NoSQL資料庫不易
學習成本 NoSQL間彼此沒有統一資料規格
支持的特性不夠豐富 大多數NoSQL資料庫都不支援BI相關功能
現有產品的不夠成熟 大多數產品都還處於初創期
圖片來源stackoverflowcom 16
17
圖片來源httpswwwmongodborg 18
19
可擴展性
bull支持在輸送量和存儲能力上的無縫擴展
快速可預期功能
bull延遲低於 10 毫秒
簡易的管理
bull完全託管的服務
葡片來源duanpleblog163com awsamazoncom 20
內置的容錯性
bull內在的容錯能力可以自動同步地把你的資料複製到不同區域
靈活性
bull沒有固定的模式(schema)
強一致性
bull支持讀操作的強一致性從而保證你可以總是獲得最新的資料
葡片來源awsamazoncom 21
性價比高
bull成本低
安全
bull可靠的金鑰方法只允許授權使用者訪問資料
集成的監視功能
bullAWS管理控制台中集中管理
圖片來源docsawsamazoncom awsamazoncom 22
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
資料庫基礎觀念
NoSQL介紹
AWSDynamoDB資料庫介紹
MongoDB資料庫簡介
3
10
17
24
2
3
MySQL MSSQLAWS
DynamoDBMongoDB
4
SQL NoSQL
圖片來源wwwabramsimoncom kenmypixnetnet 5
6圖片來源wwwabramsimoncom kenmypixnetnet
Relational
bull傳統關聯式資料庫資料以行(Row)為單位儲存
Column-oriented
bull資料以列(Column)為單位儲存
Key-value
bull類似常見的HashTable一個Key對應一個Value
Document-oriented
bull一個Key對應一個Value以JSON或XML等格式進行存儲圖片來源wwwmongodborg awsamazoncom wwwcollegeofwebdesigningcom wwwgooglecom zhwikipediaorg wwwtimestoredcom 7
8
名稱 例子
Relational 書名哈利波特作者JK羅琳-gt1樓2排
Column-oriented 書名哈利波特作者JK羅琳-gt書號123
Key-value 書號123 1樓2排3櫃
Document-oriented 把書放在一起不留空位
圖片來源wwwtimestoredcom
圖片來源highlyscalablewordpresscom 9
10
11
外在需求
讀寫速度 低延遲 使用者缺乏耐心
資料量 大量的資料和流量
社群網站大數據物聯網
擴展性 高擴展性 開心農場
營運成本 低營運成本
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
不使用關聯式資料庫(或SQL語言)
針對大型數據設計(Big Data)
基於21世紀互聯網特徵的需求(SQL的不足)
沒有schema可以在任何時候向一條記錄添加新字段
- Martin Fowler 《NoSQL Distilled》
圖片來源martinfowlercom 12
風向-gt風向溫度濕度氣壓hellip
對於SQL關連式資料庫在擴展性上缺陷而生的產物
圖片來源bigsonatacom 13
14
NoSQL的優點 說明
快速的讀寫 DynamoDB利用Key-Value (HashTable)達到快速讀寫
支撐大量的資料和流量
DynamoDB提供Auto Scaling
簡單的擴展 MongoDB利用Document-oriented儲存達到高擴展性
低廉的成本 OpenSource
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
15
NoSQL的缺點 說明
不提供對SQL的支持 SQL資料庫import到NoSQL資料庫不易
學習成本 NoSQL間彼此沒有統一資料規格
支持的特性不夠豐富 大多數NoSQL資料庫都不支援BI相關功能
現有產品的不夠成熟 大多數產品都還處於初創期
圖片來源stackoverflowcom 16
17
圖片來源httpswwwmongodborg 18
19
可擴展性
bull支持在輸送量和存儲能力上的無縫擴展
快速可預期功能
bull延遲低於 10 毫秒
簡易的管理
bull完全託管的服務
葡片來源duanpleblog163com awsamazoncom 20
內置的容錯性
bull內在的容錯能力可以自動同步地把你的資料複製到不同區域
靈活性
bull沒有固定的模式(schema)
強一致性
bull支持讀操作的強一致性從而保證你可以總是獲得最新的資料
葡片來源awsamazoncom 21
性價比高
bull成本低
安全
bull可靠的金鑰方法只允許授權使用者訪問資料
集成的監視功能
bullAWS管理控制台中集中管理
圖片來源docsawsamazoncom awsamazoncom 22
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
3
MySQL MSSQLAWS
DynamoDBMongoDB
4
SQL NoSQL
圖片來源wwwabramsimoncom kenmypixnetnet 5
6圖片來源wwwabramsimoncom kenmypixnetnet
Relational
bull傳統關聯式資料庫資料以行(Row)為單位儲存
Column-oriented
bull資料以列(Column)為單位儲存
Key-value
bull類似常見的HashTable一個Key對應一個Value
Document-oriented
bull一個Key對應一個Value以JSON或XML等格式進行存儲圖片來源wwwmongodborg awsamazoncom wwwcollegeofwebdesigningcom wwwgooglecom zhwikipediaorg wwwtimestoredcom 7
8
名稱 例子
Relational 書名哈利波特作者JK羅琳-gt1樓2排
Column-oriented 書名哈利波特作者JK羅琳-gt書號123
Key-value 書號123 1樓2排3櫃
Document-oriented 把書放在一起不留空位
圖片來源wwwtimestoredcom
圖片來源highlyscalablewordpresscom 9
10
11
外在需求
讀寫速度 低延遲 使用者缺乏耐心
資料量 大量的資料和流量
社群網站大數據物聯網
擴展性 高擴展性 開心農場
營運成本 低營運成本
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
不使用關聯式資料庫(或SQL語言)
針對大型數據設計(Big Data)
基於21世紀互聯網特徵的需求(SQL的不足)
沒有schema可以在任何時候向一條記錄添加新字段
- Martin Fowler 《NoSQL Distilled》
圖片來源martinfowlercom 12
風向-gt風向溫度濕度氣壓hellip
對於SQL關連式資料庫在擴展性上缺陷而生的產物
圖片來源bigsonatacom 13
14
NoSQL的優點 說明
快速的讀寫 DynamoDB利用Key-Value (HashTable)達到快速讀寫
支撐大量的資料和流量
DynamoDB提供Auto Scaling
簡單的擴展 MongoDB利用Document-oriented儲存達到高擴展性
低廉的成本 OpenSource
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
15
NoSQL的缺點 說明
不提供對SQL的支持 SQL資料庫import到NoSQL資料庫不易
學習成本 NoSQL間彼此沒有統一資料規格
支持的特性不夠豐富 大多數NoSQL資料庫都不支援BI相關功能
現有產品的不夠成熟 大多數產品都還處於初創期
圖片來源stackoverflowcom 16
17
圖片來源httpswwwmongodborg 18
19
可擴展性
bull支持在輸送量和存儲能力上的無縫擴展
快速可預期功能
bull延遲低於 10 毫秒
簡易的管理
bull完全託管的服務
葡片來源duanpleblog163com awsamazoncom 20
內置的容錯性
bull內在的容錯能力可以自動同步地把你的資料複製到不同區域
靈活性
bull沒有固定的模式(schema)
強一致性
bull支持讀操作的強一致性從而保證你可以總是獲得最新的資料
葡片來源awsamazoncom 21
性價比高
bull成本低
安全
bull可靠的金鑰方法只允許授權使用者訪問資料
集成的監視功能
bullAWS管理控制台中集中管理
圖片來源docsawsamazoncom awsamazoncom 22
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
MySQL MSSQLAWS
DynamoDBMongoDB
4
SQL NoSQL
圖片來源wwwabramsimoncom kenmypixnetnet 5
6圖片來源wwwabramsimoncom kenmypixnetnet
Relational
bull傳統關聯式資料庫資料以行(Row)為單位儲存
Column-oriented
bull資料以列(Column)為單位儲存
Key-value
bull類似常見的HashTable一個Key對應一個Value
Document-oriented
bull一個Key對應一個Value以JSON或XML等格式進行存儲圖片來源wwwmongodborg awsamazoncom wwwcollegeofwebdesigningcom wwwgooglecom zhwikipediaorg wwwtimestoredcom 7
8
名稱 例子
Relational 書名哈利波特作者JK羅琳-gt1樓2排
Column-oriented 書名哈利波特作者JK羅琳-gt書號123
Key-value 書號123 1樓2排3櫃
Document-oriented 把書放在一起不留空位
圖片來源wwwtimestoredcom
圖片來源highlyscalablewordpresscom 9
10
11
外在需求
讀寫速度 低延遲 使用者缺乏耐心
資料量 大量的資料和流量
社群網站大數據物聯網
擴展性 高擴展性 開心農場
營運成本 低營運成本
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
不使用關聯式資料庫(或SQL語言)
針對大型數據設計(Big Data)
基於21世紀互聯網特徵的需求(SQL的不足)
沒有schema可以在任何時候向一條記錄添加新字段
- Martin Fowler 《NoSQL Distilled》
圖片來源martinfowlercom 12
風向-gt風向溫度濕度氣壓hellip
對於SQL關連式資料庫在擴展性上缺陷而生的產物
圖片來源bigsonatacom 13
14
NoSQL的優點 說明
快速的讀寫 DynamoDB利用Key-Value (HashTable)達到快速讀寫
支撐大量的資料和流量
DynamoDB提供Auto Scaling
簡單的擴展 MongoDB利用Document-oriented儲存達到高擴展性
低廉的成本 OpenSource
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
15
NoSQL的缺點 說明
不提供對SQL的支持 SQL資料庫import到NoSQL資料庫不易
學習成本 NoSQL間彼此沒有統一資料規格
支持的特性不夠豐富 大多數NoSQL資料庫都不支援BI相關功能
現有產品的不夠成熟 大多數產品都還處於初創期
圖片來源stackoverflowcom 16
17
圖片來源httpswwwmongodborg 18
19
可擴展性
bull支持在輸送量和存儲能力上的無縫擴展
快速可預期功能
bull延遲低於 10 毫秒
簡易的管理
bull完全託管的服務
葡片來源duanpleblog163com awsamazoncom 20
內置的容錯性
bull內在的容錯能力可以自動同步地把你的資料複製到不同區域
靈活性
bull沒有固定的模式(schema)
強一致性
bull支持讀操作的強一致性從而保證你可以總是獲得最新的資料
葡片來源awsamazoncom 21
性價比高
bull成本低
安全
bull可靠的金鑰方法只允許授權使用者訪問資料
集成的監視功能
bullAWS管理控制台中集中管理
圖片來源docsawsamazoncom awsamazoncom 22
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
圖片來源wwwabramsimoncom kenmypixnetnet 5
6圖片來源wwwabramsimoncom kenmypixnetnet
Relational
bull傳統關聯式資料庫資料以行(Row)為單位儲存
Column-oriented
bull資料以列(Column)為單位儲存
Key-value
bull類似常見的HashTable一個Key對應一個Value
Document-oriented
bull一個Key對應一個Value以JSON或XML等格式進行存儲圖片來源wwwmongodborg awsamazoncom wwwcollegeofwebdesigningcom wwwgooglecom zhwikipediaorg wwwtimestoredcom 7
8
名稱 例子
Relational 書名哈利波特作者JK羅琳-gt1樓2排
Column-oriented 書名哈利波特作者JK羅琳-gt書號123
Key-value 書號123 1樓2排3櫃
Document-oriented 把書放在一起不留空位
圖片來源wwwtimestoredcom
圖片來源highlyscalablewordpresscom 9
10
11
外在需求
讀寫速度 低延遲 使用者缺乏耐心
資料量 大量的資料和流量
社群網站大數據物聯網
擴展性 高擴展性 開心農場
營運成本 低營運成本
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
不使用關聯式資料庫(或SQL語言)
針對大型數據設計(Big Data)
基於21世紀互聯網特徵的需求(SQL的不足)
沒有schema可以在任何時候向一條記錄添加新字段
- Martin Fowler 《NoSQL Distilled》
圖片來源martinfowlercom 12
風向-gt風向溫度濕度氣壓hellip
對於SQL關連式資料庫在擴展性上缺陷而生的產物
圖片來源bigsonatacom 13
14
NoSQL的優點 說明
快速的讀寫 DynamoDB利用Key-Value (HashTable)達到快速讀寫
支撐大量的資料和流量
DynamoDB提供Auto Scaling
簡單的擴展 MongoDB利用Document-oriented儲存達到高擴展性
低廉的成本 OpenSource
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
15
NoSQL的缺點 說明
不提供對SQL的支持 SQL資料庫import到NoSQL資料庫不易
學習成本 NoSQL間彼此沒有統一資料規格
支持的特性不夠豐富 大多數NoSQL資料庫都不支援BI相關功能
現有產品的不夠成熟 大多數產品都還處於初創期
圖片來源stackoverflowcom 16
17
圖片來源httpswwwmongodborg 18
19
可擴展性
bull支持在輸送量和存儲能力上的無縫擴展
快速可預期功能
bull延遲低於 10 毫秒
簡易的管理
bull完全託管的服務
葡片來源duanpleblog163com awsamazoncom 20
內置的容錯性
bull內在的容錯能力可以自動同步地把你的資料複製到不同區域
靈活性
bull沒有固定的模式(schema)
強一致性
bull支持讀操作的強一致性從而保證你可以總是獲得最新的資料
葡片來源awsamazoncom 21
性價比高
bull成本低
安全
bull可靠的金鑰方法只允許授權使用者訪問資料
集成的監視功能
bullAWS管理控制台中集中管理
圖片來源docsawsamazoncom awsamazoncom 22
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
6圖片來源wwwabramsimoncom kenmypixnetnet
Relational
bull傳統關聯式資料庫資料以行(Row)為單位儲存
Column-oriented
bull資料以列(Column)為單位儲存
Key-value
bull類似常見的HashTable一個Key對應一個Value
Document-oriented
bull一個Key對應一個Value以JSON或XML等格式進行存儲圖片來源wwwmongodborg awsamazoncom wwwcollegeofwebdesigningcom wwwgooglecom zhwikipediaorg wwwtimestoredcom 7
8
名稱 例子
Relational 書名哈利波特作者JK羅琳-gt1樓2排
Column-oriented 書名哈利波特作者JK羅琳-gt書號123
Key-value 書號123 1樓2排3櫃
Document-oriented 把書放在一起不留空位
圖片來源wwwtimestoredcom
圖片來源highlyscalablewordpresscom 9
10
11
外在需求
讀寫速度 低延遲 使用者缺乏耐心
資料量 大量的資料和流量
社群網站大數據物聯網
擴展性 高擴展性 開心農場
營運成本 低營運成本
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
不使用關聯式資料庫(或SQL語言)
針對大型數據設計(Big Data)
基於21世紀互聯網特徵的需求(SQL的不足)
沒有schema可以在任何時候向一條記錄添加新字段
- Martin Fowler 《NoSQL Distilled》
圖片來源martinfowlercom 12
風向-gt風向溫度濕度氣壓hellip
對於SQL關連式資料庫在擴展性上缺陷而生的產物
圖片來源bigsonatacom 13
14
NoSQL的優點 說明
快速的讀寫 DynamoDB利用Key-Value (HashTable)達到快速讀寫
支撐大量的資料和流量
DynamoDB提供Auto Scaling
簡單的擴展 MongoDB利用Document-oriented儲存達到高擴展性
低廉的成本 OpenSource
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
15
NoSQL的缺點 說明
不提供對SQL的支持 SQL資料庫import到NoSQL資料庫不易
學習成本 NoSQL間彼此沒有統一資料規格
支持的特性不夠豐富 大多數NoSQL資料庫都不支援BI相關功能
現有產品的不夠成熟 大多數產品都還處於初創期
圖片來源stackoverflowcom 16
17
圖片來源httpswwwmongodborg 18
19
可擴展性
bull支持在輸送量和存儲能力上的無縫擴展
快速可預期功能
bull延遲低於 10 毫秒
簡易的管理
bull完全託管的服務
葡片來源duanpleblog163com awsamazoncom 20
內置的容錯性
bull內在的容錯能力可以自動同步地把你的資料複製到不同區域
靈活性
bull沒有固定的模式(schema)
強一致性
bull支持讀操作的強一致性從而保證你可以總是獲得最新的資料
葡片來源awsamazoncom 21
性價比高
bull成本低
安全
bull可靠的金鑰方法只允許授權使用者訪問資料
集成的監視功能
bullAWS管理控制台中集中管理
圖片來源docsawsamazoncom awsamazoncom 22
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
Relational
bull傳統關聯式資料庫資料以行(Row)為單位儲存
Column-oriented
bull資料以列(Column)為單位儲存
Key-value
bull類似常見的HashTable一個Key對應一個Value
Document-oriented
bull一個Key對應一個Value以JSON或XML等格式進行存儲圖片來源wwwmongodborg awsamazoncom wwwcollegeofwebdesigningcom wwwgooglecom zhwikipediaorg wwwtimestoredcom 7
8
名稱 例子
Relational 書名哈利波特作者JK羅琳-gt1樓2排
Column-oriented 書名哈利波特作者JK羅琳-gt書號123
Key-value 書號123 1樓2排3櫃
Document-oriented 把書放在一起不留空位
圖片來源wwwtimestoredcom
圖片來源highlyscalablewordpresscom 9
10
11
外在需求
讀寫速度 低延遲 使用者缺乏耐心
資料量 大量的資料和流量
社群網站大數據物聯網
擴展性 高擴展性 開心農場
營運成本 低營運成本
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
不使用關聯式資料庫(或SQL語言)
針對大型數據設計(Big Data)
基於21世紀互聯網特徵的需求(SQL的不足)
沒有schema可以在任何時候向一條記錄添加新字段
- Martin Fowler 《NoSQL Distilled》
圖片來源martinfowlercom 12
風向-gt風向溫度濕度氣壓hellip
對於SQL關連式資料庫在擴展性上缺陷而生的產物
圖片來源bigsonatacom 13
14
NoSQL的優點 說明
快速的讀寫 DynamoDB利用Key-Value (HashTable)達到快速讀寫
支撐大量的資料和流量
DynamoDB提供Auto Scaling
簡單的擴展 MongoDB利用Document-oriented儲存達到高擴展性
低廉的成本 OpenSource
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
15
NoSQL的缺點 說明
不提供對SQL的支持 SQL資料庫import到NoSQL資料庫不易
學習成本 NoSQL間彼此沒有統一資料規格
支持的特性不夠豐富 大多數NoSQL資料庫都不支援BI相關功能
現有產品的不夠成熟 大多數產品都還處於初創期
圖片來源stackoverflowcom 16
17
圖片來源httpswwwmongodborg 18
19
可擴展性
bull支持在輸送量和存儲能力上的無縫擴展
快速可預期功能
bull延遲低於 10 毫秒
簡易的管理
bull完全託管的服務
葡片來源duanpleblog163com awsamazoncom 20
內置的容錯性
bull內在的容錯能力可以自動同步地把你的資料複製到不同區域
靈活性
bull沒有固定的模式(schema)
強一致性
bull支持讀操作的強一致性從而保證你可以總是獲得最新的資料
葡片來源awsamazoncom 21
性價比高
bull成本低
安全
bull可靠的金鑰方法只允許授權使用者訪問資料
集成的監視功能
bullAWS管理控制台中集中管理
圖片來源docsawsamazoncom awsamazoncom 22
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
8
名稱 例子
Relational 書名哈利波特作者JK羅琳-gt1樓2排
Column-oriented 書名哈利波特作者JK羅琳-gt書號123
Key-value 書號123 1樓2排3櫃
Document-oriented 把書放在一起不留空位
圖片來源wwwtimestoredcom
圖片來源highlyscalablewordpresscom 9
10
11
外在需求
讀寫速度 低延遲 使用者缺乏耐心
資料量 大量的資料和流量
社群網站大數據物聯網
擴展性 高擴展性 開心農場
營運成本 低營運成本
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
不使用關聯式資料庫(或SQL語言)
針對大型數據設計(Big Data)
基於21世紀互聯網特徵的需求(SQL的不足)
沒有schema可以在任何時候向一條記錄添加新字段
- Martin Fowler 《NoSQL Distilled》
圖片來源martinfowlercom 12
風向-gt風向溫度濕度氣壓hellip
對於SQL關連式資料庫在擴展性上缺陷而生的產物
圖片來源bigsonatacom 13
14
NoSQL的優點 說明
快速的讀寫 DynamoDB利用Key-Value (HashTable)達到快速讀寫
支撐大量的資料和流量
DynamoDB提供Auto Scaling
簡單的擴展 MongoDB利用Document-oriented儲存達到高擴展性
低廉的成本 OpenSource
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
15
NoSQL的缺點 說明
不提供對SQL的支持 SQL資料庫import到NoSQL資料庫不易
學習成本 NoSQL間彼此沒有統一資料規格
支持的特性不夠豐富 大多數NoSQL資料庫都不支援BI相關功能
現有產品的不夠成熟 大多數產品都還處於初創期
圖片來源stackoverflowcom 16
17
圖片來源httpswwwmongodborg 18
19
可擴展性
bull支持在輸送量和存儲能力上的無縫擴展
快速可預期功能
bull延遲低於 10 毫秒
簡易的管理
bull完全託管的服務
葡片來源duanpleblog163com awsamazoncom 20
內置的容錯性
bull內在的容錯能力可以自動同步地把你的資料複製到不同區域
靈活性
bull沒有固定的模式(schema)
強一致性
bull支持讀操作的強一致性從而保證你可以總是獲得最新的資料
葡片來源awsamazoncom 21
性價比高
bull成本低
安全
bull可靠的金鑰方法只允許授權使用者訪問資料
集成的監視功能
bullAWS管理控制台中集中管理
圖片來源docsawsamazoncom awsamazoncom 22
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
圖片來源highlyscalablewordpresscom 9
10
11
外在需求
讀寫速度 低延遲 使用者缺乏耐心
資料量 大量的資料和流量
社群網站大數據物聯網
擴展性 高擴展性 開心農場
營運成本 低營運成本
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
不使用關聯式資料庫(或SQL語言)
針對大型數據設計(Big Data)
基於21世紀互聯網特徵的需求(SQL的不足)
沒有schema可以在任何時候向一條記錄添加新字段
- Martin Fowler 《NoSQL Distilled》
圖片來源martinfowlercom 12
風向-gt風向溫度濕度氣壓hellip
對於SQL關連式資料庫在擴展性上缺陷而生的產物
圖片來源bigsonatacom 13
14
NoSQL的優點 說明
快速的讀寫 DynamoDB利用Key-Value (HashTable)達到快速讀寫
支撐大量的資料和流量
DynamoDB提供Auto Scaling
簡單的擴展 MongoDB利用Document-oriented儲存達到高擴展性
低廉的成本 OpenSource
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
15
NoSQL的缺點 說明
不提供對SQL的支持 SQL資料庫import到NoSQL資料庫不易
學習成本 NoSQL間彼此沒有統一資料規格
支持的特性不夠豐富 大多數NoSQL資料庫都不支援BI相關功能
現有產品的不夠成熟 大多數產品都還處於初創期
圖片來源stackoverflowcom 16
17
圖片來源httpswwwmongodborg 18
19
可擴展性
bull支持在輸送量和存儲能力上的無縫擴展
快速可預期功能
bull延遲低於 10 毫秒
簡易的管理
bull完全託管的服務
葡片來源duanpleblog163com awsamazoncom 20
內置的容錯性
bull內在的容錯能力可以自動同步地把你的資料複製到不同區域
靈活性
bull沒有固定的模式(schema)
強一致性
bull支持讀操作的強一致性從而保證你可以總是獲得最新的資料
葡片來源awsamazoncom 21
性價比高
bull成本低
安全
bull可靠的金鑰方法只允許授權使用者訪問資料
集成的監視功能
bullAWS管理控制台中集中管理
圖片來源docsawsamazoncom awsamazoncom 22
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
10
11
外在需求
讀寫速度 低延遲 使用者缺乏耐心
資料量 大量的資料和流量
社群網站大數據物聯網
擴展性 高擴展性 開心農場
營運成本 低營運成本
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
不使用關聯式資料庫(或SQL語言)
針對大型數據設計(Big Data)
基於21世紀互聯網特徵的需求(SQL的不足)
沒有schema可以在任何時候向一條記錄添加新字段
- Martin Fowler 《NoSQL Distilled》
圖片來源martinfowlercom 12
風向-gt風向溫度濕度氣壓hellip
對於SQL關連式資料庫在擴展性上缺陷而生的產物
圖片來源bigsonatacom 13
14
NoSQL的優點 說明
快速的讀寫 DynamoDB利用Key-Value (HashTable)達到快速讀寫
支撐大量的資料和流量
DynamoDB提供Auto Scaling
簡單的擴展 MongoDB利用Document-oriented儲存達到高擴展性
低廉的成本 OpenSource
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
15
NoSQL的缺點 說明
不提供對SQL的支持 SQL資料庫import到NoSQL資料庫不易
學習成本 NoSQL間彼此沒有統一資料規格
支持的特性不夠豐富 大多數NoSQL資料庫都不支援BI相關功能
現有產品的不夠成熟 大多數產品都還處於初創期
圖片來源stackoverflowcom 16
17
圖片來源httpswwwmongodborg 18
19
可擴展性
bull支持在輸送量和存儲能力上的無縫擴展
快速可預期功能
bull延遲低於 10 毫秒
簡易的管理
bull完全託管的服務
葡片來源duanpleblog163com awsamazoncom 20
內置的容錯性
bull內在的容錯能力可以自動同步地把你的資料複製到不同區域
靈活性
bull沒有固定的模式(schema)
強一致性
bull支持讀操作的強一致性從而保證你可以總是獲得最新的資料
葡片來源awsamazoncom 21
性價比高
bull成本低
安全
bull可靠的金鑰方法只允許授權使用者訪問資料
集成的監視功能
bullAWS管理控制台中集中管理
圖片來源docsawsamazoncom awsamazoncom 22
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
11
外在需求
讀寫速度 低延遲 使用者缺乏耐心
資料量 大量的資料和流量
社群網站大數據物聯網
擴展性 高擴展性 開心農場
營運成本 低營運成本
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
不使用關聯式資料庫(或SQL語言)
針對大型數據設計(Big Data)
基於21世紀互聯網特徵的需求(SQL的不足)
沒有schema可以在任何時候向一條記錄添加新字段
- Martin Fowler 《NoSQL Distilled》
圖片來源martinfowlercom 12
風向-gt風向溫度濕度氣壓hellip
對於SQL關連式資料庫在擴展性上缺陷而生的產物
圖片來源bigsonatacom 13
14
NoSQL的優點 說明
快速的讀寫 DynamoDB利用Key-Value (HashTable)達到快速讀寫
支撐大量的資料和流量
DynamoDB提供Auto Scaling
簡單的擴展 MongoDB利用Document-oriented儲存達到高擴展性
低廉的成本 OpenSource
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
15
NoSQL的缺點 說明
不提供對SQL的支持 SQL資料庫import到NoSQL資料庫不易
學習成本 NoSQL間彼此沒有統一資料規格
支持的特性不夠豐富 大多數NoSQL資料庫都不支援BI相關功能
現有產品的不夠成熟 大多數產品都還處於初創期
圖片來源stackoverflowcom 16
17
圖片來源httpswwwmongodborg 18
19
可擴展性
bull支持在輸送量和存儲能力上的無縫擴展
快速可預期功能
bull延遲低於 10 毫秒
簡易的管理
bull完全託管的服務
葡片來源duanpleblog163com awsamazoncom 20
內置的容錯性
bull內在的容錯能力可以自動同步地把你的資料複製到不同區域
靈活性
bull沒有固定的模式(schema)
強一致性
bull支持讀操作的強一致性從而保證你可以總是獲得最新的資料
葡片來源awsamazoncom 21
性價比高
bull成本低
安全
bull可靠的金鑰方法只允許授權使用者訪問資料
集成的監視功能
bullAWS管理控制台中集中管理
圖片來源docsawsamazoncom awsamazoncom 22
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
不使用關聯式資料庫(或SQL語言)
針對大型數據設計(Big Data)
基於21世紀互聯網特徵的需求(SQL的不足)
沒有schema可以在任何時候向一條記錄添加新字段
- Martin Fowler 《NoSQL Distilled》
圖片來源martinfowlercom 12
風向-gt風向溫度濕度氣壓hellip
對於SQL關連式資料庫在擴展性上缺陷而生的產物
圖片來源bigsonatacom 13
14
NoSQL的優點 說明
快速的讀寫 DynamoDB利用Key-Value (HashTable)達到快速讀寫
支撐大量的資料和流量
DynamoDB提供Auto Scaling
簡單的擴展 MongoDB利用Document-oriented儲存達到高擴展性
低廉的成本 OpenSource
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
15
NoSQL的缺點 說明
不提供對SQL的支持 SQL資料庫import到NoSQL資料庫不易
學習成本 NoSQL間彼此沒有統一資料規格
支持的特性不夠豐富 大多數NoSQL資料庫都不支援BI相關功能
現有產品的不夠成熟 大多數產品都還處於初創期
圖片來源stackoverflowcom 16
17
圖片來源httpswwwmongodborg 18
19
可擴展性
bull支持在輸送量和存儲能力上的無縫擴展
快速可預期功能
bull延遲低於 10 毫秒
簡易的管理
bull完全託管的服務
葡片來源duanpleblog163com awsamazoncom 20
內置的容錯性
bull內在的容錯能力可以自動同步地把你的資料複製到不同區域
靈活性
bull沒有固定的模式(schema)
強一致性
bull支持讀操作的強一致性從而保證你可以總是獲得最新的資料
葡片來源awsamazoncom 21
性價比高
bull成本低
安全
bull可靠的金鑰方法只允許授權使用者訪問資料
集成的監視功能
bullAWS管理控制台中集中管理
圖片來源docsawsamazoncom awsamazoncom 22
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
對於SQL關連式資料庫在擴展性上缺陷而生的產物
圖片來源bigsonatacom 13
14
NoSQL的優點 說明
快速的讀寫 DynamoDB利用Key-Value (HashTable)達到快速讀寫
支撐大量的資料和流量
DynamoDB提供Auto Scaling
簡單的擴展 MongoDB利用Document-oriented儲存達到高擴展性
低廉的成本 OpenSource
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
15
NoSQL的缺點 說明
不提供對SQL的支持 SQL資料庫import到NoSQL資料庫不易
學習成本 NoSQL間彼此沒有統一資料規格
支持的特性不夠豐富 大多數NoSQL資料庫都不支援BI相關功能
現有產品的不夠成熟 大多數產品都還處於初創期
圖片來源stackoverflowcom 16
17
圖片來源httpswwwmongodborg 18
19
可擴展性
bull支持在輸送量和存儲能力上的無縫擴展
快速可預期功能
bull延遲低於 10 毫秒
簡易的管理
bull完全託管的服務
葡片來源duanpleblog163com awsamazoncom 20
內置的容錯性
bull內在的容錯能力可以自動同步地把你的資料複製到不同區域
靈活性
bull沒有固定的模式(schema)
強一致性
bull支持讀操作的強一致性從而保證你可以總是獲得最新的資料
葡片來源awsamazoncom 21
性價比高
bull成本低
安全
bull可靠的金鑰方法只允許授權使用者訪問資料
集成的監視功能
bullAWS管理控制台中集中管理
圖片來源docsawsamazoncom awsamazoncom 22
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
14
NoSQL的優點 說明
快速的讀寫 DynamoDB利用Key-Value (HashTable)達到快速讀寫
支撐大量的資料和流量
DynamoDB提供Auto Scaling
簡單的擴展 MongoDB利用Document-oriented儲存達到高擴展性
低廉的成本 OpenSource
SQL的不足
讀寫慢
有限的支撐容量
擴展困難
企業級資料庫成本高
15
NoSQL的缺點 說明
不提供對SQL的支持 SQL資料庫import到NoSQL資料庫不易
學習成本 NoSQL間彼此沒有統一資料規格
支持的特性不夠豐富 大多數NoSQL資料庫都不支援BI相關功能
現有產品的不夠成熟 大多數產品都還處於初創期
圖片來源stackoverflowcom 16
17
圖片來源httpswwwmongodborg 18
19
可擴展性
bull支持在輸送量和存儲能力上的無縫擴展
快速可預期功能
bull延遲低於 10 毫秒
簡易的管理
bull完全託管的服務
葡片來源duanpleblog163com awsamazoncom 20
內置的容錯性
bull內在的容錯能力可以自動同步地把你的資料複製到不同區域
靈活性
bull沒有固定的模式(schema)
強一致性
bull支持讀操作的強一致性從而保證你可以總是獲得最新的資料
葡片來源awsamazoncom 21
性價比高
bull成本低
安全
bull可靠的金鑰方法只允許授權使用者訪問資料
集成的監視功能
bullAWS管理控制台中集中管理
圖片來源docsawsamazoncom awsamazoncom 22
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
15
NoSQL的缺點 說明
不提供對SQL的支持 SQL資料庫import到NoSQL資料庫不易
學習成本 NoSQL間彼此沒有統一資料規格
支持的特性不夠豐富 大多數NoSQL資料庫都不支援BI相關功能
現有產品的不夠成熟 大多數產品都還處於初創期
圖片來源stackoverflowcom 16
17
圖片來源httpswwwmongodborg 18
19
可擴展性
bull支持在輸送量和存儲能力上的無縫擴展
快速可預期功能
bull延遲低於 10 毫秒
簡易的管理
bull完全託管的服務
葡片來源duanpleblog163com awsamazoncom 20
內置的容錯性
bull內在的容錯能力可以自動同步地把你的資料複製到不同區域
靈活性
bull沒有固定的模式(schema)
強一致性
bull支持讀操作的強一致性從而保證你可以總是獲得最新的資料
葡片來源awsamazoncom 21
性價比高
bull成本低
安全
bull可靠的金鑰方法只允許授權使用者訪問資料
集成的監視功能
bullAWS管理控制台中集中管理
圖片來源docsawsamazoncom awsamazoncom 22
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
圖片來源stackoverflowcom 16
17
圖片來源httpswwwmongodborg 18
19
可擴展性
bull支持在輸送量和存儲能力上的無縫擴展
快速可預期功能
bull延遲低於 10 毫秒
簡易的管理
bull完全託管的服務
葡片來源duanpleblog163com awsamazoncom 20
內置的容錯性
bull內在的容錯能力可以自動同步地把你的資料複製到不同區域
靈活性
bull沒有固定的模式(schema)
強一致性
bull支持讀操作的強一致性從而保證你可以總是獲得最新的資料
葡片來源awsamazoncom 21
性價比高
bull成本低
安全
bull可靠的金鑰方法只允許授權使用者訪問資料
集成的監視功能
bullAWS管理控制台中集中管理
圖片來源docsawsamazoncom awsamazoncom 22
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
17
圖片來源httpswwwmongodborg 18
19
可擴展性
bull支持在輸送量和存儲能力上的無縫擴展
快速可預期功能
bull延遲低於 10 毫秒
簡易的管理
bull完全託管的服務
葡片來源duanpleblog163com awsamazoncom 20
內置的容錯性
bull內在的容錯能力可以自動同步地把你的資料複製到不同區域
靈活性
bull沒有固定的模式(schema)
強一致性
bull支持讀操作的強一致性從而保證你可以總是獲得最新的資料
葡片來源awsamazoncom 21
性價比高
bull成本低
安全
bull可靠的金鑰方法只允許授權使用者訪問資料
集成的監視功能
bullAWS管理控制台中集中管理
圖片來源docsawsamazoncom awsamazoncom 22
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
圖片來源httpswwwmongodborg 18
19
可擴展性
bull支持在輸送量和存儲能力上的無縫擴展
快速可預期功能
bull延遲低於 10 毫秒
簡易的管理
bull完全託管的服務
葡片來源duanpleblog163com awsamazoncom 20
內置的容錯性
bull內在的容錯能力可以自動同步地把你的資料複製到不同區域
靈活性
bull沒有固定的模式(schema)
強一致性
bull支持讀操作的強一致性從而保證你可以總是獲得最新的資料
葡片來源awsamazoncom 21
性價比高
bull成本低
安全
bull可靠的金鑰方法只允許授權使用者訪問資料
集成的監視功能
bullAWS管理控制台中集中管理
圖片來源docsawsamazoncom awsamazoncom 22
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
19
可擴展性
bull支持在輸送量和存儲能力上的無縫擴展
快速可預期功能
bull延遲低於 10 毫秒
簡易的管理
bull完全託管的服務
葡片來源duanpleblog163com awsamazoncom 20
內置的容錯性
bull內在的容錯能力可以自動同步地把你的資料複製到不同區域
靈活性
bull沒有固定的模式(schema)
強一致性
bull支持讀操作的強一致性從而保證你可以總是獲得最新的資料
葡片來源awsamazoncom 21
性價比高
bull成本低
安全
bull可靠的金鑰方法只允許授權使用者訪問資料
集成的監視功能
bullAWS管理控制台中集中管理
圖片來源docsawsamazoncom awsamazoncom 22
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
可擴展性
bull支持在輸送量和存儲能力上的無縫擴展
快速可預期功能
bull延遲低於 10 毫秒
簡易的管理
bull完全託管的服務
葡片來源duanpleblog163com awsamazoncom 20
內置的容錯性
bull內在的容錯能力可以自動同步地把你的資料複製到不同區域
靈活性
bull沒有固定的模式(schema)
強一致性
bull支持讀操作的強一致性從而保證你可以總是獲得最新的資料
葡片來源awsamazoncom 21
性價比高
bull成本低
安全
bull可靠的金鑰方法只允許授權使用者訪問資料
集成的監視功能
bullAWS管理控制台中集中管理
圖片來源docsawsamazoncom awsamazoncom 22
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
內置的容錯性
bull內在的容錯能力可以自動同步地把你的資料複製到不同區域
靈活性
bull沒有固定的模式(schema)
強一致性
bull支持讀操作的強一致性從而保證你可以總是獲得最新的資料
葡片來源awsamazoncom 21
性價比高
bull成本低
安全
bull可靠的金鑰方法只允許授權使用者訪問資料
集成的監視功能
bullAWS管理控制台中集中管理
圖片來源docsawsamazoncom awsamazoncom 22
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
性價比高
bull成本低
安全
bull可靠的金鑰方法只允許授權使用者訪問資料
集成的監視功能
bullAWS管理控制台中集中管理
圖片來源docsawsamazoncom awsamazoncom 22
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
23
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
24
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
25
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
使用BSON的格式來存取資料
bullbson是binary json的意思對每個資料欄位來存資料型態(data type)
Open Source
bull開放全部程式碼下載
Commercial Support
bull提供商業支援訓練或諮詢
圖片來源gjmurakami-10gengithubio newssoftpediacom millenniumsoundscom 26
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
Balancing
bull保持各 Shards 之間資料量的平衡減少Chunk 在各 Shard 之間的傳輸量
GridFS
bullGridFS是檔案的規範把資料切成chunks同時也存該資料的matadata
支援分散式資料庫
bull可以把資料庫放在不同主機
圖片來源wwwjiongsuncom chtsengwordpresscom leehom59blogspotcom 27
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
圖片來源wwwedtungcom 28
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
圖片來源wwwedtungcom 29
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
Name Amazon DynamoDB MongoDB
Initial release 2012 2009
License commercial Open Source
Database as a Service
(DBaaS)
yes no
Data scheme schema-free schema-free
Secondary indexes no yes
APIs and other access
methods
RESTful HTTP API proprietary protocol using JSON
Server-side scripts no JavaScript
User concepts AWS Identity and Access Management (IAM)
Access rights for users and roles
DB-Engines Ranking Rank 30 Rank 4
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
httpwwwhksiliconcomkbarticles55748NoSQL如何定義NoSQL
httpwwwcnblogscomnuaalfmp3174749html NOSQL資料模型和CAP原理
httpbaikebaiducomview9674274htm dynamodb
httpblogxuitenetflyingideablog66644813-5BmongoDB5DmongoDBE5928CnoSQLE79A84E7B0A1E4BB8B [mongoDB]mongoDB和noSQL的簡介
httpwinston-zhattlincom201407blog-posthtml 台灣軟體工程師的矽谷之旅
httpgoooqle-moneyblogspottw201401kevin-kelly-eric-schmidt-from-kevinhtml從Kevin Kelly 網路世界的未來五千天到 Eric Schmidt 數位新時代
httpwwwinsidecomtw20150327why-learning-to-code-is-so-damn-hard為什麼成為一名工程師這麼難
httpdb-enginescom
30
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
Thank for your listening
31
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33
32
z12958gmailcom
個人網頁 httpprogrammer-
raywangprofilerhcloudcom
Linkedin httpswwwlinkedincomprofileviewid=111
434280amptrk=nav_responsive_tab_profile
33