- Learning Apache Cassandra(Second Edition)
- Sandeep Yarabarla
- 125字
- 2021-07-03 00:19:37
Refining our mental model
In the previous chapter, we began to develop a mental model of a Cassandra table that looked like a key-value store where each value is a collection of columns with values. Now that we have seen compound primary keys, we can refine that mental model to take into account the more complex structures we now know how to build, as follows:
We can envision the user_status_updates table as a more robust key-value structure. Our keys are still usernames, but the values are now ordered collections of rows, both identified and ordered by the id clustering column. As with our earlier model, each partition key's data stands alone; to get data from multiple partitions, we have to go looking in multiple places.
推薦閱讀
- 繪制進(jìn)程圖:可視化D++語(yǔ)言(第1冊(cè))
- 構(gòu)建高質(zhì)量的C#代碼
- 21天學(xué)通JavaScript
- 21天學(xué)通ASP.NET
- 讓每張照片都成為佳作的Photoshop后期技法
- 中國(guó)戰(zhàn)略性新興產(chǎn)業(yè)研究與發(fā)展·工業(yè)機(jī)器人
- 人工智能技術(shù)入門
- 液壓機(jī)智能故障診斷方法集成技術(shù)
- Linux系統(tǒng)管理員工具集
- 重估:人工智能與賦能社會(huì)
- WOW!Photoshop CS6完全自學(xué)寶典
- 傳感器原理與工程應(yīng)用
- Practical Network Automation
- 大數(shù)據(jù):從基礎(chǔ)理論到最佳實(shí)踐
- EDA技術(shù)及其創(chuàng)新實(shí)踐(Verilog HDL版)