Forums

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

Space creation stats per user

Dominic Oliaro August 9, 2023

Hi all,

 

Is there a way to query the database for the amount of spaces that each user has created?

I can do pages like this..

select
u.lower_username,count(u.lower_username)
from content c join user_mapping u on c.CREATOR=u.user_key
where c.CONTENTTYPE in ('PAGE') AND c.PREVVER is NULL
group by u.lower_username
order by count(u.lower_username) DESC

 

but can i get that stat data for just how many spaces a user has created?

1 answer

0 votes
Nic Brough -Adaptavist-
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 9, 2023

Welcome to the Atlassian Community!

Confluence does not record the space creator, beyond making them the initial admin (which can be removed)

I would want to look at why you want to know this?  Why does it matter?

Dominic Oliaro August 10, 2023

Its mostly for analytics purposes, we can get mostly everything from the built in analytics, except how many spaces a user has made.

Nic Brough -Adaptavist-
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 10, 2023

Yes, but what?   Why does it matter how many spaces someone creates? What question are you trying to answer?

Dominic Oliaro August 10, 2023

It gives us more insight on how our users are using confluence, Im not sure why this question is relevant?

Nic Brough -Adaptavist-
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 10, 2023

I am also stuck on why this question is relevant.  I can not see why you need to ask it.  Why does it matter that people create spaces?

Dominic Oliaro August 11, 2023

Why does any analytical piece of data matter then? Why is there a whole analytics section included in confluence? Its a piece of data that we would like to analyze for how our confluence instance is being used, and which users are creating the most spaces. We have close to 10,000 spaces on our instance and the more information we can get, the better.

Nic Brough -Adaptavist-
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 11, 2023

Because it's useful to know that people are looking at pages, what is and is not being edited or kept up to date - generally what content is useful.  

What would knowing that person X created Y spaces tell you that is of any use?  It's not going to tell you anything useful for your housekeeping, usage analysis, and upgrade.

Dominic Oliaro August 11, 2023

Its useful to us to see how users are using confluence. For instance, our users are separated by roles...knowing how many spaces are created by managers vs employees or by organization is useful to us. Same thing with creating pages, which i can get.

Nic Brough -Adaptavist-
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 11, 2023

But how does that help you with what you are trying to do?

I know that after the first couple of "why?" questions, it becomes difficult, but in this case, the question still stands.  For each of your managers, employees, and organisations, why do they care who is creating spaces? 

Dominic Oliaro August 11, 2023

Im not sure why knowing how many pages a user creates is useful but how many spaces they create isnt?

Nic Brough -Adaptavist-
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 12, 2023

Page creation tells you who is actively creating content.  I don't think that is of much use.

But we still don't know why you think "who created a space" is a useful metric.  Why do you think is useful?  What would the numbers tell you, and lead you to take action on it?

Dominic Oliaro August 14, 2023

One thing I wanted to look into is if certain users are creating mass amounts of spaces and why, what their role is in our company, and if these spaces are being used. But without that metric of "how many spaces a user has made" I cant

I don't really see a reason why it should be considered completely useless, more data is just more information. But if there is no way to do it, id rather just move on from this and find an answer somewhere else

Nic Brough -Adaptavist-
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 15, 2023

"If the spaces are being used" is absolutely useful.  You definitely want to know if something is being used - if it's not, consider dumping it!  But I don't understand how "who created a space" might be in the slightest bit useful.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.19.4
TAGS
AUG Leaders

Atlassian Community Events