The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Staging blog posts for Tuesday (#40962)
Prashant Sridharan23998da5c3cf
diff --git a/apps/www/_blog/2025-12-01-vector-buckets.mdx b/apps/www/_blog/2025-12-01-vector-buckets.mdxindex fee362e2b8b..8140126b186 100644--- a/apps/www/_blog/2025-12-01-vector-buckets.mdx+++ b/apps/www/_blog/2025-12-01-vector-buckets.mdx@@ -6,6 +6,7 @@ image: 2025-12-01-vector-buckets/og.png?v=3thumb: 2025-12-01-vector-buckets/thumb.png?v=3categories:- product+ - launch-weekdate: '2025-12-01'toc_depth: 2---diff --git a/apps/www/_blog/2025-12-02-introducing-analytics-buckets.mdx b/apps/www/_blog/2025-12-02-introducing-analytics-buckets.mdxnew file mode 100644index 00000000000..04eef79ac36--- /dev/null+++ b/apps/www/_blog/2025-12-02-introducing-analytics-buckets.mdx@@ -0,0 +1,210 @@+---+title: 'Introducing Analytics Buckets'+description: 'Use Analytics Buckets to store huge datasets in Supabase Storage with Apache Iceberg and columnar Parquet format, optimized for analytical workloads.'+author: fabrizio+image: 2025-12-02-introducing-analytics-buckets/og.png+thumb: 2025-12-02-introducing-analytics-buckets/thumb.png+categories:+ - product+ - launch-week+date: '2025-12-02:10:00'+toc_depth: 2+---++Today Supabase is introducing Analytics Buckets, which you can use to store huge sets of data in Supabase Storage. Postgres is great for your app. But Postgres isn't designed for analytical workloads.++Analytics Buckets are a specialized storage type in Supabase designed for analytical workloads and built on [Apache Iceberg](https://iceberg.apache.org) and Amazon S3. They store data in columnar Parquet format, which is optimized for scans, aggregations, and time-series queries.++Think of them as cold storage for your data, with a query engine attached.++Your hot transactional data stays in Postgres. Your historical data and analytical workloads live in Analytics Buckets. You query both using familiar tools.++## What do they do?++Analytics Buckets give you:++- **Cost-effective storage.** S3 pricing instead of database storage. Documented savings of 30-90% on storage costs for large datasets.++- **Open table format.** Apache Iceberg means no vendor lock-in. Query your data from any compatible tool.++- **Schema evolution.** Change your table schema without rewriting data.++- **Time travel.** Query historical snapshots of your data. See what a table looked like at any point in time.++- **Full audit history.** Every change is preserved. Track what changed, when, and how.++## When to use Analytics Buckets vs Postgres++Analytics Buckets and Postgres are complementary. They serve different workloads.++### Keep data in Postgres when:++- You need low-latency reads for your application++- Data changes frequently and consistency matters++- Your dataset is small to medium size++- You need real-time access from your app++### Use Analytics Buckets when:++- You are storing millions or billions of rows++- You run heavy analytical queries that scan large tables++- You need long-term retention at low cost++- You want to query data from multiple tools++- You need complete audit history and time travel++Many teams use both. Keep the last 90 days in Postgres. Archive everything to Analytics Buckets. Query historical data when needed.++## How they work++Analytics Buckets use [Apache Iceberg](https://iceberg.apache.org), an open table format created for large analytical datasets. Here is what happens under the hood:++1. Data is stored in Parquet files on S3++2. Iceberg manages metadata including schema, partitions, and snapshots++3. An Iceberg REST Catalog provides the interface for querying++4. You connect using any Iceberg-compatible tool++The separation of compute and storage means you can scale each independently. Store petabytes of data and query only what you need.++## Creating an Analytics Bucket++You can create an Analytics Bucket from the Dashboard or using the SDK.++### Using the Dashboard++1. Navigate to Storage in your Supabase Dashboard++2. Click Create Bucket++3. Enter a name for your bucket++4. Select Analytics Bucket as the bucket type++5. Click Create++You can use the Supabase Dashboard to define columns and set data types, including complex types like decimal with precision and scale. The foreign data wrapper schema will automatically be configured for you. Once your table is created, you can manage Analytics Buckets in the same way that you manage your Postgres tables.++### Using the SDK++```jsx+import { createClient } from '@supabase/supabase-js'++const supabase = createClient('https://your-project.supabase.co', 'your-service-key')++await supabase.storage.createBucket('my-analytics-bucket', {+ type: 'ANALYTICS',+})+```++## Connecting to Analytics Buckets++Analytics Buckets require authentication with two services:++**Iceberg REST Catalog** manages metadata for your tables. It handles schema, partitions, and snapshots.++**S3-Compatible Storage** stores the actual data in Parquet format.++You authenticate using your Supabase service key for the catalog and S3 credentials for storage.++## Streaming data with Supabase ETL++Analytics Buckets work hand in hand with [Supabase ETL](/blog/introducing-supabase-etl). ETL captures changes from your Postgres database and streams them to Analytics Buckets in near real time.++This gives you:++- Automatic replication of your Postgres tables++- Near real-time data in your analytics bucket++- Complete changelog with every insert, update, and delete++- No manual data movement or scheduled jobs++To set up replication, create a Postgres publication for the tables you want to replicate, then add an Analytics Buckets destination in the Replication section of the Dashboard.++## Querying from Postgres++You can query Analytics Buckets directly from Postgres using Foreign Data Wrappers. This lets you join hot data in Postgres with historical data in Analytics Buckets.++```sql+-- Create a foreign server for your Iceberg data+create server iceberg_server+foreign data wrapper iceberg_wrapper+options (+ aws_access_key_id 'your-access-key',+ aws_secret_access_key 'your-secret-key',+ region_name 'us-east-1'+);++-- Import tables from your analytics bucket+import foreign schema "analytics"+from server iceberg_server+into iceberg;++-- Query historical data+select * from iceberg.events+where event_timestamp > '2024-01-01';+```++## Data tiering pattern++A common architecture is data tiering: keeping recent data in Postgres and archiving history to Analytics Buckets.++1. Partition tables by time in Postgres, keeping a rolling window like the last 90 days++2. Stream all data to Analytics Buckets using Supabase ETL++3. Drop old partitions from Postgres++4. Query recent data from Postgres, historical data from Analytics Buckets++This keeps your Postgres database small and fast. Storage costs drop. Analytics queries run on data optimized for scans.++## Compatible tools++Analytics Buckets work with any tool that supports the Iceberg REST Catalog API:++- PyIceberg++- Apache Spark++- DuckDB++- Amazon Athena++- Trino++- Apache Flink++- Snowflake (via external tables)++- BigQuery (via BigLake)++## Pricing and availability++Analytics Buckets are free during the Private Alpha. Standard egress charges apply when you move data out of the region.++To request access, fill out the form at [forms.supabase.com/analytics-buckets](http://forms.supabase.com/analytics-buckets).++## Get started++1. Request access to the Private Alpha++2. Create an Analytics Bucket in the Dashboard++3. Connect using PyIceberg, Spark, or your tool of choice++4. Set up ETL to stream data from Postgres automatically++Separate your transactional and analytical workloads. Keep Postgres fast. Store history at S3 prices. Query from any tool.++We are excited to see what you build.diff --git a/apps/www/_blog/2025-12-02-introducing-supabase-etl.mdx b/apps/www/_blog/2025-12-02-introducing-supabase-etl.mdxnew file mode 100644index 00000000000..dec76d78f64--- /dev/null+++ b/apps/www/_blog/2025-12-02-introducing-supabase-etl.mdx@@ -0,0 +1,165 @@+---+title: 'Introducing Supabase ETL'+description: 'A change-data-capture pipeline that replicates your Postgres tables to analytical destinations like Analytics Buckets and BigQuery in near real time.'+author: riccardo_busetti+image: 2025-12-02-introducing-supabase-etl/og.png+thumb: 2025-12-02-introducing-supabase-etl/thumb.png+categories:+ - product+ - launch-week+date: '2025-12-02:11:00'+toc_depth: 2+---++Today we're introducing **Supabase ETL**: a change-data-capture pipeline that replicates your Postgres tables to analytical destinations in near real time.++Supabase ETL reads changes from your Postgres database and writes them to external destinations. It uses logical replication to capture inserts, updates, deletes and truncates as they happen. **Setup takes minutes in the Supabase Dashboard.**++The first supported destinations are [Analytics Buckets](/blog/introducing-analytics-buckets) (powered by Iceberg) and BigQuery.++Supabase ETL is open source. You can find the code on GitHub at [github.com/supabase/etl](http://github.com/supabase/etl).++## Why separate OLTP and OLAP?++Postgres is excellent for transactional workloads like reading a single user record or inserting an order. But when you need to scan millions of rows for analytics, Postgres slows down.++Column-oriented systems like BigQuery, or those built on open formats like Apache Iceberg, are designed for this. They can aggregate massive datasets **orders of magnitude faster**, compress data more efficiently, and handle complex analytical queries that would choke a transactional database.++**Supabase ETL gives you the best of both worlds**: keep your app fast on Postgres while unlocking powerful analytics on purpose-built systems.++## How it works++Supabase ETL captures every change in your Postgres database and delivers it to your analytics destination in near real time.++Here's how:++1. You create a Postgres publication that defines which tables to replicate++2. You configure ETL to connect a publication to a destination++3. ETL reads changes from the publication through a logical replication slot++4. Changes are batched and written to your destination++5. Your data is available for querying in the destination++The pipeline starts with an initial copy of your selected tables, then switches to streaming mode. **Your analytics stay fresh with latency measured in milliseconds to seconds.**++## Setting up ETL++You configure ETL entirely through the Supabase Dashboard. **No code required.**++### Step 1: Create a publication++A publication defines which tables to replicate. You create it with SQL or via the UI:++```sql+-- Replicate specific tables+create publication analytics_pub+for table events, orders, users;++-- Or replicate all tables in a schema+create publication analytics_pub+for tables in schema public;+```++### Step 2: Enable replication++Navigate to `Database` in your Supabase Dashboard. Select the `Replication` tab and click `Enable Replication`.++### Step 3: Add a destination++Click `Add Destination` and choose your destination type.++**Note:** For Analytics Buckets, you will need to create an analytics bucket first in the Storage section.++Configure the destination with your bucket credentials and select your publication. Click Create and `Start` to begin replication.++### Step 4: Monitor your pipeline++The Dashboard shows pipeline status and lag. You can start, stop, restart, or delete pipelines from the actions menu.++## Available destinations++Our goal with Supabase ETL is to let you connect your existing data systems to Supabase. We're actively expanding the list of supported destinations. Right now, the official destinations are Analytics Buckets and BigQuery.++### Analytics Buckets++[Analytics Buckets](https://supabase.com/docs/guides/storage/analytics/introduction) are specialized storage buckets built on Apache Iceberg, an open table format designed for large analytical datasets. Your data is stored in Parquet files on S3.++When you replicate to Analytics Buckets, your tables are created with a changelog structure. Each row includes a `cdc_operation` column indicating whether the change was an `INSERT`, `UPDATE`, or `DELETE`. **This append-only format preserves the complete history of all changes.**++You can query Analytics Buckets from PyIceberg, Apache Spark, DuckDB, Amazon Athena, or any tool that supports the Iceberg REST Catalog API.++### BigQuery++BigQuery is Google's serverless data warehouse, built for large-scale analytics. It handles petabytes of data and integrates well with existing BI tools and data pipelines.++When you replicate to BigQuery, Supabase ETL creates a view for each table and uses an underlying versioned table to support all operations efficiently. You query the view, and ETL handles the rest.++## Adding and removing tables++You can modify which tables are replicated after your pipeline is running.++To add a table:++```sql+alter publication analytics_pub add table products;+```++To remove a table:++```sql+alter publication analytics_pub drop table orders;+```++After changing your publication, restart the pipeline from the Dashboard actions menu for the changes to take effect.++**Note:** ETL does not remove data from your destination when you remove a table from a publication. This is by design to prevent accidental data loss.++## When to use ETL vs read replicas++Read replicas and ETL solve different problems.++Read replicas help when you need to scale concurrent queries, but they're still Postgres. They don't make analytics faster.++ETL moves your data to systems built for analytics. You get **faster queries on large datasets**, **lower storage costs** through compression, and **complete separation** between your production workload and analytics.++You can use both: read replicas for application read scaling, ETL for analytics.++## Things to know++Replication with Supabase ETL has a few constraints to be aware of:++- Tables must have primary keys (this is a Postgres logical replication requirement)+- Generated columns are not supported+- Custom data types are replicated as strings+- Schema changes are not automatically propagated to destinations+- Data is replicated as-is, without transformation+- During the initial copy phase, changes accumulate in the WAL and are replayed once streaming begins++We're working on schema change support and additional destinations, and evaluating different streaming techniques to improve flexibility and performance.++## Pricing++Supabase ETL is usage-based:++- **$25 per connector per month**+- **$15 per GB** of change data processed after the initial sync+- **Initial copy is free**++## Get started++**Supabase ETL is in private alpha.** To request access, contact your account manager or fill out the form in the Dashboard.++If you want to dive into the code, **the ETL framework is open source** and written in Rust. Check out the repository at [github.com/supabase/etl](http://github.com/supabase/etl).++<div className="video-container">+ <iframe+ className="w-full"+ src="https://www.youtube-nocookie.com/embed/NqtPnND32sE"+ title="Introducing Supabase ETL"+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; fullscreen; gyroscope; picture-in-picture; web-share"+ allowfullscreen+ />+</div>diff --git a/apps/www/components/Blog/BlogListItem.tsx b/apps/www/components/Blog/BlogListItem.tsxindex a852693b37c..ce04574eddb 100644--- a/apps/www/components/Blog/BlogListItem.tsx+++ b/apps/www/components/Blog/BlogListItem.tsx@@ -26,15 +26,16 @@ const getAuthors = (post: PostTypes | CMSPostTypes) => {return authors}- const authorArray = post.author?.split(',') || []+ const authorArray = post.author?.split(',').map((a) => a.trim()) || []const authors = []for (let i = 0; i < authorArray.length; i++) {- authors.push(- blogAuthors.find((authors: any) => {- return authors.author_id === authorArray[i]- })- )+ const foundAuthor = blogAuthors.find((authors: any) => {+ return authors.author_id === authorArray[i]+ })+ if (foundAuthor) {+ authors.push(foundAuthor)+ }}return authors}@@ -55,6 +56,7 @@ const BlogListItem = ({ post }: Props) => {<div className="lg:col-span-2 xl:col-span-4 flex justify-start items-center lg:grid grid-cols-2 xl:grid-cols-3 gap-2 text-sm"><div className="hidden lg:flex items-center -space-x-2">{authors.map((author: any, i: number) => {+ if (!author) return nullreturn (<div className="relative ring-background w-6 h-6 rounded-full ring-2" key={i}>{author.author_image_url && (diff --git a/apps/www/components/Blog/FeaturedThumb.tsx b/apps/www/components/Blog/FeaturedThumb.tsxindex 641b33d3659..5172ddf3c86 100644--- a/apps/www/components/Blog/FeaturedThumb.tsx+++ b/apps/www/components/Blog/FeaturedThumb.tsx@@ -35,15 +35,16 @@ function FeaturedThumb(blog: PostTypes | CMSPostTypes) {}// For static posts, look up author info from authors.json- const authorArray = blog.author?.split(',') || []+ const authorArray = blog.author?.split(',').map((a) => a.trim()) || []const author = []for (let i = 0; i < authorArray.length; i++) {- author.push(- authors.find((authors: any) => {- return authors.author_id === authorArray[i]- })- )+ const foundAuthor = authors.find((authors: any) => {+ return authors.author_id === authorArray[i]+ })+ if (foundAuthor) {+ author.push(foundAuthor)+ }}return renderFeaturedThumb(blog, author)diff --git a/apps/www/lib/authors.json b/apps/www/lib/authors.jsonindex a45255368af..d8b417c1547 100644--- a/apps/www/lib/authors.json+++ b/apps/www/lib/authors.json@@ -739,5 +739,13 @@"company": "No Code MBA","author_url": "https://www.linkedin.com/in/seth-kramer-62806b63/","author_image_url": "/images/avatars/seth-kramer.jpeg"+ },+ {+ "author_id": "riccardo_busetti",+ "author": "Riccardo Busetti",+ "username": "iambriccardo",+ "position": "Engineering",+ "author_url": "https://github.com/iambriccardo",+ "author_image_url": "https://github.com/iambriccardo.png"}]diff --git a/apps/www/public/images/blog/2025-12-02-introducing-analytics-buckets/og.png b/apps/www/public/images/blog/2025-12-02-introducing-analytics-buckets/og.pngnew file mode 100644index 00000000000..0d6c64131beBinary files /dev/null and b/apps/www/public/images/blog/2025-12-02-introducing-analytics-buckets/og.png differdiff --git a/apps/www/public/images/blog/2025-12-02-introducing-analytics-buckets/thumb.png b/apps/www/public/images/blog/2025-12-02-introducing-analytics-buckets/thumb.pngnew file mode 100644index 00000000000..19c7148f2c4Binary files /dev/null and b/apps/www/public/images/blog/2025-12-02-introducing-analytics-buckets/thumb.png differdiff --git a/apps/www/public/images/blog/2025-12-02-introducing-supabase-etl/og.png b/apps/www/public/images/blog/2025-12-02-introducing-supabase-etl/og.pngnew file mode 100644index 00000000000..6753f113f75Binary files /dev/null and b/apps/www/public/images/blog/2025-12-02-introducing-supabase-etl/og.png differdiff --git a/apps/www/public/images/blog/2025-12-02-introducing-supabase-etl/thumb.png b/apps/www/public/images/blog/2025-12-02-introducing-supabase-etl/thumb.pngnew file mode 100644index 00000000000..8a2b5966616Binary files /dev/null and b/apps/www/public/images/blog/2025-12-02-introducing-supabase-etl/thumb.png differdiff --git a/apps/www/public/rss.xml b/apps/www/public/rss.xmlindex 316b760b6f5..fe20b729a5b 100644--- a/apps/www/public/rss.xml+++ b/apps/www/public/rss.xml@@ -4,9 +4,23 @@<link>https://supabase.com</link><description>Latest news from Supabase</description><language>en</language>- <lastBuildDate>Mon, 01 Dec 2025 00:00:00 -0700</lastBuildDate>+ <lastBuildDate>Tue, 02 Dec 2025 00:00:00 -0700</lastBuildDate><atom:link href="https://supabase.com/rss.xml" rel="self" type="application/rss+xml"/><item>+ <guid>https://supabase.com/blog/introducing-analytics-buckets</guid>+ <title>Introducing Analytics Buckets</title>+ <link>https://supabase.com/blog/introducing-analytics-buckets</link>+ <description>Use Analytics Buckets to store huge datasets in Supabase Storage with Apache Iceberg and columnar Parquet format, optimized for analytical workloads.</description>+ <pubDate>Tue, 02 Dec 2025 00:00:00 -0700</pubDate>+</item>+<item>+ <guid>https://supabase.com/blog/introducing-supabase-etl</guid>+ <title>Introducing Supabase ETL</title>+ <link>https://supabase.com/blog/introducing-supabase-etl</link>+ <description>A change-data-capture pipeline that replicates your Postgres tables to analytical destinations like Analytics Buckets and BigQuery in near real time.</description>+ <pubDate>Tue, 02 Dec 2025 00:00:00 -0700</pubDate>+</item>+<item><guid>https://supabase.com/blog/vector-buckets</guid><title>Introducing Vector Buckets</title><link>https://supabase.com/blog/vector-buckets</link>