Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove useless DB call for performance. #193

Open
wants to merge 2 commits into
base: 3.2.0
Choose a base branch
from

Conversation

vshand11
Copy link
Collaborator

@vshand11 vshand11 commented Nov 1, 2024

Found an unnecessary db call for each PRINCIPAL_INVESTIGATOR node. Please try if the performance are improved. 2-3 seconds/ 208 nodes as tested in local. If still not good enough, need add index for studyID in submission collection and composition index in dataRecord for entityType, nodeId, submissionID. The problem is there are some composition index already.

@vshand11 vshand11 requested a review from n2iw November 1, 2024 14:45
Copy link
Contributor

@n2iw n2iw left a comment

Choose a reason for hiding this comment

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

Please rebase/redo this to target 3.2.0 branch, thanks!

@vshand11 vshand11 changed the base branch from 3.1.0 to 3.2.0 December 10, 2024 16:05
@vshand11
Copy link
Collaborator Author

Done the rebase and not conflicts.

@vshand11 vshand11 changed the title fixed Remove useless DB call for performance. Dec 10, 2024
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.

2 participants