Better HN
topnewbestaskshowjobs
Log inSign up

leiysky

11 karma · joined Feb 18, 2020 (6y ago) · 4 submissions

Submissions

comment 2y ago · link · parent

I agreed with you on the ad-hoc part. The thing is Oracle guys have made significant improvement in MySQL 8.0, including the Volcano-style executor.

They also implemented DPhyp join reorder algorithm but with an ad-hoc IR. The join optimizer IR(they call it RelationalExpression) is based on relational algebra. I think this is a good start.

But it’s not easy to migrate a project lived for decades, especially one with poor design.

comment 2y ago · link · parent

A fun fact, I was there when I first see them going to put it in use. That’s a pity they finally gave it up.

https://github.com/MaterializeInc/materialize/issues/8073

comment 2y ago · link · parent

Thanks for reminding, I will update the post later. By the way, the storytelling of Haruki Murakami influenced my a lot, I should have mentioned it when the title first occured to me.

comment 2y ago · link · parent

Thanks for your comment. I'm the author of this post.

I have been thinking about sharing something about database internals for a long time, but none of my writing ideas was out of cliché then(e.g. introduce some algorithms, summarize some papers).

But I just realized that it maybe an interesting thing to talk about "how" and "why" instead of "what".

The rest posts are coming soon, hope you can see them on hacker news again.