Page MenuHomePhabricator

Drop flaggedrevs tables at metawiki
Closed, ResolvedPublic

Description

MariaDB [metawiki_p]> show tables like 'flag%';

+------------------------------+

| Tables_in_metawiki_p (flag%) |

+------------------------------+

| flaggedimages                |

| flaggedpage_config           |

| flaggedpage_pending          |

| flaggedpages                 |

| flaggedrevs                  |

| flaggedrevs_promote          |

| flaggedrevs_statistics       |

| flaggedrevs_tracking         |

| flaggedtemplates             |

+------------------------------+

9 rows in set (0.00 sec)

FlaggedRevs was never used on Meta-Wiki and I suspect it was briefly added there as some sort of experiment. I don't think keeping those tables is needed.

Event Timeline

I would assume the data is necessary to be backed up, no?
There is only data on these tables:

flaggedrevs
+----------+
| count(*) |
+----------+
|      185 |
+----------+
flaggedrevs_promote
+----------+
| count(*) |
+----------+
|      846 |
+----------+
flaggedrevs_statistics
+----------+
| count(*) |
+----------+
|    99380 |
+----------+

They have not been written since 2014/2015

I have backuped them just in case and left them at: dbstore1001:/srv/backups/tmp/T193390.tar.gz

Mentioned in SAL (#wikimedia-operations) [2018-05-03T05:59:32Z] <marostegui> Drop mostly empty flagged* tables from metawiki (s7) - T193390

Marostegui claimed this task.
Marostegui triaged this task as Medium priority.

Dropped them

Vvjjkkii renamed this task from Drop flaggedrevs tables at metawiki to dzdaaaaaaa.Jul 1 2018, 1:13 AM
Vvjjkkii reopened this task as Open.
Vvjjkkii removed Marostegui as the assignee of this task.
Vvjjkkii raised the priority of this task from Medium to High.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed subscribers: MarcoAurelio, Aklapper.
Marostegui renamed this task from dzdaaaaaaa to Drop flaggedrevs tables at metawiki.Jul 1 2018, 6:23 PM
Marostegui closed this task as Resolved.
Marostegui claimed this task.
Marostegui lowered the priority of this task from High to Medium.
Marostegui updated the task description. (Show Details)
Marostegui added subscribers: MarcoAurelio, Aklapper.