matomo-org / matomo-org/matomo-for-wordpress
provide clear database usage stats in the WordPress admin area
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 145
- Forks
- 35
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 6
Description
Matomo can end up using up a lot of database space. This is expected since it's an analytics application, it tracks everything that happens, so for high traffic sites, that will equate to a lot of data. This may also not happen immediately but over time. It would thus be useful to keep the user notified about how much data is being used, especially since taking up space can cause issues with other aspects of WordPress (for example, a database backup plugin).
Information that would be useful to display to the user:
* percent of total database size used for matomo data
* amount of data in the log tables (including % of total database size)
* amount of data in the archive tables (including % of total database size)
* information regarding alternative products and migration paths for them so the user knows what their options are if they need to switch
If the percent of total database size is > a certain amount or the amount of data goes past a threshold we may want to consider showing a notification to the user. I'm unsure what the threshold should be however.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Begin by locating the WordPress admin area and the code that calculates Matomo database usage, then check how log and archive tables are represented. The scope still needs decisions on database-size measurement, thresholds, notifications, and migration guidance before completion can be defined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100