- Learning Apache Cassandra(Second Edition)
- Sandeep Yarabarla
- 149字
- 2021-07-03 00:19:23
Efficient result ordering
It's quite common to want to retrieve a record set ordered by a particular field; for instance, a photo-sharing service will want to retrieve the most recent photographs in descending order of creation. Since sorting data on the fly is a fundamentally expensive operation, databases must keep information about record ordering persisted on disk in order to efficiently return results in order. In a relational database, this is one of the jobs of a secondary index.
In Cassandra, secondary indexes can't be used for result ordering, but tables can be structured such that rows are always kept sorted by a given column or columns, called clustering columns. Sorting by arbitrary columns at read time is not possible, but the capacity to efficiently order records in any way and to retrieve ranges of records based on this ordering is an unusually powerful capability for a distributed database.
- GNU-Linux Rapid Embedded Programming
- Internet接入·網絡安全
- 大數據項目管理:從規劃到實現
- LabVIEW虛擬儀器從入門到測控應用130例
- R Machine Learning By Example
- 計算機應用基礎·基礎模塊
- Dreamweaver CS3網頁設計與網站建設詳解
- 網絡綜合布線技術
- Multimedia Programming with Pure Data
- RPA:流程自動化引領數字勞動力革命
- OpenStack Cloud Computing Cookbook(Second Edition)
- 西門子S7-200 SMART PLC實例指導學與用
- 信息物理系統(CPS)測試與評價技術
- Apache Spark Machine Learning Blueprints
- 服務器配置與應用(Windows Server 2008 R2)