<div dir="ltr"><div dir="ltr">Hi Sven,<div><br></div><div>You'll probably be better served by switching your purge time units to hours instead of months; this will provoke purging much smaller amounts of data, much more frequently (once per hour instead of once per month). Also, depending on your job throughput, and how long your DB has been storing records, you might find even that smaller amount of purge activity too impactful on DB performance. If that's the case, you could start, for example, with the hours equivalent to 15 months (10800 hrs), and decrement that value over a period of days down to your 12-month (8640 hrs) target.</div><div><br></div><div>Best,</div><div>Lyn</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 22, 2019 at 11:41 PM Sternberger, Sven <<a href="mailto:sven.sternberger@desy.de">sven.sternberger@desy.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hello!<br>
<br>
I want to archive old parts of our Database, but I don't<br>
understand the paragraph "archive functionality" in the <br>
man-page from sacctmgr.<br>
<br>
I want to archive everything older than one year<br>
I guess I have to execute<br>
<br>
sacctmgr archive dump Directory=/foo Events Jobs Steps SuspendĀ PurgeEventAfter=12month PurgeJobAfter=12month PurgeStepAfter=12month PurgeSuspendAfter=12month<br>
<br>
Is this correct?<br>
<br>
Best regards!<br>
<br>
<br>
Sven Sternberger<br>
System Engineer<br>
DESY IT<br>
<br>
</blockquote></div>