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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

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
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

408 views 23 8
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