Cleanup message archive Openfire 3.6.4

Hey all!

Tried to find the steps to follow in order to clean the message archive but couldn’t find the ready solution.

Guys can you please help me with purging openfire records from ms-sql db?

I have 800 users online and DB with 3 y.o. history…

My openfire ver. is 3.6.4, SQLDB is MSSQL2012, users are authenticated via AD.

Thanks in advance!