You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest adding player # to the ships_near_ships table; given that, access to this data becomes way more efficient, as the view can filter out entries not belonging to the player immediately without having to join against the ship table.
The text was updated successfully, but these errors were encountered:
Actually, I suggest taking a look at issue #16#16 first.
I think the partial index on ships (player_id) where (not destroyed) would provide a significant improvement here. Note that that index precisely matches the filters in use for both Seq Scans below...
The view is a bit too much of a many-way join.
cbbrowne@e1a3877
I suggest adding player # to the ships_near_ships table; given that, access to this data becomes way more efficient, as the view can filter out entries not belonging to the player immediately without having to join against the ship table.
The text was updated successfully, but these errors were encountered: