Cassandra 면접 질문과 답변
Ques 6. What is a column family in Cassandra?
In Cassandra, a column family is a container for rows. It is similar to a table in a relational database and consists of columns and rows.
Ques 7. Explain the role of the Snitch in Cassandra.
The Snitch in Cassandra is responsible for determining the proximity of nodes in a cluster. It helps in optimizing data distribution and ensures that data is stored on nodes that are geographically closer to each other.
Ques 8. What is a Cassandra data center?
A Cassandra data center is a logical grouping of nodes that are geographically close to each other. Data centers are used for replication and fault tolerance purposes.
Ques 9. Explain the importance of the commit log in Cassandra.
The commit log in Cassandra is crucial for durability and fault tolerance. It stores write operations before they are written to the actual data files, ensuring that data is not lost in the event of a node failure.
Ques 10. What is a compaction in Cassandra?
Compaction in Cassandra is the process of merging and compacting SSTables (sorted string tables) to optimize storage and improve read performance.
Most helpful rated by users: