RH-SSO takes long time to count users in a sizeable realm

Solution In Progress - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content