Skip to content

Get started

the free 32-bit version of kdb+ for macOS, Linux, or Windows for non-commercial use

Tutorials for beginners

Install The basics Datatypes Lists
Functions Dictionaries Tables I Tables II

Database tutorials

First steps
Run your first query.
In-memory queries
Build a more complex dataset in memory and perform some queries and joins on it. The dataset is from an imaginary desktop PC monitoring and helpdesk support system.
On-disk queries
Download a set of scripts to build and run queries against a large on-disk database. The dataset is from an imaginary smart-meter network. It includes a basic HTML5 Business Intelligence tool which queries the database directly.
Introduction to kdb+
Q for Mortals, Chapter 14 by Jeffry A. Borror. “Roughly speaking, kdb+ is what happens when q tables are persisted and then mapped back into memory for operations.”


q for Mortals Version 3

Q for Mortals

Version 3 by Jeffry A. Borror, available from or Covers up to kdb+ V3.3. If you are a new kdb+ user, this is the book for you!

HTML edition now online

Q Tips

Q Tips

Fast, scalable and maintainable kdb+ by Nick Psaris, available from

There is information that if you were learning by yourself, would take years to work out.

See the Archive for older documents.

Please send comments on tutorials to