Skip to content

Full table scan on MPI_LINK during mdm-clear #4804

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

Closed
jmarchionatto opened this issue May 2, 2023 · 1 comment
Closed

Full table scan on MPI_LINK during mdm-clear #4804

jmarchionatto opened this issue May 2, 2023 · 1 comment
Assignees
Labels

Comments

@jmarchionatto
Copy link
Collaborator

When performing mdm-clear operation for approximately 1,000,000 mdm-links, and associated golden resources, slow sql errors show up in logs as well as other errors associated to DB contention, and the whole operation requires many hours to complete

To Reproduce

  1. Generate 1,000,000 mdm links to golden resources
  2. Run mdm-clear operation

Expected behaviour
Batch job should advance to a constant pace until finish, without generating slow queries.
Note that is reasonable to expect the operation to run for a few hours to complete for a large number of resources as described, as it runs in batches to allow for other processes to share the server.

HAPI FHIR Version
v6.4.4

@jmarchionatto jmarchionatto self-assigned this May 2, 2023
@jmarchionatto
Copy link
Collaborator Author

Fixed by #4805

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant