Skip to content

[O2B-1539] Add index on QC flags to help GAQ summary computation#2099

Open
isaachilly wants to merge 1 commit intomainfrom
improv/O2B-1539/Add-index-to-speed-up-GAQ-computation
Open

[O2B-1539] Add index on QC flags to help GAQ summary computation#2099
isaachilly wants to merge 1 commit intomainfrom
improv/O2B-1539/Add-index-to-speed-up-GAQ-computation

Conversation

@isaachilly
Copy link
Collaborator

Add a composite index on quality_control_flags(run_number, detector_id) that proved to reduce computation time for GAQ summary by 50% on local.

I have a JIRA ticket

  • branch and/or PR name(s) include(s) JIRA ID
  • issue has "Fix version" assigned
  • issue "Status" is set to "In review"
  • PR labels are selected

Notable changes for users:

  • N/A

Notable changes for developers:

  • N/A

Changes made to the database:

  • N/A

Add a composite index on quality_control_flags(run_number, detector_id) that proved to reduce computation time for GAQ summary by 50% on local.
@isaachilly isaachilly self-assigned this Mar 5, 2026
@isaachilly isaachilly added the DB label Mar 5, 2026
@isaachilly isaachilly marked this pull request as ready for review March 5, 2026 16:52
@isaachilly isaachilly requested a review from graduta as a code owner March 5, 2026 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant