SYSTEM$TRIGGER_LISTING_REFRESH

functionsupportedNative apps, listings & sharing

docs.snowflake.com ↗

System functions

Triggers a one-time, on-demand data refresh for a provider’s databases or listings, accessible to all consumers. The refresh job begins immediately upon triggering and can be tracked using the LISTING_REFRESH_HISTORY function. Consumers can track the refresh using the AVAILABLE_LISTING_REFRESH_HISTORY function. You can trigger a listing refresh even if you have already set up a scheduled refresh or interval-based refresh. Note A completed trigger listing refresh will skip the next interval-based refresh. For details on the refresh types available for your listings, see Auto-fulfillment for listings.

Syntax

SYSTEM$TRIGGER_LISTING_REFRESH( '<type>' , '<name>' )

Parameters

NameRequiredDescription
'type'requiredType of dataset to refresh (LISTING or DATABASE). Note that the dataset type must be enclosed in single quotes.
'name'requiredName of the listing or database. Note that the entire name must be enclosed in single quotes.

Usage notes

Access control requirements

A role used to execute this operation must have the following privileges at a minimum: Privilege | Object | Notes MANAGE LISTING AUTO FULFILLMENT | Account | This privilege grants the ability to publish listings to remote regions. USAGE | Listing or database | For instructions on creating a custom role with a specified set of privileges, see Creating custom roles. For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.

See also