실전 - 카스탄라의 압력 측정

3096 단어

cassandra-stress


실행 전
[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

 

cstar_perf


https://datastax.github.io/cstar_perf/setup_cstar_perf_tool.html

좋은 웹페이지 즐겨찾기