Snowflake Replication Status Test

Snowflake allows the data to be replicated across databases, across regions, and even across accounts. Replication provides high availability of data and protects customer data against site failures and natural disasters.

The replication of data is resource consuming process and does have many points of failure where it can go wrong. It is important for administrators to be fully aware of status of replication process, so that they can ensure that data is replicated in timely manner and the expected level of robustness is maintained.

This test monitors the database replication process and collects statistics related to replication status, region, etc.

Target of the test : Snowflake Database Server

Agent deploying the test : A remote agent

Outputs of the test : One set of results for each database present in the snowflake region being monitored.

Configurable parameters for the test

Parameter

Description

Test period

How often should the test be executed.

Host

The IP address of the Snowflake.

Port

The port number through which the snowflake database server communicates. The default port is 443.

Warehouse Name

In this text box, enter the name of a virtual warehouse that needs to be monitored.

Database Name

In this text box, enter the name of a default database that will connect the snowflake server.

User

Specify the name of the user who has any of the following privileges to the specified.

Password

The password of the specified USER.

Confirm Password

Confirm the password by retyping it here.

Measurements made by the test

Measurement

Description

Measurement Unit

Interpretation

Is replication enabled?

Indicates for each database and each region, if replication is enabled.

Boolean

 

Is primary?

Indicates if the replication region is the primary region.

Boolean

If the region is primary, the detailed diagnosis will show the secondary region for the same.

Replication enabled regions

Indicates the number of secondary regions for the primary.

Number

 

Upload status

Indicates the transformation of bytes upload status.

String

Upload status will be any one of the following completed / canceled /f ailed.

Primary uploaded data

Indicates the total number of bytes copied so far in the primary region.

MB

 

Secondary downloaded data

Indicates the tables and table columns of the primary database that have been copied over to secondary region.

MB

 

Data lag

Indicates the maximum acceptable amount of data loss an application can undergo before causing measurable harm to the business.

MB

 

Data lag duration

Indicates how much downtime an application experiences before there is a measurable business loss.

Seconds

A low value is desired for this measure.