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

This widget could not be displayed.

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
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

603 views 8 6
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