How does Confluence store attachments?

Hi All,

I'd like to ask you how Confluence does store attachments?

In file system or in database?

Thanks in advance,

Rumi

3 answers

1 accepted

1 vote

Either.

I wouldn't recommend one over the other until I have more detail. Large databases are a monumental pain in the neck to backup, or replicate for test, but for smaller Confluences can work fine.

The two questions that you need to think about are 1) do you want Confluence clustering? and 2) How big are your attachments going to get?

Hi Rumi,

take a look at this: https://confluence.atlassian.com/display/DOC/Attachment+Storage+Configuration

The answer is, it depends on your configuration.

I would recommend to store it in the database cause it makes backups easier in most cases.

Regards

Steve

Depends on the type of database you have available, its performance and features. For example if you can afford a well specified Oracle Database and sufficient cache memory then performance of confluence with attachments is pretty good.

If you also have a database replication option such as Active DataGuard then you can replicate your whole database (with attachments) to another site and configure confluence for high availability using DNS resolution.

Your attachments and pages are always going to be kept in sync on the remote site, and your recovery point and time of operation will be almost immediate.

If you were trying to do this with your attachments stored in a filesytem - perhaps using regular rsync with cron... in the event of failure the attachments are likely to be out of sync with the database data.

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...

2,089 views 25 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