Key type of validation class in cassadra UTF8 or LongType?

I am new to cassandra and I want to save 20 million + row rows in a column family.

my question

1. Is there a REAL performance difference between long and utf8 rowKey keys?

2.any problem with row storage size?

my userkey looks like this

rowKey=>112512462152451
rowKey=>135431354354343
rowKey=>145646546546463
rowKey=>154354354354354
rowKey=>156454343435435
rowKey=>154435435435745

early

+3
source share
2 answers
  • Cassandra ( ) . , . , , , / . , Long - (), UTF8 (ascii-betical).

  • , , 64 ( , , ). 200 000 , . 200 000 , . , .

Datastax .

eBay Cassandra, / , .

+4
+3

Source: https://habr.com/ru/post/1681141/


All Articles