SHOW REPLICATION ACCOUNTS¶
Lists all the accounts in your organization that are enabled for replication and indicates the region in which each account is located.
Use this SQL command instead of SHOW GLOBAL ACCOUNTS, which is deprecated.
If the Organization feature is enabled for your account, you can enable replication for your accounts. See Enable Replication for Accounts in Your Organization. If you do not have the Organization feature enabled, you can enable replication for your accounts by contacting Snowflake Support.
- See also:
SHOW REPLICATION ACCOUNTS [ LIKE '<pattern>' ]
Filters the command output by object name. The filter uses case-insensitive pattern matching, with support for SQL wildcard characters (
For example, the following patterns return the same results:
... LIKE '%testing%' ...
... LIKE '%TESTING%' ...
Only account administrators (users with the ACCOUNTADMIN role) can execute this SQL command.
The command does not require a running warehouse to execute.
The command returns a maximum of 10K records for the specified object type, as dictated by the access privileges for the role used to execute the command; any records above the 10K limit are not returned, even with a filter applied.
To view results for which more than 10K records exist, query the corresponding view (if one exists) in the Information Schema.
To post-process the output of this command, you can use the RESULT_SCAN function, which treats the output as a table that can be queried.
The command output provides global account properties and metadata in the following columns:
| snowflake_region | created_on | name | comment |
The command output for organizations that span multiple region groups includes an additional
| region_group | snowflake_region | created_on | name | comment |
Region group where the account is located. Note: this column is only displayed for organizations that span multiple region groups.
Snowflake Region where the account is located. A Snowflake Region is a distinct location within a cloud platform region that is isolated from other Snowflake Regions. A Snowflake Region can be either multi-tenant or single-tenant (for a Virtual Private Snowflake account).
Date and time when the account was created.
Name of the account.
Comment for the account.
Show all the global accounts whose name starts with
SHOW REPLICATION ACCOUNTS LIKE 'myaccount%';