View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 07900 | Bug reports | Survey taking | public | 2013-06-01 23:17 | 2013-06-14 14:27 |
| Reporter | mlhess | Assigned To | c_schmitz | ||
| Priority | normal | Severity | partial_block | ||
| Status | closed | Resolution | won't fix | ||
| Summary | 07900: add indexes to tokens_SID and survey_SID tables when created | ||||
| Description | We have a install with over 300,000 tokens and 250,000 taken surveys. We have to add the indexes by a hand. Please add indexes so that queries don't slow down. | ||||
| Additional Information | The build number is wrong below. I have done a checkout of 2.05 from git. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 130424 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | mysql | ||||
| Server OS (if known) | linux | ||||
| Webserver software & version (if known) | apache | ||||
| PHP Version | 5.4 | ||||
| Git branch / Pull Request URL | |||||
|
What indexes are you missing? |
|
|
In looking at in more detail, at some point they were not added. We have added a create index on survey_SID token (token). Can we have the upgrade script create this? |
|
|
I am sorry but we won't create a separate DB version for a simple fix like that. Any DBA should be able to create a script for all token tables that adds missing indexes. Anyway, it is not a bug of LimeSurvey, at least not anymore. |
|
|
This should give you a start: |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-06-01 23:17 | mlhess | New Issue | |
| 2013-06-02 10:36 | c_schmitz | Note Added: 25443 | |
| 2013-06-02 10:36 | c_schmitz | Assigned To | => c_schmitz |
| 2013-06-02 10:36 | c_schmitz | Status | new => feedback |
| 2013-06-02 15:00 | mlhess | Note Added: 25445 | |
| 2013-06-02 15:00 | mlhess | Status | feedback => assigned |
| 2013-06-14 14:26 | c_schmitz | Note Added: 25527 | |
| 2013-06-14 14:26 | c_schmitz | Status | assigned => closed |
| 2013-06-14 14:26 | c_schmitz | Resolution | open => won't fix |
| 2013-06-14 14:27 | c_schmitz | Note Added: 25528 |