Skip to content
About
Main content
Trade-off

Generality vs. specialization

Where you meet it: general engines vs. purpose-built structures.

What it is

Choosing between physical and logical replication is the generality-versus-specialization trade-off (a general format works everywhere but costs more; a specialized one is fast but narrow), and again early versus late binding.

From Data Movement › CDC, replication, files

"Specialized engines always beat general ones for these workloads" is currently true and eroding, not permanent. It is an economic claim about where engineering effort has been spent. The gap narrows each time a general columnar engine absorbs an encoding or an index type. So "should this be a separate system?" is a cost question with a moving answer. The cost is only moved: a separate system relocates the cost from query speed into operations, and a general engine relocates it the other way.

From Specialized Processing Models › Earning its own system

Where it appears

In 10 mechanisms. Each says what the mechanism is about, then how this trade-off shows up there, in its own words.

Made on the same pages most often.