"Tell me about a complex data migration where you faced unexpected performance bottlenecks and tight deadlines."
Spearheaded the zero-downtime migration of 45TB of legacy Teradata data into AWS Redshift, refactoring 120+ BTEQ scripts and reducing batch window time by 62%.
Situation (Scale & Risk)
Our enterprise global supply chain analytics platform relied on an on-premise Teradata cluster running at 94% storage capacity with annual licensing costs exceeding $1.4M. Executive leadership mandated a complete cloud migration to AWS Redshift within 4 months.
Task (Ownership & Scope)
I was the Lead Data Engineer responsible for designing the migration blueprint, refactoring legacy BTEQ scripts, establishing continuous data reconciliation, and executing a zero-downtime cutover.
Action (Technical Execution)
- Conducted automated AST parsing of 120+ Teradata BTEQ scripts to extract business logic, translating proprietary Teradata functions (e.g., QUALIFY, TD_MONTH_BEGIN) into Redshift SQL equivalents.
- Redesigned Redshift distribution and sort keys: applied COMPOUND sort keys on transaction timestamps and DISTSTYLE KEY on customer_id, eliminating costly cross-node data broadcasting.
- Engineered an incremental dual-write ingestion pipeline using AWS DMS (Database Migration Service) and S3 staging buckets with parallel COPY commands and GZIP compression.
- Implemented an automated checksum & row-count reconciliation script in Python (Pandas/Great Expectations) that flagged discrepancies across 1.2 billion rows prior to final cutover.
Result (Hard FinOps & ROI)
- ⚡Delivered the cutover 2 weeks ahead of schedule, saving the organization $650,000 in legacy renewal fees and cutting annual infrastructure cost by 54% ($760K/yr).
- ⚡Reduced the daily batch ETL execution window from 7.5 hours down to 2.8 hours (62% performance improvement).
- ⚡Achieved 99.99% data reconciliation parity across all 45TB without a single production data loss incident.
Related STAR Behavioral Examples
Refactoring 300+ Spaghetti SQL Models into Modular dbt: Slashing Snowflake Spend by $45,000/Month
Refactored a sprawling 300-model analytics warehouse repository into layered dbt DAGs with incremental clustering, reducing Snowflake credit consumption by 58% ($540K/yr savings).
Data Engineer / Big DataDiagnosing & Remedying a Silent Data Corruption Bug in an Airflow DAG Ingesting $120M in Billing Transactions
Diagnosed a non-deterministic race condition in Apache Airflow task concurrency that caused duplicate revenue entries, restored complete data fidelity across 80M rows, and built circuit-breaker safeguards.