码迷,mamicode.com
首页 > 其他好文 > 详细

实战-Cassandra之压测

时间:2020-02-07 14:38:48      阅读:93      评论:0      收藏:0      [点我收藏+]

标签:压测   center   ack   ken   enter   res   load   token   address   

 

 执行前

[root@node1 bin]# /data/cass/bin/nodetool status
Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Tokens Owns (effective) Host ID Rack
UN 192.168.56.10 172.45 KiB 1 33.3% 8da208d9-7ddb-48c1-95f4-2a041dd51239 rack1
UN 192.168.56.12 220.89 KiB 1 33.3% 3f290c85-704e-4201-b708-d0e0a024ce50 rack1
UN 192.168.56.13 176.04 KiB 1 33.3% 8b43630e-5a8d-4ba8-8806-d2ad5f951161 rack1

压测:/data/cass/tools/bin/cassandra-stress write n=1000000 -rate threads=50 -node 192.168.56.10

执行后

[root@localhost ~]# /data/cass/bin/nodetool status
Datacenter: datacenter1
=======================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address        Load       Tokens       Owns (effective)  Host ID                               Rack
UN  192.168.56.10  79.46 MiB  1            33.3%             8da208d9-7ddb-48c1-95f4-2a041dd51239  rack1
UN  192.168.56.12  68.26 MiB  1            33.3%             3f290c85-704e-4201-b708-d0e0a024ce50  rack1
UN  192.168.56.13  79.6 MiB   1            33.3%             8b43630e-5a8d-4ba8-8806-d2ad5f951161  rack1

 

实战-Cassandra之压测

标签:压测   center   ack   ken   enter   res   load   token   address   

原文地址:https://www.cnblogs.com/yuxiaohao/p/12268513.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!