6 comments

  • kjellsbells1 hour ago
    The database wars of the late 1990s were full of this kind of stuff. Oracle, Sybase, IBM etc invested heavily in tuning specifically for benchmarks like TPC-C just so they could post ads in the Wall St Journal saying theirs was faster.<p>I do sympathize with OP, though, their objection to measuring cold-start queries is incomplete without also describing how often cold start needs to happen. If you restart once every five years then it doesnt matter as much if it takes 20 minutes to be warm. Every hour, that would be a real problem.
    • ozgrakkurt8 minutes ago
      The dataset they use is &lt;14GB of parquet [1] so the &quot;cold start&quot; seems to be intended to also measure having a dataset that doesn&#x27;t fit in memory in a way.<p>I don&#x27;t think this is an oversight but it is just what they found to be feasible. This is explicitly written in [1]. Also the guy who setup this benchmark is very serious about benchmarking under difficult conditions [2]<p>My personal opinion is that you need a massive amount of data and massive number of different variables to test for separately. For example you might want to monitor how many cache misses&#x2F;hits there were, p99 latency etc. And you want to do it under full load, expected load etc. And you want to compare the different versions of the same database because comparing different databases makes things combinatorially more difficult, unless you have a real production use case that you are optimizing for ofc.<p>The swisstable talk on cppcon is a good example of a useful benchmark and optimization that shows how difficult it is to really asses performance effects of even &quot;small&quot; changes. [3]<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;ClickHouse&#x2F;ClickBench#data-loading" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ClickHouse&#x2F;ClickBench#data-loading</a><p>[2] <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=CAS2otEoerM" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=CAS2otEoerM</a><p>[3] <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=ncHmEUmJZf4" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=ncHmEUmJZf4</a>
  • jaapz49 minutes ago
    Anyone here using QuestDB in production? What is your use case? What is your experience?<p>We want to migrate away from InfluxDB eventually (because of their 180 on OSS, and their tendency to reinvent the product every major release), and QuestDB seems like an interesting option.
  • bitlad3 hours ago
    Reminds me of the recent Terminal Bench controversy [1][2][3]<p>If theres a benchmark, people will cheat, lie and optimize for that benchmark. Honest depends on the compliance enforced on teams. But if, compliance itself is weak, it is going to be taken advantage of. Like growing up india, you would optimize for the exam and not what you learn from it.<p>[1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=47920787">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=47920787</a><p>[2] <a href="https:&#x2F;&#x2F;www.tbench.ai&#x2F;news&#x2F;leaderboard-integrity-update" rel="nofollow">https:&#x2F;&#x2F;www.tbench.ai&#x2F;news&#x2F;leaderboard-integrity-update</a><p>[3] <a href="https:&#x2F;&#x2F;debugml.github.io&#x2F;cheating-agents&#x2F;" rel="nofollow">https:&#x2F;&#x2F;debugml.github.io&#x2F;cheating-agents&#x2F;</a>
    • puzpuzpuz-hn21 minutes ago
      Exactly! The task gets even trickier when you&#x27;re benchmarking lots of systems of different kinds: cloud databases, self-hosted ones, embedded engines, CLI tools.
  • N_Lens2 hours ago
    Same with LLM benchmarks these days.
    • Metaluim1 hour ago
      Well, the pelican benchmark is easily verifiable.
      • echoangle17 minutes ago
        Kind of hard to judge though, it’s not really objective how good a pelican looks.
  • dkdcdev1 hour ago
    see also “ Fair Benchmarking Considered Difficult: Common Pitfalls In Database Performance Testing” by the DuckDB folks with a classic Figure 1
    • puzpuzpuz-hn21 minutes ago
      Thanks for the reference. Will check!
  • ozgrakkurt1 hour ago
    Really respectable writing and perspective. Questdb blog posts that get posted here never disappoint
    • puzpuzpuz-hn19 minutes ago
      Thanks! We do our best to be as transparent as possible when it comes to benchmarking.