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

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.

主站蜘蛛池模板: 错那县| 太康县| 慈溪市| 上林县| 怀宁县| 任丘市| 青海省| 开封县| 崇义县| 乡宁县| 遵义县| 淅川县| 新平| 崇文区| 合川市| 本溪| 射洪县| 巴里| 襄樊市| 甘南县| 郓城县| 师宗县| 双桥区| 武汉市| 高要市| 云阳县| 遂溪县| 桑植县| 海盐县| 西乌珠穆沁旗| 凤凰县| 桃源县| 江津市| 成都市| 东乡县| 沁源县| 丹凤县| 郸城县| 衡水市| 虞城县| 离岛区|