Copy auditor purge runs 30 mins
authorBill Erickson <berickxx@gmail.com>
Tue, 4 Oct 2016 02:14:10 +0000 (22:14 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Avoid triggering Zabbix alerts about backed replication (and, indeed,
limit clogged replication) by running the copy audit purge for 30 mins
total.  This results in ~3.5M rows deleted per night while still within
the cleanup phase.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
KCLS/utility-scripts/purge_auditor/purge-auditor.sh

index 30e36d8..813beb7 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-RUN_DURATION="1 hour"
+RUN_DURATION="30 mins"
 KEEP_CUR_ENTRIES="15"
 KEEP_OLD_ENTRIES="3"
 PIVOT_AGE="1 year"