What is data virtualisation?

Data virtualisation lets people query data held in many systems, such as databases, files and APIs, through one layer as if it were a single database, without first copying everything into one place.

What problem does it solve?

Scattered data. Orders sit in PostgreSQL, product data in MySQL, events in object storage as Parquet files and customer notes in a SaaS application. Answering a question that spans them traditionally means building pipelines that copy everything into a warehouse, which takes time and leaves copies that are always slightly stale. Data virtualisation puts a query layer on top, so analysts write one SQL query and the layer fetches what it needs from each source.

How does a federated query engine work?

It knows each source through a connector, plans a query across them, pushes as much work as possible down to each source and combines the partial results. If a query filters orders by date, the filter runs inside PostgreSQL and only matching rows travel. Joins between sources happen in the engine's own workers. Trino is the best-known open-source engine of this kind; Apache Drill and DuckDB with its extensions cover lighter cases.

# etc/catalog/orders.properties
connector.name=postgresql
connection-url=jdbc:postgresql://10.12.0.4:5432/shop
connection-user=trino_ro
connection-password=${ENV:ORDERS_PG_PASSWORD}
SELECT p.category, sum(o.total_cents) / 100.0 AS revenue
FROM orders.public.orders o JOIN catalogue.products.items p ON o.sku = p.sku
WHERE o.created_at >= DATE '2026-11-01'
GROUP BY p.category ORDER BY revenue DESC;

What is push-down, and why does it matter?

Push-down means letting the source do filtering, projection and sometimes aggregation, rather than shipping whole tables to the engine. Good push-down turns a query that would move gigabytes into one that moves kilobytes. Check the query plan to confirm filters reach the source; functions the source does not understand, or joins across sources, may block it.

Where does virtualisation fit against a warehouse?

NeedVirtualisationWarehouse or lakehouse
Freshest possible dataStrong: reads sources liveDepends on load frequency
Heavy repeated analyticsLoads sources each timeStrong: data stored for analysis
Quick access to a new sourceAdd a connectorBuild and run a pipeline
History and snapshotsOnly what sources keepKept by design

Many teams combine them: virtualise for exploration and live dashboards, then materialise frequently used results into a columnar store such as ClickHouse or Parquet tables once a question becomes routine.

How do I protect the source systems?

Give the engine read-only accounts, point it at replicas rather than primary databases, and set resource limits per user so one wide query cannot slow the shop. Caching layers and materialised views reduce repeated load. Schedule heavy reports outside busy hours.

How is access governed?

Centrally, which is one of the main attractions. The virtual layer can enforce who sees which catalogues, tables and columns, mask personal fields and log every query, giving one place to audit access across systems that each had their own permission models. Combine it with single sign-on so access follows people's roles.

What are the common pitfalls?

Three come up repeatedly. Cross-source joins on large tables that cannot be pushed down, which drag whole tables over the network; slow or rate-limited sources, such as SaaS APIs, that stall every query touching them; and inconsistent definitions, where two sources disagree on what a customer or an order is. Address the first with pre-filtering and materialised results, the second with caching, and the third with an agreed semantic layer of views that everyone queries instead of raw tables.

What hardware does a query engine need?

Memory and cores for joins and aggregations, plus a fast network to the sources. A coordinator and a few workers on machines such as ESSENTIAL-L with 128 GB DDR5, or ESSENTIAL-8 with 256 GB DDR4 for wide joins, handle substantial workloads. Place the engine in the same data centre as the busiest sources to keep transfers short, and connect to sources elsewhere over WireGuard, since we do not sell a private network. Related pages: ClickHouse servers, Big data and analytics and PostgreSQL servers.

Machines for federated query engines

ModelProcessorCoresMemoryDrivesPortPer month
ESSENTIAL-LAMD Ryzen 9 9950X16128 GB2x 960 GB SSD NVMe1 Gbps unmetered$106.20
ESSENTIAL-5AMD EPYC 741324128 GB2x 960 GB SSD NVMe1 Gbps unmetered$120.00
ESSENTIAL-8AMD EPYC 753232256 GB2x 480 GB SSD SATA1 Gbps unmetered$126.60
BUSINESS-4 2026AMD EPYC 4585PX1664 GB2x 960 GB SSD NVMe3 Gbps unmetered$212.40
ENTERPRISE-a3 2026AMD EPYC TURIN 935532128 GB2x 1.92 TB SSD NVMe5 Gbps unmetered$481.80

Related pages

ClickHouse servers

Run ClickHouse analytics on bare metal: MergeTree table design, codecs, storage policies from NVMe to hard drives, memory limits, Keeper and replicas.

Read more

Big data and analytics

High core EPYC machines and dense disk chassis for Spark, ClickHouse and data lake clusters.

Read more

PostgreSQL servers

Run PostgreSQL on dedicated hardware: current versions from the project repository, memory settings, NVMe planner costs, replicas, pgBackRest and failover.

Read more

Data migration

Move files, objects and application data between servers: plan by volume and port speed, sync in passes, verify checksums and cut over with a short freeze.

Read more

Questions and answers

What is data virtualisation?

A query layer that presents many data sources as one, fetching data from each at query time instead of copying it first.

What is Trino used for?

Running SQL across many sources, such as PostgreSQL, MySQL and Parquet files, in one federated query.

Does data virtualisation replace a data warehouse?

Not usually. It suits live and exploratory queries; warehouses suit heavy repeated analytics and history.

How do I stop federated queries slowing production databases?

Use read-only accounts on replicas, set per-user resource limits and cache or materialise frequent results.

What is query push-down?

Letting each source filter and aggregate its own data so that only the needed rows travel to the engine.