2014-04-10 1 views

답변

2
Cassandra 1.1 and later releases provide fine-grained control of table storage on disk, writing tables to disk 
using separate table directories within each keyspace directory. Data files are stored using this directory 
and file naming format: 
/var/lib/cassandra/data/ks1/cf1/ks1-cf1-hc-1-Data.db 
The new file name format includes the keyspace name to distinguish which keyspace and table the file 
contains when streaming or bulk loading data. Cassandra creates a subdirectory for each table, which 
allows you to symlink a table to a chosen physical drive or data volume. This provides the capability to 
move very active tables to faster media, such as SSD’s for better performance, and also divvy up tables 
across all attached storage devices for better I/O balance at the storage layer. 

이렇게하면 그 의미가 무엇인지 이해할 수 있기를 바랍니다. 미디어 나 다른 데이터를 포함 할 테이블에 대한 심볼릭 링크를 만들어야합니다. cassandra는 모든 열 패밀리 정보를 특정 방식으로 저장하기 때문에 예측할 수 있습니다. 이것은 이러한 사용을 용이하게합니다.

+0

굉장한 답변, 감사합니다! –

관련 문제