Title
Page icon
Create new category
Edit page index title
Edit category
Edit link
Snowflake Compute Integration
Connecting Snowflake to ADOC lets you monitor and optimize the performance and cost of your Snowflake compute resources. Once connected, ADOC can:
Track credit consumption to improve cost efficiency.
Provide automated alerts and diagnostics for query performance and compute utilization.
This page covers Compute Observability setup only. If you're also enabling Data Reliability Monitoring for Snowflake — crawling, query analysis, schema drift, or data quality checks — see the separate Snowflake Reliability integration page for that setup. The two capabilities are configured independently, and this page doesn't cover Data Reliability fields.
Prerequisites
Set up Snowflake so ADOC can securely monitor compute activity, with a dedicated user and role scoped to only what's needed. Run every step below from the Snowflake Web UI or a SQL editor (SnowSQL or a Snowflake IDE), using an account with ACCOUNTADMIN privileges.
You'll create:
Role/User | Purpose |
|---|---|
| The role granting access to monitor Snowflake credit and performance data. |
| The user ADOC authenticates as for compute observability and cost tracking. |
Core setup
Run the following as ACCOUNTADMIN. This creates the monitoring warehouse, role, and user, and grants the role access to the views and privileges ADOC needs — including CREATE STAGE, which lets ADOC create and manage its own stage under this role. You don't create or own the stage yourself; ADOC handles that automatically once the role has this privilege.
If you're reusing an existing user instead of creating AD_USER, update its defaults instead:
To change the role assigned to an existing user later:
Choosing how ADOC authenticates to the stage
ADOC creates and manages its own Snowflake stage automatically as part of Compute Observability — you don't create or provision this stage yourself. What you do choose is how ADOC authenticates to the underlying cloud storage for that stage:
Storage Integration | How it authenticates | Where credentials live |
|---|---|---|
Off (default) | Static AWS access keys embedded directly in the stage definition. | Stored in your Snowflake account. |
On (recommended) | ADOC assumes an IAM role via AWS STS, using short-lived, automatically-rotated credentials. | Nothing is stored in your Snowflake account. |
Turning on Storage Integration is optional, but recommended for tighter security — it avoids storing any long-lived credentials in Snowflake. If you plan to enable it, grant the role permission to create the integration:
You'll configure the Storage Integration toggle itself later, in Step 3 below.
Enabling org-wide monitoring (optional)
To monitor usage across every account in your Snowflake organization instead of a single account, enable the ORGADMIN role. This grants access to the ORGANIZATION_USAGE schema for consolidated, org-wide monitoring.
Add Snowflake as a data source
Step 1: Start setup
Navigate to the left main navigation menu, select Control Center > Integrations.
On the Integrations page, select Add Data Source, then Snowflake.
On the Basic Details page:
Enter a name for this data source.
(Optional) Add a description.
Choose your Data Plane, or select Setup Data Plane to create one.
Enable Compute Observability. (You can also enable Data Reliability Monitoring here if needed — see the Snowflake Reliability page for that configuration.)
Select Next.
Step 2: Add connection details
Enter the Snowflake URL (for example,
https://<account>.snowflakecomputing.com).Provide the Snowflake credentials: Username, Password, and Role (for example,
AD_COMPUTE_MONITOR).(Optional) Enable OAuth: toggle Enable OAuth and provide the Authorization Endpoint, Token Endpoint, Client ID, Client Secret, and optionally PKCE.
Select Test Connection. A "Connected" message confirms success; otherwise, recheck the credentials and role.
Select Next.
Step 3: Set up Compute Observability
Fill in the following:
Field | What to enter |
|---|---|
Warehouse | One or more Snowflake warehouses to monitor. |
Database | The monitoring database name (default: |
Cost per Credit | Your cost per Snowflake credit (for example, 2.5). |
Query Cost Type | Acceldata Attributed Query Cost, or Snowflake Attributed Query Cost. |
Snowflake Fetch Past Data | The historical range to backfill (15 days to 1 year). |
Polling Schedule | Time and time zone for scheduled polling. |
Storage Integration | On or off — see Choosing how ADOC authenticates to the stage above. |
These settings let ADOC compute credit usage and query-level metrics from Snowflake, giving you visibility into workload cost and efficiency.
Select Submit. A new Snowflake card appears on the Data Sources page with connection details.
Optimizing data partitioning
To tune performance for large datasets, adjust Snowflake's default parallelism using this environment variable in your ADOC Data Plane configuration:
Field | Description |
|---|---|
Default Snowflake Partition | 100 MB |
ADOC Default | 2000 MB |
Use Case | Lower the value to increase parallelism for large datasets. Smaller partitions mean higher concurrency and faster processing. |
Setting up PrivateLink (optional)
Connect Snowflake to ADOC over AWS PrivateLink for a private network path instead of the public internet — improving isolation, security, and latency.
Prerequisites: an AWS account with the necessary permissions, a VPC in us-west-2, and a ready Snowflake account.
Step 1: Authorize PrivateLink access
Share your AWS account ID with the Acceldata support team, who will authorize it for PrivateLink connectivity. This is a one-time setup per AWS account.
Step 2: Create VPC endpoints
In the AWS Management Console, navigate to VPC > Endpoints > Create Endpoint, and create both of the following (region must be us-west-2):
Service Name | Endpoint |
|---|---|
ADOC Control Plane |
|
Secure Relay |
|
Step 3: Configure DNS using Route 53
In Amazon Route 53, navigate to Hosted Zones for your domain and add these A records:
Record Name | Type | Value |
|---|---|---|
| A | The IP address of the ADOC Control Plane VPC endpoint. Replace |
| A | The IP address of the Secure Relay VPC endpoint. |
Use least-privileged IAM roles when creating and attaching these endpoints.
Troubleshooting
Issue | Possible cause | Resolution |
|---|---|---|
Stage creation fails | The role lacks the | Confirm the |
OAuth fails | The user's default role or namespace isn't set, or the user has the ACCOUNTADMIN role. | Ensure the Snowflake user used for OAuth doesn't have the ACCOUNTADMIN role, and re-authenticate via ADOC. |
Connection test fails | Invalid credentials, missing grants, or an incorrect role. | Double-check the Snowflake URL, credentials, warehouse, and role permissions. |
What's next
After connecting Snowflake Compute in ADOC:
Visit Snowflake Costs and Snowflake Performance to view warehouse performance, credit usage trends, and query execution metrics.
Set up monitors for spikes in compute usage, query slowdowns, or unusual activity.
Use Snowflake Warehouse to get sizing and scheduling recommendations based on usage patterns.
For additional help, contact www.acceldata.force.com OR call our service desk +1 844 9433282
Copyright © 2025