Actions
Feature #23743
closedAdd index to workflows.tracker_id
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Description
Hi,
when I enter in trackers#index the redmine make this query for each tracker:
SELECT COUNT(*) FROM "workflows" WHERE "workflows"."tracker_id" = $1
But there is no index for "workflows"."tracker_id", and each query takes 88ms +-
After add index each query takes 0.3ms
Actions