Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to clear a very large confluence_log

Anass Bouayadi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 12, 2019

MyJira stopped working and when I troubleshooted, it looks like the confluence_log in my MSSQL is up to 300GB.  What do I have to do to clear it  and what is the proper SQL request? 

Thank you, 

2 answers

0 votes
Anass Bouayadi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 16, 2019

Hi Andy, 

Thank you so much for replying to my post.  Actually, I found a YouTube video on how to resolve this issue and it did work for me. 

 

Thanks again, much appreciated it.

 

Anass

0 votes
Andy Heinzer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 16, 2019

Hi Anass,

It sounds like you have a MS SQL database that is set to use a Full recovery model.  This recovery model is known to create large log files of every change in SQL.

In the case of a database used for Jira or Confluence, there typically is not a need to keep that level of recovery.   In which case you can switch to a model such as Simple instead.  Steps to do this are in View or Change the Recovery Model of a Database (SQL Server)

Granted, I would recommend that you stop the application using that database (Confluence) before you make this change.  It's also a good idea to create a new database backup after you do this.  These steps should shrink that log significantly.

I hope this helps.

Andy

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events