Databases Reference
In-Depth Information
In contrast, the NoSQL databases take a completely different approach and
implement interaction-based data structure solutions. In general, NoSQL data models
can be classified into four categories as described below:
Column-based store
Document store
Key-value store
Graph data store
Column Families or Wide-column Store
Examples: Cassandra, Hbase
Typical usages: Distributed data storage.
The column-based stores extend the typical Key-Value pair storage where each
column can be grouped with a key and corresponding set of values. These types of data
structures are preferred when the application requires extensive read/write operations.
By following this approach our product data model will look like Figure 6-9 .
Category
Packaging
Product ID
Product Name
Packaging Desc
Category ID
Category Desc
Packaging ID
1
Kelogg Cereal
Box-24inches-
Rectangular
NT 1
Cereal
BX 1
Figure 6-9. Product column family logical data model
Later in this chapter we will discuss how to develop data models using Cassandra's
column family data store.
Document Store
Examples: CouchDB, MongoDB
Typical usages: Web applications.
Mostly applicable when the data is in document format; highly unstructured in
nature, these documents are stored and retrieved following the XML, JSON, or BSON
architecture principles.
 
Search WWH ::




Custom Search