Projections Insert Amplification Under Kafka Ingestion
Each projection adds a physical write, so size ingestion for the full path.

Kafka ingestion into tables with materialized projections costs more than the incoming stream suggests. Each projection adds a physical write, and when data keeps arriving, that extra work is harder to keep up with. Correct provisioning therefore starts with the full write path, while effective tuning depends on whether projection count, record width, or downstream fan-out drives the pressure.
How materialized projections turn a single Kafka write into multiple storage writes
A materialized projection is a secondary, pre-sorted or pre-aggregated copy of the primary data. It is physical storage. When a record enters the database, the engine writes it to the primary part, then processes every defined projection. For each one, it writes the row in the required form, re-sorted, re-keyed, or re-aggregated, to that projection’s storage segment.
With N projections, this gives a basic write-amplification ratio of 1 + N. That describes the write destinations, whose resource consumption can vary. A projection with a different sort key or aggregation requirement still needs its own maintenance work. The engine performs that work because the copy must remain current as inserts arrive.
Why accept the duplication in the first place? A query-time computed view pays its computation cost on reads, whereas a materialized projection pays on writes so that reads stay cheap. The trade-off is deliberate, but the write-side obligation can be less visible than the query improvement. Every projection becomes part of the insert path, whether or not a query needs it at that moment.
Why Kafka ingestion is structurally different from bulk loads when projections are involved
A large bulk load gives the engine room to organize work before writing it. The engine can buffer records, sort them once per projection key, and write each projection in a sequential pass. The cost of getting the data ready is spread across millions of rows. The copies still have to be written. What changes is how much work the engine can combine before it touches storage.
Near-real-time Kafka ingestion offers a smaller batching window. Records arrive continuously in micro-batches, and each micro-batch triggers the full projection fan-out. With streaming delivery, the same projection count can drive write IOPS much higher even if it adds little overhead to a nightly load. Consumer poll interval and micro-batch size affect that window, but how fresh the data must be limits how much buffering is allowed. Streaming restricts the opportunity to amortize work.
Kafka delivers the full row even when a projection needs only a small subset of its columns, leaving the ingestion path to deserialize and re-serialize records for projection writes. Rednote’s 2026 migration case documents the corresponding consumer-side inefficiency. Services interested in a handful of fields still had to read and process entire records. As more services consumed those records, unnecessary I/O became bandwidth and compute cost.
The three factors that drive the amplification ratio higher
Projection count is the most direct driver of insert amplification. Each added projection gives every record one more write destination. Teams often add these copies incrementally as query patterns emerge, so the obligation grows without one conspicuous architectural decision. The increase is linear at this level. A design that was affordable when introduced can become expensive through a series of individually reasonable additions.
Record width sets how much data those operations have to process. Wider records increase serialization work even when individual projections use few columns, and upstream producers tend to add fields as features grow. Width does not change the basic count of destinations. Instead, it increases the work associated with reaching them. A write-count ratio alone cannot describe the full resource burden.
Different services may need different column subsets, sort keys, or aggregation granularities, so the need for projections grows with the number of teams and query shapes as well as with column count. Rednote’s case describes billions of records and tens of terabytes ingested per day, with fan-out reaching roughly 1,000x in some localized workloads. That figure describes consumer fan-out. It illustrates how widely a single wide record can be processed.
A wide table with many projections and high consumer fan-out can impose an order of magnitude more amplification than a narrow-schema, single-consumer arrangement. The useful distinction is between destination count and effective resource amplification. The first follows the projection definition. The second also reflects how much data moves and how often downstream work repeats.
How amplification turns into measurable resource pressure at streaming throughput
On an operator’s dashboard, the first sign may be elevated ingest-node CPU. Repeated serialization consumes compute, disk write throughput exceeds what raw ingest volume suggests, and simultaneous projection buffers increase memory pressure. These signals belong together. Seen on its own, each signal can look like a simple lack of capacity, even though they all stem from the same write path.
Query performance can deteriorate even though the added work begins with inserts. As ingestion competes with background merges for I/O, merges fall behind and part counts grow. Reads then suffer from the resulting fragmentation. At the same time, slower projection writes hold up the commit path, and Kafka consumer group lag rises. Adding consumers may appear to address that lag, but it does not remove the projection work that is slowing commits.
Historical traffic can make the contention harder to untangle. Before its migration, Rednote’s architecture had read amplification and pressure from cold-data replay, while historical scans and real-time consumers competed for resources. High-concurrency batch and incremental index builds consumed broker bandwidth and polluted the page cache. Online traffic shared that constrained I/O budget. For diagnosis, lag, merge pressure, and query degradation are therefore reasons to inspect projection count and record width alongside consumer throughput.
What the FluxSieve architecture shows about moving filtering work into the ingestion path
FluxSieve, from Dynatrace Research, proposes placing lightweight precomputation and filtering directly in the ingestion path. Its concrete architecture puts a stream-processing layer between Kafka and the analytical store, with integrations demonstrated using Apache Pinot and DuckDB. Rather than repeatedly evaluating expensive filters in the analytical query plane, the system evaluates stable predicates as records arrive.
What makes that shift worth the added ingestion work? If the same filter runs thousands of times, running it once per record spreads the cost across future queries. FluxSieve uses multi-pattern matching to evaluate filtering rules concurrently with minimal per-record overhead. It also allows rules to change on the fly without redeployment.
The write-side benefit depends on reducing what reaches storage. When ingestion-time filtering excludes records from the analytical working set, the database maintains its projections over less data. This pattern helps with stable, high-cardinality filter predicates while leaving the projection ratio unchanged, but excess projections and record width still need to be dealt with. It also introduces another component to operate and monitor, making it an architectural trade-off.
How columnar streaming storage attacks the problem at the record format level
Filtering cuts the number of records, while columnar streaming storage changes how much of each record has to move. A row-oriented log makes consumers read full records even when they need only some columns. A columnar path can return only the requested fields. With projection pushdown, the storage layer selects those columns instead of leaving consumers to deserialize and discard irrelevant data. The benefit grows with record width and fan-out.
Rednote’s Fluss migration illustrates this pattern in production. Upstream systems write through Apache Arrow, and downstream services read only the columns they need. The cost of consumption thus depends more on the data selected than on the full source-table width. Rednote reported that write-path CPU usage fell by about 30%, while write traffic fell by a substantial margin. Arrow-based writes and a layout better suited to the indexing workload reduced resource use and created headroom for traffic peaks.
Those results do not make every columnar layout interchangeable. Columnar streaming storage works well for column-scan reads, but changes how sequential single-row reads work. Parquet, for comparison, places columns contiguously within each row group in a hybrid row-column layout. The streaming layout is not a drop-in Parquet replacement. How much it helps depends on the access pattern, especially whether many consumers need different slices of wide records over and over.
The architectural levers engineers can use to control amplification ratio

The practical response starts with a projection audit, because it requires no infrastructure replacement. Engineers should examine which projections queries use, how frequently they use them, and which distinct query shapes each projection serves. Overlapping access patterns create opportunities to remove or consolidate copies. This directly reduces the number of maintained write destinations. It is the starting point even when a larger architectural change may eventually be necessary.
If the projections left after the audit are needed, engineers can then check whether small batches or wide records account for most of the cost. Longer consumer poll intervals allow larger micro-batches, so the engine can combine more work and cut write IOPS. The price is greater end-to-end latency. This fits workloads that tolerate seconds of latency. Where serialization dominates instead, schema discipline is more relevant, including auditing whether any projection uses each topic column and pruning unused fields at the producer.
If volume remains the problem, ingestion-time filtering becomes a candidate. Stable, high-cardinality predicates can shrink the working set without changing either projection count or schema width. If wide-table fan-out is unavoidable, however, columnar streaming storage addresses a different bottleneck by avoiding full-row transfers for narrow consumers. Fluss projection pushdown reduces data transfer and can improve performance up to 10x. This is the most invasive lever, but it has the broadest reach when many services need different subsets of the same wide records.
Compute-storage separation with isolated ingestion compute prevents projection maintenance from starving query-serving resources. Dedicated ingest nodes protect dashboards and analytical queries without reducing the amplification ratio itself. The distinction guides the choice of intervention. A system suffering from shared-resource interference needs isolation, while one spending too much on repeated writes needs a lever that reduces the work.
Provisioning correctly when projections are part of the ingestion design
Capacity planning must start from effective write rate. The primary write is only the first storage obligation. Disk throughput budgets must include projection writes separately, with the multiplier reconsidered whenever projection count or schema width changes. Otherwise, sustained ingestion can hit write stalls when projection maintenance competes for the same I/O budget. A raw-volume estimate leaves that competition out of the design.
Memory and CPU need equally explicit allowances. Each projection’s write buffer needs memory, and too little memory forces early flushes that add to part fragmentation and merge pressure. CPU must cover serialization, sorting, and hashing by projection key. Peak demand is the relevant sizing condition. Kafka delivery is bursty, and projection writes do not smooth those bursts the way background merge jobs do.
The operational measure is the ratio of observed write throughput to raw Kafka ingest throughput. Tracking it over time exposes changes associated with added projections and wider schemas before they become capacity incidents. A ratio far above what projection count alone suggests is a sign of more overhead, including merge pressure, and a reason to check serialization costs too. At that stage, columnar storage or ingestion-path filtering may offer more than additional hardware.
Useful projections exist because query performance requires work to be prepared in advance. Provisioning makes that obligation affordable only while the full write path remains within budget. When extra capacity stops scaling economically, engineers must decide which repeated work can be combined, narrowed, filtered, or isolated.


