Expand description
Statistics.db parser for Cassandra 5+ SSTable format
This module provides comprehensive parsing of Statistics.db files which contain detailed metadata about SSTable contents including row counts, min/max timestamps, column statistics, and other metadata for efficient query planning.
Structs§
- Column
Statistics - Per-column statistics for query optimization
- Compression
Statistics - Compression algorithm performance statistics
- Partition
Size Bucket - Partition size distribution bucket
- Partition
Statistics - Partition size distribution for efficient range queries
- RowSize
Bucket - Row size distribution bucket
- RowStatistics
- Row count and distribution statistics
- SSTable
Statistics - Comprehensive SSTable statistics extracted from Statistics.db
- Statistics
Analyzer - Statistics analyzer for enhanced reporting
- Statistics
Header - Statistics.db file header with version and metadata Updated to support both legacy and enhanced formats
- Statistics
Summary - Human-readable statistics summary
- Table
Statistics - Table-level aggregated statistics
- Timestamp
Statistics - Timestamp range and TTL statistics
- Value
Frequency - Value frequency information for column statistics
Functions§
- parse_
column_ statistics - Parse column-level statistics
- parse_
compression_ statistics - Parse compression performance statistics
- parse_
metadata_ section - Parse additional metadata section
- parse_
partition_ size_ bucket - Parse a partition size histogram bucket
- parse_
partition_ statistics - Parse partition size distribution statistics
- parse_
row_ size_ bucket - Parse a row size histogram bucket
- parse_
row_ statistics - Parse row count and distribution statistics
- parse_
single_ column_ statistics - Parse statistics for a single column
- parse_
statistics_ file - Parse the complete Statistics.db file
- parse_
statistics_ header - Parse the Statistics.db file header with authoritative format detection
- parse_
table_ statistics - Parse table-level statistics
- parse_
timestamp_ statistics - Parse timestamp range statistics
- parse_
value_ frequency - Parse a value frequency entry
- serialize_
statistics - Serialize Statistics structure to bytes (for testing and validation)