OCCUVISTA
Home›Tools›kdb+

kdb+

Storing and querying high-frequency time-series data at very high ingestion rates

What is kdb+?

kdb+ is a column-oriented database and programming language, developed by Kx Systems, designed for storing and analysing large volumes of time-series data at extremely high speed. Its associated query language, q, is a vector-oriented functional language optimised for operating on columns of data with minimal code. kdb+ is the dominant database in financial services for handling high-frequency trading data — tick data, order books, and execution records — where the ingestion rate, query speed, and memory efficiency requirements exceed what general-purpose relational databases can practically deliver. It runs largely in-memory with on-disk persistence and can process billions of records in sub-second query times. Knowledge of kdb+/q is a niche but high-value skill concentrated almost entirely in quantitative finance roles.

kdb+ Use Cases

  • Ingesting and storing high-frequency tick data and order book updates from financial exchanges at millions of events per second
  • Querying time-series data using the q language to calculate metrics such as VWAP, TWAP, and rolling statistics across large datasets
  • Building real-time analytics feeds that aggregate and distribute market data to trading systems and risk management platforms
  • Performing historical backtesting of trading strategies against years of stored tick data using vectorised q computations
  • Designing database schemas that partition time-series tables by date and symbol to maintain query performance on large datasets

Roles That Use kdb+

Categories That Use kdb+