Skip to content

Get started with q and kdb+

 

Kdb+ is a database. You can use it through interfaces such as ODBC, or from Python. But its power and performance are best accessed through its own language, q.

Q is a general-purpose programming language. You can write programs for anything in q.

You do not need prior programming experience to learn it. If you have some experience with mathematics, functional programming or SQL, you will find in q much that is familiar.

Here we offer different routes into the language. Find one that suits your experience and learning style. (Or ask the Librarian for what you need.)

Books

q for Mortals Version 3

Q for Mortals

Version 3 by Jeffry A. Borror, available from Amazon.com or Amazon.co.uk. 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 Amazon.co.uk.

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 librarian@kx.com.