Question

Kx announced their free kdb+ (32bit) time series database.

What performance in terms of reads/writes per second can we typically expect from this database?

I do understand this is a complex question as the answer depends on a setup, number of nodes, etc. I am hoping someone will be able to provide us some numbers as well as use cases.

Was it helpful?

Solution

After more investigation I found sample performance benchmarks on the kx.com website:

On an AMD Opteron box with 4 GB of RAM, we get

0.672 million inserts per second (single insert)
6.944 million inserts per second (bulk insert 10)
20.408 million inserts per second (bulk insert 100)
24.39 million inserts per second (bulk insert 1000)
25 million inserts per second (bulk insert 10000)

On an AMD Turion64 laptop with 0.5 GB of RAM,

0.928 million inserts per second (single insert)
8.065 million inserts per second (bulk insert 10)
16.129 million inserts per second (bulk insert 100)
16.129 million inserts per second (bulk insert 1000)
16.129 million inserts per second (bulk insert 10000)

Running the same benchmarks on my machine (32GB RAM, Xeon E5 3.2GHz, SSD):

1.972 million inserts per second (single insert)
30.303 million inserts per second (bulk insert 10)
142.857 million inserts per second (bulk insert 100)
250 million inserts per second (bulk insert 1000)
200 million inserts per second (bulk insert 10000)

OTHER TIPS

The 32bit limits addressable memory. So the size of in-memory database is constrained. Common practice is to keep the current day (RDB) in memory.

The STAC M3 benchmarks have this nicely covered too. Aside from that, I wouldn't expect major differences in 32bit v 64bit binaries. I believe the memory allocation strategy is the same in both.

As Datageek has already shown in his post, the performance for kx is second to none. Sure the language will be new for most developers who are used to OOP+SQL but this is a massive step forward for kx IMO.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top