-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
c: DocumentationFor issues related to in-app product help messages, or to the Matomo knowledge base.For issues related to in-app product help messages, or to the Matomo knowledge base.not-in-changelogFor issues or pull requests that should not be included in our release changelog on matomo.org.For issues or pull requests that should not be included in our release changelog on matomo.org.
Description
Hi,
I'm unable to find any documentation on this config option:
delete_logs_unused_actions_schedule_lowest_interval
Feature was introduced in #13822
I've checked the forums and global.ini.php for help but there is no docs on its usage:
Lines 910 to 921 in 162513d
[Deletelogs] | |
; delete_logs_enable - enable (1) or disable (0) delete log feature. Make sure that all archives for the given period have been processed (setup a cronjob!), | |
; otherwise you may lose tracking data. | |
; delete_logs_schedule_lowest_interval - lowest possible interval between two table deletes (in days, 1|7|30). Default: 7. | |
; delete_logs_older_than - delete data older than XX (days). Default: 180 | |
delete_logs_enable = 0 | |
delete_logs_schedule_lowest_interval = 7 | |
delete_logs_older_than = 180 | |
delete_logs_max_rows_per_query = 100000 | |
enable_auto_database_size_estimate = 1 | |
enable_database_size_estimate = 1 | |
delete_logs_unused_actions_schedule_lowest_interval = 30 |
Reading from the code, I get that it is related to how often one should purge data in table log_action
.
I've made a PR to add some docs to this, #15492, but also to add a user-definable value for how many rows to analyze in one iterations. Our log_action
table contains >100M rows, so pruning data takes a while.
Metadata
Metadata
Assignees
Labels
c: DocumentationFor issues related to in-app product help messages, or to the Matomo knowledge base.For issues related to in-app product help messages, or to the Matomo knowledge base.not-in-changelogFor issues or pull requests that should not be included in our release changelog on matomo.org.For issues or pull requests that should not be included in our release changelog on matomo.org.