Closed
Bug 991841
Opened 12 years ago
Closed 11 years ago
[tracking] dev/stage: reduce database size for dev/stage instances
Categories
(Cloud Services :: Operations: Marketplace, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: oremj, Unassigned)
References
Details
(Whiteboard: [repoman])
We need to figure out how to reduce the size of our dev/stage databases, so we can host more instances and bring them up faster.
Comment 1•12 years ago
|
||
marketplace dbs are about to shrink like crazy when we remove the AMO stuff from them
Comment 2•12 years ago
|
||
Can we do anything to reduce the size of amo database? At first look I think we can prune *_counts tables on dev and stage.
Comment 3•12 years ago
|
||
yeah, I think there is precedent for that. Can we reduce dev and not stage? If you want to delete anything older than Jan 1 2014 in those tables on -dev, I'd say go for it. CCing krupa so she knows.
| Reporter | ||
Comment 4•11 years ago
|
||
(In reply to Wil Clouser [:clouserw] from comment #1)
> marketplace dbs are about to shrink like crazy when we remove the AMO stuff
> from them
Are there any bugs open for removing data from the marketplace database?
Flags: needinfo?(clouserw)
Updated•11 years ago
|
Whiteboard: [repoman]
Comment 5•11 years ago
|
||
Yessir.
Bug 999123 - [AMO] Clean up the FS after guillotine
Bug 999125 - [Mkt] Clean up the FS after guillotine
Bug 999117 - [AMO] Clean up the database after guillotine
Bug 999119 - [Mkt] Clean up the database after guillotine
Flags: needinfo?(clouserw)
| Reporter | ||
Comment 6•11 years ago
|
||
I've truncated update_counts, download_counts and theme_user_counts in dev/stage.
| Reporter | ||
Comment 8•11 years ago
|
||
Wil, can we add a migration, so these are truncated everywhere?
Flags: needinfo?(clouserw)
Comment 9•11 years ago
|
||
fwiw I just committed this which drops those tables (plus a bunch of others) b/c the code that uses them is now gone:
https://github.com/mozilla/zamboni/commit/a16cb6c3
Flags: needinfo?(clouserw)
| Reporter | ||
Updated•11 years ago
|
Summary: Dev/Stage: reduce database size for dev/stage instances → [tracker] dev/stage: reduce database size for dev/stage instances
| Reporter | ||
Updated•11 years ago
|
Summary: [tracker] dev/stage: reduce database size for dev/stage instances → [tracking] dev/stage: reduce database size for dev/stage instances
| Reporter | ||
Updated•11 years ago
|
Component: Server Operations: AMO Operations → Operations: Marketplace
Product: mozilla.org → Mozilla Services
Version: other → unspecified
| Reporter | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•