PinnedJonathan Kane·Mar 9Sym File Maintenance in KDB+The sym file is one of the most critical components of a KDB+ database. It provides significant improvements in both memory efficiency and…
Jonathan Kane·Oct 19C Interface for Q — Part 2In Part 1, we looked at the Q object (QObj) and at the simplest values it can hold: atoms, and lists of plain C values such as longs or…
Jonathan Kane·Sep 25C Interface for Q — Part 1Q is fast, but sometimes you need to reach outside it: to call an existing C library, to speed up a hot loop, or to talk to a Q process…
Jonathan Kane·Feb 12Recursion vs Iteration in Q/KDB+Mathematically, recursion and iteration both describe the repeated application of a rule to successive results. In programming, they often…
Jonathan Kane·Feb 4Database Maintenance in KDB+KDB+ requires ongoing maintenance as datasets evolve and schemas change. KX provides dbmaint.q — a widely-used utility for partitioned…
Jonathan Kane·Nov 25, 2025KDB-X ModulesMost modern programming languages provide a module system to support clean encapsulation, code reuse, and easy distribution of…
Jonathan Kane·Aug 15, 2025Performance Costs of KDB+ AttributesIn my previous blog, we explored how the four KDB+ attributes — sorted, unique, parted, and grouped — can significantly improve query…
Jonathan Kane·Aug 4, 2025Performance Benefits of KDB+ AttributesAttributes in KDB+ are powerful performance optimisations that can dramatically accelerate queries on large datasets. In this blog, we’ll…
Jonathan Kane·May 6, 2025KDB+ AttributesKDB+ provides four attributes — sorted, unique, parted, and grouped — that can be applied to lists and table columns to significantly…
Jonathan Kane·Feb 28, 2025Floating-Point Datatypes in Q/KDB+Floating-point numbers are essential for representing real-world values that require fractional precision. These numbers are used to model…