How to get the total number of groups in Jira Server and Data Center

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Purpose

Having too many groups in your Jira Server and Data Center instance can impact instance stability — including outages and noticeable performance drops under heavy load — increase the time for directory synchronization and user authentication, and cause the unresponsiveness of the application access and group management UI.

If you’re experiencing performance issues or want to make sure that you don’t exceed the recommended guardrails, check the total number of groups.

Solution

To get the total number of groups in your system, run the appropriate query against your database:

SELECT DISTINCT count(*) 
AS group_count
FROM cwd_group; 
SELECT DISTINCT count(*) 
as group_count
FROM [jiraschema].cwd_group;
DescriptionSQL queries to get the number of inactive users with content assigned to them.
ProductJira, Jira Software, Jira Service Management
Last modified on Dec 21, 2022

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.