A vectorized query engine is a Structured Query Language (SQL) engine that processes data in batches of column values instead of one row at a time. Each operator in the query plan, such as a filter, join, or aggregation, works on a whole batch per call, which cuts per-row overhead and lets central processing units (CPUs) and graphics processing units (GPUs) apply the same work to many values at once.
This article explains how vectorized execution differs from row-based processing, how the architecture relates to distributed query engines, how it extends to GPUs, and which bottlenecks it leaves in place. You will also get a short checklist for evaluating a vectorized engine against your own queries.
Key takeaways
- A vectorized query engine runs each operator on a batch of column values, not one row at a time. The SQL you write remains the same.
- Batches cut per-row overhead and make cache-friendly columnar processing and single instruction, multiple data (SIMD) instructions possible.
- Vectorization speeds up work inside a node, while massively parallel processing (MPP) spreads the work across nodes. The two stack, and operate in parallel.
- GPUs extend the same idea with thousands of cores and high memory bandwidth, with per-operator CPU fallback for unsupported operators.
- Storage, network, and data layout can still limit performance, so test with your own queries.
What a vectorized query engine does
A vectorized query engine processes data in batches of column values instead of one row at a time. Each batch, often called a vector, holds many values from a single column. Each operator in the plan, such as a filter, projection, join, or aggregation, works on a whole batch per call.
Row-based execution, also called tuple-at-a-time execution, takes the opposite approach. The engine passes one row through the operator tree, evaluates the expression for that row, and then repeats for the next. The logic is simple, but the engine pays the cost of moving through the operator tree for every row.
The SQL is identical in both models. Vectorization changes how the engine runs the plan, so an engine can get faster through execution changes without asking your team to rewrite queries.
How vectorized execution differs from row-based processing
Per-row overhead and function-call cost
In a traditional row-based engine, each operator is invoked once per row. Every invocation carries overhead from a function call, a type check, and a branch or two to decide what to do next. When a table has billions of rows, that fixed cost adds up, and it can outweigh the work of evaluating the expression itself.
A vectorized engine spreads that overhead across a batch. One call processes many values, so the engine pays the dispatch cost once per batch instead of once per row. The inner loop that does the real work becomes tight and predictable, which is easier for a compiler and a CPU to run efficiently. This is analogous in certain ways to the drag introduced by reading many small files, instead of larger files. The so-called small files problem.
Columnar layout, cache locality, and SIMD
Vectors are usually laid out in a columnar format, with values from one column stored next to each other in memory. That layout helps in two ways.
First, it improves cache locality. When an operator reads one column, it reads contiguous memory, so the CPU cache holds values the operator is about to need. Row-oriented access drags unrelated columns into the cache.
Second, it makes SIMD possible. SIMD stands for single instruction, multiple data. A modern CPU can apply one instruction, such as an add or a comparison, to several values at once when they sit side by side. Batches of same-typed values give the compiler and the engine a natural way to use those instructions. The gains vary with data types, expressions, and hardware, so a general speedup figure rarely holds for your workload.
How vectorization is processed in a query engine
Plan, stages, and splits, then operators
A query engine plans and runs SQL but stores no data. It parses the query, builds a plan with cost-based optimization, and divides the work into stages. Each stage is broken into “splits,” which are units of work over a slice of the data.
Vectorized execution happens below that level. Once a worker has a split, the operators that process it can run on batches of column values. Planning decides what work to do and where, and vectorized execution makes each worker’s share cheaper to process.
Vectorization inside each MPP worker, parallelism across workers
Massively parallel processing (MPP) spreads a query across many nodes so each node handles part of the data. Each of those nodes can also run vectorized operators. The two ideas stack, because MPP spreads the work across workers and vectorization makes each worker’s share cheaper to process.
This split helps when you diagnose performance. If a query can be divided further, adding nodes helps. If per-row overhead inside a node is the limit, vectorized execution helps. Neither replaces the other.
Pushdown reduces how much data reaches the vectorized operators
Query pushdown sends filters, projections, and sometimes aggregations to the source system, so less data reaches the engine’s operators in the first place. Vectorized operators then process a smaller input.
Starburst Nitro, a vectorized query engine
Starburst Nitro is a next-generation vectorized query engine rebuilt from the ground up by the creators of Trino to power continuous AI agent workloads and enterprise analytics. By processing Apache Iceberg and Parquet data in compact batches rather than row by row, Nitro delivers up to 3x faster queries in half the CPU time compared to open source Trino, without relying on caching or requiring data migration. It runs on your existing cloud or on-premises CPUs with the same Trino SQL, connectors, and governed data access, seamlessly handing off unsupported query steps to Starburst’s standard engine while complementing Starburst Torin for GPU-accelerated workloads.
How Nitro executes in batches
Nitro applies batch processing directly to Apache Iceberg tables stored in Parquet. Instead of moving a single row through each operator in the query plan, it evaluates a full batch of column values in one step. The engine is compact by design, which cuts down duplicate work on repeated values, and it reuses memory across operations to spend less time on allocation.
On standard TPC-H analytics benchmarks over Apache Iceberg tables running on NVIDIA Vera CPUs, Nitro finishes queries up to 3x faster in half the CPU time compared to open source Trino. Compared to Starburst’s standard engine, it cuts query time by 54% and CPU time by 68%. Because those gains come from how the engine executes the plan rather than from caching, a brand-new query runs just as fast as a repeated one.
Built for continuous AI agent workloads
AI agents query data differently than human analysts. A single agent task often triggers a long chain of exploratory queries, so per-query efficiency compounds quickly as more agents come online. Cutting CPU time in half per query lets platform teams run more concurrent agent workloads on the cloud or on-premises CPUs they already pay for, without hitting compute ceilings or waiting on cache warmups.
Seamless handoff and lakehouse integration
Vectorization does not require rewriting SQL or migrating data. Nitro runs the query steps it can accelerate and hands off any remaining steps to Starburst’s enhanced Trino engine automatically, returning the exact same results. It operates across your full cluster alongside Starburst LakeOps, data federation, and the enterprise context layer, while leaving GPU-accelerated SQL workloads to Starburst Torin.
From CPU vectors to GPU operators
Why SQL suits GPUs, and why memory bandwidth matters
SQL operations apply the same logic to many values, which is the kind of work GPUs handle well. A GPU has thousands of cores and high memory bandwidth, so it extends the batch idea well beyond what a CPU’s SIMD units can do.
We have found that the benefit of GPUs for traditional SQL workloads depends on the query and the data. In this example, memory bandwidth of about 8 terabytes per second (TB/s) on Blackwell GPUs, compared with about 200 gigabytes per second (GB/s) for the memory of a high-end server CPU. He also reports Peripheral Component Interconnect Express (PCIe) transfers on Blackwell at about 128 GB/s bidirectional, so moving data to the GPU has a cost that a query must earn back.
Operator-level GPU execution with CPU fallback
Vectorized execution and SIMD help on CPUs, but raw compute and memory bandwidth still limit them. Starburst integrates NVIDIA CUDA Data Frame (cuDF) at the physical-operator level of the CPU-based engine, with GPU-accelerated SQL analytics running each operator on the GPU when it can. If an operator can’t run there, it falls back to the CPU, and you don’t change your SQL.
The same source reports a geometric mean of 4.6x on accelerated queries from TPC-H (the Transaction Processing Performance Council’s decision-support benchmark), with a maximum of 11.4x on Q13, and 3.4x overall across 43 ClickBench queries. Those results came from a development environment on a single node, and the comparison covers hardware cost only. They show what operator-level GPU execution can do under those conditions, and they don’t predict your workload.
Starburst Torin engine
Starburst Torin is a GPU-native engine built on Trino for Starburst Enterprise. It’s in limited general availability, with up to 7x faster TPC-H performance on Blackwell GPUs, according to the Starburst Torin GPU-native analytics engine announcement. It runs alongside the CPU engine, so you can choose CPU or GPU without changing SQL, and the Starburst and NVIDIA partnership covers that choice.
Next steps
FAQs
What is a vectorized query engine, in plain terms?
It’s a SQL engine that handles data in batches of values from one column instead of one row at a time. Each operator processes a whole batch per call, which lowers per-row overhead.
How is vectorized execution different from row-based execution?
A row-at-a-time engine runs each operator once per row and pays call and dispatch overhead every time. A vectorized engine pays that cost once per batch and runs a tight loop over many values.
What is SIMD and how does it relate to vectorization?
SIMD means single instruction, multiple data. A CPU applies one instruction to several values at once when they sit side by side in memory. Batches of same-typed column values make that possible.
Is vectorized execution the same as MPP?
No. In MPP, a query spreads across many nodes. Vectorization makes the work inside each node cheaper. They work together.
How do GPUs relate to vectorized query execution?
GPUs apply the batch idea with thousands of cores and high memory bandwidth. In Starburst’s approach, each operator runs on the GPU when it can and falls back to the CPU when it can’t.
Will vectorization speed up all queries?
No. Storage and I/O waits, network transfer, unsupported operators, and poor data layout can all limit the gain, so test with your own queries and data.
Do I need to change my SQL to benefit?
No. Vectorization changes how the engine executes the plan, not the SQL you write.












