Behind the phrase "we transferred the data and fed it into the model," frequently heard in artificial intelligence project presentations, lies serious database and data infrastructure engineering. Throughout my enterprise database engagements in the United Kingdom and various international markets, as well as when personally leading data centre migration and version/architecture modernisation projects for mission-critical financial systems with millions of active users and high transactions per second (TPS), the fundamental truth I have observed is this: the quality and operational continuity of a model depend on how solidly the data pipeline feeding it is designed.
Preparing large volumes of data reliably for the artificial intelligence and analytics layer requires clear answers to four fundamental questions: How frequently should data be extracted, how should the same entity be identified across different systems, where and how should transformations be performed, and how should performance degradation on live production systems be prevented during the extraction process?
1. Data Freshness and Extraction Frequency: Not All Data Moves at the Same Speed
Reading all data tables simultaneously and at the same frequency creates unnecessary CPU, network, and storage costs. Data must be segmented according to its rate of change and business requirements:
- Slowly Changing Data: Customer identity or core profile details do not change frequently; processing updates captured via incremental reads or Change Data Capture (CDC) at appropriate intervals is sufficient in most scenarios.
- Rapidly Changing Data: For continuously growing data such as transaction movements, partitioned transfers based on timestamps or transaction logs should be used rather than scanning the entire table.
- Alignment with Actual Business Need: How fresh the data needs to be at the moment of decision must be clarified with the business unit; requesting unnecessary real-time extraction for every dataset drives up costs.
2. Consolidating and Contextualising Data Across Disparate Systems
In enterprise environments, data does not reside in a single database; it may be distributed across different infrastructures due to separate business units or legacy and modern systems. The same customer or entity may be represented with different codes or formats across different systems. Four steps stand out for a healthy data pipeline:
- Landing Raw Data in a Safe Zone: Moving incoming data from disparate sources into a separate staging/analysis area in its natural state without altering it initially makes the source data more visible and understandable.
- Common Identity Resolution Framework: Which record belongs to which entity must be clearly established through an identity-matching framework that unifies cross-system equivalents under a single identifier along with effective validity time windows.
- Format and Standard Harmonisation: Aligning date-time, numeric, text, and code formats prior to consolidation prevents matching errors.
- Cleansing Duplicate and Conflicting Records: Duplicate or conflicting rows both multiply storage costs and cause the AI model to learn erroneous patterns; they must be filtered out using clear rules prior to consolidation.
3. Performing Transformations at Low Cost
When transformation steps are designed inefficiently, compute and storage bills grow rapidly. To keep costs under control:
- Process only records inserted or modified since the last run
- Query using date ranges and appropriate indexes/criteria instead of row-by-row full scans
- Avoid unnecessarily rewriting fields whose values have not changed
- Offload heavy transformation and analytical workloads to a separate analytics layer rather than the live production database
- Purge temporary tables, apply appropriate compression, and define retention periods upfront
4. Minimal Side Effects on Live Systems and My Direct Contributions in Projects
During data extraction and transformation, risks such as blocking/slowdowns on the live system or incomplete data in the pipeline may arise. The design and engineering contributions I personally undertook in data centre migration and version/architecture modernisation projects for financial systems with millions of users and high transaction volumes apply directly to data pipelines as well:
- Isolating Read and Reporting Workloads: In the previous architecture, reporting and data transfers during peak hours created disk I/O and resource pressure on the live system, delaying access to up-to-date data. By designing an Always On secondary replica architecture in our organisation, I routed read and reporting workloads to these replicas—significantly reducing the read load and I/O pressure on the production system while enabling analytical and reporting streams to access current data more reliably.
- Simulation and Data Consistency Within a Narrow Downtime Window: In the large-scale migration and modernisation projects I personally led, The business unit set a maximum downtime of 60 minutes and expected zero data loss.. When I simulated the migration steps, we saw that traditional backup/restore steps would exceed the allotted time due to high transaction volume; therefore, we applied disk-level synchronisation using the Volume Shadow Copy Service approach alongside modular phasing, and I safeguarded data integrity through bidirectional verification of control records, row counts, and table sizes across critical tables before and after cutover.
- Pre-Migration Monitoring and Query Optimisation: To prevent changes in execution plans and resource costs in the new version or architecture from causing surprises after go-live, I personally built a comprehensive monitoring infrastructure in the new environment during testing conducted with a copy of actual production data. Using data collected via Extended Events, DMVs, and operating system performance counters, I identified queries exhibiting performance degradation or high resource cost prior to cutover and resolved them through query tuning.
In summary, the success of artificial intelligence depends both on the algorithm engineered and on how solidly the data model feeding it is designed. How consistent the data pipeline feeding it is—and whether it is architected without straining the live system—impacts cost, protects day-to-day operations, and enables artificial intelligence to generate reliable decisions.
Vadihan Yalçın Evliyaoğlu — Senior Database and Data Infrastructure Architect
https://www.linkedin.com/in/vadihan-yalcin/