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

Anatomy of a single-column primary key

Now that you understand the distinction between a partition key and a clustering column, you might be wondering which role the username column plays in the users table.

As it turns out, it's a partition key. All Cassandra tables must have a partition key; clustering columns are optional. In the users table, each row is its own tiny partition; no row is grouped with any other.

主站蜘蛛池模板: 铜梁县| 凯里市| 大渡口区| 康保县| 九江市| 合川市| 陆川县| 宜黄县| 济宁市| 濮阳县| 阳江市| 德化县| 正镶白旗| 阿克苏市| 郴州市| 兴化市| 札达县| 崇明县| 凤冈县| 涞水县| 虞城县| 繁峙县| 博乐市| 富阳市| 吉首市| 云和县| 南澳县| 苍梧县| 广河县| 赣州市| 资阳市| 贡觉县| 宝坻区| 合阳县| 泾阳县| 潞西市| 赫章县| 武山县| 吉隆县| 南江县| 黄骅市|