View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
03446 | Bug reports | Survey participants (Tokens) | public | 2009-07-07 15:43 | 2009-08-03 09:22 |
Reporter | Assigned To | c_schmitz | |||
Priority | normal | Severity | tweak | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.85+ | ||||
Fixed in Version | 1.85+ | ||||
Summary | 03446: Create indexes on tokens | ||||
Description | Indexes should be ceated on «runtime» token tables -- don't know how you're calling them. When importing tokens into large token tables, the more tokens in the table, the slower the import due to verification of duplicates (file admin/tokens.php). | ||||
Additional Information | Currently I'm using LimeSurvey 1.85 for a large scale survey, i.e. more than 20,000 tokens. I've had to import tokens in batches using CSV files. The more tokens in the database, the slower the import. I've fixed the problem temporarily by creating an index in the token table (a table lime_tokens_nnnnn that was created dynamically) with fields 'email', 'firstname' and 'lastname'. Now it's much faster to import and find duplicates. However I'd have to create these indexes manually each time a token table is created. The instruction is as follows: "CREATE UNIQUE INDEX limetokens<nnnnn>_names_idx ON limetokens<nnnnn>( email(120), firstname, lastname );" It was successfully tested and checked against a MySQL database. | ||||
Tags | No tags attached. | ||||
Bug heat | 2 | ||||
Complete LimeSurvey version number (& build) | 7121 | ||||
I will donate to the project if issue is resolved | |||||
Browser | |||||
Database type & version | 5.0.51a-3ubuntu5.4 | ||||
Server OS (if known) | Ubuntu 8.04.1 | ||||
Webserver software & version (if known) | apache-2.2.8-1ubuntu0.8 | ||||
PHP Version | php5-5.2.4-2ubuntu5.6 | ||||
@ c_schmitz: what do you think about it? is it possible to have these indices also with MSSQL and Postgres,... |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2009-07-07 15:43 |
|
New Issue | |
2009-07-07 15:43 |
|
Status | new => assigned |
2009-07-07 15:43 |
|
Assigned To | => user372 |
2009-07-07 15:43 |
|
Build Number | => 7121 |
2009-07-07 15:43 |
|
Database & DB-Version | => 5.0.51a-3ubuntu5.4 |
2009-07-07 15:43 |
|
Operating System (Server) | => Ubuntu 8.04.1 |
2009-07-07 15:43 |
|
Webserver | => apache-2.2.8-1ubuntu0.8 |
2009-07-07 15:43 |
|
PHP Version | => php5-5.2.4-2ubuntu5.6 |
2009-07-07 23:23 |
|
Note Added: 08787 | |
2009-07-07 23:23 |
|
Assigned To | user372 => c_schmitz |
2009-07-29 13:07 | c_schmitz | Status | assigned => resolved |
2009-07-29 13:07 | c_schmitz | Fixed in Version | => 1.85+ |
2009-07-29 13:07 | c_schmitz | Resolution | open => fixed |
2009-08-03 09:22 | c_schmitz | Status | resolved => closed |
2016-12-08 10:39 | c_schmitz | Category | Tokens => Survey participants (Tokens) |