mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 12:00:55 +01:00
51c2726a34
Summary: Add the differential parse cache to the GC. This is the largest object in the system by a wide margin, I think. This table is potentially gigantic which is why the script truncates it before doing a schema change. Test Plan: Ran the GC daemon, it cleaned up some parse caches. Reviewed By: jungejason Reviewers: tuomaspelkonen, jungejason, aran Commenters: tuomaspelkonen CC: aran, jungejason, tuomaspelkonen, epriestley Differential Revision: 620
7 lines
No EOL
281 B
SQL
7 lines
No EOL
281 B
SQL
TRUNCATE phabricator_differential.differential_changeset_parse_cache;
|
|
|
|
ALTER TABLE phabricator_differential.differential_changeset_parse_cache
|
|
ADD dateCreated INT UNSIGNED NOT NULL;
|
|
|
|
ALTER TABLE phabricator_differential.differential_changeset_parse_cache
|
|
ADD KEY (dateCreated); |