FoundationDB/sql-layer — pull request #1171 by tjoneslo (2014-01-19 19:35:44+00:00)
Title: Joinindexpicker fk choices

Part 2 of the large join fixes. This works in the JoinAndIndexPicker section of the optimzer, adding a layer of code to, if a join has more than (configuration number, default 8) tables, it will attempt to join the FK references from the top of the join tree first in an attempt to reduce the number of joins in the full processor has to deal with.

This does not go quite as far as my original plan as it does not address the issue trying to force this into place.