Settings

Theme

Show HN: ClickBench Playground – a playground for 110 database systems

benchmark.clickhouse.com

21 points by zX41ZdbW 14 hours ago · 5 comments · 1 min read

Reader

I created it mostly for testing and exploration, but the main reason was that it became possible after previous work.

eterm 14 hours ago

That's actually neat, I can finally do a full sweep of something I found after the recent post about Lobsters migration, I came across a query that evaluates differently in MariaDB and SQLite.

    SELECT CASE WHEN 1 / 5 * 100.0 = 1 * 100.0 / 5 THEN 1 ELSE 0 END AS Huh
In some engines that evaluates to 1 and in some it evaluates to 0.

In some ( oracle ), it doesn't evaluate at all without a trick to bind it to a table.

cvince 10 hours ago

Really cool idea. Skimmed the writeup, but none of this is emulated???

  • zX41ZdbWOP 8 hours ago

    All databases are hosted in VMs. Most of them only support amd64, so the host machine is also amd64 - this is the only limitation. It uses hardware virtualization, so nothing is emulated.

jauntywundrkind 12 hours ago

Incredible! This is amazing!

README says it downloads onto a host the dataset, (builds if needed then) runs a snapshotted firecracker microvms that exposes a small /query endpoint. A monitor records and posts results.

https://github.com/ClickHouse/ClickBench/tree/main/playgroun...

Was a little hard to find in the changelog myself (unaided) since there has been such a massive flood of results getting added! Salute to that!! Epic work.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection