Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Troubleshooting Apache Cassandra

Troubleshooting Apache Cassandra

by Aaron Morton at Cassandra Summit Tokyo 2017

CassandraCommunityJP

October 13, 2017
Tweet

More Decks by CassandraCommunityJP

Other Decks in Technology

Transcript

  1. 23 … FOR COMPUTERS IT STOPS, JUMPS BACK, JUMPS FORWARD,

    AND IS DIFFERENT ON EVERY MACHINE. 23
  2. 27 KEYSPACE: TEST_CLUSTER READ COUNT: 294681 READ LATENCY: 0.11929593017534215 MS.

    WRITE COUNT: 0 WRITE LATENCY: NAN MS. PENDING FLUSHES: 0 TABLE: MY_TABLE SSTABLE COUNT: 2 SPACE USED (LIVE): 1669941 SPACE USED (TOTAL): 1669941 SPACE USED BY SNAPSHOTS (TOTAL): 0 OFF HEAP MEMORY USED (TOTAL): 57384 SSTABLE COMPRESSION RATIO: 0.40934065577372514 NUMBER OF KEYS (ESTIMATE): 39683 MEMTABLE CELL COUNT: 0 MEMTABLE DATA SIZE: 0 MEMTABLE OFF HEAP MEMORY USED: 0 MEMTABLE SWITCH COUNT: 0 27 LOCAL READ COUNT: 294681 LOCAL READ LATENCY: 0.114 MS LOCAL WRITE COUNT: 0 LOCAL WRITE LATENCY: NAN MS PENDING FLUSHES: 0 BLOOM FILTER FALSE POSITIVES: 1143 BLOOM FILTER FALSE RATIO: 0.00467 BLOOM FILTER SPACE USED: 51896 BLOOM FILTER OFF HEAP MEMORY USED: 51880 INDEX SUMMARY OFF HEAP MEMORY USED: 5184 COMPRESSION METADATA OFF HEAP MEMORY USED: 320 COMPACTED PARTITION MINIMUM BYTES: 18 COMPACTED PARTITION MAXIMUM BYTES: 72 COMPACTED PARTITION MEAN BYTES: 68 AVERAGE LIVE CELLS PER SLICE (LAST FIVE MINUTES): 1.0 MAXIMUM LIVE CELLS PER SLICE (LAST FIVE MINUTES): 1 AVERAGE TOMBSTONES PER SLICE (LAST FIVE MINUTES): 1.0 MAXIMUM TOMBSTONES PER SLICE (LAST FIVE MINUTES): 1
  3. 29 TEST_CLUSTER/MY_TABLE HISTOGRAMS PERCENTILE SSTABLES WRITE LATENCY READ LATENCY PARTITION

    SIZE CELL COUNT (MICROS) (MICROS) (BYTES) 50% 1.00 0.00 105.78 72 2 75% 1.00 0.00 126.93 72 2 95% 1.00 0.00 152.32 72 2 98% 1.00 0.00 182.79 72 2 99% 1.00 0.00 219.34 72 2 MIN 1.00 0.00 9.89 18 0 MAX 1.00 0.00 10090.81 72 2 29
  4. 31 POOL NAME ACTIVE PENDING COMPLETED BLOCKED ALL TIME BLOCKED

    MUTATIONSTAGE 0 0 10462 0 0 READSTAGE 0 0 339046 0 0 REQUESTRESPONSESTAGE 0 0 313949 0 0 READREPAIRSTAGE 0 0 48074 0 0 COUNTERMUTATIONSTAGE 0 0 0 0 0 HINTEDHANDOFF 0 0 30 0 0 MISCSTAGE 0 0 0 0 0 COMPACTIONEXECUTOR 0 0 7544 0 0 MEMTABLERECLAIMMEMORY 0 0 27 0 0 PENDINGRANGECALCULATOR 0 0 18 0 0 GOSSIPSTAGE 0 0 47521 0 0 MIGRATIONSTAGE 0 0 0 0 0 MEMTABLEPOSTFLUSH 0 0 306 0 0 VALIDATIONEXECUTOR 0 0 0 0 0 SAMPLER 0 0 0 0 0 MEMTABLEFLUSHWRITER 0 0 27 0 0 INTERNALRESPONSESTAGE 0 0 0 0 0 ANTIENTROPYSTAGE 0 0 0 0 0 CACHECLEANUPEXECUTOR 0 0 0 0 0 NATIVE-TRANSPORT-REQUESTS 0 0 28108 0 0 RPC-THREAD 204 204 0 0 0 31 MESSAGE TYPE DROPPED READ 0 RANGE_SLICE 0 _TRACE 0 MUTATION 0 COUNTER_MUTATION 0 REQUEST_RESPONSE 0 PAGED_RANGE 0 READ_REPAIR 0
  5. 33 AVG-CPU: %USER %NICE %SYSTEM %IOWAIT %STEAL %IDLE 4.34 0.78

    1.35 3.86 0.19 89.47 DEVICE: RRQM/S WRQM/S R/S W/S RKB/S WKB/S AVGRQ-SZ AVGQU-SZ AWAIT R_AWAIT W_AWAIT SVCTM %UTIL XVDG 0.07 0.27 1269.19 7.05 6172.58 749.07 10.85 0.21 0.16 0.15 3.30 0.24 30.17 33
  6. 35 ACTIVE INTERNET CONNECTIONS PROTO RECV-Q SEND-Q LOCAL ADDRESS FOREIGN

    ADDRESS (STATE) TCP4 0 0 172.20.10.2.54779 138.213.186.35.B.HTTPS ESTABLISHED TCP4 0 0 172.20.10.2.54778 192.168.1.104.SUN-SR-H SYN_SENT TCP4 0 31 172.20.10.2.54718 XX-FBCDN-SHV-01-.HTTPS CLOSING 35
  7. ACT