Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(graphql sqlite): force join order and index for high cardinality…
… tags PE-2395 This forces a join using the transaction_id index on the tags table when dealing with high cardinality tag names (e.g. App-Name). Right now we're just hard coding a list of those tags. In the future we will either determine those based on periodicially refreshed counts from the DB or, alternately, force all joins after the first tag join to use transaction_id. That should be optimal provided users put the most selective tag first in their queries.
- Loading branch information