---
title: "PostgreSQL analytics powered by DuckDB"
description: "Get a PostgreSQL read replica optimized for high-performance analytics and time-series data. Zero-ETL sync to Apache Iceberg on object storage (S3)."
source: "https://xata.io/postgres-analytics"
---

Fast analytics for PostgreSQL,
powered by DuckDB
=================

Zero-ETL sync between your Postgres database and Apache Iceberg. Unlock scalable and cost-effective analytics without any complexity.

[Get started](https://console.xata.io/signup)

### Fast, scalable, and cost-effective

Run lightning-fast analytics queries on your data at any scale. It delivers sub-second query performance on billions of rows.

### Zero-ETL

Continuous sync between your Postgres database and Apache Iceberg on object storage (S3), without maintaining pipelines.

### No vendor lock-in

Built on modern open-source technologies and data formats (Apache Iceberg, DuckDB, PostgreSQL protocol), it is fully compatible with existing tools and workflows.

## Relieve your PostgreSQL database from heavy analytics queries

Leverage **DuckDB** and **Apache Iceberg** to unlock efficient analytics and time-series use-cases.

The data is continuously and automatically synced to Apache Iceberg on object storage (S3). We use logical replication from a read-replica, so the impact to production is minimal.

Use the [pg_duckdb](https://github.com/duckdb/pg_duckdb) extension or [BemiDB](https://bemidb.com/) to run analytical queries powered by the DuckDB vectorized execution engine.

Connect and query using standard PostgreSQL syntax with your existing apps, BI dashboards, or notebooks.

## Why you need an analytical database

PostgreSQL is a fantastic database for OLTP workloads, but its storage is row-oriented and its execution engine is not optimized for analytics.

### The challenges you are facing

- **Slow analytical queries** are putting unnecessary pressure on your main database.

- **Setting up ETL pipelines** takes months of engineering effort and constant maintenance.

- **Vendor lock-in** is a major risk when using proprietary data warehouse platforms.

### How Xata solves them

- **DuckDB vectorized query engine** executes complex queries on billions of rows with sub-second performance.

- **Zero-ETL sync** copies and keeps your data in sync without any complexity.

- **Open formats** like Apache Iceberg and open-source tools like PostgreSQL and DuckDB.

## Use our cloud, or bring your own

- **Xata cloud** Running your PostgreSQL service in our cloud is the easiest way to get DuckDB-powered analytics on top of your PostgreSQL database.

- **Bring your own Cloud (BYOC)** A fully managed Xata service for large-scale deployments deployed in your own AWS, Azure or GCP account. Best for security and compliance.

[Learn more about BYOC](/byoc)



Find answers to common questions about Xata's PostgreSQL analytics offering

[Still have questions? Talk to us](https://cal.com/team/xata/xata-sales)

## Branch your database in seconds

[Get in touch](https://cal.com/team/xata/xata-sales)[Get started](https://console.xata.io/signup)

## Frequently Asked Questions

### How does it work?

We have partnered with companies specialized in DuckDB and Apache Iceberg, BemiDB and MotherDuck, to bring this offering to you. BemiDB is a Zero-ETL sync engine that continuously syncs your data to Apache Iceberg on object storage (S3). The pg_duckdb extension brings the power of the DuckDB vectorized query engine to PostgreSQL.

### When will it be available?

The Xata service is currently in private beta. The integration with BemiDB is itself under development, but we can set it up manually for you already. Please reach out if you are interested.

### Can you offer this for AWS RDS, Google Cloud SQL, or Azure Database for PostgreSQL?

Yes, you can clone your data from other Postgres services to Xata. This means you can keep production where it is, and only run analytical queries on Xata.

### What does "Zero-ETL" mean?

It means you do not need separate processes to extract, transform, or load data for analytics. Xata automatically maps data structures, syncs data, and stores it in a query-ready columnar format, removing the overhead of building and maintaining complex pipelines.
