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

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.

主站蜘蛛池模板: 喜德县| 甘洛县| 温泉县| 夹江县| 嘉兴市| 沐川县| 晋中市| 马鞍山市| 淮阳县| 房山区| 三穗县| 五大连池市| 上犹县| 长顺县| 大荔县| 红桥区| 大城县| 东兴市| 海丰县| 长兴县| 炎陵县| 礼泉县| 盐城市| 华容县| 施甸县| 普宁市| 新密市| 依兰县| 定州市| 惠州市| 邯郸县| 江北区| 惠安县| 库车县| 绵阳市| 鹤壁市| 北宁市| 南充市| 南漳县| 九江县| 深泽县|