Project

General

Profile

Actions

Defect #40728

closed

Slow loading of global spent time list in MySQL

Added by Kaustubh Patil 11 months ago. Updated 10 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Performance
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

While loading the global spent time the website is taking too long to respond, usually taking more than 3 minutes. sometimes it doesn’t even load the data.

Environment:
Redmine version 5.1.2.stable
Ruby version 3.2.4-p170 (2024-04-23) [x86_64-linux]
Rails version 6.1.7.7
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::SidekiqAdapter
Mailer delivery smtp
Redmine settings:
Redmine theme Zenmine-510 (includes JavaScript)
SCM:
Subversion 1.14.2
Mercurial 6.3.2
Bazaar 3.3.2
Git 2.39.2
Filesystem
Redmine plugins:
redmine_agile 1.6.9
redmine_budgets 1.0.5
redmine_checklists 3.1.23
redmine_contacts 4.4.1
redmine_contacts_helpdesk 4.2.2
redmine_contacts_invoices 4.2.9
redmine_reporter 2.0.4


Files

explain_query.png (65.5 KB) explain_query.png explain query Yuvansri Thangavel, 2025-01-27 16:18
time_taken.png (36.9 KB) time_taken.png time taken Yuvansri Thangavel, 2025-01-27 16:18
40728.patch (907 Bytes) 40728.patch Go MAEDA, 2025-02-02 05:19
explain_for_enum.png (78.5 KB) explain_for_enum.png sample Yuvansri Thangavel, 2025-02-02 21:06
40728-v2.patch (1001 Bytes) 40728-v2.patch Go MAEDA, 2025-04-05 11:42

Related issues

Related to Redmine - Defect #42202: SUM of time entries query load issueClosed

Actions
Related to Redmine - Defect #42203: Time entry details fetch query load issueClosed

Actions
Actions

Also available in: Atom PDF