Elektrine lite

← Feed

@rntz@recurse.social

Post #4119659

2026-07-24 21:52 UTC

Is there standard literature on how to do worst-case optimal queries in the presence of functional dependencies/foreign keys? There are cases where you can use FDs to get asymptotic speedups but I'm having trouble figuring out the right general approach rather than looking at individual queries and saying "oh, obviously you index it this way and then it's fast".

Replies (1)