chore: more SQL optimizations and regexes for the tool

This commit is contained in:
Martin Ambrus
2017-10-23 19:20:15 +02:00
parent e90b1e921c
commit f6c7128148
4 changed files with 864 additions and 10 deletions
+5
View File
@@ -1,6 +1,11 @@
-- 23.10.2017 -> SQL optimizations
ALTER TABLE `s1_medal` ADD INDEX(`week`);
ALTER TABLE `s1_market` ADD INDEX `vref-accept` (`vref`, `accept`);
ALTER TABLE `s1_fdata` ADD INDEX(`f99`);
ALTER TABLE `s1_fdata` ADD INDEX(`f99t`);
ALTER TABLE `s1_diplomacy` ADD INDEX(`alli1`);
ALTER TABLE `s1_diplomacy` ADD INDEX(`alli2`);
ALTER TABLE `s1_diplomacy` ADD INDEX `type-accepted` (`type`, `accepted`);
-- 22.10.2017 -> SQL optimizations