목록으로

Programming Notes

데이터 웨어하우스 마이그레이션은 장기적인 아키텍처 이니셔티브로 시작되는 경우가 드물다.

Data warehouse migrations rarely begin as long‑term architectural initiatives. They begin when existing systems can no longer support how the business actually operates.

Queries that once supported daily reporting now struggle under increased data volume and concurrency. Overnight processing windows bleed into business hours. New analytics use cases require data structures the warehouse was never designed to support. Teams are asked to deliver faster insights, but the underlying architecture resists change at every turn.

At some point, incremental fixes stop working.

What many organizations underestimate is what migration reveals. Moving a 데이터 웨어하우스 is not just about changing platforms or rewriting SQL. It forces the 조직 to confront years of undocumented logic, forgotten integrations, and design decisions that quietly became production‑critical.

  • A retail company discovers that revenue reconciliation depends on implicit date handling behavior embedded deep in transformation logic.
  • A financial services firm finds hundreds of analyst‑created views labeled “temporary” that now feed executive dashboards.
  • A manufacturing organization uncovers ETL jobs running outside any orchestration framework, created years ago to solve a short‑term problem that never went away.

None of these realities are visible in architecture diagrams or system documentation. They surface only when teams attempt to move.

Production data systems evolve through countless small decisions made under deadline pressure. Each decision is reasonable in isolation. Over time, those decisions accumulate into tightly coupled environments that work only because teams have learned how to navigate their quirks. Migration brings all of that hidden complexity into view at once.

That is why successful data warehouse migrations do not start with tools or target platforms. They start with rediscovery. Teams that succeed invest time to understand what actually runs in production, not what documentation suggests should exist. They plan for timelines to change once real dependencies are uncovered. And they treat migration as an opportunity to correct architectural issues rather than carry them forward unchanged.

This guide is designed to help teams navigate that reality. It covers how different modern data platforms approach warehousing, the three phases of migration (assessment, planning, execution), common complications that extend timelines, and why treating migration as transformation rather than technical relocation leads to better outcomes.

Migrating to BigQuery, Snowflake, Redshift, Databricks, or Fabric

Each major cloud platform approaches warehousing differently. Treating them as interchangeable leads to performance problems and budget overruns.

BigQuery migration: Storage and compute separation

BigQuery’s serverless architecture eliminates infrastructure management and renders most traditional optimization strategies irrelevant. There are no servers to tune, no memory to allocate, no clusters to size. Performance optimization happens primarily through table structure, partitioning design, and query patterns.

BigQuery’s pricing model (link) charges by bytes processed. Organizations migrating from traditional warehouses often replicate indexing strategies through clustering, only to find queries still scan unnecessary data and generate unexpectedly high bills.

The shift requires rethinking ETL batch windows. Legacy systems often relied on nightly processing windows when the warehouse was otherwise idle. BigQuery separates storage and compute completely; there is no “idle” state to exploit. Jobs that assumed dedicated resources during batch windows need redesign to work in an environment where resources are allocated per query.

Redshift and AWS ecosystem integration

Redshift performs best when treated as part of the broader AWS data ecosystem rather than as a standalone warehouse. S3 becomes the staging layer for raw data. AWS Glue orchestrates transformations. Lambda functions trigger workflows based on events. Organizations that resist AWS integration by preserving existing tool chains create bottlenecks. Data movement between Redshift and non‑AWS services incurs latency and cost that wouldn’t exist with S3 staging.

Distribution styles and sort keys matter more in Redshift than in many monolithic legacy systems. Tables distributed on inappropriate keys create data movement across nodes during queries, degrading performance significantly. A fact table distributed by date when most queries filter by customer ID will shuffle data constantly. Correcting distribution strategy post‑migration requires dropping and rebuilding tables under production pressure when users report unacceptable query times.

Databricks and lakehouse architecture

Databricks pushes toward lakehouse patterns that blend structured warehouse operations with data lake flexibility. Delta Lake provides ACID transactions on file‑based storage, enabling direct queries against Parquet files with the reliability of traditional database tables. This requires embracing the lakehouse model, not replicating traditional warehouse structures.

Migration often requires deciding which data remains in structured tables versus semi‑structured formats. ETL pipelines built for rigid schemas may need significant redesign to handle JSON, nested structures, or streaming data effectively. Supporting diverse data types without separate storage systems justifies the architectural redesign.

Microsoft Fabric’s unified platform

Microsoft Fabric integrates data warehousing, lake storage, and analytics tooling into a single platform. Organizations already operating within Azure find this integration advantageous: data moves between services without complex configuration. Those migrating from other cloud platforms face steeper learning curves, particularly around OneLake storage patterns and how data flows between Fabric components.

Simply moving Synapse workloads to Fabric without architectural adjustment misses the platform’s design intent. Fabric assumes data will be accessed by multiple services (Power BI, data‑science notebooks, real‑time analytics) and often simultaneously. Schema design that worked for dedicated warehouse queries may not serve this broader access pattern well.

Snowflake’s virtual warehouse model

Snowflake’s separation of storage and compute fundamentally changes capacity planning. Multiple virtual warehouses can query the same data simultaneously without storage‑layer resource contention. This sounds straightforward, but traditional concurrency management and resource allocation don’t apply here.

Instead of sizing a single cluster for peak load, teams spin up compute resources as needed for specific workloads. A data‑science team can run complex transformations on a large warehouse while the finance team runs reports on a small one, both accessing identical underlying data. Without governance, however, costs escalate quickly as teams launch virtual warehouses without coordination.

Data Warehouse Migration: Assessment, Planning, and Execution

1. Assessment: What lives in production

Assessment means documenting what actually runs, not what system documentation claims should run.

Schema inventory priorities

  • Catalog tables, views, stored procedures, and functions
  • Map dependencies between objects
  • Identify structures that haven’t been accessed in years versus those queried thousands of times daily
  • Prevent wasting migration effort on abandoned objects

ETL complexity mapping (link)

  • Trace data flows from source systems through transformations to final reporting
  • Surface jobs running outside standard orchestration tools (cron schedules, manual scripts, legacy applications)
  • Locate hard‑coded business logic buried in transformation code rather than documented as rules

Integration touchpoints to document

  • Reporting tools and dashboards (the visible integrations)
  • Applications querying the warehouse directly
  • Data‑science workflows depending on specific table structures
  • File exports feeding downstream systems

Assessment commonly reveals complexity well beyond initial estimates, sometimes by a wide margin. Undocumented customizations, forgotten integrations, and tribal knowledge that never made it into runbooks all surface during comprehensive inventory.

2. Planning: Migration strategy selection

Migration strategy determines timeline, risk profile, and resource requirements. Three approaches exist, each with specific trade‑offs.

Lift and shift

Moves existing structures with minimal changes. Fastest timeline, but you carry forward all technical debt. Query performance issues that exist today will still exist after migration, potentially worse if the new platform’s optimizer works differently. Makes sense when timeline pressure is severe, when existing design is fundamentally sound, or when business‑disruption risk outweighs optimization benefits.

Replatforming

Migrates structure while optimizing for target‑platform capabilities. Distribution strategies convert to platform‑specific equivalents, indexes rebuild appropriately, data types adjust to match new platform characteristics. Balances speed with improvement when current design is solid but needs platform‑specific tuning.

(…the original content continues with the third strategy, “Refactor,” but it was truncated in the source.)