Page MenuHomePhabricator

Add sic_updated_timestamp column and associated indexes to the cusi_case table on WMF wikis
Closed, ResolvedPublic

Description

  1. ALTERs to run: https://gerrit.wikimedia.org/g/mediawiki/extensions/CheckUser/+/672094be322cae71913a8d6a66f6833330248895/schema/mysql/patch-cusi_case-add-sic_updated_timestamp.sql
  2. Where to run those changes: checkuser-suggested-investigations.dblist on the extension1 database cluster
  3. When to run those changes: When DBA has time
  4. If the schema change is backwards compatible: Yes
  5. If the schema change has been tested already on some of the test/beta wikis: CheckUser is not on the beta cluster, has been tested elsewhere
  6. If the data should be made available on the labs replicas and/or dumps: No changes needed to existing visibility (should all be private)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Marostegui claimed this task.
Marostegui subscribed.

This has been done

[11:03:32] marostegui@cumin1003:~/git/mediawiki-config$ sudo /home/marostegui/section x1   | while read host port; do echo "$host:$port"; sudo db-mysql $host:$port zhwiki   -e "show create table cusi_case\G" | egrep "sic_updated_timestamp_id"  ; done
dbstore1009.eqiad.wmnet:3320
  UNIQUE KEY `sic_updated_timestamp_id` (`sic_updated_timestamp`,`sic_id`)
db2231.codfw.wmnet:3306
  UNIQUE KEY `sic_updated_timestamp_id` (`sic_updated_timestamp`,`sic_id`)
db2215.codfw.wmnet:3306
  UNIQUE KEY `sic_updated_timestamp_id` (`sic_updated_timestamp`,`sic_id`)
db2201.codfw.wmnet:3320
  UNIQUE KEY `sic_updated_timestamp_id` (`sic_updated_timestamp`,`sic_id`)
db2197.codfw.wmnet:3320
  UNIQUE KEY `sic_updated_timestamp_id` (`sic_updated_timestamp`,`sic_id`)
db2196.codfw.wmnet:3306
  UNIQUE KEY `sic_updated_timestamp_id` (`sic_updated_timestamp`,`sic_id`)
db2191.codfw.wmnet:3306
  UNIQUE KEY `sic_updated_timestamp_id` (`sic_updated_timestamp`,`sic_id`)
db2186.codfw.wmnet:3306
  UNIQUE KEY `sic_updated_timestamp_id` (`sic_updated_timestamp`,`sic_id`)
db1264.eqiad.wmnet:3306
  UNIQUE KEY `sic_updated_timestamp_id` (`sic_updated_timestamp`,`sic_id`)
db1237.eqiad.wmnet:3306
  UNIQUE KEY `sic_updated_timestamp_id` (`sic_updated_timestamp`,`sic_id`)
db1225.eqiad.wmnet:3320
  UNIQUE KEY `sic_updated_timestamp_id` (`sic_updated_timestamp`,`sic_id`)
db1224.eqiad.wmnet:3306
  UNIQUE KEY `sic_updated_timestamp_id` (`sic_updated_timestamp`,`sic_id`)
db1220.eqiad.wmnet:3306
  UNIQUE KEY `sic_updated_timestamp_id` (`sic_updated_timestamp`,`sic_id`)
db1216.eqiad.wmnet:3320
  UNIQUE KEY `sic_updated_timestamp_id` (`sic_updated_timestamp`,`sic_id`)
db1179.eqiad.wmnet:3306
  UNIQUE KEY `sic_updated_timestamp_id` (`sic_updated_timestamp`,`sic_id`)