Closed Bug 2053504 Opened 1 month ago Closed 4 days ago

Need to add index to tracking_flags_values table for better performance from /bzapi/bug and REST search

Categories

(bugzilla.mozilla.org :: General, enhancement)

Production
enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: dkl, Assigned: dkl)

Details

Attachments

(3 files)

Attached image image.png
SELECT
  `id`,
  `tracking_flag_id`,
  `setter_group_id`,
  VALUE,
  `sortkey`,
  `is_active`,
  COMMENT
FROM
  `tracking_flags_values`
WHERE
  `tracking_flag_id` IN (...)
ORDER BY
  `sortkey`

GCP suggested adding index to tracking_flag_id column which will help with look ups

Attached image image.png

Authored by https://github.com/dklawren
https://github.com/mozilla-bteam/bmo/commit/0fe42d6b34f3e06254b3c78ded84958ae7efd8cd
[master] Bug 2053504 - Need to add index to tracking_flags_values table for better performance from search

Status: ASSIGNED → RESOLVED
Closed: 4 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: