mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Database optimisation when downloading metadata
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
ALTER TABLE `sample_var` ADD INDEX ( `var_id` );
|
||||||
|
|
||||||
queXS 1.15.10 - Changes since 1.15.9
|
queXS 1.15.10 - Changes since 1.15.9
|
||||||
|
|
||||||
Fixes some bugs including optimising the questionnaire outcome page queries. Translations have also been updated (Thank you!)
|
Fixes some bugs including optimising the questionnaire outcome page queries. Translations have also been updated (Thank you!)
|
||||||
|
|||||||
@@ -1499,7 +1499,8 @@ CREATE TABLE `sample_var` (
|
|||||||
`var_id` bigint(20) unsigned NOT NULL,
|
`var_id` bigint(20) unsigned NOT NULL,
|
||||||
`val` varchar(256) COLLATE utf8_unicode_ci NOT NULL,
|
`val` varchar(256) COLLATE utf8_unicode_ci NOT NULL,
|
||||||
PRIMARY KEY (`sample_id`,`var_id`),
|
PRIMARY KEY (`sample_id`,`var_id`),
|
||||||
KEY `sample_id` (`sample_id`)
|
KEY `sample_id` (`sample_id`),
|
||||||
|
KEY `var_id` (`var_id`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
-- --------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user