RH-SSO takes long time to count users in a sizeable realm
Issue
When I run following commands to count users in a sizeable realm (it contains million users), it takes more than a minute.
<RH_SSO_HOME>/bin/kcadm.sh get users/count -r <realm name>
Environment
- Red Hat Single Sign-On (RH-SSO)
- 7.5.x or before
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.