In brief

  • A data warehouse migration to Snowflake has seven stages: inventory, scope, schema and SQL conversion, historical load, pipeline rebuild, parallel run and cutover. The parallel run is the stage teams skip and later regret.
  • Most of the effort is in the jobs and report logic, not the data. Tables copy quickly. Stored procedures, ETL jobs and report calculations have to be rewritten and tested.
  • Snowflake has no indexes to tune, does not enforce most constraints and bills compute by the second. Plan tests, clustering and cost limits around those differences before you load anything.

When a team moves to Snowflake, the first question from finance is usually whether last month’s numbers will change. A migration is finished when the people who own the reports agree that they have not. This guide covers the order of work, the checks that prove the result and the settings that keep the bill predictable.

What changes when you move to Snowflake?

Snowflake separates storage from compute and removes much of the tuning a traditional warehouse needs. Some of what your current platform does for you no longer happens, so decide how you will replace it.

How common warehouse features map to Snowflake
In your current warehouseIn SnowflakeWhat to do
Indexes and statistics tuned by handAutomatic micro-partitions, with optional clustering keysDrop the index definitions. Add a clustering key only to very large tables that are always filtered on the same columns
One server or cluster sized for peak loadVirtual warehouses that start, stop and resize independently of storageCreate separate warehouses for loading, transformation and BI, each with auto-suspend
Primary, unique and foreign keys enforcedDeclared but not enforced on standard tables; only NOT NULL is enforcedAdd tests for duplicates and missing parents to the pipeline
Stored procedures in T-SQL, PL/SQL or BTEQSnowflake Scripting, JavaScript or Python procedures, or SQL models in a tool such as dbtRewrite set-based logic as models and keep procedures for work that is truly procedural
Licenses or fixed nodesCompute billed per second while a warehouse runs; storage billed separatelySet resource monitors and short auto-suspend times from the first day
Backups and restore jobsTime Travel and zero-copy clonesUse clones for test environments and Time Travel to recover from accidental changes

How do you migrate a data warehouse to Snowflake, step by step?

  1. Inventory what exists. List the tables with their sizes and row counts, the ETL jobs and schedules, the stored procedures, the reports and their owners, and the users and roles. Query logs show which tables and reports are still used. Those that are not do not need to move.
  2. Decide what moves first and what gets redesigned. Lift and shift keeps the table structures and gets you off the old platform sooner. A redesign fixes the model and takes longer. A common compromise is to move structures as they are, then remodel one subject area at a time.
  3. Convert schemas and SQL. Map the data types, for example DATETIME to TIMESTAMP_NTZ and money types to NUMBER with a fixed scale. Decide how to handle identifier case, because Snowflake stores unquoted names in upper case. Translate dialect-specific functions. Snowflake’s SnowConvert tool translates much of the code from SQL Server, Oracle, Teradata and other sources; treat its output as a first draft to review and test.
  4. Load history. Export tables to compressed Parquet or CSV files in cloud storage, create a stage and load them with COPY INTO. Load the largest tables in date ranges so that a failure repeats only one range. Record row counts and control totals for every load.
  5. Rebuild the pipelines. Point ingestion at Snowflake using batch loads, Snowpipe for files that arrive continuously, or the ELT tool you already use. Then rebuild the transformations in dependency order and schedule them with tasks, dbt or your orchestrator.
  6. Run old and new in parallel. For at least one full reporting cycle, usually a month-end, load both warehouses from the same sources and compare them every day.
  7. Cut over report by report. Switch a report when its totals match and its owner has signed off. Keep the old warehouse read-only for an agreed period, then switch it off.

How do you prove the Snowflake numbers match?

Compare the two warehouses at three levels, from the cheapest check to the one people care about.

  • Row counts for each table and each load date.
  • Control totals: sums of the key amounts and counts of distinct keys by period.
  • Report figures: the numbers on the reports people use, such as month-end revenue by entity, agreed with the old report for closed periods.

Inside Snowflake, the HASH_AGG function returns one fingerprint for a whole table, which is a quick way to confirm that two Snowflake copies are identical after a reload. Between platforms, rely on counts and totals, because hash functions differ from one system to another.

Keep a log of every difference. Some are improvements, such as a duplicate removed or a rounding error fixed. Each one needs a reason and the name of the report owner who accepted it. The same method is described in our guide to checking a reporting migration.

What does Snowflake cost to run after the migration?

Snowflake charges for compute while a virtual warehouse is running, by the second with a one-minute minimum each time it resumes, and for compressed storage by the month. Compute is usually the larger part, and it is the part you control.

  • Auto-suspend every warehouse after a minute or two of inactivity, with auto-resume on.
  • Start with small warehouses and increase the size only when a specific workload needs it.
  • Set resource monitors that alert, then suspend a warehouse, at a credit limit.
  • Give each workload its own warehouse so you can see what loading, transformation and BI each cost.
  • Budget for the overlap. During the parallel run you pay for both platforms, so agree its length in advance.

Snowflake cutover checklist

  • Every table in scope has matching row counts and control totals for closed periods.
  • Each report owner has signed off their report, and accepted differences are recorded.
  • Roles, grants and service accounts have been reviewed, with no shared administrator logins.
  • Resource monitors and auto-suspend are set on every warehouse.
  • BI connections, extracts and downstream exports point to Snowflake.
  • Schedules on the old platform are disabled, not deleted.
  • A rollback decision time and the person who makes that decision are agreed.
  • The old warehouse is read-only and has a date for decommissioning.
  • The runbook and data dictionary describe the new platform.

Common mistakes in a Snowflake migration

  • Converting procedures line by line. Row-by-row loops that were tolerable on the old server are slow and expensive in Snowflake. Rewrite them as set-based SQL.
  • Moving everything. Unused tables and reports add conversion and testing work for no benefit.
  • Skipping the parallel run to save a month of double running costs. Differences then surface in front of the people who use the reports.
  • One large warehouse for every workload, left running. Costs rise and nobody can tell which workload caused them.
  • Assuming constraints still protect the data. Without tests, duplicates arrive silently.

Frequently asked questions

How long does a data warehouse migration to Snowflake take?

The schedule depends on the number of jobs and reports more than on data volume. A first phase covering one subject area, with its pipelines and reports, typically takes weeks. A full warehouse with hundreds of jobs takes months, most of it spent converting and testing logic and running in parallel.

Can we migrate to Snowflake from SQL Server, Oracle, Teradata or Redshift?

Yes. These are the common sources and the stages are the same for each. What differs is the SQL dialect and procedure language you convert from, and how the history is exported.

Do we need dbt to use Snowflake?

No. Snowflake runs SQL, scheduled tasks and stored procedures on its own. A modeling tool such as dbt helps once you have many dependent transformations, because it adds version control, tests and documentation.

Should we lift and shift or redesign the data model?

Lift and shift when the priority is leaving the old platform by a fixed date. Redesign when the current model is the reason reports are slow or disputed. Many teams move the structures first, then remodel one subject area at a time once the old platform is switched off.

Plan a Snowflake migration with MV.tech Solutions

Our data warehouse and ETL migration service covers inventory, conversion, parallel runs and report sign-off, and our Snowflake consulting covers modeling, cost and access after the move. Our founder has moved reporting to Snowflake and checked the Power BI figures against their sources. Comparing platforms? Read the guide to migrating a data warehouse to BigQuery. To start, tell us which pipeline or report should move first and how you will check the result.