Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Reporting on space size in Confluence (mostly attachments)

Thomas Ehardt
Contributor
August 25, 2013

I haven't found an answer to this question on here, and I'm surprised it's not something that's built-in to Confluence.

What I'd like is to get a summary report by space. Most importantly, count and size of attachments, but general information about each space would be useful as well (e.g. number of pages, pages per day created, etc.).

This doesn't have to be in a Confluence page, so any sort of solution would suffice.

3 answers

1 accepted

2 votes
Answer accepted
Joachim Ooi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 25, 2013

Hi Thomas,

Apparently this feature is still not there in Confluence yet. There are almost 2 quite similar new feature request that you can vote, comment, and watch it:

If you are from using OnDemand, then this is information is something that you cannot get access of. However, if you are using Behind The Firewall server, then the workaround would be to make a full export of your space (ensure you ticked the box "Include hidden pages") and check the size of the export later.

Cheers!

Thomas Ehardt
Contributor
August 25, 2013

grumble grumble grumble

I voted on CONF-11155 as it most matches what I'm looking to do. Thanks!

1 vote
Gregory Hicks
Contributor
August 28, 2017

This is for SQL 2016, just fyi it is case sensitive. I also have a conversion for MB convert(decimal (8,2), (sum(LONGVAL) / 1024.)/1000).

 

select
s.SPACEKEY,
-- sum(LONGVAL)
convert(decimal (8,2), (sum(LONGVAL) / 1024.)/1000)
FROM
CONTENTPROPERTIES cp
JOIN CONTENT c
ON
cp.CONTENTID = c.CONTENTID
JOIN SPACES s
ON
s.SPACEID = c.SPACEID
WHERE
c.CONTENTTYPE = 'ATTACHMENT'
AND
cp.PROPERTYNAME = 'FILESIZE'
GROUP BY
s.SPACEKEY
;

0 votes
David Sinur October 2, 2013

Thomas, if you still need this, try https://answers.atlassian.com/questions/93767/information-about-disc-space-used-by-different-spaces. It's a user macro that gives you that information plus some. It only reports the MB size of the attachments and not the whole space though.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events