Multithreaded Execution Model for Queries With ORDER BY and LIMIT ClausesThis small post continues the previous post dedicated to multithreaded query execution in databases with column-oriented storage format. This time we'll consider queries like the following: SELECT SearchPhrase FROM hits WHERE SearchPhrase IS NOT NULL...2 min read·puzpuzpuz.devJun 9, 2024
An mmap-based hash table optimizationmmap is a controversial topic among the database community. But it does a decent job for an analytical database and unlocks some optimizations.2 min read·puzpuzpuz.devJun 1, 2024
Seqlock-Based Atomic Memory SnapshotsWe discuss seqlock-based atomic snapshots as an alternative to the k-word CAS algorithm when writes are infrequent and single-writer limitation is fine.5 min read·puzpuzpuz.dev1AAug 6, 2023
A Few Thoughts on K-Word CASA few months ago I went through Efficient Multi-word Compare and Swap paper, so here are a few thoughts on the algorithm.2 min read·puzpuzpuz.devJul 6, 2023
The Secret Life of fsyncWhat kind of durability guarantees fsync system call provides in Linux? Let's find out.4 min read·puzpuzpuz.devMar 31, 2023