kdb+
activeby KX · since 2003 · also known as KDB-X, kdb, q, KX
Column-store time-series engine with the q language, a fixture of capital-markets tick data.
Overview
kdb+ from KX is a compact column-oriented database fused with q, a terse vector programming language, and has been the default tick-data store at banks, exchanges and hedge funds for two decades. The classic setup, a tickerplant feeding an in-memory real-time database while history is written to date-partitioned splayed files, delivers very fast queries over long time ranges on modest hardware. In November 2025 KX made KDB-X, the next generation of kdb+, generally available, together with a Community Edition that is free for personal and commercial use within resource limits, and PyKX for working from Python. The q learning curve and commercial licensing at scale remain the main barriers.
Strengths & trade-offs
Strengths
- +Very low-latency analytics over in-memory and date-partitioned on-disk tables
- +As-of and window joins built for trade/quote alignment
- +Tiny binary and footprint; runs well on a single large server
- +Tickerplant pub/sub pattern unifies real-time and historical queries
- +Decades of production use in front-office finance
Trade-offs
- −q is terse and niche; hiring and onboarding are hard
- −Commercial licensing at scale is expensive and opaque
- −Clustering, HA and replication are build-it-yourself architecture patterns
- −Small open-source ecosystem compared with SQL databases
Great for
- +Equities, FX and futures tick capture
- +Trade surveillance and best-execution analysis
- +Quant research on historical market data
- +Real-time risk and P&L
- +High-frequency sensor data in telecoms and manufacturing
Think twice for
- −Teams without q or PyKX expertise
- −General web application backends
- −Log and text search
Capabilities
Native or official first-party support · 11 of 25 tracked
Scale & consistency
- Comfortable data size
- Large · ≤ 1 PB
- Horizontal scaling
- Manual
- Multi-region
- No
- Transactions
- Limited ACID
- Consistency
- Strong
- Schema
- Strict
- Architecture
- In memory, Single node, Client server
- Query languages
- q, qSQL, Python (PyKX)
Scale out by partitioning history across segments and hosts behind q gateways; real-time data lives in RAM.
Deployment
available on · AWS
Ecosystem
Alternatives to kdb+
Columnar time-series SQL database built for market data and very high ingest rates.
kdb-plus vs questdb →Distributed time-series database and scripting platform for quant finance and industrial analytics.
kdb-plus vs dolphindb →Serverless DataFrame database from Man Group: Pandas in, versioned columnar data on S3 out.
kdb-plus vs arcticdb →Open-source columnar OLAP database known for very fast aggregations over billions of rows.
kdb-plus vs clickhouse →PostgreSQL extension adding hypertables, columnar compression and continuous aggregates for time series.
kdb-plus vs timescaledb →Purpose-built time-series database, rebuilt in Rust on Arrow, DataFusion and Parquet for version 3.
kdb-plus vs influxdb →kdb+ FAQ
What is kdb+?
kdb+ is a time-series database by KX, first released in 2003. kdb+ from KX is a compact column-oriented database fused with q, a terse vector programming language, and has been the default tick-data store at banks, exchanges and hedge funds for two decades. The classic setup, a tickerplant feeding an in-memory real-time database while history is written to date-partitioned splayed files, delivers very fast queries over long time ranges on modest hardware. In November 2025 KX made KDB-X, the next generation of kdb+, generally available, together with a Community Edition that is free for personal and commercial use within resource limits, and PyKX for working from Python. The q learning curve and commercial licensing at scale remain the main barriers.
Is kdb+ open source?
No. kdb+ is proprietary, closed-source software. License: Commercial; KDB-X Community Edition free with resource limits.
Does kdb+ support ACID transactions?
Partly. kdb+ offers limited ACID guarantees (for example, single-record or single-partition transactions), with strong consistency.
Does kdb+ scale horizontally?
kdb+ has no built-in sharding; scaling out means partitioning data in your application. It is comfortable at large scale (≤ 1 PB).
How can I run kdb+?
You can self-host it and use the vendor's managed cloud. Managed offerings include Amazon FinSpace with Managed kdb Insights. It is available on AWS.
What is kdb+ best for?
kdb+ is a strong fit for equities, FX and futures tick capture; trade surveillance and best-execution analysis; and quant research on historical market data. Think twice for teams without q or PyKX expertise.
What are the best alternatives to kdb+?
Common alternatives to kdb+ include QuestDB, DolphinDB, ArcticDB, ClickHouse and TimescaleDB. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
How popular is kdb+?
kdb+ ranks #75 of 844 databases on the WhichDB Score (31.8/100), and #5 among time-series databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.


