Author: metatron
Description:
Queries on logging-table perform different on different wikis.
Atm there are different key definitions on eg. enwiki and dewiki
- enwiki has a key log_user_text_time(ok to have), dewiki doesn't
- dewiki has a key log_user_type_time(important to have), enwiki doesn't
- same for log_title_time / log_page_id_time
enwiki | CREATE TABLE `logging` ... PRIMARY KEY (`log_id`), KEY `type_time` (`log_type`,`log_timestamp`), KEY `user_time` (`log_user`,`log_timestamp`), KEY `page_time` (`log_namespace`,`log_title`,`log_timestamp`), KEY `times` (`log_timestamp`), KEY `log_page_id_time` (`log_page`,`log_timestamp`), KEY `log_user_text_time` (`log_user_text`(16),`log_timestamp`), KEY `log_title_time` (`log_title`(16),`log_timestamp`) ) ENGINE=TokuDB AUTO_INCREMENT=58015836 DEFAULT CHARSET=binary `compression`='tokudb_zlib'
dewiki | CREATE TABLE `logging` ... PRIMARY KEY (`log_id`), KEY `type_time` (`log_type`,`log_timestamp`), KEY `user_time` (`log_user`,`log_timestamp`), KEY `page_time` (`log_namespace`,`log_title`,`log_timestamp`), KEY `times` (`log_timestamp`), KEY `log_user_type_time` (`log_user`,`log_type`,`log_timestamp`), KEY `log_page_id_time` (`log_page`,`log_timestamp`) ) ENGINE=TokuDB AUTO_INCREMENT=62684641 DEFAULT CHARSET=binary `compression`='tokudb_zlib'
Schema change progress
- s1
- eqiad progress T71127#5014493
- codfw
- s2
- eqiad progress T71127#5056993
- codfw
- s3
- eqiad progress T71127#5064877
- codfw
- s4
- eqiad progress T71127#5014495
- codfw
- s5
- eqiad progress T71127#5014497
- codfw
- s6
- eqiad progress T71127#5017757
- codfw
- s7
- eqiad progress T71127#5039574
- codfw
- s8
- eqiad progress T71127#5031391
- codfw
- wikitech
- labswiki
- labtestwiki