Hacker News new | ask | show | jobs
by hendzen 4011 days ago
Perhaps one could even use histograms to estimate selectivity of the query's join predicates to pick a good ordering of joins?

This is actually pretty much how a basic relational query optimizer works in practice.