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

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.

主站蜘蛛池模板: 南召县| 乌兰察布市| 通州市| 巩留县| 繁昌县| 商城县| 湖南省| 分宜县| 吴桥县| 武川县| 藁城市| 沙河市| 富源县| 忻城县| 闽清县| 佛教| 安西县| 信丰县| 英吉沙县| 广东省| 临漳县| 临桂县| 武清区| 丰原市| 阜南县| 九寨沟县| 信丰县| 绍兴县| 来宾市| 龙山县| 富平县| 航空| 诏安县| 吴川市| 蓬安县| 泾阳县| 泸西县| 高雄县| 托克托县| 曲阳县| 新平|