Hacker News new | ask | show | jobs
by wood_spirit 49 days ago
I like the view into the personal journey learning new things and sharing it.

Suggested next steps would be trying out DuckDB instead. My guess is it would smoke spark etc at this scale. Always good to learn different corners of the data landscape.

1 comments

DuckDB's come up a lot since I started my little journey to be honest.

Everything I've read says you're absolutely right about the performance boost lol. It very well may be the next piece I check out, thank you.

DuckDB is amazing.

I swapped out some data analytics processing that was originally implemented with Python & Postgres to DuckDB and have been immensely pleased with the outcome. Stuff that would take 6+ hours to do with Python/Postgres now takes me around half an hour to complete.

It's a great addition to an existing Postgres database as it has very tight integration with it's native Postgres extension, which allows you to do things like select data from your Postgres database, process it locally with DuckDB, then insert back into your Postgres database.

I'd highly recommend giving it a try.

To be honest Postgres and DuckDB are on my lists to really get my hands dirty with.

One of the more interesting talks I read about was how someone used MySQL's bin log to mirror a lakehouse different versions of data and used DuckDB as the compute layer of a lakehouse. I think the talk was held in South America, so I didn't get to go.

Postgres is just useful for pretty much everything it seems like lol. Knowing they work together so well makes for a side project to learn both.