網路城邦
上一篇 回創作列表 下一篇  字體:
Couchbase 雲端資料庫資料模型 NoSQL Data Modeling
2014/03/07 14:38:05瀏覽732|回應0|推薦1

Couchbase 提供以下好處:

-Flexible Data Model: 彈性的資料模型

-Easy Scalability: 易擴展性

-Consistent High Performance: 持續高性能

-“Always Online”: 一直上線


Couchbase 與傳統RMDB比較:

Couchbase ServerTraditional Relational Database (RDBMS)

Rapidly scalable to millions of users.快速擴展至數百萬使用者.

Scalable to thousands of users.擴展至數千使用者.
Data can be structured, semi-structured, and unstructured. 資料可以為結構, 半結構, 無結構. Data must be normalized.資料必須正規化.
Built on modern reality of relatively inexpensive. plentiful memory.建立在現實便宜大量記憶體上. Built on assumption of scarce, expensive memory.建立在稀少昂貴記憶體的假設上.
Built for environments with high-speed data networking.建在高速資料網路上. Built at a time when networking still formative and slow.在網路尚在成形與慢速時建立.
Data can be flexibly stored as JSON documents or binary data. No need to predefine data types.資料以JSON文件或二位元格式儲存. 無須預設資料格式. Data types must be predefined for columns.資料必須預設欄位.
Does not require knowledge or use of SQL as query language. Requires SQL as query language.
Highly optimized for retrieve and append operations; high-performance for data-intensive applications, such as serving pages on high-traffic websites; can handle a large number of documents and document read/writes. Significantly slower times for retrieving and committing data. Designed for occasional, smaller read/write transactions and infrequent larger batch transactions.
Data stored as key-document pairs; well suited for applications which handle rapidly growing lists of elements. Data stored in tables with fixed relations between tables.
Does not require extensive data modeling; data structure is of lesser significance during development. Data modeling and establishing relational model for data structures required during application development.
Asynchronous operations and optimistic concurrency enable applications designed for high throughput. Strict enforcement of data integrity and normalization, with the tradeoff of lower performance and slower response times.


Applications on Couchbase Server: Couchbase 伺服器應用:

-Session Store


-Social Gaming


-Ad, Offer and Content Targeting




Comparing Document-Oriented and Relational Data:

文件基礎與關聯式資料比較

左邊為RMDB Table. 右邊為JSON 文件.

關聯式資料的正規化表格儲存:

JSON文件平坦式資料表示法:

couchbase-devguide-2.5

docs.couchbase.com/couchbase-devguide-2.5/翻譯這個網頁
Introduction to Couchbase¶. Couchbase Server is a NoSQL document database for interactive web applications. It has a flexible data model, is easily scalable, ...
( 知識學習隨堂筆記 )
回應 推薦文章 列印 加入我的文摘
上一篇 回創作列表 下一篇

引用
引用網址:https://classic-blog.udn.com/article/trackback.jsp?uid=markhsia&aid=11568586