ATTACHMENTDATA table growth

I'm using confluence 5.6 on MYSQL, my queries ( insert/update) are slow due to ATTACHMENTDATA table ( since size is ~200G), Is there any recommendation to speed up transactions querying ATTACHMENTDATA table?

1 answer

1 vote

Take the attachments out of the database and put them on local storage instead.

You'll need to do that in the long run anyway - attachments in the database will not be supported soon.

Hi Nic, can you point out for me where it says that Atlassian are moving away from storing attachments in the database? That's a bad move from my perspective and it's going to make life so much harder to maintain reliable backups. Currently we have the ability to do point in time recovery using Oracle features. Moving the files to the file system's going to make a mess of that.

My understanding is that putting the attachments in the database was a kludge from the start, a way to try to get Confluence Clustering to work. It makes the databases far too large to be usefully backed up as soon as you get to a medium/large system and it's unweildy in terms of the things Confluence tries to do with attachments. Backups (incremental or full) of a file system are far better for static blobs of data such as attachments.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

380 views 21 10
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you