View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010963 | mantisbt | db mysql | public | 2009-09-18 07:10 | 2009-10-07 14:19 |
Reporter | Raul | Assigned To | jreese | ||
Priority | low | Severity | tweak | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.1.8 | ||||
Target Version | 1.2.0rc2 | Fixed in Version | 1.2.0rc2 | ||
Summary | 0010963: slow query to table called "mantis_project_hierarchy_table" | ||||
Description | We are working with 270 projects (with a lot of subprojects) in DB, when we access to "Manage projects" the page is loaded in 32 seconds, it´s a lot of time. We have fixed this problem, we have created a INDEX for table "mantis_project_hierarchy_table" with field "child_id". Now page is loaded en 1.9 seconds. | ||||
Tags | No tags attached. | ||||
Is 270 projects a typo? I've never heard of MantisBT scaling to sites that large... all I can say is WOW! I've targeted this for fixing in 1.2.x. Thanks for reporting this bug :) |
|
I have 942 projects, but with less bugs per project (http://mantis.whdload.de/) |
|
Fix committed to 1.2 and master branches. Requires running /mantisbt/admin/install.php to update the database schema with the new index definitions. |
|
MantisBT: master-1.2.x 7e2a0100 2009-10-06 09:52 Details Diff |
Fix 0010963: Add indexes to project hierarchy table |
Affected Issues 0010963 |
|
mod - admin/schema.php | Diff File | ||
MantisBT: master 520c3e77 2009-10-06 09:52 Details Diff |
Fix 0010963: Add indexes to project hierarchy table |
Affected Issues 0010963 |
|
mod - admin/schema.php | Diff File |