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
When requesting related objects the return time is slow, since every expansion is handled on a individual basis, causing a lot individual database queries. Related objects instead should be fetched in bulk, to reduce DB queries and speed-up results.
The text was updated successfully, but these errors were encountered:
Instead of fetching the related object one object at the time,
requested all related objects ,via fetchExpandObjects, for given list
of objects.
This will reduce DB queries required for expansion from
O(<num-objects> * <num-expands>) to O(<num-expands>)
Added bonus we do not fetch duplicated objects anymore,
reducing the amount of objects which requires processing.
Fixes#1017
When requesting related objects the return time is slow, since every expansion is handled on a individual basis, causing a lot individual database queries. Related objects instead should be fetched in bulk, to reduce DB queries and speed-up results.
The text was updated successfully, but these errors were encountered: