- 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.
推薦閱讀
- Instant Raspberry Pi Gaming
- Mastering Spark for Data Science
- 工業機器人工程應用虛擬仿真教程:MotoSim EG-VRC
- 人工智能與人工生命
- 高維聚類知識發現關鍵技術研究及應用
- Docker on Amazon Web Services
- 基于ARM9的小型機器人制作
- Mastering MongoDB 3.x
- Linux Shell Scripting Cookbook(Third Edition)
- Natural Language Processing and Computational Linguistics
- Instant Slic3r
- Advanced Deep Learning with Keras
- Practical Network Automation
- 軟件需求十步走
- 計算機仿真技術