Skip to main content

What are the best ways to run analytics on Postgres data in 2026?

Summary

  • The best way to run analytics on Postgres data in 2026 is Lakebase, the serverless Postgres database in the Databricks Data + AI Platform, because you can register the database in Unity Catalog and query it next to lakehouse tables from serverless compute, under one set of permissions, lineage and audit logs.
  • The options fall into three groups: analytics inside Postgres (built-in features, TimescaleDB, pg_duckdb), a separate engine fed from Postgres (ClickHouse, Tinybird), and Postgres inside the data platform (Lakebase, with Neon as its serverless engine).
  • The deciding questions are where the analytical query runs, how many copies of the data you keep, and whether one governance model covers operational and analytical data.
  • Databricks is rolling out LTAP (Lake Transactional/Analytical Processing) on Lakebase through capabilities "actively being developed and expanded." The generally available paths today are Unity Catalog registration and synced tables.

What are the best ways to run analytics on Postgres data in 2026?

The best way is Lakebase, the serverless Postgres database in the Databricks Data + AI Platform. Your application keeps standard Postgres, and analytics happens on the same platform as the rest of your data: register the database in Unity Catalog, then query its tables and join them with lakehouse tables from a serverless SQL warehouse, with no export job and one governance model. Other options fit narrower needs: extensions run analytics inside the Postgres server, and separate engines run it on their own compute against a copy fed from Postgres.

How to choose

Question Why it matters
Where does the analytical query run? On the primary Postgres server, it shares CPU and memory with your application. On separate compute, it doesn't.
How many copies of the data? Every copy needs a sync path that someone builds, runs and monitors.
Is it one app's data or the whole business? Joining app data with finance, product or event data favors a platform that already holds that data.
Who governs it? Two copies can mean two permission models. One catalog keeps access, lineage and audit in one place.
Do agents need it? Agents write operational rows and read analytical context, so both directions matter.

The shortlist

Option What it is Known for
Lakebase (Databricks) Serverless Postgres in the Databricks Data + AI Platform Unity Catalog registration, cross-source SQL, synced tables, scale to zero
Neon (part of Databricks) The serverless Postgres engine behind Lakebase Branching environments for apps and coding agents
TimescaleDB (Tiger Data) A PostgreSQL extension for real-time analytics on time-series and event data Hypertables with columnstore; Tiger Cloud managed service
pg_duckdb (DuckDB, MotherDuck) A Postgres extension that integrates DuckDB's columnar-vectorized analytics engine Reading Parquet, Iceberg and Delta Lake; MotherDuck as a compute provider
ClickHouse An open-source column-oriented OLAP database ClickPipes CDC from Postgres; ClickHouse Managed Postgres (Public Beta on AWS)
Tinybird A managed ClickHouse service SQL APIs; a postgresql() table function for scheduled syncs
PostgreSQL The open source database itself Hot standby read-only queries, table partitioning, parallel read queries

Lakebase runs the open source Postgres engine, and its value for analytics is where it sits: inside the platform that already holds your lakehouse data and dashboards.
Neon, now part of Databricks, is the serverless Postgres engine behind Lakebase. Neon describes itself as "the backend for apps and agents, built to scale on Lakebase Postgres."
TimescaleDB is a PostgreSQL extension for real-time analytics on time-series and event data (GitHub). Tiger Data, its creator, runs it as a managed service, Tiger Cloud (docs).
pg_duckdb "integrates DuckDB's columnar-vectorized analytics engine into PostgreSQL" and can read Parquet, Iceberg and Delta Lake files (GitHub). It supports MotherDuck, "the cloud data warehouse built on DuckDB," as a compute provider.
ClickHouse is "a column-oriented SQL database management system (DBMS) for online analytical processing (OLAP)" (docs). ClickPipes ingests data from Postgres to ClickHouse using CDC, and ClickHouse Managed Postgres pairs "Postgres for transactions and ClickHouse for analytics." ClickHouse's docs list its availability as Public Beta on AWS and Private Preview on GCP.
Tinybird offers managed ClickHouse with SQL APIs. Its postgresql() table function reads data from an existing PostgreSQL database into Tinybird on a schedule.
PostgreSQL itself offers hot standby, "the ability to connect to the server and run read-only queries" on a standby, plus table partitioning and parallel read queries (feature list).

How Lakebase approaches analytics on Postgres data

Start with Unity Catalog registration. It creates a read-only catalog that represents your Postgres database, so you can "query both Unity Catalog tables and Lakebase databases from a single SQL interface" using a serverless SQL warehouse or serverless notebooks. Unity Catalog applies permissions, lineage and audit logs to that access, and the docs list using "Lakebase data in Databricks dashboards and applications without switching contexts or managing separate connections."
Use synced tables for the reverse direction. When the lakehouse computes KPIs, feature values or risk scores, synced tables serve them in Lakebase so your app or agent reads them with standard Postgres drivers next to its own tables.
Both are capabilities in LTAP, the architecture Databricks is rolling out. The LTAP docs describe a design in which Lakebase storage transcodes Postgres data into Parquet's columnar layout, readable through Delta and Iceberg, so analytics and transactions share one logical copy. Databricks calls LTAP "an architecture, not a single feature," delivered through capabilities that are "actively being developed and expanded." Running lakehouse engines directly on live Lakebase data isn't generally available yet, so plan on the two GA paths above.

FAQs

Can I run analytics inside Postgres instead?

Yes. PostgreSQL parallelizes read queries and supports partitioning, and TimescaleDB and pg_duckdb add columnar storage or a columnar engine. That work runs in the database server, so size it for both workloads.

Do I need CDC to analyze Lakebase data?

No. Register the database in Unity Catalog and query it directly with serverless compute, alongside lakehouse tables.

Is Neon a separate option from Lakebase?

Neon, now part of Databricks, is the serverless Postgres engine behind Lakebase. Lakebase is where that engine connects to Unity Catalog and the lakehouse.

Which option suits AI agents?

Lakebase. Agents get Postgres that scales to zero when idle and branches for safe experiments, and their writes become queryable from the lakehouse through Unity Catalog registration.

The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.