Page MenuHomePhabricator

Add partitioning to editors tables
Closed, DeclinedPublic

Description

Without partitioning if we INSERT OVERWRITE (rather than INSERT INTO) then we would overwrite all of the existing data. With partitioning we only overwrite if the partition exists.

Currently this is an issue for:

Those tables would need to be re-created with per-month partitioning.

This would also make them much faster to query.

Event Timeline

mpopov renamed this task from [KPM] Add partitioning to editors tables to Add partitioning to editors tables.May 10 2022, 10:22 PM
mpopov moved this task from Triage to Upcoming Quarter on the Product-Analytics board.
nshahquinn-wmf subscribed.

As part of T359207, I will be converting these intermediate tables to use Iceberg, which removes the need for partitioning.