{"id":50245,"date":"2023-04-23T03:25:13","date_gmt":"2023-09-09T18:29:30","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%85%b3cassandra%e5%8e%8b%e5%8a%9b%e6%b5%8b%e8%af%95%e7%94%a8%e6%88%b7%e6%a8%a1%e5%bc%8f%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95\/"},"modified":"2024-04-30T00:50:02","modified_gmt":"2024-04-29T16:50:02","slug":"%e6%9c%89%e5%85%b3cassandra%e5%8e%8b%e5%8a%9b%e6%b5%8b%e8%af%95%e7%94%a8%e6%88%b7%e6%a8%a1%e5%bc%8f%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%85%b3cassandra%e5%8e%8b%e5%8a%9b%e6%b5%8b%e8%af%95%e7%94%a8%e6%88%b7%e6%a8%a1%e5%bc%8f%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95\/","title":{"rendered":"\u6709\u5173Cassandra\u538b\u529b\u6d4b\u8bd5\u7528\u6237\u6a21\u5f0f\u7684\u5907\u5fd8\u5f55"},"content":{"rendered":"<h2>0. \u9996\u5148<\/h2>\n<p>\u30fb\u672c\u6761\u6b3e\u4e2d\u4ecb\u7ecd\u7684\u662f\u5173\u4e8eCassandra-stress\u7684\u5185\u5bb9\uff0c\u57fa\u4e8e\u5206\u53d1\u7248\u672c\u548c\u7248\u672c\u53f7 = DSE 4.8.16\u8fdb\u884c\u64b0\u5199\u3002<br \/>\n\u30fb\u7531\u4e8e\u672c\u8bf4\u660e\u5df2\u7ecf\u8fc7\u65f6\uff0c\u5e76\u4e14\u5b58\u5728\u66f4\u591a\u5b50\u547d\u4ee4\u548c\u9009\u9879\uff0c\u56e0\u6b64\u8bf7\u8be6\u7ec6\u53c2\u9605Apache\u6216DataStax\u7684\u6307\u5357\u3002<\/p>\n<h2>1. \u7528\u6237\u6a21\u5f0f\u6982\u89c8<\/h2>\n<p>\u901a\u8fc7\u4f7f\u7528\u7528\u6237\u6a21\u5f0f\uff0c\u53ef\u4ee5\u5bf9\u4efb\u610f\u8868\u683c\u548c\u9488\u5bf9\u8be5\u8868\u683c\u7684\u4efb\u610f\u67e5\u8be2\u8fdb\u884c\u538b\u529b\u6d4b\u8bd5\u3002<\/p>\n<h2>2. yaml\u6587\u4ef6\u5b9a\u4e49<\/h2>\n<p>yaml\u6587\u4ef6\u7684\u5b9a\u4e49\u8bf4\u660e<\/p>\n<h3>\u952e\u7a7a\u95f4: \u952e\u7a7a\u95f4\u5b9a\u4e49\u3002<\/h3>\n<p>\u53ea\u9700\u4e00\u4e2a\u9009\u9879\uff0c\u5c06\u4ee5\u4e0b\u5185\u5bb9\u7528\u4e2d\u6587\u8fdb\u884c\u91ca\u4e49\uff1a<br \/>\n&#8211; \u952e\u7a7a\u95f4\u6307\u5b9a<br \/>\n&#8211; \u5728CREATE KEYSPACE\u4e2d\u5b9a\u4e49\u952e\u7a7a\u95f4<br \/>\n\u203b\u5982\u679c\u8981\u4f7f\u7528\u5df2\u7ecf\u521b\u5efa\u7684\u952e\u7a7a\u95f4\uff0c\u5219\u53ef\u4ee5\u7701\u7565\u952e\u7a7a\u95f4\u5b9a\u4e49\u3002<\/p>\n<p>&lt;\u5b9a\u4e49\u8bf4\u660e\u793a\u4f8b&gt;<\/p>\n<pre class=\"post-pre\"><code>keyspace: stest01\r\nkeyspace_definition: \r\n  CREATE KEYSPACE stest01 WITH replication = {'class': 'NetworkTopologyStrategy', 'DC1': 3};\r\n<\/code><\/pre>\n<hr \/>\n<h3>\u2461\u8868\u683c\uff1a\u8868\u683c\u5b9a\u4e49\uff1a<\/h3>\n<p>\u30fb\u8868\u540d\u7684\u5b9a\u4e49<br \/>\n\u30fb\u4f7f\u7528CREATE TABLE\u8fdb\u884c\u8868\u7684\u5b9a\u4e49<br \/>\n\u203b\u82e5\u5df2\u7ecf\u521b\u5efa\u597d\u7684\u8868\uff0c\u5219\u53ef\u4ee5\u7701\u7565\u8868\u7684\u5b9a\u4e49<\/p>\n<p>&lt;\u5b9a\u4e49\u7684\u793a\u4f8b&gt;<\/p>\n<pre class=\"post-pre\"><code>table: test01\r\ntable_definition: |\r\n  CREATE TABLE test01 (\r\n        name text,\r\n        date timestamp,\r\n        address inet,\r\n        ino int,\r\n        iname text,\r\n        uid timeuuid,\r\n        PRIMARY KEY(name, date)\r\n  ) WITH compaction = { 'class':'SizeTieredCompactionStrategy' }\r\n<\/code><\/pre>\n<hr \/>\n<h3>\u5217\u89c4\u8303:<\/h3>\n<p>\u6307\u5b9a\u8868\u7684\u5217\u5b57\u6bb5\u957f\u5ea6\u3001\u503c\u7684\u8303\u56f4\u4ee5\u53ca\u6bcf\u4e2a\u5206\u533a\u7684\u805a\u7c7b\u884c\u6570\u7684\u5b9a\u5236\u5316\u3002<\/p>\n<p>&lt; \u5b9a\u7fa9\u7684\u793a\u4f8b\u8a18\u8ff0 &gt;<\/p>\n<pre class=\"post-pre\"><code>columnspec:\r\n  - name: name\r\n    size: uniform(1..20)\r\n  - name: date\r\n    cluster: fixed(1)\r\n  - name: address\r\n    population: exp(1..4)\r\n  - name: ino\r\n    population: exp(1..1000)\r\n  - name: iname\r\n    size: fixed(8)\r\n    population: uniform(1..5)\r\n<\/code><\/pre>\n<p>&lt; \u6570\u636e\u6a21\u5f0f\u6307\u5b9a\u9879\u76ee &gt;<\/p>\n<div>\n<div class=\"post-table\">\u30d1\u30e9\u30e1\u30bf\u610f\u5473\u30c7\u30d5\u30a9\u30eb\u30c8sizetext,blob,set,list\u306ecolumn\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u9577\u3055\u3092\u5b9a\u7fa9\u3001\u4f8b\u3048\u3070\u3001fixed(5)\u6307\u5b9a\u3059\u308b\u3068\u3001\u56fa\u5b9a\u3067\u9577\u30555\u306b\u306a\u308b\u3057\u3001uniform(1..10)\u3068\u3059\u308b\u3068\u9577\u30551\uff5e10\u306e\u5206\u5e03\u3068\u306a\u308b\u3002UNIFORM(4..8)population\u5217\u306e\u5024\u304c\u5909\u52d5\u3059\u308b\u7bc4\u56f2\u3092\u5b9a\u7fa9\u3001\u30c6\u30ad\u30b9\u30c8\u9805\u76ee\u3060\u3068\u6bcd\u96c6\u56e3\u306e\u6570\u306e\u6307\u5b9a\u306b\u306a\u308b\u3057\u3001\u6570\u5024\u7684\u306a\u9805\u76ee\u3060\u3068\u6307\u5b9a\u3057\u305f\u7bc4\u56f2\u306e\u5024\u3068\u306a\u308b\u3002\u4f8b\u3048\u3070\u3001text\u578b\u3067uniform(1..10)\u3068\u3059\u308b\u3068\u5024\u306e\u6bcd\u96c6\u56e310\u3068\u304a\u308a\u3068\u306a\u308b\u3057\u3001int\u578b\u3067fixed(10)\u3060\u3068\u5024\u304c\u3059\u3079\u306610\u306b\u306a\u308b\u3002UNIFORM(1..100B)cluster\u5404partition\u3054\u3068\u306eclustering key\u306e\u6570\u3092\u5236\u5fa1\u3002\u4f8b\u3048\u3070\u3001fixed(4)\u6307\u5b9a\u3059\u308b\u3068\u3001partition\u3054\u3068\u306bclustering key 4\u30ec\u30b3\u30fc\u30c9\u305a\u3064\u751f\u6210FIXED(1)<\/div>\n<\/div>\n<p>&lt; \u914d\u7f6e\u6307\u5b9a &gt;<\/p>\n<div>\n<div class=\"post-table\">\u30d1\u30e9\u30e1\u30bf\u610f\u5473<br \/>\nEXP(min..max)\u6700\u5c0f\uff5e\u6700\u5927\u7bc4\u56f2\u306e\u6307\u6570\u5206\u5e03(\u30e9\u30f3\u30c0\u30e0)<br \/>\nEXTREME(min..max,shape)\u6700\u5c0f\uff5e\u6700\u5927\u7bc4\u56f2\u306e<a href=\"https:\/\/ja.wikipedia.org\/wiki\/%E6%A5%B5%E5%80%A4%E5%88%86%E5%B8%83\" target=\"_blank\" rel=\"nofollow noopener\">\u6975\u5024\u5206\u5e03<\/a>\u3000GAUSSIAN(min..max,stdvrng)\u6307\u5b9a\u3055\u308c\u305f\u6a19\u6e96\u504f\u5dee\u306b\u3088\u308b<a href=\"https:\/\/ja.wikipedia.org\/wiki\/%E6%AD%A3%E8%A6%8F%E5%88%86%E5%B8%83\" target=\"_blank\" rel=\"nofollow noopener\">\u6b63\u898f\u5206\u5e03<\/a><br \/>\nGAUSSIAN(min..max,mean,stdvrng)\u6307\u5b9a\u3055\u308c\u305f\u6a19\u6e96\u504f\u5dee\u306b\u3088\u308b<a href=\"https:\/\/ja.wikipedia.org\/wiki\/%E6%AD%A3%E8%A6%8F%E5%88%86%E5%B8%83\" target=\"_blank\" rel=\"nofollow noopener\">\u6b63\u898f\u5206\u5e03<\/a><br \/>\nUNIFORM(min..max)\u6700\u5c0f\uff5e\u6700\u5927\u7bc4\u56f2\u306e\u306e\u5747\u4e00\u5206\u5e03<br \/>\nFIXED(val)\u5e38\u306b\u540c\u3058\u5024\u3092\u8fd4\u3059<\/div>\n<\/div>\n<hr \/>\n<h3>\u63d2\u5165<\/h3>\n<p>\u6307\u5b9a\u5e94\u8be5\u5728\u6267\u884c\u538b\u529b\u6d4b\u8bd5\u65f6\u63d2\u5165\u6570\u636e\u7684\u65b9\u6cd5\u3002\u4f8b\u5982\uff0c\u5982\u679c\u6307\u5b9a\u4e3afixed(10)\uff0c\u90a3\u4e48\u5c06\u6267\u884c\u63d2\u5165\u56fa\u5b9a\u884c\u6570\u7684\u64cd\u4f5c\u3002<\/p>\n<p>&lt;\u5b9a\u4e49\u7684\u8bb0\u8f7d\u793a\u4f8b&gt;<\/p>\n<pre class=\"post-pre\"><code>insert:\r\n  partitions: fixed(10)\r\n  batchtype: UNLOGGED\r\n<\/code><\/pre>\n<p>\u6307\u5b9a\u9879\u76ee<\/p>\n<div>\n<div class=\"post-table\">\u6307\u5b9a\u610f\u5473\u30c7\u30d5\u30a9\u30eb\u30c8Partitionsinsert\u3059\u308b\u30d1\u30fc\u30c6\u30a3\u30b7\u30e7\u30f3\u306e\u6570FIXED(1)Batch type\u4f7f\u7528\u3059\u308bCQL\u30d0\u30c3\u30c1\u306e\u30bf\u30a4\u30d7 UNLOGGED\u6307\u5b9a\u3067\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5411\u4e0a\u53ef\u80fdLOGGED<\/div>\n<\/div>\n<hr \/>\n<h3>\u2464 \u8be2\u95ee\uff1a<\/h3>\n<p>\u30fb\u6307\u5b9aCQL\u67e5\u8be2\u4e2d\u7684\u8868<br \/>\n\u30fbfields\u6307\u5b9a\u662f\u4ece\u7ed1\u5b9a\u53d8\u91cf\u6240\u5728\u884c\u9009\u62e9\u8fd8\u662f\u4ece\u5206\u533a\u5185\u7684\u6240\u6709\u884c\u9009\u62e9<\/p>\n<p>&lt;\u5b9a\u4e49\u7684\u793a\u4f8b\u63cf\u8ff0&gt;<\/p>\n<pre class=\"post-pre\"><code>queries:\r\n   select1:\r\n      cql: select address from test01 where name = ? and date = ?\r\n      fields: samerow \r\n<\/code><\/pre>\n<h2>3. \u5982\u4f55\u8fd0\u884c<\/h2>\n<p>\u30fb\u7531\u4e8e\u6307\u5b9a\u4e86YAML\u6587\u4ef6\uff0c\u9700\u8981\u6307\u5b9auser\u9009\u9879\uff0c\u5e76\u4f7f\u7528profile =\u6765\u6307\u5b9ayaml\u6587\u4ef6\u3002<br \/>\n\u30fb\u901a\u8fc7ops\u6307\u5b9a\u8981\u6267\u884c\u7684\u64cd\u4f5c\u4ee5\u53ca\u6bcf\u4e2a\u64cd\u4f5c\u7684\u64cd\u4f5c\u6570\u3002\u203b\u5728&#8221;(&#8220;\u548c&#8221;)&#8221;\u5904\u9700\u8981\u4f7f\u7528\u8f6c\u4e49\u659c\u6760\u3002<br \/>\n\u30fb\u53ef\u4ee5\u4f7f\u7528duration=\u548cn=\u6765\u6307\u5b9a\u6267\u884c\u65f6\u95f4\u548c\u64cd\u4f5c\u6b21\u6570\u3002<\/p>\n<p>&lt; \u526f\u9009\u9879\uff0c\u9644\u52a0\u53c2\u6570\u7684\u4e00\u90e8\u5206 &gt;<\/p>\n<div>\n<div class=\"post-table\">\u30d1\u30e9\u30e1\u30bf\u30d1\u30e9\u30e1\u30bf\u7a2e\u5225\u610f\u5473\u30c7\u30d5\u30a9\u30eb\u30c8\u5099\u8003-rate\u30b5\u30d6\u30aa\u30d7\u30b7\u30e7\u30f3threads=?\u3068\u304bthreads&lt;=?\u3068\u304b\u3067\u5b9f\u884c\u30b9\u30ec\u30c3\u30c9\u6570\u3092\u6307\u5b9a4\u30b9\u30ec\u30c3\u30c9\u304b\u3089\u958b\u59cb\u3057\u3001\u30b9\u30eb\u30fc\u30d7\u30c3\u30c8\u304c\u98fd\u548c\u3059\u308b\u307e\u3067\u30b9\u30ec\u30c3\u30c9\u3092\u5897\u52a0\u3057\u3066\u5b9f\u884c\u3057\u3066\u3044\u304f(\u6700\u59271000\u307e\u3067)\u30fb\u300c4.\u5b9f\u884c\u4f8b\u300d\u3092\u53c2\u7167profile=?\u8ffd\u52a0\u30d1\u30e9\u30e1\u30bfuser\u30aa\u30d7\u30b7\u30e7\u30f3\u6307\u5b9a\u6642\u3001YAML\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a-<br \/>\ntruncate=?\u8ffd\u52a0\u30d1\u30e9\u30e1\u30bf\u4f5c\u6210\u3057\u305f\u30c6\u30fc\u30d6\u30eb\u3092truncate\u3059\u308bnever(once,always\u306e\u9078\u629e\u53ef)<br \/>\nduration=?\u8ffd\u52a0\u30d1\u30e9\u30e1\u30bf1\u56de\u3042\u305f\u308a\u306e\u5b9f\u884c\u6642\u9593\u3092\u6307\u5b9a \u79d2\/\u5206\/\u6642\u9593\u3067\u6307\u5b9a-\u30fbn=\u3068\u540c\u6642\u6307\u5b9a\u306f\u3067\u304d\u306a\u3044n=?\u8ffd\u52a0\u30d1\u30e9\u30e1\u30bf\u5b9f\u884c\u3059\u308b\u64cd\u4f5c\u56de\u6570-\u30fbduration\u3068\u540c\u6642\u6307\u5b9a\u306f\u3067\u304d\u306a\u3044\u3002\u4f8b\u3048\u3070n=100\u3067insert=3,simpe1=1\u306a\u3089\u3001insert:75\u56de\u3001simple1\u64cd\u4f5c:25\u56de\u5b9f\u884cn&gt;?\u8ffd\u52a0\u30d1\u30e9\u30e1\u30bf\u4e0d\u78ba\u5b9a\u53ce\u675f\u3092\u53d7\u3051\u5165\u308c\u308b\u524d\u306b\u5b9f\u884c\u3059\u308b\u6700\u5c0f\u5b9f\u884c\u56de\u6570\u3092\u6307\u5b9a-\u30fbduration\u3068\u540c\u6642\u6307\u5b9a\u306f\u3067\u304d\u306a\u3044n&lt;?\u8ffd\u52a0\u30d1\u30e9\u30e1\u30bf\u4e0d\u78ba\u5b9a\u53ce\u675f\u3092\u53d7\u3051\u5165\u308c\u308b\u524d\u306b\u5b9f\u884c\u3059\u308b\u6700\u5927\u5b9f\u884c\u56de\u6570\u3092\u6307\u5b9a-\u30fbduration\u3068\u540c\u6642\u6307\u5b9a\u306f\u3067\u304d\u306a\u3044<\/div>\n<\/div>\n<h2>4. \u5b9e\u9645\u6267\u884c\u7684\u4f8b\u5b50<\/h2>\n<h3>\u5c06100\u6b21\u63d2\u5165\u64cd\u4f5c\u56fa\u5b9a\u5728\u4e00\u4e2a\u7ebf\u7a0b\u4e2d\u6267\u884c\u3002<\/h3>\n<pre class=\"post-pre\"><code># cassandra-stress user profile=stest02.yaml ops\\(insert=1\\) n=100 -rate threads=1 \r\nConnected to cluster: Test Cluster\r\nDatatacenter: DC1; Host: localhost\/127.0.0.1; Rack: RAC1\r\nCreated schema. Sleeping 1s for propagation.\r\nSleeping 2s...\r\nRunning [insert] with 1 threads for 100 iteration\r\ntype,      total ops,    op\/s,    pk\/s,   row\/s,    mean,     med,     .95,     .99,    .999,     max,   time,   stderr, errors,  gc: #,  max ms,  sum ms,  sdv ms,      mb\r\nGenerating batches with [5..5] partitions and [20..20] rows (of [20..20] total rows in the partitions)\r\ntotal,            20,      90,     452,    1809,    10.5,     8.1,    21.0,    21.0,    21.0,    21.0,    0.2,  0.00000,      0,      0,       0,       0,       0,       0\r\n\r\n\r\nResults:\r\nop rate                   : 90 [insert:90]\r\npartition rate            : 452 [insert:452]\r\nrow rate                  : 1809 [insert:1809]\r\nlatency mean              : 10.5 [insert:10.5]\r\nlatency median            : 8.1 [insert:8.1]\r\nlatency 95th percentile   : 21.0 [insert:21.0]\r\nlatency 99th percentile   : 21.0 [insert:21.0]\r\nlatency 99.9th percentile : 21.0 [insert:21.0]\r\nlatency max               : 21.0 [insert:21.0]\r\nTotal partitions          : 100 [insert:100]\r\nTotal errors              : 0 [insert:0]\r\ntotal gc count            : 0\r\ntotal gc mb               : 0\r\ntotal gc time (s)         : 0\r\navg gc time(ms)           : NaN\r\nstdev gc time(ms)         : 0\r\nTotal operation time      : 00:00:00\r\nEND\r\n# \r\n<\/code><\/pre>\n<h3>\u5728\u589e\u52a0\u7ebf\u7a0b\u6761\u4ef6\u7684\u60c5\u51b5\u4e0b\uff0c\u6267\u884c100\u4e2a\u63d2\u5165\u64cd\u4f5c\uff0c\u6700\u591a\u53ef\u8fbe\u523016\u4e2a\u7ebf\u7a0b\u3002<\/h3>\n<pre class=\"post-pre\"><code># cassandra-stress user profile=stest02.yaml ops\\(insert=1\\) n=100 -rate threads\\&lt;=16\r\nConnected to cluster: Test Cluster\r\nDatatacenter: DC1; Host: localhost\/127.0.0.1; Rack: RAC1\r\nCreated schema. Sleeping 1s for propagation.\r\nSleeping 2s...\r\nRunning with 4 threadCount\r\nRunning [insert] with 4 threads for 100 iteration\r\ntype,      total ops,    op\/s,    pk\/s,   row\/s,    mean,     med,     .95,     .99,    .999,     max,   time,   stderr, errors,  gc: #,  max ms,  sum ms,  sdv ms,      mb\r\nGenerating batches with [5..5] partitions and [20..20] rows (of [20..20] total rows in the partitions)\r\ntotal,            20,      95,     477,    1906,    39.4,    31.7,   125.7,   125.7,   125.7,   125.7,    0.2,  0.00000,      0,      0,       0,       0,       0,       0\r\n\r\n\r\nResults:\r\nop rate                   : 95 [insert:95]\r\npartition rate            : 477 [insert:477]\r\nrow rate                  : 1906 [insert:1906]\r\nlatency mean              : 39.4 [insert:39.4]\r\nlatency median            : 31.7 [insert:31.7]\r\nlatency 95th percentile   : 125.7 [insert:125.7]\r\nlatency 99th percentile   : 125.7 [insert:125.7]\r\nlatency 99.9th percentile : 125.7 [insert:125.7]\r\nlatency max               : 125.7 [insert:125.7]\r\nTotal partitions          : 100 [insert:100]\r\nTotal errors              : 0 [insert:0]\r\ntotal gc count            : 0\r\ntotal gc mb               : 0\r\ntotal gc time (s)         : 0\r\navg gc time(ms)           : NaN\r\nstdev gc time(ms)         : 0\r\nTotal operation time      : 00:00:00\r\nSleeping for 15s\r\nRunning with 8 threadCount\r\nRunning [insert] with 8 threads for 100 iteration\r\ntype,      total ops,    op\/s,    pk\/s,   row\/s,    mean,     med,     .95,     .99,    .999,     max,   time,   stderr, errors,  gc: #,  max ms,  sum ms,  sdv ms,      mb\r\ntotal,            20,     247,    1234,    4937,    51.8,    53.0,    78.6,    78.6,    78.6,    78.6,    0.1,  0.00000,      0,      0,       0,       0,       0,       0\r\n\r\n\r\nResults:\r\nop rate                   : 247 [insert:247]\r\npartition rate            : 1234 [insert:1234]\r\nrow rate                  : 4937 [insert:4937]\r\nlatency mean              : 51.8 [insert:51.8]\r\nlatency median            : 53.0 [insert:53.0]\r\nlatency 95th percentile   : 78.6 [insert:78.6]\r\nlatency 99th percentile   : 78.6 [insert:78.6]\r\nlatency 99.9th percentile : 78.6 [insert:78.6]\r\nlatency max               : 78.6 [insert:78.6]\r\nTotal partitions          : 100 [insert:100]\r\nTotal errors              : 0 [insert:0]\r\ntotal gc count            : 0\r\ntotal gc mb               : 0\r\ntotal gc time (s)         : 0\r\navg gc time(ms)           : NaN\r\nstdev gc time(ms)         : 0\r\nTotal operation time      : 00:00:00\r\nImprovement over 4 threadCount: 159%\r\nSleeping for 15s\r\nRunning with 16 threadCount\r\nRunning [insert] with 16 threads for 100 iteration\r\ntype,      total ops,    op\/s,    pk\/s,   row\/s,    mean,     med,     .95,     .99,    .999,     max,   time,   stderr, errors,  gc: #,  max ms,  sum ms,  sdv ms,      mb\r\ntotal,            20,     208,    1042,    4166,   109.1,   118.0,   148.4,   148.4,   148.4,   148.4,    0.1,  0.00000,      0,      0,       0,       0,       0,       0\r\n\r\n\r\nResults:\r\nop rate                   : 208 [insert:208]\r\npartition rate            : 1042 [insert:1042]\r\nrow rate                  : 4166 [insert:4166]\r\nlatency mean              : 109.1 [insert:109.1]\r\nlatency median            : 118.0 [insert:118.0]\r\nlatency 95th percentile   : 148.4 [insert:148.4]\r\nlatency 99th percentile   : 148.4 [insert:148.4]\r\nlatency 99.9th percentile : 148.4 [insert:148.4]\r\nlatency max               : 148.4 [insert:148.4]\r\nTotal partitions          : 100 [insert:100]\r\nTotal errors              : 0 [insert:0]\r\ntotal gc count            : 0\r\ntotal gc mb               : 0\r\ntotal gc time (s)         : 0\r\navg gc time(ms)           : NaN\r\nstdev gc time(ms)         : 0\r\nTotal operation time      : 00:00:00\r\nImprovement over 8 threadCount: -15%\r\n            id, type,      total ops,    op\/s,    pk\/s,   row\/s,    mean,     med,     .95,     .99,    .999,     max,   time,   stderr, errors,  gc: #,  max ms,  sum ms,  sdv ms,      mb\r\n 4 threadCount, insert,           20,      95,     477,    1906,    39.4,    31.7,   125.7,   125.7,   125.7,   125.7,    0.2,  0.00000,      0,      0,       0,       0,       0,       0\r\n 4 threadCount, total,            20,      95,     477,    1906,    39.4,    31.7,   125.7,   125.7,   125.7,   125.7,    0.2,  0.00000,      0,      0,       0,       0,       0,       0\r\n 8 threadCount, insert,           20,     247,    1234,    4937,    51.8,    53.0,    78.6,    78.6,    78.6,    78.6,    0.1,  0.00000,      0,      0,       0,       0,       0,       0\r\n 8 threadCount, total,            20,     247,    1234,    4937,    51.8,    53.0,    78.6,    78.6,    78.6,    78.6,    0.1,  0.00000,      0,      0,       0,       0,       0,       0\r\n16 threadCount, insert,           20,     208,    1042,    4166,   109.1,   118.0,   148.4,   148.4,   148.4,   148.4,    0.1,  0.00000,      0,      0,       0,       0,       0,       0\r\n16 threadCount, total,            20,     208,    1042,    4166,   109.1,   118.0,   148.4,   148.4,   148.4,   148.4,    0.1,  0.00000,      0,      0,       0,       0,       0,       0\r\nEND\r\n# \r\n\r\n<\/code><\/pre>\n<h3>\u2461\u63d2\u5165100\u6b21\u6267\u884c\u7ebf\u7a0b\u6761\u4ef6\u9012\u589e\u6267\u884c\uff08\u76f4\u81f3\u9971\u548c\uff09\u3002<\/h3>\n<p>\u53ef\u80fd\u4e0e\u201crate auto\u6307\u5b9a\u4e00\u6837\u201d<\/p>\n<pre class=\"post-pre\"><code># cassandra-stress user profile=stest02.yaml ops\\(insert=1\\) n=100\r\nConnected to cluster: Test Cluster\r\nDatatacenter: DC1; Host: localhost\/127.0.0.1; Rack: RAC1\r\nCreated schema. Sleeping 1s for propagation.\r\nSleeping 2s...\r\nRunning with 4 threadCount\r\nRunning [insert] with 4 threads for 100 iteration\r\ntype,      total ops,    op\/s,    pk\/s,   row\/s,    mean,     med,     .95,     .99,    .999,     max,   time,   stderr, errors,  gc: #,  max ms,  sum ms,  sdv ms,      mb\r\nGenerating batches with [5..5] partitions and [20..20] rows (of [20..20] total rows in the partitions)\r\ntotal,            20,      97,     486,    1943,    38.0,    24.9,   150.4,   150.4,   150.4,   150.4,    0.2,  0.00000,      0,      0,       0,       0,       0,       0\r\n\r\n\r\nResults:\r\nop rate                   : 97 [insert:97]\r\npartition rate            : 486 [insert:486]\r\nrow rate                  : 1943 [insert:1943]\r\nlatency mean              : 38.0 [insert:38.0]\r\nlatency median            : 24.9 [insert:24.9]\r\nlatency 95th percentile   : 150.4 [insert:150.4]\r\nlatency 99th percentile   : 150.4 [insert:150.4]\r\nlatency 99.9th percentile : 150.4 [insert:150.4]\r\nlatency max               : 150.4 [insert:150.4]\r\nTotal partitions          : 100 [insert:100]\r\nTotal errors              : 0 [insert:0]\r\ntotal gc count            : 0\r\ntotal gc mb               : 0\r\ntotal gc time (s)         : 0\r\navg gc time(ms)           : NaN\r\nstdev gc time(ms)         : 0\r\nTotal operation time      : 00:00:00\r\nSleeping for 15s\r\nRunning with 8 threadCount\r\nRunning [insert] with 8 threads for 100 iteration\r\ntype,      total ops,    op\/s,    pk\/s,   row\/s,    mean,     med,     .95,     .99,    .999,     max,   time,   stderr, errors,  gc: #,  max ms,  sum ms,  sdv ms,      mb\r\ntotal,            20,     263,    1317,    5270,    44.3,    47.8,    75.5,    75.5,    75.5,    75.5,    0.1,  0.00000,      0,      0,       0,       0,       0,       0\r\n\r\n\r\nResults:\r\nop rate                   : 263 [insert:263]\r\npartition rate            : 1317 [insert:1317]\r\nrow rate                  : 5270 [insert:5270]\r\nlatency mean              : 44.3 [insert:44.3]\r\nlatency median            : 47.8 [insert:47.8]\r\nlatency 95th percentile   : 75.5 [insert:75.5]\r\nlatency 99th percentile   : 75.5 [insert:75.5]\r\nlatency 99.9th percentile : 75.5 [insert:75.5]\r\nlatency max               : 75.5 [insert:75.5]\r\nTotal partitions          : 100 [insert:100]\r\nTotal errors              : 0 [insert:0]\r\ntotal gc count            : 0\r\ntotal gc mb               : 0\r\ntotal gc time (s)         : 0\r\navg gc time(ms)           : NaN\r\nstdev gc time(ms)         : 0\r\nTotal operation time      : 00:00:00\r\nImprovement over 4 threadCount: 171%\r\nSleeping for 15s\r\nRunning with 16 threadCount\r\nRunning [insert] with 16 threads for 100 iteration\r\ntype,      total ops,    op\/s,    pk\/s,   row\/s,    mean,     med,     .95,     .99,    .999,     max,   time,   stderr, errors,  gc: #,  max ms,  sum ms,  sdv ms,      mb\r\ntotal,            20,     259,    1296,    5185,    83.1,    85.4,   122.9,   122.9,   122.9,   122.9,    0.1,  0.00000,      0,      0,       0,       0,       0,       0\r\n\r\n\r\nResults:\r\nop rate                   : 259 [insert:259]\r\npartition rate            : 1296 [insert:1296]\r\nrow rate                  : 5185 [insert:5185]\r\nlatency mean              : 83.1 [insert:83.1]\r\nlatency median            : 85.4 [insert:85.4]\r\nlatency 95th percentile   : 122.9 [insert:122.9]\r\nlatency 99th percentile   : 122.9 [insert:122.9]\r\nlatency 99.9th percentile : 122.9 [insert:122.9]\r\nlatency max               : 122.9 [insert:122.9]\r\nTotal partitions          : 100 [insert:100]\r\nTotal errors              : 0 [insert:0]\r\ntotal gc count            : 0\r\ntotal gc mb               : 0\r\ntotal gc time (s)         : 0\r\navg gc time(ms)           : NaN\r\nstdev gc time(ms)         : 0\r\nTotal operation time      : 00:00:00\r\nImprovement over 8 threadCount: -2%\r\nSleeping for 15s\r\nRunning with 24 threadCount\r\nRunning [insert] with 24 threads for 100 iteration\r\ntype,      total ops,    op\/s,    pk\/s,   row\/s,    mean,     med,     .95,     .99,    .999,     max,   time,   stderr, errors,  gc: #,  max ms,  sum ms,  sdv ms,      mb\r\ntotal,            20,    4137,   20685,   82738,   134.0,   132.2,   159.2,   159.2,   159.2,   159.2,    0.0, -0.00000,      0,      0,       0,       0,       0,       0\r\n\r\n\r\nResults:\r\nop rate                   : 4137 [insert:4137]\r\npartition rate            : 20685 [insert:20685]\r\nrow rate                  : 82738 [insert:82738]\r\nlatency mean              : 134.0 [insert:134.0]\r\nlatency median            : 132.2 [insert:132.2]\r\nlatency 95th percentile   : 159.2 [insert:159.2]\r\nlatency 99th percentile   : 159.2 [insert:159.2]\r\nlatency 99.9th percentile : 159.2 [insert:159.2]\r\nlatency max               : 159.2 [insert:159.2]\r\nTotal partitions          : 100 [insert:100]\r\nTotal errors              : 0 [insert:0]\r\ntotal gc count            : 0\r\ntotal gc mb               : 0\r\ntotal gc time (s)         : 0\r\navg gc time(ms)           : NaN\r\nstdev gc time(ms)         : 0\r\nTotal operation time      : 00:00:00\r\nImprovement over 16 threadCount: 1497%\r\nSleeping for 15s\r\nRunning with 36 threadCount\r\nRunning [insert] with 36 threads for 100 iteration\r\ntype,      total ops,    op\/s,    pk\/s,   row\/s,    mean,     med,     .95,     .99,    .999,     max,   time,   stderr, errors,  gc: #,  max ms,  sum ms,  sdv ms,      mb\r\n\r\n\r\nResults:\r\nop rate                   : NaN [insert:NaN]\r\npartition rate            : NaN [insert:NaN]\r\nrow rate                  : NaN [insert:NaN]\r\nlatency mean              : NaN [insert:NaN]\r\nlatency median            : 0.0 [insert:0.0]\r\nlatency 95th percentile   : 0.0 [insert:0.0]\r\nlatency 99th percentile   : 0.0 [insert:0.0]\r\nlatency 99.9th percentile : 0.0 [insert:0.0]\r\nlatency max               : 0.0 [insert:0.0]\r\nTotal partitions          : 0 [insert:0]\r\nTotal errors              : 0 [insert:0]\r\ntotal gc count            : 0\r\ntotal gc mb               : 0\r\ntotal gc time (s)         : 0\r\navg gc time(ms)           : NaN\r\nstdev gc time(ms)         : 0\r\nTotal operation time      : 00:00:00\r\nImprovement over 24 threadCount: -100%\r\nSleeping for 15s\r\nRunning with 54 threadCount\r\nRunning [insert] with 54 threads for 100 iteration\r\ntype,      total ops,    op\/s,    pk\/s,   row\/s,    mean,     med,     .95,     .99,    .999,     max,   time,   stderr, errors,  gc: #,  max ms,  sum ms,  sdv ms,      mb\r\n\r\n\r\nResults:\r\nop rate                   : NaN [insert:NaN]\r\npartition rate            : NaN [insert:NaN]\r\nrow rate                  : NaN [insert:NaN]\r\nlatency mean              : NaN [insert:NaN]\r\nlatency median            : 0.0 [insert:0.0]\r\nlatency 95th percentile   : 0.0 [insert:0.0]\r\nlatency 99th percentile   : 0.0 [insert:0.0]\r\nlatency 99.9th percentile : 0.0 [insert:0.0]\r\nlatency max               : 0.0 [insert:0.0]\r\nTotal partitions          : 0 [insert:0]\r\nTotal errors              : 0 [insert:0]\r\ntotal gc count            : 0\r\ntotal gc mb               : 0\r\ntotal gc time (s)         : 0\r\navg gc time(ms)           : NaN\r\nstdev gc time(ms)         : 0\r\nTotal operation time      : 00:00:00\r\nImprovement over 36 threadCount: NaN%\r\nSleeping for 15s\r\n            id, type,      total ops,    op\/s,    pk\/s,   row\/s,    mean,     med,     .95,     .99,    .999,     max,   time,   stderr, errors,  gc: #,  max ms,  sum ms,  sdv ms,      mb\r\n 4 threadCount, insert,           20,      97,     486,    1943,    38.0,    24.9,   150.4,   150.4,   150.4,   150.4,    0.2,  0.00000,      0,      0,       0,       0,       0,       0\r\n 4 threadCount, total,            20,      97,     486,    1943,    38.0,    24.9,   150.4,   150.4,   150.4,   150.4,    0.2,  0.00000,      0,      0,       0,       0,       0,       0\r\n 8 threadCount, insert,           20,     263,    1317,    5270,    44.3,    47.8,    75.5,    75.5,    75.5,    75.5,    0.1,  0.00000,      0,      0,       0,       0,       0,       0\r\n 8 threadCount, total,            20,     263,    1317,    5270,    44.3,    47.8,    75.5,    75.5,    75.5,    75.5,    0.1,  0.00000,      0,      0,       0,       0,       0,       0\r\n16 threadCount, insert,           20,     259,    1296,    5185,    83.1,    85.4,   122.9,   122.9,   122.9,   122.9,    0.1,  0.00000,      0,      0,       0,       0,       0,       0\r\n16 threadCount, total,            20,     259,    1296,    5185,    83.1,    85.4,   122.9,   122.9,   122.9,   122.9,    0.1,  0.00000,      0,      0,       0,       0,       0,       0\r\n24 threadCount, insert,           20,    4137,   20685,   82738,   134.0,   132.2,   159.2,   159.2,   159.2,   159.2,    0.0, -0.00000,      0,      0,       0,       0,       0,       0\r\n24 threadCount, total,            20,    4137,   20685,   82738,   134.0,   132.2,   159.2,   159.2,   159.2,   159.2,    0.0, -0.00000,      0,      0,       0,       0,       0,       0\r\n36 threadCount, insert,            0,     NaN,     NaN,     NaN,     NaN,     0.0,     0.0,     0.0,     0.0,     0.0,    0.0,  0.00000,      0,      0,       0,       0,       0,       0\r\n36 threadCount, total,             0,     NaN,     NaN,     NaN,     NaN,     0.0,     0.0,     0.0,     0.0,     0.0,    0.0,  0.00000,      0,      0,       0,       0,       0,       0\r\n54 threadCount, insert,            0,     NaN,     NaN,     NaN,     NaN,     0.0,     0.0,     0.0,     0.0,     0.0,    0.0,  0.00000,      0,      0,       0,       0,       0,       0\r\n54 threadCount, total,             0,     NaN,     NaN,     NaN,     NaN,     0.0,     0.0,     0.0,     0.0,     0.0,    0.0,  0.00000,      0,      0,       0,       0,       0,       0\r\nEND\r\n[root@cs7ds4001 tools]#\r\n<\/code><\/pre>\n<h3>\u7528\u6df7\u5408\u63d2\u5165\u548c\u67e5\u8be2\u7684\u65b9\u5f0f\u6267\u884c<\/h3>\n<p>\u4ee5\u6307\u5b9a\u6570\u91cf\u7684\u7ebf\u7a0b\u91cd\u590d\u6267\u884c\u603b\u5171100\u6b21\u3002<\/p>\n<pre class=\"post-pre\"><code># cassandra-stress user profile=stest02.yaml ops\\(insert=1,select1=1\\) n=100 -rate threads=1\r\nConnected to cluster: Test Cluster\r\nDatatacenter: DC1; Host: localhost\/127.0.0.1; Rack: RAC1\r\nCreated schema. Sleeping 1s for propagation.\r\nSleeping 2s...\r\nRunning [insert, select1] with 1 threads for 100 iteration\r\ntype,      total ops,    op\/s,    pk\/s,   row\/s,    mean,     med,     .95,     .99,    .999,     max,   time,   stderr, errors,  gc: #,  max ms,  sum ms,  sdv ms,      mb\r\nGenerating batches with [5..5] partitions and [20..20] rows (of [20..20] total rows in the partitions)\r\ninsert,           17,      73,     366,    1465,     9.7,     8.2,    22.3,    22.3,    22.3,    22.3,    0.2,  0.00000,      0,      0,       0,       0,       0,       0\r\nselect1,          15,      83,      83,      83,     3.7,     2.7,    11.3,    11.3,    11.3,    11.3,    0.2,  0.00000,      0,      0,       0,       0,       0,       0\r\ntotal,            32,     138,     431,    1529,     6.9,     5.7,    15.7,    22.3,    22.3,    22.3,    0.2,  0.00000,      0,      0,       0,       0,       0,       0\r\n\r\n\r\nResults:\r\nop rate                   : 138 [insert:73, select1:83]\r\npartition rate            : 431 [insert:366, select1:83]\r\nrow rate                  : 1529 [insert:1465, select1:83]\r\nlatency mean              : 6.9 [insert:9.7, select1:3.7]\r\nlatency median            : 5.7 [insert:8.2, select1:2.7]\r\nlatency 95th percentile   : 15.7 [insert:22.3, select1:11.3]\r\nlatency 99th percentile   : 22.3 [insert:22.3, select1:11.3]\r\nlatency 99.9th percentile : 22.3 [insert:22.3, select1:11.3]\r\nlatency max               : 22.3 [insert:22.3, select1:11.3]\r\nTotal partitions          : 100 [insert:85, select1:15]\r\nTotal errors              : 0 [insert:0, select1:0]\r\ntotal gc count            : 0\r\ntotal gc mb               : 0\r\ntotal gc time (s)         : 0\r\navg gc time(ms)           : NaN\r\nstdev gc time(ms)         : 0\r\nTotal operation time      : 00:00:00\r\nEND\r\n# \r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>0. \u9996\u5148 \u30fb\u672c\u6761\u6b3e\u4e2d\u4ecb\u7ecd\u7684\u662f\u5173\u4e8eCassandra-stress\u7684\u5185\u5bb9\uff0c\u57fa\u4e8e\u5206\u53d1\u7248\u672c\u548c\u7248\u672c\u53f7 = DSE 4 [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-50245","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>\u6709\u5173Cassandra\u538b\u529b\u6d4b\u8bd5\u7528\u6237\u6a21\u5f0f\u7684\u5907\u5fd8\u5f55 - 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\/\u6709\u5173cassandra\u538b\u529b\u6d4b\u8bd5\u7528\u6237\u6a21\u5f0f\u7684\u5907\u5fd8\u5f55\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6709\u5173Cassandra\u538b\u529b\u6d4b\u8bd5\u7528\u6237\u6a21\u5f0f\u7684\u5907\u5fd8\u5f55\" \/>\n<meta property=\"og:description\" content=\"0. \u9996\u5148 \u30fb\u672c\u6761\u6b3e\u4e2d\u4ecb\u7ecd\u7684\u662f\u5173\u4e8eCassandra-stress\u7684\u5185\u5bb9\uff0c\u57fa\u4e8e\u5206\u53d1\u7248\u672c\u548c\u7248\u672c\u53f7 = DSE 4 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u6709\u5173cassandra\u538b\u529b\u6d4b\u8bd5\u7528\u6237\u6a21\u5f0f\u7684\u5907\u5fd8\u5f55\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-09T18:29:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T16:50:02+00:00\" \/>\n<meta name=\"author\" content=\"\u9038, \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=\"\u9038, \u79d1\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 \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\/%e6%9c%89%e5%85%b3cassandra%e5%8e%8b%e5%8a%9b%e6%b5%8b%e8%af%95%e7%94%a8%e6%88%b7%e6%a8%a1%e5%bc%8f%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%85%b3cassandra%e5%8e%8b%e5%8a%9b%e6%b5%8b%e8%af%95%e7%94%a8%e6%88%b7%e6%a8%a1%e5%bc%8f%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95\/\",\"name\":\"\u6709\u5173Cassandra\u538b\u529b\u6d4b\u8bd5\u7528\u6237\u6a21\u5f0f\u7684\u5907\u5fd8\u5f55 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-09-09T18:29:30+00:00\",\"dateModified\":\"2024-04-29T16:50:02+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%85%b3cassandra%e5%8e%8b%e5%8a%9b%e6%b5%8b%e8%af%95%e7%94%a8%e6%88%b7%e6%a8%a1%e5%bc%8f%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%85%b3cassandra%e5%8e%8b%e5%8a%9b%e6%b5%8b%e8%af%95%e7%94%a8%e6%88%b7%e6%a8%a1%e5%bc%8f%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%85%b3cassandra%e5%8e%8b%e5%8a%9b%e6%b5%8b%e8%af%95%e7%94%a8%e6%88%b7%e6%a8%a1%e5%bc%8f%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6709\u5173Cassandra\u538b\u529b\u6d4b\u8bd5\u7528\u6237\u6a21\u5f0f\u7684\u5907\u5fd8\u5f55\"}]},{\"@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\/85c1dae56e6ea1e695c73d33c684d487\",\"name\":\"\u9038, \u79d1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g\",\"caption\":\"\u9038, \u79d1\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keyi\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%85%b3cassandra%e5%8e%8b%e5%8a%9b%e6%b5%8b%e8%af%95%e7%94%a8%e6%88%b7%e6%a8%a1%e5%bc%8f%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u6709\u5173Cassandra\u538b\u529b\u6d4b\u8bd5\u7528\u6237\u6a21\u5f0f\u7684\u5907\u5fd8\u5f55 - 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\/\u6709\u5173cassandra\u538b\u529b\u6d4b\u8bd5\u7528\u6237\u6a21\u5f0f\u7684\u5907\u5fd8\u5f55\/","og_locale":"zh_CN","og_type":"article","og_title":"\u6709\u5173Cassandra\u538b\u529b\u6d4b\u8bd5\u7528\u6237\u6a21\u5f0f\u7684\u5907\u5fd8\u5f55","og_description":"0. \u9996\u5148 \u30fb\u672c\u6761\u6b3e\u4e2d\u4ecb\u7ecd\u7684\u662f\u5173\u4e8eCassandra-stress\u7684\u5185\u5bb9\uff0c\u57fa\u4e8e\u5206\u53d1\u7248\u672c\u548c\u7248\u672c\u53f7 = DSE 4 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u6709\u5173cassandra\u538b\u529b\u6d4b\u8bd5\u7528\u6237\u6a21\u5f0f\u7684\u5907\u5fd8\u5f55\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-09-09T18:29:30+00:00","article_modified_time":"2024-04-29T16:50:02+00:00","author":"\u9038, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u9038, \u79d1","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"8 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%85%b3cassandra%e5%8e%8b%e5%8a%9b%e6%b5%8b%e8%af%95%e7%94%a8%e6%88%b7%e6%a8%a1%e5%bc%8f%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%85%b3cassandra%e5%8e%8b%e5%8a%9b%e6%b5%8b%e8%af%95%e7%94%a8%e6%88%b7%e6%a8%a1%e5%bc%8f%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95\/","name":"\u6709\u5173Cassandra\u538b\u529b\u6d4b\u8bd5\u7528\u6237\u6a21\u5f0f\u7684\u5907\u5fd8\u5f55 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-09-09T18:29:30+00:00","dateModified":"2024-04-29T16:50:02+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%85%b3cassandra%e5%8e%8b%e5%8a%9b%e6%b5%8b%e8%af%95%e7%94%a8%e6%88%b7%e6%a8%a1%e5%bc%8f%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%85%b3cassandra%e5%8e%8b%e5%8a%9b%e6%b5%8b%e8%af%95%e7%94%a8%e6%88%b7%e6%a8%a1%e5%bc%8f%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%85%b3cassandra%e5%8e%8b%e5%8a%9b%e6%b5%8b%e8%af%95%e7%94%a8%e6%88%b7%e6%a8%a1%e5%bc%8f%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u6709\u5173Cassandra\u538b\u529b\u6d4b\u8bd5\u7528\u6237\u6a21\u5f0f\u7684\u5907\u5fd8\u5f55"}]},{"@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\/85c1dae56e6ea1e695c73d33c684d487","name":"\u9038, \u79d1","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g","caption":"\u9038, \u79d1"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keyi\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%9c%89%e5%85%b3cassandra%e5%8e%8b%e5%8a%9b%e6%b5%8b%e8%af%95%e7%94%a8%e6%88%b7%e6%a8%a1%e5%bc%8f%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/50245","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\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=50245"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/50245\/revisions"}],"predecessor-version":[{"id":88673,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/50245\/revisions\/88673"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=50245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=50245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=50245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}