How to get the total number of users in Jira Server and Data Center
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
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.
*Fisheye および Crucible は除く
目的
Having too many users in your Jira Server and Data Center instance can result in instance instability and increase the time for directory synchronization and user authentication.
If you’re experiencing performance issues or want to make sure that you don’t exceed the recommended guardrails, you should check the total number of users in your system.
ソリューション
To get the total number of users in your instance, run the appropriate query against your database:
Run the following query if you're using PostgreSQL, MySQL, or Oracle Database:
SELECT DISTINCT count(lower_email_address)
AS user_count
FROM cwd_user;
Run the following query if you're using Microsoft SQL Server:
SELECT DISTINCT count(lower_email_address)
as user_count
FROM [jiraschema].cwd_user;