I observed one of the table in production has a large partition of size 13.8 gb. How do i find the partition key of that?
I observed one of the table in production has a large partition of size 13.8 gb. How do i find the partition key of that?
For older versions of Apache Cassandra, you should see message in the logs indicating that a large partition got compacted. For example:
WARN [CompactionExecutor:21653] 2020-11-30 03:39:14,795 SSTableWriter.java:241 - Compacting large partition acmeKS/veryWideTable:key5678 (45262476248 bytes)
Here's an example output for newer versions:
WARN [CompactionExecutor:21653] 2021-01-03 02:28:03,684 BigTableWriter.java:248 - Writing large partition acmeKS/veryWideTable:key5678 (45262476248 bytes) to sstable ...
Cheers!
5 People are following this question.
Is it possible to store data in JSON or XML format in the same column?
What is the definition of hot partition in terms of frequency of reads/writes?
Are querying multiple partitions or multiple tables an anti-pattern in Cassandra?
Primary key vs Clustering column vs Partition key vs Partition token
What are best practices for dealing with supernodes in DSE 6.7 Graph?
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2023 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use