Forums

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

looking for postgres request with confluence

Ndofunsu September 7, 2022

Hi,

On confluence server Instance ,  I would like to get with just one request on my database:

-  the list of spaces

-  the last access date

- the name of the admin of each space.

The goal is to identify active and passive spaces of this instance.

Best regards,

Roger

1 answer

0 votes
aorlov September 12, 2022

Hi @Ndofunsu 

You can try and get spaces

select * from spaces;

And then you can get users something like that

select * from user_mapping where user_key in  (select creator from spaces);

You can add distinct etc...

Suggest an answer

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

Atlassian Community Events