Data Compression in ClickHouse vs Cassandra

Introduction ClickHouse and Cassandra: two different databases optimized for different use cases. ClickHouse is a columnar database designed for analytical queries, while Cassandra is a NoSQL database designed for write-heavy workloads and scalability. Because of these fundamental differences in design and use […]

ClickHouse vs Cassandra for Real-time Analytics

Introduction ClickHouse and Cassandra are both powerful data management systems, but they are designed for different use cases. 1. Data Model 2. Query Language 3. Aggregation 4. Data Compression 5. Indices 6. Throughput Conclusion The […]

ClickHouse Resource Safety: Implementing RAII and Destructors

Introduction In ClickHouse’s C++ codebase, efficient resource management and preventing resource leaks are crucial for ensuring stable and high-performance data processing. C++ provides the powerful RAII (Resource Acquisition Is Initialization) idiom, which allows resources to […]

ClickHouse Row Number Functions for High Performance

Introduction Row numbering methods play a crucial role in ClickHouse’s performance, particularly when dealing with extensive datasets and intricate queries. Different approaches, such as using the ROW_NUMBER() function, ARRAY JOIN clause, WITH ORDINALITY syntax, or […]

1 9 10 11 12 13 27