Replies: 3 comments
-
|
There's nothing baked in as peoples requirements re: record keeping vary. Things like the |
Beta Was this translation helpful? Give feedback.
-
|
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'; |
Beta Was this translation helpful? Give feedback.
-
|
I'd be careful with |
Beta Was this translation helpful? Give feedback.
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?
Beta Was this translation helpful? Give feedback.
All reactions