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

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 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)
0 votes
0 answers

Hello, Where i'm actually working, it seems there is an "old dev" Adaxes environnement which was linked to the AD. The server has been deleted now, but it seems the Windows ... Even if i install a fresh client. Where those parameters came from a GPO i guess ?

asked Apr 26, 2016 by Alexandre (460 points)
3,552 questions
3,242 answers
8,243 comments
547,828 users