View Issue Details

IDProjectCategoryView StatusLast Update
3352Composrstatspublic2018-03-25 00:30
ReporterChris Graham Assigned ToChris Graham  
PrioritynormalSeverityfeature 
Status resolvedResolutionfixed 
Summary3352: Change "Stats retention time" option
DescriptionInstead of how many days to keep it, change it to how many MB of total data to keep.
This is more in line with what people need.

Default it to 50MB?

https://stackoverflow.com/questions/1733507/how-to-get-size-of-mysql-database

Remove from the Setup Wizard.
TagsGood for training
Attach Tags
Time estimation (hours)1
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Relationships

related to 3351 ResolvedChris Graham Installer and Setup Wizard simplification 

Activities

Chris Graham

2018-03-25 00:30

administrator   ~5620

Resolved, but this is implemented very very differently.

Doing it by filesize is going to be unreliable (databases don't clean out garbage always), and database-vendor-specific.

Doing it by filesize or number of rows is not what a lot of people will want anyway. Most people probably do want it done by days so they have a certain amount of back-data.

DB quota is not an official MySQL feature.

So instead I've added a new health check that checks database size. This is MySQL-only. You can configure how big you want to let the database get.

Issue History

Date Modified Username Field Change
2017-11-05 19:50 Chris Graham New Issue
2017-11-05 19:50 Chris Graham Description Updated
2017-11-05 19:51 Chris Graham Relationship added related to 3351
2017-11-26 15:18 Chris Graham Tag Attached: Can implement during live chat
2018-03-25 00:30 Chris Graham Note Added: 0005620
2018-03-25 00:30 Chris Graham Status Not Assigned => Resolved
2018-03-25 00:30 Chris Graham Resolution open => fixed
2018-03-25 00:30 Chris Graham Assigned To => Chris Graham
2019-06-27 19:42 Chris Graham Tag Renamed Can implement during live chat => Good for training