It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can I prune scheduler_run_details table ?

I see in my confluence scheduler_run_details have +2 millions lignes.

The job "Purge Old Job Run Details" no remove old lignes in this table.

My first record in this table is from 2018-06-19.

Can I purge manually the scheduler_run_details table ?

1 answer

0 votes
satteshlikes Atlassian Team Sep 18, 2018

Hello Xarkam,

According to the scheduled job documentation, the "Purge Old Job Run Details" job only clears successful jobs that run more than 90 days ago.
So we're still within the time-frame.

That being said, there should be no issues with manually purging the table, but you should as always, test it on a test instance first, with the current database dump, or at least, have a full backup of Confluence and it's database, if you are going to run the delete query on production straight away.

Hope that helps.

Cheers,
Sattesh

Thanks,

 

Otherwise, is it possible to configure cleanup for logs older than 30 days?

satteshlikes Atlassian Team Sep 18, 2018

It looks like you should be able to change it from 90 days, to 30 days using the system property all.jobs.ttl.hour, as mentioned in the documentation below.

Here's a guide on configuring system properties.

Since the value is in hours, 30 days would be 720.

Cheers,
Sattesh 

Thanks.

I configured the option.

It was until he had to make a VACUUM after running the job :)

@satteshlikes There is a typo above, should be 'all.jobs.ttl.hours' not 'all.jobs.ttl.hour'

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

283 views 9 7
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you