Re:No, QuestDB is not Faster than ClickHouse
by axlee on Thursday June 16, 2022 @02:07PM
(#31769146)
I didn't really read it as arrogant, more as annoyed about a mischaracterization that was disparaging their product.
Re:No, QuestDB is not Faster than ClickHouse
by SOLAR_FIELDS on Thursday June 16, 2022 @02:14PM
(#31769203)
It's also part of a longer trend of saber rattling between these vendors - there's a history of these types of posts also from TimescaleDB: https://news.ycombinator.com/item?id=29096541
Re:No, QuestDB is not Faster than ClickHouse
by qoega on Thursday June 16, 2022 @02:24PM
(#31769297)
There is a small list of vendors that do not forbid to run benchmarks with their systems.
https://cube.dev/blog/dewitt-clause-or-can-you-benchmark-a-d...
That is why there is a small subset of vendors that are being 'attacked' by this comparisons.
Re:No, QuestDB is not Faster than ClickHouse
by bombcar on Thursday June 16, 2022 @03:02PM
(#31769671)
More and more we start to see why these forbids are in place.
Re:No, QuestDB is not Faster than ClickHouse
by Dzugaru on Thursday June 16, 2022 @02:16PM
(#31769226)
Well, I don't know how QuestDB works, and I couldn't find anything in the original benchmark, but probably they already have some sort of (geo)index in place? It's really strange to search geo-data by scanning the whole surface of the Earth. The point that Clickhouse outperforms this by just sorting on one axis (and even not using any fancy 2D indices) is reasonable.
Re:No, QuestDB is not Faster than ClickHouse
by olluk on Thursday June 16, 2022 @03:59PM
(#31770257)
No, there are no indexes in QuestDB in the article. None. Zero.
That's bold mistake in the ClickHouse article. Should be named Yes, QuestDb is Faster.
Re:No, QuestDB is not Faster than ClickHouse
by bastawhiz on Friday June 17, 2022 @01:23AM
(#31774392)
Why does the lack of indexes matter? Especially when the size on disk is so much higher? Defining a sensible index isn't an unreasonable or daunting task, and minimal effort in CH got a 4x speedup over QuestDB. "It's faster if you invest literally zero time making it efficient" doesn't offer any practical benefit to anyone.
If it was demonstrated that Quest did a better job overall in the majority of cases where an optimization would have been missed, that's one thing. But this feels awfully nitpicky.
Re:No, QuestDB is not Faster than ClickHouse
by jerrinot on Friday June 17, 2022 @02:52AM
(#31774897)
The article is not _just adding an index_. They are embedding one of the search fields in a table _primary key_. That likely means the whole physical table layout is tailored for that single specific query.
While it can help to win this very benchmark it's questionable whether it's usable in practice. Chances are an analytical database serves queries of various shapes. If you only need to run a single query over and over again then you might be better off with a stream processing engine anyway.
Re:No, QuestDB is not Faster than ClickHouse
by bastawhiz on Sunday June 19, 2022 @07:57AM
(#31798484)
The primary key is, in effect, an index. Specializing on the latitude field of a table of geographic data seems like an incredibly small thing to nitpick.
Re:No, QuestDB is not Faster than ClickHouse
by Dzugaru on Thursday June 16, 2022 @04:01PM
(#31770275)
Yeah, I've read more carefully and it seems they're doing full scan.
Re:No, QuestDB is not Faster than ClickHouse
by tomhallett on Thursday June 16, 2022 @02:23PM
(#31769284)
I was curious to hear more details about this statement - "while QuestDB utilizes its full indexing strategy to read just a tiny fraction of the actual data". Did QuestDB create indexes in their QuestDB benchmark but just not mention it? Are there geoindexes which are automatically enabled which do help (but are of less value in the general sense from Clickhouse' perspective)?
Re:No, QuestDB is not Faster than ClickHouse
by twoodfin on Thursday June 16, 2022 @02:42PM
(#31769461)
I don't know how QuestDB is implemented in any detail, but this statement struck me as confused. My understanding is that for this query, QuestDB is performing a full scan of the relevant columns, and the point of the blog post was how fast their JIT engine for filtering makes this.
Re:No, QuestDB is not Faster than ClickHouse
by olluk on Thursday June 16, 2022 @04:49PM
(#31770803)
There were 2 queries in the QuestDB benchmark over the same table. ClickHouse didn't even try to match both of them choosing one as a victim. I guess that's what happens when you optimise the data storage for one query.
Also, the tone of the post sounds really arrogant. They try to hide it a bit, I feel, but it just seeps through.