2017-11-08 30 views
0

비슷한 질문이 있습니다. here. 그러나 대답은 이전 버전의 cassandra와 관련이 있습니다.카산드라의 증가하는 열 패밀리의 영향

dsc-cassandra-2.1.10입니다.
지금 우리는 약 40 개의 란 계열을 가지고 있습니다. 우리는 이들 각각을 더 작은 테이블/더 미세한 카테고리로 나누어서 테이블 수를 약 400 개의 컬럼 계열로 늘릴 것으로 기대합니다.

나는 memtable 메모리 요구 사항 및 작은 다짐을에 미치는 영향에 대해 주로 걱정.

그리고 노드 효과에 어떤 영향을 미칩니 까? 나는 JVM 메모리 요구 사항이 증가 할 것으로 기대한다. 그러나 더 많은 열 패밀리를 추가 한 결과 효과가 얼마나 공격적인지 알 수 없음

이 많은 열 패밀리를 갖는 다른 모든 영향도 도움이됩니다. 기존 답변은 최근 버전과 관련이없는 것으로 보입니다.

추가 정보 : 400 열 패밀리 중에서 15 개는 동일한 행 세트 (그러나 다른 파티션 키)에 고주파 업데이트를 갖습니다.

약 15 분마다 업데이트 및 삽입이 있습니다. 약 7000 개의 파티션 키가 업데이트됩니다.

감사합니다

답변

0

DataStax는 촉구주의> = 200 개 테이블

https://docs.datastax.com/en/dse-planning/doc/planning/planningAntiPatterns.html#planningAntiPatterns__AntiPatTooManyTables

Warning threshold: 200 tables. The cluster may run smoothly above this threshold, but once your database reaches the warning threshold, it's time to start monitoring and planning a re-architecture. If possible, remove unused and underutilized tables. 

Failure threshold: 500 tables. On a cluster that has exceeded 500 tables, expect problems and errors, including (but not limited) issues related to high memory usage and compactions.