Determine the Number of ALTR Licenses Needed for Snowflake
ALTR licenses are issued per Snowflake data user, so the number of ALTR user licenses you need depends on how many active users query your Snowflake account.
To determine how many ALTR user licenses you need:
-
Execute the following command in your Snowflake database using the
ACCOUNTADMINrole, or a role grantedIMPORTED PRIVILEGESon theSNOWFLAKEdatabase (SYSADMINdoes not have this access by default):SELECTCURRENT_ROLE() AS ROLE_USED,TYPE,COUNT(*) AS USER_TYPE_COUNTFROMSNOWFLAKE.ACCOUNT_USAGE.USERSWHEREDELETED_ON IS NULLAND LOGIN_NAME <>'SNOWFLAKE'GROUP BYTYPE;This excludes the built-in
SNOWFLAKEuser and any deleted users. -
Review the
USER_TYPE_COUNTcolumn in the results to determine the number of ALTR user licenses your organization needs.