How many disk space does a Jira attachment use
When a 2.2MB image file is uploaded to Jira, a thumbnail will also be generated to facilitate fast preview experience
# ls -ltr
-rw-r-----. 1 jira jira 2308842 Jul 28 10:24 12100
drwxr-x---. 2 jira jira 54 Jul 28 10:24 thumbs
# ls -ltr thumbs/
-rw-r-----. 1 jira jira 68970 Jul 28 10:24 _thumb_12100.png
Summary
Location | Purpose | Size |
---|---|---|
Jira Home Directory | Original File | 2.2 MB |
Jira Home Directory | Thumbnail | 67.4 KB |
Backup Server | Original File | 2.2MB |
Backup Server | Thumbnail | 67.4 KB |
Since most Jira instances should have a backup, the total disk usage increases to 4.53 MB which is 206% of the original file size.
So you may be using 500GB of disk space to store only 242GB of image attachments.
Does Jira archiving helps to reduce the disk usage?
Jira’s in-built issue archiving does not delete the attachments. It only hides the issue.
By archiving an issue, you can hide it in Jira, but preserve the data it contains in case you need it later.
Hence, it is a best practice to strip away useless attachments.