News for hackers. Stuff that matters.
Re:Show HN: BemiDB – Postgres read replica optimized for ana... by Sesse__ on Thursday November 07, 2024 @03:56PM (#42080904)
Does TPC-H SF1 really take _one and a half hours_ for you on regular Postgres? Last time I tried (in the form of DBT-3), it was 22 queries and most of them ran in a couple seconds.
Re:Show HN: BemiDB – Postgres read replica optimized for ana... by exAspArk on Thursday November 07, 2024 @04:04PM (#42080995)
Interesting. I haven't used the DBT-3 kit, does it add any indexes? I manually added these Postgres indexes https://github.com/BemiHQ/BemiDB/blob/main/benchmark/data/cr... to reduce the main bottlenecks on SF0.1 and reduce the total time from 1h23m13s to 1.5s. But SF1 still took more than 1h
Re:Show HN: BemiDB – Postgres read replica optimized for ana... by Sesse__ on Thursday November 07, 2024 @04:07PM (#42081019)
It adds a bunch of indexes, yes. I don't think anyone really runs TPC-H unindexed unless they are using a database that plain doesn't support it; it wouldn't really give much meaningful information.

Edit: I seemingly don't have these benchmarks anymore, and I'm not going to re-run them now, but I found a very (_very_) roughly similar SF10 run clocking in around seven minutes total. So that's the order of magnitude I would be expecting, given ten times as much data.

Re:Show HN: BemiDB – Postgres read replica optimized for ana... by exAspArk on Thursday November 07, 2024 @04:14PM (#42081104)
Got it, thanks for sharing it! We'll try to look into DBT-3 and the indexes it creates to test with SF10