0 votes

Hello @All,

I use external logging in MSSQL and now we have 29GB database size and i want to cleanup the logs older that 6 month.
The biggest tables are:

a) Operations
b) Operations2OperationTypes

What can I do to cleanup the entries in the db?

Thanks ;)
Arne Tiedemann

by (360 points)

1 Answer

0 votes
by (216k points)
selected by
Best answer

Hello Arne,

To cleanup events older than 6 months, execute the following command on your SQL Server:

DELETE FROM [AdaxesLogDB].[dbo].[Operations] WHERE [OperationStartTime] < DATEADD(month, -6, GETDATE())

where AdaxesLogDB is the name of the logging database.

Related questions

0 votes
1 answer

We'll be updating over 14K accounts with data (adding data to a virtual attribute) using a scheduled task but I don't want the updates to trigger Business Rules and flood the Adaxes log with entries. Is there an easy way to prevent this?

asked Apr 12, 2022 by sandramnc (870 points)
0 votes
1 answer

Hello again, I am planning the upgrade to 2013.2, but I would like to do it to a new server. The documentation is about using the same server (http://www.adaxes.com ... would like to have the current one migrated (SQL Settings). Thank you very much in advance

asked Nov 25, 2013 by Pierre (750 points)
0 votes
1 answer

It appears that the "Cancel all meetings organized by the user" is removing all past meetings from the calendar even though the start date is set to "Current ... meetings while retaining the historical data of the previous meetings that have already happened.

asked 6 days ago by jmatthews (250 points)
0 votes
1 answer

For example, if their old password was "Password1", if they try to change it to "Password2" it would block the password reset since it doesn't meet the password requirements.

asked Sep 10, 2024 by tsinball (20 points)
0 votes
1 answer

If a user is disabled, I would like the following process to be automated: Direct reports of this disabled user (user A) are reassigned to new active user (user B) who ... is sent to User B indicating User As direct reports have been transferred to User B

asked Apr 29, 2022 by Cavolick (80 points)
3,706 questions
3,389 answers
8,562 comments
549,795 users