antonioribeiro / antonioribeiro/tracker

Feature: purge old records

Open
#255 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
2.9k
Forks
594
PR merge metrics
No merged PRs in 30d

Description

Hi, I am not sure whether this is actually something anybody has run into yet, or everybody just RYO'd a solution for this.

I am using this package, albeit an older 2.x version, in production. It has a mediate amount of traffic, so now the tracker tables have made the database size grow from ~70MB to 500MB+ in less then a year. So for us that is not sustainable, especially since we don't necessarily want to keep the data forever. I am aware of the option to keep the tables on a different database, but even then I think it would not always be necessary to store forever.

So perhaps this package could include a feature to delete every record older than . Is that something you agree with?

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are mentioned. First clarify the configurable business rule, which tracker records and tables it covers, and how purging should be triggered; done means the package can safely delete records older than the agreed retention policy.

Written by the indexing model from the issue text.

Assessment

Tech stack
laravel, php
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.