- Learning Apache Cassandra(Second Edition)
- Sandeep Yarabarla
- 203字
- 2021-07-03 00:19:23
Discretely writable collections
While it's useful for records to be internally structured into discrete fields, a given property of a record isn't always a single value such as a string or an integer. One simple way to handle fields that contain collections of values is to serialize them using a format such as JSON and then save the serialized collection into a text field. However, in order to update collections stored in this way, the serialized data must be read from the database, decoded, modified, and then written back to the database in its entirety. If two clients try to perform this kind of modification to the same record concurrently, one of the updates will be overwritten by the other. For this reason, many databases offer built-in collection structures that can be discretely updated: values can be added to and removed from collections without reading and rewriting the entire collection. Cassandra is no exception, offering list, set, and map collections, and supporting operations such as append the number 3 to the end of this list. Neither the client nor Cassandra itself needs to read the current state of the collection in order to update it, meaning collection updates are also blazingly efficient.
- 高效能辦公必修課:Word圖文處理
- Multimedia Programming with Pure Data
- MATLAB/Simulink權威指南:開發環境、程序設計、系統仿真與案例實戰
- 網絡布線與小型局域網搭建
- 水下無線傳感器網絡的通信與決策技術
- Mastering ServiceNow Scripting
- AI的25種可能
- Learn QGIS
- Mastering Predictive Analytics with scikit:learn and TensorFlow
- Learn Microsoft Azure
- 伺服與運動控制系統設計
- 數字多媒體技術與應用實例
- 信息系統安全保障評估
- Building Analytics Teams
- 數據庫技術:Access 2003計算機網絡技術