<#891 Add project and domain filters in order to h...
# flyte-github
c
#891 Add project and domain filters in order to hit DB index #patch Pull request opened by mruoss # TL;DR This addresses the issue described in flyteorg/flyte#6428 where DB queries don't use the indexes on the
workflows
,
tasks
and
lanuchplans
table. This slows down the UI significantly and spikes the CPU usage of the database server. ## Type • Bug Fix (Performance) • Feature • Plugin ## Are all requirements met? • Code completed • Smoke tested • Unit tests added • Code documentation added • Any pending items have an associated Issue ## Complete description The index in the database is over the three columns
(name, project, domain)
- not JUST
name
. Therefore when filtering, we need to pass all these values in order to leverage the index. ## Tracking Issue fixes flyteorg/flyte#6428 flyteorg/flyteconsole