官术网_书友最值得收藏!

Secondary indexes

A secondary index, commonly referred to as an index in the context of a relational database, is a structure allowing efficient lookup of records by some attribute other than their primary key. This is a widely useful capability; for instance, when developing a blog application, you would want to be able to easily retrieve all of the posts written by a particular author. Cassandra supports secondary indexes; while Cassandra's version is not as versatile as indexes in a typical relational database, it's a powerful feature in the right circumstances. A query on a secondary index can perform poorly in certain cases; hence, it should be used sparingly and only in certain cases, which we will touch upon later in Chapter 5, Establishing Relationships.

主站蜘蛛池模板: 石渠县| 甘德县| 宣威市| 庄河市| 宜阳县| 琼海市| 比如县| 通山县| 白沙| 峨边| 分宜县| 江阴市| 宝应县| 扎囊县| 马鞍山市| 民县| 海原县| 巨野县| 宝应县| 吴桥县| 新巴尔虎右旗| 开化县| 宜都市| 靖宇县| 喜德县| 敖汉旗| 洪雅县| 西华县| 江山市| 安新县| 博客| 旬阳县| 上犹县| 上思县| 英吉沙县| 香港 | 江都市| 潮州市| 平湖市| 石嘴山市| 石台县|