Skip to content

Conversation

@ankurjuneja
Copy link
Contributor

@ankurjuneja ankurjuneja commented Oct 2, 2023

Rationale

This PR fixes the related PR for the centers that store dam and sire in different dataset than demographics

Related Pull Requests

Changes

  • use Id.parents.dam in place of dam from demographics

Copy link
Contributor

@labkey-jeckels labkey-jeckels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might speed up the queries to use study.demographicsParents as the base query instead of starting with study.demographics and doing two separate lookup-based joins to it via Id.parents

@ankurjuneja ankurjuneja marked this pull request as ready for review October 2, 2023 18:30
@labkey-martyp
Copy link
Contributor

It might speed up the queries to use study.demographicsParents as the base query instead of starting with study.demographics and doing two separate lookup-based joins to it via Id.parents

@ankurjuneja How's the perf after your refactors Ankur. Want to investigate Josh's suggestion here?

@ankurjuneja
Copy link
Contributor Author

@labkey-martyp After fixing the slowest one, all 4 queries are loading in ~40-50 seconds

Copy link
Contributor

@labkey-martyp labkey-martyp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. If you're seeing one or two of these queries taking the majority of the load time, probably worth looking into Josh's suggestion on that one.

@ankurjuneja ankurjuneja merged commit 75d5b11 into develop Oct 2, 2023
@ankurjuneja ankurjuneja deleted the fb_fix47265 branch October 2, 2023 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants