Replies: 3 comments
|
There's nothing baked in as peoples requirements re: record keeping vary. Things like the |
0 replies
|
OK, thank you. So in my case I might go for something like this. delete from grate."ScriptsRun" where entry_date <= NOW() - INTERVAL '2 years';
delete from grate."ScriptsRunErrors" where entry_date <= NOW() - INTERVAL '2 years';
delete from grate."Version" where entry_date <= NOW() - INTERVAL '2 years';
delete from grate."GrateScriptsRun" where entry_date <= NOW() - INTERVAL '2 years';
delete from grate."GrateScriptsRunErrors" where entry_date <= NOW() - INTERVAL '2 years';
delete from grate."GrateVersion" where entry_date <= NOW() - INTERVAL '2 years'; |
0 replies
|
I'd be careful with |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
After years of usage, the tables, especially ScriptsRunErrors, is growing. Is there a feature in grate to cleanup entries older than e.g. 1 year or similar? Or does anyone have some scripts that can cleanup these tables, without breaking any behaviour of grate?
All reactions