Live data from Hacker News

Database Benchmarks Lie (If You Let Them)

exasol.com

1–10 of 13 posts

Re: Database Benchmarks Lie (If You Let Them)

#2
Traditional database benchmarks focus on throughput and latency – how many queries per second can be processed, how execution time changes as hardware resources increase. This benchmark revealed something different: reliability under realistic conditions is the first scalability constraint.

Re: Database Benchmarks Lie (If You Let Them)

#5
post #4

From my experience, planning is often the first headache I have to deal with (join order, hash sizing, operator choice), before concurrency and memory even come into play.

You mean the "execution plan" for your queries? Ideally, those types of decisions are automatically done by the database.

Re: Database Benchmarks Lie (If You Let Them)

#6
post #5
post #4

From my experience, planning is often the first headache I have to deal with (join order, hash sizing, operator choice), before concurrency and memory even come into play.

You mean the "execution plan" for your queries? Ideally, those types of decisions are automatically done by the database.

ideally? yes. in practice? big nope.

How you actually interpret what you're seeing here? does it look like more like optimizer fragility (plans that assume ideal memory conditions) or more like runtime memory management limits (good plans, but no adaptive behavior under pressure)?

Re: Database Benchmarks Lie (If You Let Them)

#7
post #6
post #5

Earlier quoted context omitted.

You mean the "execution plan" for your queries? Ideally, those types of decisions are automatically done by the database.

ideally? yes. in practice? big nope. How you actually interpret what you're seeing here? does it look like more like optimizer fragility (plans that assume ideal memory conditions) or more like runtime memory management limits (good plans, but no adaptive behavior under pressure)?

I think the issue in the tests was the lack of a proper resource management of Clickhouse that led to queries failing under pressure. Although I have to admit that the level of pressure was minimal. Just a few concurrent users shouldn't be considered pressure. Also, having far more RAM than the whole database size means very little pressure. And the schema model is quite simple, just two fact tables and a few dimension tables.

Any database should be able to handle 100 concurrent queries robustly, even if this means to slow down the execution of queries.

Re: Database Benchmarks Lie (If You Let Them)

#8
This got me curious about our Exasol environment, which we've been running since 2016 at Piedmont Healthcare. We average 2 million queries per day (DDL/DML/DQL). Our query failure rate is ~0.1%. Only 7% of those failures were due to hitting resource limits. The rest were SQL issues: constraint errors, data type issues, etc. Average connected users is ~400. Average concurrent queries is ~7 with a daily max average of ~78 concurrent queries. Avg query time across DQL statements is around 10 seconds, which is only that high due to some extreme outliers -- I have users that like to put 200k values in a WHERE clause IN statement, and Tableau sometimes likes to write gnarly SQL with LOD calcs and relationship models.

TPC-H benchmarks are what convinced us to purchase Exasol 10 years ago. Still happy with that decision! Congrats to the Exasol team on these results vs ClickHouse.

Re: Database Benchmarks Lie (If You Let Them)

#9
post #8

This got me curious about our Exasol environment, which we've been running since 2016 at Piedmont Healthcare. We average 2 million queries per day (DDL/DML/DQL). Our query failure rate is ~0.1%. Only 7% of those failures were due to hitting resource limits. The rest were SQL issues: constraint errors, data type issues, etc. Average connected users is ~400. Average concurrent queries is ~7 with a daily max average of…

Very interesting. What are the bottlenecks you've faced with Exasol?

"200k values in a WHERE clause IN statement"? What is that column about?

Average concurrent query is ~7 in what time period?

Re: Database Benchmarks Lie (If You Let Them)

#10
When I search for "high performance analytical database" in Bing, Ai summarized results are ClickHouse, Apache Druid, Singlestore, Couchbase, and Apache Pinot are considered among the best databases for real-time analytics due to their low query latency and high performance.

In Google, Ai summarized results are ClickHouse, StarRocks, Snowflake, and Google BigQuery.

Clickhouse is there in both of them and Exasol is not mentioned. If these claims were relevant, why is it not in the limelight?

Clickhouse is known to ingest and analyze massive volumes of time-series data in real-time. How good is Exasol for this use case?

Post reply on HN