How to clear old "quotas_tracking" values in policyd

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
mscag
Posts: 25
Joined: Sat Sep 13, 2014 2:10 am

How to clear old "quotas_tracking" values in policyd

Post by mscag »

Hi,

We have installed policyd on our new Zimbra 8.8.12 and managed to configure it according to our needs. We have tried different policy and quota options during this process and decided to use capping through daily sending limits. Now it seems that there are some orphaned records in "quotas_tracking" table. We were expecting them to get deleted automatically in 24 or 48 hours, but they are still there.

Would it be OK if we delete these records manually, or would that cause any trouble ?

Regards.
imanudin11
Outstanding Member
Outstanding Member
Posts: 304
Joined: Sat Sep 13, 2014 2:23 am
ZCS/ZD Version: Release 8.8.15.GA.3829.UBUNTU16.64
Contact:

Re: How to clear old "quotas_tracking" values in policyd

Post by imanudin11 »

mscag wrote:Hi,

We have installed policyd on our new Zimbra 8.8.12 and managed to configure it according to our needs. We have tried different policy and quota options during this process and decided to use capping through daily sending limits. Now it seems that there are some orphaned records in "quotas_tracking" table. We were expecting them to get deleted automatically in 24 or 48 hours, but they are still there.

Would it be OK if we delete these records manually, or would that cause any trouble ?

Regards.
Hello,
You can try VACUUM cbpolicyd database : https://wiki.zimbra.com/wiki/How-to_for ... d.sqlitedb
Post Reply