- Learning Apache Cassandra(Second Edition)
- Sandeep Yarabarla
- 170字
- 2021-07-03 00:19:23
Relational joins
In real-world applications, different pieces of data relate to each other in a variety of ways. Relational databases allow us to perform queries that make these relationships explicit; for instance, to retrieve a set of events whose location is in the state of New York (this is assuming events and locations are different record types). Cassandra, however, is not a relational database and does not support anything such as joins. Instead, applications using Cassandra typically denormalize data and make clever use of clustering in order to perform the sorts of data access that would use a join in a relational database.
For data sets that aren't already denormalized, applications can also perform client-side joins, which mimic the behavior of a relational database by performing multiple queries and joining the results at the application level. Client-side joins are less efficient than reading data that has been denormalized in advance, but they offer more flexibility. We'll cover both of these approaches in Chapter 6, Denormalizing Data for Maximum Performance.
- 基于LPC3250的嵌入式Linux系統(tǒng)開(kāi)發(fā)
- Mastering VMware vSphere 6.5
- 樂(lè)高機(jī)器人EV3設(shè)計(jì)指南:創(chuàng)造者的搭建邏輯
- 自主研拋機(jī)器人技術(shù)
- 大數(shù)據(jù)安全與隱私保護(hù)
- 統(tǒng)計(jì)策略搜索強(qiáng)化學(xué)習(xí)方法及應(yīng)用
- RedHat Linux用戶基礎(chǔ)
- INSTANT VMware vCloud Starter
- Linux系統(tǒng)管理員工具集
- 中老年人學(xué)電腦與上網(wǎng)
- 計(jì)算機(jī)硬件技術(shù)基礎(chǔ)學(xué)習(xí)指導(dǎo)與練習(xí)
- Microsoft System Center Data Protection Manager Cookbook
- Mastering Machine Learning with R
- Spark Streaming實(shí)時(shí)流式大數(shù)據(jù)處理實(shí)戰(zhàn)
- Web滲透技術(shù)及實(shí)戰(zhàn)案例解析