{"id":50175,"date":"2023-11-30T11:46:14","date_gmt":"2024-03-09T21:46:11","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/cassandra-%e7%9a%84%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84\/"},"modified":"2024-05-04T11:29:34","modified_gmt":"2024-05-04T03:29:34","slug":"cassandra-%e7%9a%84%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/cassandra-%e7%9a%84%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84\/","title":{"rendered":"Cassandra \u7684\u6570\u636e\u7ed3\u6784"},"content":{"rendered":"<h1>Cassandra\u7684\u6570\u636e\u7ed3\u6784<\/h1>\n<p>Cassandra\u7684Column Family\u5177\u6709\u7c7b\u4f3c\u4e8e\u4ee5\u4e0b\u4e8c\u7ef4\u6620\u5c04\u7684\u7ed3\u6784\u3002<\/p>\n<pre class=\"post-pre\"><code>Map&lt;RowKey, SortedMap&lt;ColumnKey, ColumnValue&gt;&gt;\r\n<\/code><\/pre>\n<p>\u4e0a\u8ff0\u7684 RowKey \u5728 CQL \u4e2d\u88ab\u79f0\u4e3a\u5206\u533a\u952e\uff08Partition Key\uff09\uff0c\u6839\u636e\u8fd9\u4e2a\u5206\u533a\u952e\u5c06\u6570\u636e\u5206\u914d\u5230\u8282\u70b9\u4e0a\u3002<br \/>\n\u6b64\u5916\uff0c\u5728 CQL \u4e2d\uff0c\u4e3b\u952e\u4e14\u4e0d\u662f\u5206\u533a\u952e\u7684 ColumnKey \u88ab\u79f0\u4e3a\u805a\u7c07\u5217\uff08Clustering Column\uff09\uff08\u987e\u540d\u601d\u4e49\uff0c\u5b83\u7528\u4e8e\u5728\u67d0\u4e2a\u5206\u533a\u4e2d\u521b\u5efa\u952e\u503c\u5757\uff09\u3002<\/p>\n<p>\u5f53\u5728\u5355\u4e2a\u5206\u533a\u4e0a\u53d1\u751f\u5927\u91cf\u7684\u8bfb\u5199\u64cd\u4f5c\u65f6\uff0c\u4f1a\u5bfc\u81f4\u7279\u5b9a\u8282\u70b9\u7684\u8d1f\u8f7d\u589e\u52a0\u3002\u4e3a\u4e86\u8003\u8651\u8d1f\u8f7d\u5747\u8861\uff0c\u9700\u8981\u786e\u5b9a\u5206\u533a\u952e\u3002<\/p>\n<h2>\u901a\u8fc7CQL\u521b\u5efa\u7684\u6570\u636e\u7684\u7269\u7406\u7ed3\u6784<\/h2>\n<p>\u521b\u5efa\u4ee5\u4e0b\u7c7b\u578b\u7684\u8868\uff0c\u5e76\u63d2\u5165\u6570\u636e\u3002<\/p>\n<pre class=\"post-pre\"><code>CREATE KEYSPACE key_space_test WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };\r\n\r\nuse key_space_test;\r\n\r\nCREATE TABLE testtable (\r\n  pkey1 text,\r\n  pkey2 text,\r\n  skey  int,\r\n  value text,\r\n  cvalue map&lt;text,text&gt;,\r\n  PRIMARY KEY ((pkey1, pkey2), skey)\r\n) WITH CLUSTERING ORDER BY (skey DESC);\r\n\r\n\r\nINSERT INTO testtable (pkey1, pkey2, skey, cvalue, value)\r\n VALUES('pkey1_1', 'pkey2_1', 100, {'hoge': 'fuga'}, 'value11_100');\r\n\r\nINSERT INTO testtable (pkey1, pkey2, skey, cvalue, value)\r\n VALUES('pkey1_2', 'pkey2_1', 200, {'hoge': 'fuga'}, 'value21_200');\r\n\r\nINSERT INTO testtable (pkey1, pkey2, skey, cvalue, value)\r\n VALUES('pkey1_1', 'pkey2_2', 101, {'hoge1': 'fuga1'}, 'value12_101');\r\n\r\nINSERT INTO testtable (pkey1, pkey2, skey, cvalue, value)\r\n VALUES('pkey1_1', 'pkey2_3', 102, {'hoge1': 'fuga1'}), 'value13_102';\r\n\r\nINSERT INTO testtable (pkey1, pkey2, skey, cvalue, value)\r\n VALUES('pkey1_1', 'pkey2_1', 101, {'hoge1': 'fuga1'}, 'value11_101');\r\n\r\nINSERT INTO testtable (pkey1, pkey2, skey, cvalue, value)\r\n VALUES('pkey1_1', 'pkey2_1', 103, {'hoge1': 'fuga1'}, 'value11_103');\r\n\r\nINSERT INTO testtable (pkey1, pkey2, skey, cvalue, value)\r\n VALUES('pkey1_1', 'pkey2_1', 102, {'hoge1': 'fuga1'}, 'value11_102');\r\n\r\nNSERT INTO testtable (pkey1, pkey2, skey, cvalue, value)\r\n  VALUES('pkey1_1', 'pkey2_1', 12, {'hoge': 'fuga'}, 'value11_12')\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>cqlsh&gt; use key_space_test ;\r\ncqlsh:key_space_test&gt; select * from testtable;\r\n\r\n pkey1   | pkey2   | skey | cvalue             | value\r\n---------+---------+------+--------------------+-------------\r\n pkey1_1 | pkey2_1 |  103 | {'hoge1': 'fuga1'} | value11_103\r\n pkey1_1 | pkey2_1 |  102 | {'hoge1': 'fuga1'} | value11_102\r\n pkey1_1 | pkey2_1 |  101 | {'hoge1': 'fuga1'} | value11_101\r\n pkey1_1 | pkey2_1 |  100 |   {'hoge': 'fuga'} | value11_100\r\n pkey1_1 | pkey2_1 |   12 |   {'hoge': 'fuga'} |  value11_12\r\n pkey1_2 | pkey2_1 |  200 |   {'hoge': 'fuga'} | value21_200\r\n pkey1_1 | pkey2_3 |  102 | {'hoge1': 'fuga1'} | value13_102\r\n pkey1_1 | pkey2_2 |  101 | {'hoge1': 'fuga1'} | value12_101\r\n\r\n(7 rows)\r\n<\/code><\/pre>\n<p>\u5982\u679c\u4f7f\u7528cassandra-cli\u67e5\u770b\u4e0a\u8ff0\u72b6\u6001\uff0c\u4f1a\u663e\u793a\u5982\u4e0b\u4fe1\u606f\u3002<\/p>\n<pre class=\"post-pre\"><code>[default@unknown] use key_space_test;\r\nAuthenticated to keyspace: key_space_test\r\n[default@key_space_test] list testtable;\r\nUsing default limit of 100\r\nUsing default cell limit of 100\r\n-------------------\r\nRowKey: pkey2_1:pkey2_1\r\n-------------------\r\nRowKey: pkey1_1:pkey2_1\r\n=&gt; (name=103:, value=, timestamp=1409032006570000)\r\n=&gt; (name=103:cvalue:686f676531, value=6675676131, timestamp=1409032006570000)\r\n=&gt; (name=103:value, value=76616c756531315f313033, timestamp=1409049933189000)\r\n=&gt; (name=102:, value=, timestamp=1409032011667000)\r\n=&gt; (name=102:cvalue:686f676531, value=6675676131, timestamp=1409032011667000)\r\n=&gt; (name=102:value, value=76616c756531315f313032, timestamp=1409049943179000)\r\n=&gt; (name=101:, value=, timestamp=1409031979603000)\r\n=&gt; (name=101:cvalue:686f676531, value=6675676131, timestamp=1409031979603000)\r\n=&gt; (name=101:value, value=76616c756531315f313031, timestamp=1409049954219000)\r\n=&gt; (name=100:, value=, timestamp=1409029158989000)\r\n=&gt; (name=100:cvalue:686f6765, value=66756761, timestamp=1409029158989000)\r\n=&gt; (name=100:value, value=76616c756531315f313030, timestamp=1409049974715000)\r\n=&gt; (name=12:, value=, timestamp=1409051010713000)\r\n=&gt; (name=12:cvalue:686f6765, value=66756761, timestamp=1409051010713000)\r\n=&gt; (name=12:value, value=76616c756531315f3132, timestamp=1409051010713000)\r\n-------------------\r\nRowKey: pkey1_2:pkey2_1\r\n=&gt; (name=200:, value=, timestamp=1409029194029000)\r\n=&gt; (name=200:cvalue:686f6765, value=66756761, timestamp=1409029194029000)\r\n=&gt; (name=200:value, value=76616c756532315f323030, timestamp=1409050124020000)\r\n-------------------\r\nRowKey: pkey1_1:pkey2_3\r\n=&gt; (name=102:, value=, timestamp=1409029279630000)\r\n=&gt; (name=102:cvalue:686f676531, value=6675676131, timestamp=1409029279630000)\r\n=&gt; (name=102:value, value=76616c756531335f313032, timestamp=1409050027490000)\r\n-------------------\r\nRowKey: pkey1_1:pkey2_2\r\n=&gt; (name=101:, value=, timestamp=1409029232070000)\r\n=&gt; (name=101:cvalue:686f676531, value=6675676131, timestamp=1409029232070000)\r\n=&gt; (name=101:value, value=76616c756531325f313031, timestamp=1409050045987000)\r\n\r\n5 Rows Returned.\r\nElapsed time: 154 msec(s).\r\n<\/code><\/pre>\n<p>\u603b\u4e4b\uff08\uff09,<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">CQL \u3067\u8907\u6570\u306e Partition Key (\u4e0a\u8a18\u306e\u4f8b\u3067\u306f pkey1, pkey2) \u3092\u6307\u5b9a\u3059\u308b\u3068\u3001PK\u306b\u6307\u5b9a\u3057\u305f \u5024 \u304c &#8216;:&#8217; \u3067\u7e4b\u304c\u308c\u3066\u4e00\u3064\u306e RowKey \u306b\u306a\u308b\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">ColumnKey \u306f Partition Key \u3067\u306a\u3044\u30ab\u30e9\u30e0\u30ad\u30fc\u540d\u3092 &#8216;:&#8217; \u3067\u7e4b\u3044\u3060\u3082\u306e\u306b\u306a\u308b (\u4f8b\u5916\u3068\u3057\u3066 \u4e3b\u30ad\u30fc\u3068\u3057\u3066\u6307\u5b9a\u3055\u308c\u305f\u30ad\u30fc\u306f\u3001\u5024\u304c\u4f7f\u7528\u3055\u308c\u308b)<\/ul>\n<\/li>\n<\/ul>\n<p>\u3053\u306e\u7406\u7531\u306b\u3088\u308a\u3001CLUSTERING ORDER \u306b\u6307\u5b9a\u3067\u304d\u308b\u30ad\u30fc\u304c\u4e3b\u30ad\u30fc\u306b\u5236\u9650\u3055\u308c\u3066\u3044\u308b<\/p>\n<p>Map \u306e\u30ad\u30fc\u306f :&lt;\u30ad\u30fc\u540d&gt; \u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3067 ColumnKey \u306e\u4e00\u90e8\u306b\u306a\u308b<br \/>\nCQL \u306e CLUSTERING ORDER \u306b\u6307\u5b9a\u3057\u305f\u30ad\u30fc\u306f\u3001ColumnKey \u306b \u5024 \u304c\u5165\u308a\u30bd\u30fc\u30c8\u3055\u308c\u308b (value\u306b\u5165\u308c\u3066\u3082\u30bd\u30fc\u30c8\u3067\u304d\u306a\u3044\u305f\u3081)<\/p>\n<p>\u5024\u306e\u578b\u304cinteger \u3060\u3068\u3001\u3061\u3083\u3093\u3068\u6570\u5024\u306e\u5927\u5c0f\u3067\u30bd\u30fc\u30c8\u3055\u308c\u308b (\u30ad\u30fc\u306b\u5165\u3063\u3066\u308b\u306e\u306b\u3069\u3046\u3084\u3063\u3066\u578b\u3092\u8b58\u5225\u3057\u3066\u308b\u306e\u304b\u4e0d\u660e\u3002\u7d20\u6674\u3089\u3057\u3044)<\/p>\n<p>\u5f53\u5728CQL\u4e2d\u6307\u5b9a\u975eRowKey\u7684\u4e3b\u952e\uff08\u805a\u7c07\u5217\uff1a\u5982\u4e0a\u4f8b\u4e2d\u7684skey\uff09\uff0c\u5219\u975eRowKey\u7684\u4e3b\u952e\u7684\u503c\u5c06\u88ab\u8bbe\u7f6e\u4e3aColumnKey\uff0c\u5e76\u4e0e\u5176\u4ed6\u952e\u5206\u79bb\u3002\u8fd9\u6837\uff0c\u5b83\u5177\u6709\u4e3b\u952e\u7684\u884c\u4e3a\u3002<\/p>\n<h2>\u4e0e DynamoDB \u76f8\u6bd4\u8f83<\/h2>\n<h3>DynamoDB\u7684\u6570\u636e\u7ed3\u6784<\/h3>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8fac913a08637a6d9f1c\/16-0.png\" alt=\"DynamoDB\" \/><\/div>\n<p>\u5982\u4e0a\u6240\u8ff0\uff0cDynamoDB\u7684Hash Key\u5c31\u76f8\u5f53\u4e8eCassandra\u7684RowKey\u3002\u8fd9\u4e00\u70b9\u5b8c\u5168\u543b\u5408\u3002<br \/>\n\u800cRange Key\u5219\u662fCassandra\u4e2d\u8fde\u63a5\u4e86\u975eRowKey\u7684\u4e3b\u952e\u7684\u7ec4\u5408\u6210\u7684\u3002<\/p>\n<h2>\u7d22\u5f15<\/h2>\n<p>\u5728Cassandra\u4e2d\uff0c\u53ef\u4ee5\u521b\u5efa\u7c7b\u4f3c\u4e8eDynamoDB\u7684\u201c\u672c\u5730\u8f85\u52a9\u7d22\u5f15\u201d\uff08\u53ef\u80fd\uff09\u7684\u7d22\u5f15\u3002<\/p>\n<h3>\u4ec0\u4e48\u65f6\u5019\u4e0d\u5e94\u8be5\u4f7f\u7528\u7d22\u5f15\uff1f<\/h3>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30ab\u30fc\u30c7\u30a3\u30ca\u30ea\u30c6\u30a3\u304c\u9ad8\u3044 (\u5024\u306e\u7a2e\u985e\u304c\u591a\u3044)\u30c7\u30fc\u30bf<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u983b\u7e41\u306b\u66f4\u65b0\u3055\u308c\u308b\u30ab\u30e9\u30e0<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u5927\u91cf\u306e\u30ab\u30e9\u30e0\u304c\u3042\u308bpartition\u4e2d\u3067index\u3067\u30ca\u30ed\u30a4\u30f3\u30b0\u3059\u308b\u5834\u5408<\/ul>\n<p>\u76f8\u53cd\u5730\uff0c\u4f7f\u7528\u7684\u65f6\u673a\u6211\u4e0d\u592a\u660e\u767d\u3002<\/p>\n<h2>\u5728Cassandra\u4e0a\u7684\u641c\u7d22<\/h2>\n<p>(Cassandra is a popular open-source distributed database management system.)<\/p>\n<h3>\u53ef\u4ee5\u5728SELECT\u8bed\u53e5\u7684WHERE\u5b50\u53e5\u4e2d\u6307\u5b9a\u7684\u952e<\/h3>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Partition Key: \u6307\u5b9a\u3059\u308b\u5834\u5408\u3001\u5168\u3066\u306ePartition Key\u306e\u6307\u5b9a\u304c\u5fc5\u9808<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Partition Key\u4ee5\u5916\u306e\u4e3b\u30ad\u30fc\u3002\u6570\u5024\/\u65e5\u6642\u306e\u6bd4\u8f03\u306b\u306f\u5927\u5c0f\u95a2\u4fc2\u306e\u6bd4\u8f03\u304c\u53ef\u80fd\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">Index\u3092\u4ed8\u3051\u305f\u30ad\u30fc (not \u4e3b\u30ad\u30fc)<\/ul>\n<p>\u5982\u679c\u5728\u67e5\u8be2\u65f6\u4e0d\u6307\u5b9a\u5206\u533a\u952e\uff0c\u67e5\u8be2\u5c06\u8de8\u8d8a\u591a\u4e2a\u5206\u533a\uff0c\u56e0\u6b64\u9700\u8981\u6dfb\u52a0ALLOW FILTERING\u9009\u9879\u3002<br \/>\n\u5982\u679c\u6dfb\u52a0\u4e86\u6b64\u9009\u9879\uff0c\u5728\u6570\u636e\u91cf\u5f88\u5927\u65f6\uff0c\u67e5\u8be2\u65f6\u95f4\u5c06\u4e0d\u786e\u5b9a\uff0c\u56e0\u6b64\u5e94\u5c3d\u91cf\u907f\u514d\u4f7f\u7528\uff0c\u5e94\u8be5\u8bbe\u8ba1\u80fd\u591f\u6267\u884c\u67e5\u8be2\u800c\u4e0d\u6dfb\u52a0\u6b64\u9009\u9879\u7684\u8868\u7ed3\u6784\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cassandra\u7684\u6570\u636e\u7ed3\u6784 Cassandra\u7684Column Family\u5177\u6709\u7c7b\u4f3c\u4e8e\u4ee5\u4e0b\u4e8c\u7ef4\u6620\u5c04\u7684\u7ed3\u6784\u3002 M [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-50175","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Cassandra \u7684\u6570\u636e\u7ed3\u6784 - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/cassandra-\u7684\u6570\u636e\u7ed3\u6784\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cassandra \u7684\u6570\u636e\u7ed3\u6784\" \/>\n<meta property=\"og:description\" content=\"Cassandra\u7684\u6570\u636e\u7ed3\u6784 Cassandra\u7684Column Family\u5177\u6709\u7c7b\u4f3c\u4e8e\u4ee5\u4e0b\u4e8c\u7ef4\u6620\u5c04\u7684\u7ed3\u6784\u3002 M [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/cassandra-\u7684\u6570\u636e\u7ed3\u6784\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-09T21:46:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-04T03:29:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8fac913a08637a6d9f1c\/16-0.png\" \/>\n<meta name=\"author\" content=\"\u97f5, \u79d1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u97f5, \u79d1\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/cassandra-%e7%9a%84%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/cassandra-%e7%9a%84%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84\/\",\"name\":\"Cassandra \u7684\u6570\u636e\u7ed3\u6784 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2024-03-09T21:46:11+00:00\",\"dateModified\":\"2024-05-04T03:29:34+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/cassandra-%e7%9a%84%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/cassandra-%e7%9a%84%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/cassandra-%e7%9a%84%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cassandra \u7684\u6570\u636e\u7ed3\u6784\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e\",\"name\":\"\u97f5, \u79d1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g\",\"caption\":\"\u97f5, \u79d1\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunke\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/cassandra-%e7%9a%84%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Cassandra \u7684\u6570\u636e\u7ed3\u6784 - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/cassandra-\u7684\u6570\u636e\u7ed3\u6784\/","og_locale":"zh_CN","og_type":"article","og_title":"Cassandra \u7684\u6570\u636e\u7ed3\u6784","og_description":"Cassandra\u7684\u6570\u636e\u7ed3\u6784 Cassandra\u7684Column Family\u5177\u6709\u7c7b\u4f3c\u4e8e\u4ee5\u4e0b\u4e8c\u7ef4\u6620\u5c04\u7684\u7ed3\u6784\u3002 M [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/cassandra-\u7684\u6570\u636e\u7ed3\u6784\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-03-09T21:46:11+00:00","article_modified_time":"2024-05-04T03:29:34+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8fac913a08637a6d9f1c\/16-0.png"}],"author":"\u97f5, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u97f5, \u79d1","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/cassandra-%e7%9a%84%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/cassandra-%e7%9a%84%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84\/","name":"Cassandra \u7684\u6570\u636e\u7ed3\u6784 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2024-03-09T21:46:11+00:00","dateModified":"2024-05-04T03:29:34+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/cassandra-%e7%9a%84%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/cassandra-%e7%9a%84%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/cassandra-%e7%9a%84%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"Cassandra \u7684\u6570\u636e\u7ed3\u6784"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e","name":"\u97f5, \u79d1","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g","caption":"\u97f5, \u79d1"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunke\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/cassandra-%e7%9a%84%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/50175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=50175"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/50175\/revisions"}],"predecessor-version":[{"id":98057,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/50175\/revisions\/98057"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=50175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=50175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=50175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}