Need ideas for an Oracle SQL query to find all Space Administrators


I asked a question several days ago looking for help with finding all of our space administrators, and I thank those who responded. We have tried a user macro to try to generate a list of all space administrators, but we have 50,000+ users and about 180 spaces. Our best bet (with minimal pain/stress on our system) is likely an SQL query.

We are using an Oracle database for our Confluence installation. Unfortunately, some of the SQL queries we have found or that have been provided to us will not work with our database.

Has anyone ever written an SQL query to create a list of space administrators for an Oracle database?


Brett Creech
Purdue University

2 answers

0 votes
Mirek Community Champion Sep 09, 2013

Hi Brett,

Take a look at my user macro solution to list all spaces and administrators.

I am using this on a instance that have around 200 spaces and it is working fine for me.

I hope that will help.

Best Regards,


Hi Mirek, just to verify this macro will return a list of all spaces and the space administrators?


Mirek Community Champion Sep 10, 2013

Yes (but only global spaces not personal). In addition I have used expand macro to make view as a list and then if you want you can show only admins from specific space.

I hope you will like it

Best Regards,


Mirek, unfortunately it didn't work for us. The macro did indeed return a list of all spaces, but it didn't return the space admins.

Mirek, unfortunately the macro didn't return the list of space administrators - it did return each space but no administrators.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,118 views 59 8
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