In order to improve the database space usage, wbc_entity_usage tables of all wikis are to be moved to the "extension" database cluster (x1).
Steps involved:
Part 1: Code changes
- Adjust Wikibase logic to have a separate database configuration for the entity usage storage, using virtual domain: T424185
- Query migrations
Part 2: Tables/backfilling
- wbc_entity_usage tables of all wikis are moved to x1 cluster: T424440
- switch the Wikibase config to point to x1 for entity usage storage
- Details of rollout strategy to be defined, might want some gradual rollout etc