[db tech showcase Tokyo 2017] A16: Using a Multi-Model Database to Improve Da...Insight Technology, Inc.
Traditional relational approaches to data integration compromise flexibility and governance by limiting you to a rigid, tabular data model. MarkLogic’s approach to data management is fundamentally better suited to the diverse, changing data structures involved with data integration. In this session we'll explain how to leverage the features of an enterprise NoSQL multi-model database, such as document data modeling, semantics, advanced indexing, and security, in order to achieve more efficient data integration, while also increasing the quality of data governance. The session will describe core architectural principals, data modeling, and use cases.
[db tech showcase Tokyo 2017] A16: Using a Multi-Model Database to Improve Da...Insight Technology, Inc.
Traditional relational approaches to data integration compromise flexibility and governance by limiting you to a rigid, tabular data model. MarkLogic’s approach to data management is fundamentally better suited to the diverse, changing data structures involved with data integration. In this session we'll explain how to leverage the features of an enterprise NoSQL multi-model database, such as document data modeling, semantics, advanced indexing, and security, in order to achieve more efficient data integration, while also increasing the quality of data governance. The session will describe core architectural principals, data modeling, and use cases.
DB TechShowcase Tokyo - Intelligent Data PlatformDaiyu Hatakeyama
AI (Artificial Intelligence) が様々なアプリケーション/サービスに組み込まれ始めて、それをうみだす原動力ともいえるデータプラットフォームもその立ち位置を変えてきています。次期SQL Server 2017には、Machine Learning Servicesが同梱され、まさに次世代のデータプラットフォームの一つの形といえるでしょう。このセッションでは、System of Record から、System of Insight へとその価値を変えていく最新のData Platformの世界をご紹介します。
41. Strong Bounded-staleness Session Consistent prefix Eventual
5 つの明確に定義された整合性モデル
パフォーマンス整合性
Choose the right consistency level for your application
https://docs.microsoft.com/ja-jp/azure/cosmos-db/consistency-levels-choosing
61. Storage Distribution Throughput Distribution
DEVICE ID
各車体はユニークな Device IDを持っている。こ
れをPartition Keyに用いることで良い多くの
Partition Keyで均等に分散することが出来る。
場合によってはストレージのリミットに到達する
可能性がある。
複合キー
(Device ID + Time)
Device IDとTimeによりさらに粒
度を増やすことができる。
Storage Distribution Throughput Distribution
Example – Contoso Connected Car
62. VEHICLE MODEL
通常モデルの数自体は少ないので
Granularは低い。Storageとスループッ
トが HOT になる可能性がある
CURRENT MONTH
ストレージのバランスはよいかもしれ
ないがトランザクションは最新のデー
タに集中することが多いため HOT パー
ティションになりやすい。
Storage Distribution Throughput
Distribution
Storage Distribution Throughput Distribution
Example – Contoso Connected Car
64. EXAMPLE SCENARIO
Contoso Connected Car は車載からあがってくる
大量のテレメトリーデータを Cosmos DBに保存して
メンテナンスやリスク分析に役立てることにしました。
PARTITION KEYに何を指定するべきでしょうか?
• Vehicle Model
• Current Time
• Device Id
• 複合キー – Device ID + Current Time
Example – Contoso Connected Car
65. Storage Distribution Throughput Distribution
DEVICE ID
各車体はユニークな Device IDを持っている。こ
れをPartition Keyに用いることで良い多くの
Partition Keyで均等に分散することが出来る。
場合によってはストレージのリミットに到達する
可能性がある。
複合キー
(Device ID + Time)
Device IDとTimeによりさらに粒
度を増やすことができる。
Storage Distribution Throughput Distribution
Example – Contoso Connected Car
74. JSON ドキュメントのインデックス作成
Athens
locations headquarter exports
0
country city
Germany Bonn
revenue
200
0 1
citycity
Berlin
Italy
dealers
0
name
Hans
locations headquarter exports
0
country city
Germany Berlin
1
country city
France Paris
0 1
city
Athens
city
Moscow
Belgium