Comment

Comment by assface

> I'm wondering if it would be worth skipping the SQL layer and compiling straight to the execution plan level.

You have to join five tables in a query. What join order will you pick in your execution plan? Will you use the same ordering for different WHERE clause parameters? What if you add an index?

What you're proposing was tried in the 1970s (see CODASYL) and it was a terrible idea.

parent assface 3 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton