Home / Companies / ClickHouse / Blog / March 2021

March 2021 Summaries

2 posts from ClickHouse

Filter
Month: Year:
Post Summaries Back to Blog
ClickHouse`, a database management system, faces challenges in testing due to its complex task of interpreting query languages on persistent states managed in a distributed fashion. Despite extensive automated testing, new bugs and regressions continue to appear. To address this issue, the authors developed an `AST-based Query Fuzzer`, which uses property-based testing techniques to generate random SQL queries that test the system's behavior under various conditions. The fuzzer leverages a large corpus of human-written SQL queries from regression tests, allowing it to efficiently cover a wide range of possible permutations. By incorporating the fuzzer into their continuous integration process, the authors were able to identify over 200 bugs, including serious logic errors and memory issues, and improve the overall reliability of the system. The approach also benefits from the use of assertions and runtime checks, such as those provided by compiler sanitizers, to ensure that errors are distinct from user-induced errors.
Mar 11, 2021 1,778 words in the original blog post.
The study analyzed the performance of different Linux system calls on various storage devices, including HDD, SATA SSD, NVMe SSD, and Intel Optane. The researchers found that solid-state devices (SSDs) outperformed hard disk drives (HDDs) in terms of read latency, with Intel Optane offering the lowest latency among all four options. However, Intel Optane had its own drawback compared to NVMe SSD, which was only two times faster than HDD for large block sizes. The optimal block size for random reads varied across devices, ranging from 256 kilobytes for HDD to 8 kilobytes for Intel Optane. The study highlighted the importance of considering device-specific characteristics when optimizing I/O performance in Linux.
Mar 09, 2021 1,137 words in the original blog post.