Skip to content

optimize queries for data root user

Neelesh Thakur requested to merge optimize-root-user into master

Optimizes queries for data root user. If a data root user is a member of few thousand group (>=5K) than termsInSet query adds lot of pressure on Search backends' search queue. Most of the time is spent on this particular clause. Instead, we can rely on Entitlements and check if a user belongs to data root group.

Edited by Neelesh Thakur

Merge request reports

Loading