Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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 ?

2 answers

0 votes

Does that link suggest that the purpose Nic doesn't like this Confluence characteristic request is because they work for a employer that produces a competing plug-in

0 votes

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?

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 :)

@Sattesh Maran 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
Published in Confluence Cloud

🎨 Add some visual life to your templates

Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...

238 views 4 9
Read article

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