Preface |
|
xiii | |
|
|
1 | (78) |
|
|
3 | (10) |
|
1.1 The Value of Relational Databases |
|
|
3 | (2) |
|
1.1.1 Getting at Persistent Data |
|
|
3 | (1) |
|
|
4 | (1) |
|
|
4 | (1) |
|
1.1.4 A (Mostly) Standard Model |
|
|
4 | (1) |
|
|
5 | (1) |
|
1.3 Application and Integration Databases |
|
|
6 | (2) |
|
1.4 Attack of the Clusters |
|
|
8 | (1) |
|
1.5 The Emergence of NoSQL |
|
|
9 | (3) |
|
|
12 | (1) |
|
Chapter 2 Aggregate Data Models |
|
|
13 | (12) |
|
|
14 | (6) |
|
2.1.1 Example of Relations and Aggregates |
|
|
14 | (5) |
|
2.1.2 Consequences of Aggregate Orientation |
|
|
19 | (1) |
|
2.2 Key-Value and Document Data Models |
|
|
20 | (1) |
|
|
21 | (2) |
|
2.4 Summarizing Aggregate-Oriented Databases |
|
|
23 | (1) |
|
|
24 | (1) |
|
|
24 | (1) |
|
Chapter 3 More Details on Data Models |
|
|
25 | (12) |
|
|
25 | (1) |
|
|
26 | (2) |
|
|
28 | (2) |
|
|
30 | (1) |
|
3.5 Modeling for Data Access |
|
|
31 | (5) |
|
|
36 | (1) |
|
Chapter 4 Distribution Models |
|
|
37 | (10) |
|
|
37 | (1) |
|
|
38 | (2) |
|
4.3 Master-Slave Replication |
|
|
40 | (2) |
|
4.4 Peer-to-Peer Replication |
|
|
42 | (1) |
|
4.5 Combining Sharding and Replication |
|
|
43 | (1) |
|
|
44 | (3) |
|
|
47 | (14) |
|
|
47 | (2) |
|
|
49 | (3) |
|
|
52 | (4) |
|
|
53 | (3) |
|
|
56 | (1) |
|
|
57 | (2) |
|
|
59 | (1) |
|
|
59 | (2) |
|
|
61 | (6) |
|
6.1 Business and System Transactions |
|
|
61 | (2) |
|
6.2 Version Stamps on Multiple Nodes |
|
|
63 | (2) |
|
|
65 | (2) |
|
|
67 | (12) |
|
|
68 | (1) |
|
7.2 Partitioning and Combining |
|
|
69 | (3) |
|
7.3 Composing Map-Reduce Calculations |
|
|
72 | (5) |
|
7.3.1 A Two Stage Map-Reduce Example |
|
|
73 | (3) |
|
7.3.2 Incremental Map-Reduce |
|
|
76 | (1) |
|
|
77 | (1) |
|
|
77 | (2) |
|
|
79 | (74) |
|
Chapter 8 Key-Value Databases |
|
|
81 | (8) |
|
8.1 What Is a Key-Value Store |
|
|
81 | (2) |
|
8.2 Key-Value Store Features |
|
|
83 | (4) |
|
|
83 | (1) |
|
|
84 | (1) |
|
|
84 | (2) |
|
|
86 | (1) |
|
|
86 | (1) |
|
|
87 | (1) |
|
8.3.1 Storing Session Information |
|
|
87 | (1) |
|
8.3.2 User Profiles, Preferences |
|
|
87 | (1) |
|
|
87 | (1) |
|
|
87 | (2) |
|
8.4.1 Relationships among Data |
|
|
87 | (1) |
|
8.4.2 Multioperation Transactions |
|
|
88 | (1) |
|
|
88 | (1) |
|
|
88 | (1) |
|
Chapter 9 Document Databases |
|
|
89 | (10) |
|
9.1 What Is a Document Database? |
|
|
90 | (1) |
|
|
91 | (6) |
|
|
91 | (1) |
|
|
92 | (1) |
|
|
93 | (1) |
|
|
94 | (1) |
|
|
95 | (2) |
|
|
97 | (1) |
|
|
97 | (1) |
|
9.3.2 Content Management Systems, Blogging Platforms |
|
|
98 | (1) |
|
9.3.3 Web Analytics or Real-Time Analytics |
|
|
98 | (1) |
|
9.3.4 E-Commerce Applications |
|
|
98 | (1) |
|
|
98 | (1) |
|
9.4.1 Complex Transactions Spanning Different Operations |
|
|
98 | (1) |
|
9.4.2 Queries against Varying Aggregate Structure |
|
|
98 | (1) |
|
Chapter 10 Column-Family Stores |
|
|
99 | (12) |
|
10.1 What Is a Column-Family Data Store? |
|
|
99 | (1) |
|
|
100 | (5) |
|
|
103 | (1) |
|
|
104 | (1) |
|
|
104 | (1) |
|
|
105 | (2) |
|
|
107 | (1) |
|
|
107 | (2) |
|
|
107 | (1) |
|
10.3.2 Content Management Systems, Blogging Platforms |
|
|
108 | (1) |
|
|
108 | (1) |
|
|
108 | (1) |
|
|
109 | (2) |
|
Chapter 11 Graph Databases |
|
|
111 | (12) |
|
11.1 What Is a Graph Database? |
|
|
111 | (2) |
|
|
113 | (7) |
|
|
114 | (1) |
|
|
114 | (1) |
|
|
115 | (1) |
|
|
115 | (4) |
|
|
119 | (1) |
|
|
120 | (1) |
|
|
120 | (1) |
|
11.3.2 Routing, Dispatch, and Location-Based Services |
|
|
120 | (1) |
|
11.3.3 Recommendation Engines |
|
|
121 | (1) |
|
|
121 | (2) |
|
Chapter 12 Schema Migrations |
|
|
123 | (10) |
|
|
123 | (1) |
|
12.2 Schema Changes in RDBMS |
|
|
123 | (5) |
|
12.2.1 Migrations for Green Field Projects |
|
|
124 | (2) |
|
12.2.2 Migrations in Legacy Projects |
|
|
126 | (2) |
|
12.3 Schema Changes in a NoSQL Data Store |
|
|
128 | (4) |
|
12.3.1 Incremental Migration |
|
|
130 | (1) |
|
12.3.2 Migrations in Graph Databases |
|
|
131 | (1) |
|
12.3.3 Changing Aggregate Structure |
|
|
132 | (1) |
|
|
132 | (1) |
|
|
132 | (1) |
|
Chapter 13 Polyglot Persistence |
|
|
133 | (8) |
|
13.1 Disparate Data Storage Needs |
|
|
133 | (1) |
|
13.2 Polyglot Data Store Usage |
|
|
134 | (2) |
|
13.3 Service Usage over Direct Data Store Usage |
|
|
136 | (1) |
|
13.4 Expanding for Better Functionality |
|
|
136 | (2) |
|
13.5 Choosing the Right Technology |
|
|
138 | (1) |
|
13.6 Enterprise Concerns with Polyglot Persistence |
|
|
138 | (1) |
|
13.7 Deployment Complexity |
|
|
139 | (1) |
|
|
140 | (1) |
|
|
141 | (6) |
|
|
141 | (1) |
|
|
142 | (2) |
|
|
144 | (1) |
|
|
145 | (1) |
|
|
145 | (1) |
|
|
146 | (1) |
|
|
146 | (1) |
|
Chapter 15 Choosing Your Database |
|
|
147 | (6) |
|
15.1 Programmer Productivity |
|
|
147 | (2) |
|
15.2 Data-Access Performance |
|
|
149 | (1) |
|
15.3 Sticking with the Default |
|
|
150 | (1) |
|
|
150 | (1) |
|
|
151 | (1) |
|
|
152 | (1) |
Bibliography |
|
153 | (4) |
Index |
|
157 | |