Sync status reference¶
Database objects and procedures¶
The following database objects are created through the file observability/sync_status.sql.
PUBLIC.SYNC_ STATUS¶
View exposed to the ADMIN and VIEWER roles and providing information about the synchronization status of the connector.
The main functionalities are based on the tables APP_STATE, GENERIC_CONNECTOR_STATS, INGESTION_DEFINITIONS,
be careful when overwriting so that the view is still usable.
The view contains the following columns:
statusSTRINGlast_synced_atTIMESTAMP_NTZ
With the following statuses available:
PAUSEDwhen the connector is paused.LAST_SYNCEDwhen at least one run ended with COMPLETED status.SYNCING_DATAwhen there is an enabled resource but no runs ended with COMPLETED status.NOT_SYNCINGwhen no runs were started and all resources are disabled.DISCONNECTEDthis state is not supported yet.
Related tables and views¶
Sync Status is related to and dependent on the objects from the following files:
core.sql(See Core SQL reference)observability/connector_stats.sql(See Connector stats reference)ingestion/ingestion_definitions_view.sql(See Resource definition and ingestion SQL reference)