Page MenuHomePhabricator

Purge readthrough caches before applying schema adjustments
ClosedPublic

Authored by epriestley on Oct 1 2014, 5:08 PM.
Tags
None
Referenced Files
F15515107: D10616.id25485.diff
Fri, Apr 18, 7:44 AM
F15512863: D10616.id25485.diff
Thu, Apr 17, 2:35 PM
F15512264: D10616.id.diff
Thu, Apr 17, 9:19 AM
F15509096: D10616.diff
Wed, Apr 16, 9:35 AM
F15451032: D10616.diff
Fri, Mar 28, 7:47 PM
F15422976: D10616.id25485.diff
Sat, Mar 22, 11:46 AM
F15408448: D10616.id25494.diff
Mar 18 2025, 11:07 PM
F15406636: D10616.id25485.diff
Mar 18 2025, 1:00 PM
Subscribers

Details

Summary

Ref T1191. The bulk of the slowness in T1191 is copying tables. In some cases, we can't avoid this, but we have various readthrough caches which may be very large and are safe to drop, and dropping them is very quick (much less than 1 second). In particular, dropping the changeset_parse_cache made the process at least ~8 minutes faster on secure.phabricator.com (I killed it after 8 minutes, so I'm not sure what the real number is).

Test Plan

Ran bin/storage adjust and saw it drop caches before applying adjustments.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Purge readthrough caches before applying schema adjustments.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Oct 1 2014, 7:14 PM
This revision was automatically updated to reflect the committed changes.