View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
19371 | Bug reports | Other | public | 2024-01-22 10:02 | 2024-11-19 18:14 |
Reporter | c_schmitz | Assigned To | lajosarpad | ||
Priority | none | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 6.4.x | ||||
Summary | 19371: Survey list page extremely slow when having alot of surveys and inheritance is used for 'List publicly' | ||||
Description | We have a database with 6000 surveys spread to about 10 different survey groups. When opening the index page, even though not a single survey is actually listed, it takes about 10-20 second to load the index page. | ||||
Steps To Reproduce | Steps to reproduceCreate 6000 active surveys, 10 survey groups, assign 600 surveys to each survey group , set 'List survey public' to inherit in all surveys and survey groups (except the default one, where it is set to 'no') Expected resultPage should load immediately, no surveys listed. Actual resultPage needs 10-20 seconds, no surveys listed. (Write here what happened instead) | ||||
Tags | No tags attached. | ||||
Bug heat | 20 | ||||
Complete LimeSurvey version number (& build) | 6.4.1+240108 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | . | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | . | ||||
related to | 18473 | closed | DenisChenu | Bug reports | Survey listing : multiple call of template |
related to | 19426 | closed | DenisChenu | Bug reports | Survey listing : multiple call of user table |
But : showing 6000 survey take more times than showing 10 :) 2-3 seconds : maybe need a static var for amll;groups Related issue : https://bugs.limesurvey.org/view.php?id=18473 Can you activate debugsql and check number of requests ? |
|
There are no surveys shown at all. The default survey groups has set 'List public' set to false. |
|
debugsql show (have 36 survey activated)
My opinion : |
|
I totally agree. When looking at the survey list page with only 1 survey listed I see 61 queries being run. Most of the repeated ones are for the template system. I think with some work the number of queries can be reduced by 30-50%. |
|
This one : https://github.com/LimeSurvey/LimeSurvey/pull/3737 |
|
For template : seems we don't( use (when need it) TemplateConfiguration::getInstanceFromTemplateName |
|
For template : https://github.com/LimeSurvey/LimeSurvey/pull/3738 |
|
OK : SurveyGroup broken : i use the other for template |
|
master : group settings : https://github.com/LimeSurvey/LimeSurvey/pull/3737 |
|
This one can be moved to cache for develop. |
|
I start with instance with options (inherited from parent) … but need more rewrite. |
|
For 5X |
|
https://github.com/LimeSurvey/LimeSurvey/pull/3738 has been merged in, but the number was wrong (18473), so it is not shown here. @DenisChenu do we need this fix for 5.x as well? |
|
In my opinion : yes , same for the 2 others. Here it's more : https://github.com/LimeSurvey/LimeSurvey/pull/3737 (SurveyGroups) |
|
OK, confirm needed for 5.X too :) I do the 3 for 5 (separate) |
|
Ok, then please make a PR for 5.x when you get some time. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2024-01-22 10:02 | c_schmitz | New Issue | |
2024-01-22 10:03 | c_schmitz | Steps to Reproduce Updated | |
2024-01-22 10:07 | DenisChenu | Note Added: 79261 | |
2024-01-22 10:07 | DenisChenu | Bug heat | 0 => 2 |
2024-01-22 10:19 | c_schmitz | Steps to Reproduce Updated | |
2024-01-29 09:17 | Mazi | Bug heat | 2 => 8 |
2024-01-30 17:42 | c_schmitz | Note Added: 79359 | |
2024-01-30 17:42 | c_schmitz | Bug heat | 8 => 10 |
2024-01-31 07:58 | DenisChenu | Note Added: 79362 | |
2024-01-31 07:58 | DenisChenu | File Added: template-call.png | |
2024-01-31 07:59 | DenisChenu | Note Edited: 79362 | |
2024-01-31 07:59 | DenisChenu | Relationship added | related to 18473 |
2024-02-02 16:35 | c_schmitz | Note Added: 79396 | |
2024-02-14 17:25 | DenisChenu | Note Added: 79497 | |
2024-02-14 17:43 | DenisChenu | Note Added: 79498 | |
2024-02-14 17:53 | DenisChenu | Assigned To | => DenisChenu |
2024-02-14 17:53 | DenisChenu | Status | new => assigned |
2024-02-14 18:02 | DenisChenu | Note Added: 79499 | |
2024-02-15 16:44 | DenisChenu | Relationship added | related to 19426 |
2024-02-15 16:44 | DenisChenu | Note Added: 79525 | |
2024-02-15 18:40 | DenisChenu | Status | assigned => ready for code review |
2024-02-15 18:40 | DenisChenu | Note Added: 79530 | |
2024-02-15 18:41 | DenisChenu | Note Added: 79531 | |
2024-02-16 10:41 | DenisChenu | Assigned To | DenisChenu => c_schmitz |
2024-02-16 10:42 | DenisChenu | Note Added: 79533 | |
2024-02-26 09:36 | DenisChenu | Status | ready for code review => assigned |
2024-02-26 09:36 | DenisChenu | Note Added: 79624 | |
2024-03-05 17:24 | tibor.pacalat | Note Added: 79728 | |
2024-03-05 17:24 | tibor.pacalat | Bug heat | 10 => 12 |
2024-03-05 17:24 | tibor.pacalat | Assigned To | c_schmitz => DenisChenu |
2024-03-05 17:29 | DenisChenu | Note Added: 79731 | |
2024-03-05 17:30 | DenisChenu | Note Added: 79732 | |
2024-03-05 17:31 | tibor.pacalat | Note Added: 79733 | |
2024-03-07 12:31 | DenisChenu | Status | assigned => ready for code review |
2024-03-07 12:31 | DenisChenu | Note Added: 79756 | |
2024-03-07 12:32 | DenisChenu | Assigned To | DenisChenu => lajosarpad |
2024-03-23 11:17 | JanE | Issue Monitored: JanE | |
2024-03-23 11:17 | JanE | Bug heat | 12 => 14 |
2024-04-16 13:51 | tibor.pacalat | Status | ready for code review => resolved |
2024-04-16 13:51 | tibor.pacalat | Resolution | open => fixed |
2024-04-16 14:23 | JanE | Bug heat | 14 => 20 |
2024-11-19 18:14 | c_schmitz | Status | resolved => closed |