What is data ingestion?
Data ingestion moves data from source systems to a destination while managing arrival timing, checks on the data, and recovery when a transfer is interrupted.
Data ingestion is the process of collecting data from source systems and moving it to a destination where it can be stored or used. Sources may include a business management system, an order database, or sensors in a factory; the destination may be an analytics and reporting platform. Data can move in periodic batches or continuously as a stream of events, each recording something that occurred. The choice depends on how fresh the data must be when it is used, what the source supports, and the consequences of an interruption. Ingestion also means knowing what arrived, how to identify missing data, and how to resume without distorting the results. Transformation, which makes data fit for its intended use, can happen before or after loading; that decision is separate from the transfer itself. A fast pipeline can still deliver incomplete or incorrect data.
See also: Batch vs streamingBatch and streaming are two ways to process data: batch works on bounded data sets, while streaming can update results as new records arrive over time.
Choosing a transfer method
The choice between batch and streaming starts with the operational need: a scheduled load may suffice for a report reviewed after the daily close; a continuous stream may be needed when a decision depends on frequent updates. Change Data Capture (CDC) detects database changes, such as inserts and deletes: it is not a third cadence alongside batch and streaming. Some tools read the transaction log and produce a stream of changes.
For example, the Debezium PostgreSQL connector documentation describes a consistent initial snapshot of the data followed by changes recorded from that point on. The log does not necessarily retain the full history: starting only with available changes can leave earlier data out. Initial loading and recovery after a long interruption therefore need to be designed together.
An enterprise example
A hypothetical company brings orders and warehouse inventory into its analytics platform. For its daily summary it can load orders at the end of the day; for inventory it can capture database changes more frequently. Before starting the stream, it agrees on which tables to read, who may access them, and how much delay is acceptable. It records the time of the last data received and compares totals with the source. If the transfer stops, an alert identifies the interval to recover and a designated owner checks that the systems match again.
Why it matters for decision makers
When evaluating a vendor, ask how fast data moves and what happens when a transfer stops. The Debezium FAQ explains that after an unexpected crash, some events can be reread from the saved position, producing duplicates. The Apache Kafka documentation notes that preventing duplicates in an external destination generally requires coordination with that destination. A key that identifies each record and a recovery test therefore matter more than a blanket promise of exactly-once delivery.
Data quality also covers completeness and timeliness. The NIST Research Data Framework, written for research data, also considers provenance and integrity checks. In business settings, recording the source, ingestion time, check results, and who owns corrections likewise helps trace which reports depend on disputed data.
Frequently asked questions
Related terms
- Batch vs streamingBatch and streaming are two ways to process data: batch works on bounded data sets, while streaming can update results as new records arrive over time.
- CDC (Change Data Capture)A technique that captures changes in a source database (inserts, updates, deletes) and propagates them to the data platform in near real time.
- ETL vs ELTETL and ELT are data preparation approaches: ETL transforms data before loading it, while ELT loads it first and transforms it in the destination system.
- Data qualityHow fit your data is for its intended use: complete, correct, fresh and consistent across systems. Measured, not declared.
- BackpressureThe mechanism by which a system signals upstream that it cannot keep pace, instead of collapsing silently.
If it touches your company's data, getting that data in order is the first thing I do.
See Data Foundations