Amsterdam / GOB-Management

GOB Management
Mozilla Public License 2.0
0 stars 0 forks source link

Clean logs #54

Open Vegter opened 5 years ago

Vegter commented 5 years ago

Logs should be cleaned (and optionally archived) at a regular basis.

Only the log messages of the last N days should be kept in the database

Vegter commented 5 years ago

A proposed solution ( @toolunious ) is to create materialized views that only contain the logs of the last N days. Management queries run as per default on these views instead of on the whole table.