Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

feat: Update replication docs (#45825)

Riccardo Busetti8e901c980a7f
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
index 82204bdb456..c9735fd3375 100644
--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts
@@ -1163,18 +1163,24 @@ export const database: NavMenuConstant = {
items: [
{ name: 'Overview', url: '/guides/database/replication' },
{
- name: 'Replication',
- url: '/guides/database/replication/replication-setup' as `/${string}`,
+ name: 'External replication',
+ url: '/guides/database/replication/external-replication-setup' as `/${string}`,
items: [
{
name: 'Setting up',
- url: '/guides/database/replication/replication-setup' as `/${string}`,
+ url: '/guides/database/replication/external-replication-setup' as `/${string}`,
+ items: [
+ {
+ name: 'BigQuery',
+ url: '/guides/database/replication/bigquery' as `/${string}`,
+ },
+ ],
},
{
name: 'Monitoring',
- url: '/guides/database/replication/replication-monitoring' as `/${string}`,
+ url: '/guides/database/replication/external-replication-monitoring' as `/${string}`,
},
- { name: 'FAQ', url: '/guides/database/replication/replication-faq' },
+ { name: 'FAQ', url: '/guides/database/replication/external-replication-faq' },
],
},
{
diff --git a/apps/docs/content/guides/database/replication.mdx b/apps/docs/content/guides/database/replication.mdx
index 737da556b38..305b8d5336c 100644
--- a/apps/docs/content/guides/database/replication.mdx
+++ b/apps/docs/content/guides/database/replication.mdx
@@ -1,7 +1,7 @@
---
id: 'replication'
-title: 'Database Replication'
-description: 'Replicate your database to external destinations using Supabase replication or manual replication.'
+title: 'Database replication'
+description: 'Compare read replicas, external replication, and manual replication.'
subtitle: 'An introduction to database replication and change data capture.'
sidebar_label: 'Overview'
---
@@ -12,52 +12,51 @@ Replication is the process of copying changes from your database to another loca
You might use database replication for:
-- **Analytics and Data Warehousing**: Replicate your operational database to analytics platforms for complex analysis without impacting your application's performance.
-- **Data Integration**: Keep your data synchronized across different systems and services in your tech stack.
-- **Backup and Disaster Recovery**: Maintain up-to-date copies of your data in different locations.
+- **Analytics and data warehousing**: Replicate your operational database to analytics platforms for complex analysis without impacting your application's performance.
+- **Data integration**: Keep your data synchronized across different systems and services in your tech stack.
+- **Backup and disaster recovery**: Maintain up-to-date copies of your data in different locations.
## Replication methods
-Supabase supports three methods for replicating your database to external destinations:
+Supabase supports three replication methods. Choose based on whether you need another Supabase Postgres database, a managed pipeline to an external system, or full control over your own logical replication setup.
-### Read Replicas
+### Read replicas
-Additional databases that are kept in sync with your Primary database. These read-only databases can be deployed across multiple regions, for lower latency and better resource management.
+Read replicas are additional Supabase Postgres databases kept in sync with your primary database. Use them when you want read-only query capacity, lower latency in another region, or to isolate analytical reads from application writes while staying inside Supabase Postgres.
-- [Set up Read Replicas](/docs/guides/platform/read-replicas)
+- [Set up read replicas](/docs/guides/platform/read-replicas)
-### Replication
+### External replication
<Admonition type="caution" label="Private Alpha">
-Replication is currently in private alpha. Access is limited and features may change.
+External replication is currently in private alpha. Access is limited and features may change.
</Admonition>
-Replication powered by [Supabase ETL](https://github.com/supabase/etl) automatically replicates data to supported systems. Right now, **BigQuery** is the only supported managed destination.
+External replication is powered by [Supabase ETL](https://github.com/supabase/etl). It uses Postgres logical replication under the hood and provides a managed Dashboard workflow for replicating data from Supabase Postgres to external data systems.
-<Admonition type="note" title="Why Analytics Buckets are no longer listed">
+- [Set up external replication](/docs/guides/database/replication/external-replication-setup)
-We are currently working on a new Supabase Warehouse product designed to address the limitations of the previous Analytics Buckets. Our goal is to build a solution we can confidently stand behind, rather than continuing to support an approach that does not meet the quality and flexibility we want for our users.
+#### Supported destinations
-At the moment, BigQuery is the only supported destination, but we are actively working on expanding capabilities.
+External replication currently supports BigQuery as the managed destination. We are working on new destinations, and this table will be updated as support expands.
-</Admonition>
-
-- [Set up replication](/docs/guides/database/replication/replication-setup)
+| Destination | Insert | Update | Delete | Truncate | Schema change | Description |
+| ------------------------------------------------------ | ------------ | ------------ | ------------ | ------------ | ------------- | ------------------------------------------------------------------- |
+| [BigQuery](/docs/guides/database/replication/bigquery) | ✅ Supported | ✅ Supported | ✅ Supported | ✅ Supported | ✅ Supported | Managed replication to Google BigQuery for analytics and reporting. |
### Manual replication
-Configure your own replication using external tools and Postgres's native logical replication. This gives you full control over the replication process and allows you to use any tool that supports Postgres logical replication.
+Manual replication uses the same underlying Postgres logical replication features as external replication, but you configure and operate the pieces yourself. Use this path when you want to connect tools such as Airbyte, Estuary, Fivetran, Materialize, Stitch, AWS DMS, or another system that supports Postgres logical replication.
-- [Set up Manual Replication](/docs/guides/database/replication/manual-replication-setup)
+- [Set up manual replication](/docs/guides/database/replication/manual-replication-setup)
## Related features
-Choose the data syncing method based on your use case:
+For realtime features and syncing data to clients (browsers, mobile apps), see [Realtime](/docs/guides/realtime).
-- For realtime features and syncing data to clients (browsers, mobile apps), see [Realtime](/docs/guides/realtime)
-- For deploying read-only databases across multiple regions, see [Read Replicas](/docs/guides/platform/read-replicas)
+Realtime also uses Postgres changes, but it is intended for broadcasting database updates to clients rather than maintaining a copy of your database in another system.
## Concepts and terms
@@ -67,11 +66,11 @@ Postgres uses a system called the Write-Ahead Log (WAL) to manage changes to the
### Logical replication and WAL
-Logical replication is a method of replication where Postgres uses the WAL files and transmit those changes to another Postgres database, or a system that supports reading WAL files.
+Logical replication is a method of replication where Postgres uses WAL files to transmit changes to another Postgres database, or to a system that supports reading WAL files.
### LSN
-LSN is a Log Sequence Number that is used to identify the position of a WAL file in the WAL directory. It is often used to determine the progress of replication in subscribers and calculate the lag of a replication slot.
+LSN is a Log Sequence Number that identifies a position in the WAL. It is often used to determine the progress of replication in subscribers and calculate the lag of a replication slot.
## Logical replication architecture
@@ -83,11 +82,11 @@ When setting up logical replication, three key components are involved:
## Logical replication output format
-Logical replication is typically output in 2 forms, `pgoutput` and `wal2json`. The output method is how Postgres sends changes to any active replication slot.
+Logical replication is typically output in two forms, `pgoutput` and `wal2json`. The output method is how Postgres sends changes to any active replication slot.
## Logical replication configuration
-When using logical replication, Postgres is then configured to keep WAL files around for longer than it needs them. If the files are removed too quickly, then your `replication slot` will become inactive and, if the database receives a large number of changes in a short time, then the `replication slot` can become lost as it was not able to keep up.
+When using logical replication, Postgres keeps WAL files around for longer than it otherwise needs them. If the files are removed too quickly, then your `replication slot` can become inactive or lost if the database receives a large number of changes in a short time.
In order to mitigate this, Postgres has many options and settings that can be [tweaked](/docs/guides/database/custom-postgres-config) to manage the WAL usage effectively. Not all of these settings are user configurable as they can impact the stability of your database. For those that are, these should be considered as advanced configuration and not changed without understanding that they can cause additional disk space and resources to be used, as well as incur additional costs.
diff --git a/apps/docs/content/guides/database/replication/bigquery.mdx b/apps/docs/content/guides/database/replication/bigquery.mdx
new file mode 100644
index 00000000000..54a6d996b2d
--- /dev/null
+++ b/apps/docs/content/guides/database/replication/bigquery.mdx
@@ -0,0 +1,163 @@
+---
+id: 'bigquery-destination'
+title: 'BigQuery destination'
+description: 'Configure BigQuery as an external replication destination.'
+subtitle: 'Replicate Supabase Postgres tables to BigQuery.'
+sidebar_label: 'BigQuery'
+---
+
+<Admonition type="caution" label="Private Alpha">
+
+External replication is currently in private alpha. Access is limited and features may change.
+
+</Admonition>
+
+[BigQuery](https://cloud.google.com/bigquery) is Google's fully managed data warehouse. You can replicate your database tables to BigQuery for analytics and reporting.
+
+## Prepare GCP resources
+
+Before configuring BigQuery as a destination, set up the following in Google Cloud Platform:
+
+1. **Google Cloud Platform (GCP) account**: [Sign up for GCP](https://cloud.google.com/gcp) if you don't have one
+
+2. **BigQuery dataset**: Create a [BigQuery dataset](https://cloud.google.com/bigquery/docs/datasets-intro) in your GCP project
+ - Open the BigQuery console in GCP
+ - Select your project
+ - Click **Create Dataset**
+ - Provide a dataset ID, for example `supabase_replication`
+
+3. **GCP service account key**: Create a [service account](https://cloud.google.com/iam/docs/keys-create-delete) with appropriate permissions
+ - Go to **IAM & Admin > Service Accounts**
+ - Click **Create Service Account**
+ - Grant the "BigQuery Data Editor" role
+ - Create and download the JSON key file
+
+Required permissions:
+
+- `bigquery.datasets.get`
+- `bigquery.tables.create`
+- `bigquery.tables.get`
+- `bigquery.tables.getData`
+- `bigquery.tables.update`
+- `bigquery.tables.updateData`
+
+## Configure BigQuery as a destination
+
+1. Navigate to the [**Database > Replication**](/dashboard/project/_/database/replication) section of the Dashboard
+2. Click **Add destination**
+
+3. Configure the general settings:
+ - **Destination name**: A name to identify this destination, for example "BigQuery Warehouse"
+ - **Publication**: The publication to replicate data from
+ - **Destination type**: Select **BigQuery**
+
+4. Configure BigQuery-specific settings:
+ - **Project ID**: Your BigQuery project identifier, found in the GCP Console
+ - **Dataset ID**: The name of your BigQuery dataset, without the project ID
+
+ <Admonition type="note">
+
+ In the GCP Console, the dataset is shown as `project-id.dataset-id`. Enter only the part after the dot. For example, if you see `my-project.my_dataset`, enter `my_dataset`.
+
+ </Admonition>
+
+ - **Service Account Key**: Your GCP service account key in JSON format
+
+5. Optionally expand **Advanced settings** for BigQuery-specific performance tuning:
+
+ | Setting | Default | Description |
+ | ------------------------ | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+ | **Connection pool size** | `4` connections | Size of the BigQuery Storage Write API connection pool. More connections allow more parallel writes, but consume more resources. |
+ | **Maximum staleness** | No staleness limit | Maximum allowed age, in minutes, for BigQuery cached metadata before reading base tables. Lower values improve freshness. Higher values can reduce query cost and latency. |
+
+6. Click **Create and start** to begin replication
+
+Your replication pipeline now starts copying data from your database to BigQuery.
+
+## How it works
+
+Once configured, replication to BigQuery:
+
+1. Captures changes from your Postgres database (INSERT, UPDATE, DELETE, TRUNCATE operations)
+2. Optimizes delivery automatically
+3. Creates BigQuery tables automatically to match your Postgres schema
+4. Streams data to BigQuery
+
+## Source table requirements
+
+BigQuery replication requires each source table to have a primary key, and the publication must include the primary-key columns. External replication declares those columns as the BigQuery destination primary key so BigQuery CDC can apply `UPSERT` and `DELETE` rows.
+
+BigQuery primary keys are `NOT ENFORCED`, and BigQuery CDC supports composite primary keys with up to 16 columns. Your source primary key must stay unique and non-null because BigQuery uses it to match CDC rows.
+
+Source tables must also use a BigQuery-compatible Postgres `REPLICA IDENTITY` setting:
+
+- `DEFAULT` with a primary key is supported and works for most tables.
+- `FULL` is supported and is recommended for tables with large `text`, `jsonb`, `bytea`, or other values that Postgres may store out-of-line using TOAST.
+- `USING INDEX`, `NOTHING`, or `DEFAULT` without a primary key are not supported for BigQuery replication.
+
+For a general explanation of how replica identity affects update and delete events, see [How does replica identity affect updates and deletes?](/docs/guides/database/replication/external-replication-faq#how-does-replica-identity-affect-updates-and-deletes).
+
+For updates, Postgres does not always send a complete old row through logical replication. It can also mark unchanged toasted values as `unchanged toast` instead of resending the value. The replication pipeline can reconstruct a complete update when the old row image contains the missing value, which is reliable with `REPLICA IDENTITY FULL`. BigQuery CDC upserts require a complete new row, so updates can fail for tables with toasted columns if the pipeline receives only a partial update row.
+
+Check a table's current replica identity:
+
+```sql
+select
+ n.nspname as schema_name,
+ c.relname as table_name,
+ c.relreplident as replica_identity
+from
+ pg_class as c
+ join pg_namespace as n on n.oid = c.relnamespace
+where n.nspname = 'public' and c.relname = 'your_table';
+```
+
+The `replica_identity` value is `d` for default, `f` for full, `i` for index, and `n` for nothing.
+
+Set full replica identity when a table has toasted columns and update replication must be reliable:
+
+```sql
+alter table public.your_table replica identity full;
+```
+
+`REPLICA IDENTITY FULL` increases WAL volume because Postgres logs the full old row for updates and deletes. Use it on tables where update correctness is more important than the extra replication overhead.
+
+## How tables are structured
+
+Due to BigQuery limitations, replicated tables use a versioned structure:
+
+- The table you query is a **view**, for example `users`
+- The actual data is stored in versioned tables with a `_version` suffix, for example `users_version`
+- When a table is truncated in your database, a new version is created and the view automatically points to the latest version
+
+This structure handles table truncations while maintaining query compatibility.
+
+## Schema change support
+
+Schema change support for BigQuery is currently in beta. External replication supports a limited set of schema changes while the feature is developed further.
+
+Supported schema changes:
+
+- Adding a column
+- Removing a column
+- Renaming a column
+
+Unsupported schema changes:
+
+- Changing a column's data type
+- Replicating column default values
+
+We plan to expand schema change support over time as the feature evolves.
+
+## Limitations
+
+- **Row size**: Limited to 10 MB per row due to BigQuery Storage Write API constraints
+- **Primary keys**: Source tables must have a primary key, the replicated primary key can contain at most 16 columns, and BigQuery does not enforce key uniqueness
+- **Replica identity**: Source tables must use primary-key replica identity or `REPLICA IDENTITY FULL`
+- **Table names**: Source table names cannot start or end with `_` when replicating to BigQuery
+- **Schema changes**: Limited to the supported schema changes listed above
+
+## Additional resources
+
+- [BigQuery documentation](https://cloud.google.com/bigquery/docs) - Official Google BigQuery documentation
+- [BigQuery change data capture](https://cloud.google.com/bigquery/docs/change-data-capture) - BigQuery CDC requirements and limitations
diff --git a/apps/docs/content/guides/database/replication/external-replication-faq.mdx b/apps/docs/content/guides/database/replication/external-replication-faq.mdx
new file mode 100644
index 00000000000..424bcf64872
--- /dev/null
+++ b/apps/docs/content/guides/database/replication/external-replication-faq.mdx
@@ -0,0 +1,210 @@
+---
+id: 'external-replication-faq'
+title: 'External replication FAQ'
+description: 'Frequently asked questions about external replication.'
+subtitle: 'Common questions and answers about external replication.'
+sidebar_label: 'FAQ'
+---
+
+<Admonition type="caution" label="Private Alpha">
+
+External replication is currently in private alpha. Access is limited and features may change.
+
+</Admonition>
+
+## What destinations are supported?
+
+External replication currently supports **BigQuery** as the managed destination. See the [BigQuery destination guide](/docs/guides/database/replication/bigquery) for configuration details.
+
+We are working on new destinations. Availability may continue to vary based on the planned roll-out strategy.
+
+{/* supa-mdx-lint-disable-next-line Rule001HeadingCase */}
+
+## What happened to Analytics Buckets replication?
+
+We are currently working on a new Supabase Warehouse product designed to address the limitations of the previous Analytics Buckets. Our goal is to build a solution we can confidently stand behind, rather than continuing to support an approach that does not meet the quality and flexibility we want for our users.
+
+As a result, managed replication to Analytics Buckets is no longer available. Right now, **BigQuery** is the only supported managed destination, and we are actively working on expanding capabilities.
+
+## What does external replication install in the database?
+
+When you enable external replication, Supabase installs database objects that help track replication state and support schema changes:
+
+- An event trigger that runs on every `ALTER TABLE` statement. External replication uses this to support schema change handling.
+- A set of tables in the `etl` schema. These tables track replication state for your pipelines.
+
+The replication state tables are not updated very often, especially after the initial copy phase is complete.
+
+## What schema changes are supported?
+
+Schema change support is currently in beta and limited to the BigQuery destination.
+
+Supported schema changes:
+
+- Adding a column
+- Removing a column
+- Renaming a column
+
+External replication does not currently support changing column data types or replicating column default values. See [BigQuery schema change support](/docs/guides/database/replication/bigquery#schema-change-support) for details.
+
+## What happens when you disable external replication?
+
+Disabling external replication removes the database objects that were installed in your source database, including the replication state tables in the `etl` schema and the DDL event trigger.
+
+You must delete all external replication pipelines before the disable action is available. For the Dashboard steps, see [Disabling external replication](/docs/guides/database/replication/external-replication-setup#disabling-external-replication).
+
+Disabling external replication stops Supabase from managing external replication for the project. It does not delete tables or data that were already written to your destination.
+
+## Why is a table not being replicated?
+
+Common reasons:
+
+- **Missing primary key**: Tables must have a primary key to be replicated (Postgres logical replication requirement)
+- **Not in publication**: Ensure the table is included in your Postgres publication
+- **Unsupported data types**: Tables with custom data types are not supported
+
+Check your publication settings and verify your table meets the requirements.
+
+## How does replica identity affect updates and deletes?
+
+If inserts replicate but updates or deletes fail, check the table's `REPLICA IDENTITY` setting.
+
+Postgres logical replication uses `REPLICA IDENTITY` to decide what old-row data to include in WAL for `UPDATE` and `DELETE` events. This is based on logical WAL being enabled, not whether a replication consumer is connected at that moment. Replica identity does not affect the row data Postgres logs for `INSERT` events.
+
+Downstream destinations use old-row data to find the row that changed, handle primary-key changes, and apply deletes.
+
+Postgres supports these replica identity modes:
+
+- `DEFAULT`: uses the table's primary key. Updates and deletes require a primary key when those operations are published.
+- `FULL`: logs the full old row for updates and deletes. Postgres flattens toasted old values when needed.
+- `USING INDEX`: uses a selected unique index as the replica identity.
+- `NOTHING`: logs no old-row identity. If the table is in a publication that publishes updates or deletes, Postgres rejects those statements because there is no row identity to publish.
+
+With `DEFAULT` or `USING INDEX`, Postgres logs only the replica-identity columns. For updates, Postgres includes that old identity when it needs it, such as when an identity column changes or an identity column contains external toasted data. For deletes, Postgres includes the old identity so consumers can identify the deleted row.
+
+Large values such as `text`, `jsonb`, and `bytea` can be stored out-of-line by Postgres using TOAST. During an update, if a toasted value did not change, Postgres may send a marker that means "the value is unchanged" instead of sending the value again. The replication pipeline can only reconstruct that value when the logical replication event includes enough old-row data. If the pipeline cannot reconstruct an unchanged toasted value, the update is treated as partial.
+
+You can check a table's current setting with:
+
+```sql
+select
+ n.nspname as schema_name,
+ c.relname as table_name,
+ c.relreplident as replica_identity
+from
+ pg_class as c
+ join pg_namespace as n on n.oid = c.relnamespace
+where n.nspname = 'public' and c.relname = 'your_table';
+```
+
+The `replica_identity` value is `d` for default, `f` for full, `i` for index, and `n` for nothing.
+
+For tables with toasted columns that need reliable updates, or for destinations that need complete old-row images, set `REPLICA IDENTITY FULL`:
+
+```sql
+alter table public.your_table replica identity full;
+```
+
+`REPLICA IDENTITY FULL` increases WAL volume because Postgres logs the full old row for updates and deletes. Use it when correctness for updates and deletes is more important than the extra replication overhead.
+
+Changing replica identity only affects WAL records generated after the change. If a retained update was written while the table used `DEFAULT`, restarting replication does not decode that older record as `FULL`. Postgres logical decoding uses historic catalog snapshots, and the old tuple or key data must already be present in the WAL record.
+
+Destination-specific requirements can be stricter than Postgres itself. For BigQuery, see [BigQuery source table requirements](/docs/guides/database/replication/bigquery#source-table-requirements).
+
+After changing replica identity, restart each pipeline that includes the affected tables so the pipeline refreshes relation metadata and applies the new setting to future changes. If the pipeline is already failed, change the replica identity and then restart the pipeline.
+
+## Why aren't publication changes reflected after adding or removing tables?
+
+After modifying your Postgres publication, you must restart the replication pipeline for changes to take effect. See [Adding or removing tables](/docs/guides/database/replication/external-replication-setup#adding-or-removing-tables) for instructions.
+
+## Why is a pipeline in failed state?
+
+Pipeline failures occur during the streaming phase when an error happens while replicating live data. This prevents data loss. To recover:
+
+1. Check the error message by hovering over the **Failed** status
+2. Click **View status** for detailed information
+3. Fix the underlying issue (e.g., schema mismatches, destination connectivity)
+4. Restart the pipeline
+
+See [Handling errors](/docs/guides/database/replication/external-replication-monitoring#handling-errors) for more details.
+
+## Why is a table in error state?
+
+Table errors occur during the copy phase. To recover, click **View status**, find the affected table, and reset the table state. This will restart the table copy from the beginning.
+
+## How to verify replication is working
+
+Check the [**Database > Replication**](/dashboard/project/_/database/replication) section of the Dashboard:
+
+1. Verify your pipeline shows **Running** status
+2. Click **View status** to check table states
+3. Ensure all tables show **Live** state (actively replicating)
+4. Monitor replication lag metrics
+
+See the [external replication monitoring guide](/docs/guides/database/replication/external-replication-monitoring) for comprehensive monitoring instructions.
+
+## How to stop or pause replication
+
+You can manage your pipeline using the actions menu in the destinations list. See [Managing your pipeline](/docs/guides/database/replication/external-replication-setup#managing-your-pipeline) for details on available actions.
+
+<Admonition type="note">
+
+Stopping replication causes changes to queue up in the WAL.
+
+</Admonition>
+
+## What happens if a table is deleted at the destination?
+
+If a table is deleted downstream at the destination, the behavior depends on the destination. In general, the replication pipeline will try to recreate the missing table so that all tables in your publication can continue replicating.
+
+**To permanently remove a table from your destination you have two options:**
+
+**Option 1: Pause the pipeline first**
+
+1. Pause or delete your replication pipeline
+2. Delete the table at your destination
+3. The table will not be recreated since the pipeline is not running
+
+**Option 2: Remove from publication first**
+
+1. Remove the table from your Postgres publication using `ALTER PUBLICATION ... DROP TABLE`
+2. Restart your replication pipeline to apply the change (the table at the destination will remain but stop receiving new changes)
+3. Delete the table at your destination
+
+<Admonition type="note">
+
+Removing a table from the publication and restarting the pipeline does not delete the table downstream, it only stops replicating new changes to it.
+
+</Admonition>
+
+## Can data duplicates occur during pipeline operations?
+
+Yes, data duplicates can occur in certain scenarios when stopping a pipeline.
+
+When you stop a pipeline (for restarts or updates), the replication process tries to finish processing any transactions that are currently being sent to your destination. The pipeline waits up to a few minutes to allow these in-progress transactions to complete cleanly before stopping.
+
+However, if a transaction in your database takes longer than this waiting period to complete, the pipeline will stop before that entire transaction has been fully processed. When the pipeline starts again, it must restart the incomplete transaction from the beginning to maintain transaction boundaries, which results in some data being sent twice to your destination.
+
+### Understanding transaction boundaries
+
+A transaction is a group of database changes that happen together (for example, all changes within a `BEGIN...COMMIT` block). Postgres logical replication must process entire transactions - it cannot process part of a transaction, stop, and then continue from the middle. This means if a transaction is interrupted, the whole transaction must be replayed when the pipeline resumes.
+
+**Example scenario**: Suppose you have a large operation that updates 10,000 rows within a single transaction. If this operation takes 10 minutes to complete and you stop the pipeline after 5 minutes (when 5,000 rows have been processed), the pipeline cannot resume from row 5,001. Instead, when it restarts, it must reprocess all 10,000 rows from the beginning, resulting in the first 5,000 rows being sent to your destination twice.
+
+<Admonition type="caution">
+
+There are currently no plans to implement automatic deduplication. If your use case requires guaranteed exactly-once delivery, you should implement deduplication logic in your downstream systems based on primary keys or other unique identifiers.
+
+</Admonition>
+
+## Where to find replication logs
+
+Navigate to the [**Logs > Replication**](/dashboard/project/_/logs/explorer) section of the Dashboard to see all pipeline logs. Logs contain diagnostic information. If you're experiencing issues, contact support with your error details.
+
+## How to get help
+
+If you need assistance:
+
+1. Check the [external replication setup guide](/docs/guides/database/replication/external-replication-setup) and [external replication monitoring guide](/docs/guides/database/replication/external-replication-monitoring)
+2. Review this FAQ for common issues
+3. Contact support with your error details and logs
diff --git a/apps/docs/content/guides/database/replication/replication-monitoring.mdx b/apps/docs/content/guides/database/replication/external-replication-monitoring.mdx
similarity index 77%
rename from apps/docs/content/guides/database/replication/replication-monitoring.mdx
rename to apps/docs/content/guides/database/replication/external-replication-monitoring.mdx
index 1854ead49e4..5a03db9deec 100644
--- a/apps/docs/content/guides/database/replication/replication-monitoring.mdx
+++ b/apps/docs/content/guides/database/replication/external-replication-monitoring.mdx
@@ -1,26 +1,25 @@
---
-id: 'replication-monitoring'
-title: 'Replication Monitoring'
-description: 'Monitor the status and health of your replication pipelines.'
+id: 'external-replication-monitoring'
+title: 'External replication monitoring'
+description: 'Monitor the status and health of your external replication pipelines.'
subtitle: 'Track replication status, view logs, and troubleshoot issues.'
sidebar_label: 'Monitoring'
---
<Admonition type="caution" label="Private Alpha">
-Replication is currently in private alpha. Access is limited and features may change.
+External replication is currently in private alpha. Access is limited and features may change.
</Admonition>
-After setting up replication, you can monitor the status and health of your replication pipelines directly from the Supabase Dashboard. The pipeline is the active Postgres replication process that continuously streams changes from your database to your destination.
+After setting up external replication, you can monitor the status and health of your replication pipelines directly from the Dashboard. The pipeline is the active Postgres replication process that continuously streams changes from your database to your destination.
### Viewing pipeline status
To monitor your replication pipelines:
-1. Navigate to the [Database](/dashboard/project/_/database/replication) section in your Supabase Dashboard
-2. Select the **replication** tab
-3. You'll see a list of all your destinations with their pipeline status
+1. Navigate to the [**Database > Replication**](/dashboard/project/_/database/replication) section of the Dashboard
+2. You'll see a list of all your destinations with their pipeline status
<Image
alt="Destinations List"
@@ -118,7 +117,7 @@ height={2146}
1. Hover over the **Failed** status in the destinations list to see a quick error summary
2. Click **View status** for comprehensive error information
-3. Navigate to [Logs](/dashboard/project/_/logs/explorer) → **Replication** for detailed error logs
+3. Navigate to the [**Logs > Replication**](/dashboard/project/_/logs/explorer) section of the Dashboard for detailed error logs
**Recovering from pipeline errors:**
@@ -132,7 +131,7 @@ To recover from a pipeline error, you'll need to:
To see detailed logs for all your replication pipelines:
-1. Navigate to [Logs](/dashboard/project/_/logs/explorer) in your Supabase Dashboard
+1. Navigate to the [**Logs > Replication**](/dashboard/project/_/logs/explorer) section of the Dashboard
2. Select **Replication** from the log source filter
3. You'll see all logs from your replication pipelines
@@ -153,10 +152,10 @@ Logs contain diagnostic information that may be too technical for most users. If
#### Checking if replication is healthy
-1. Navigate to [Database](/dashboard/project/_/database/replication) → **replication**
-2. Verify your destination shows **Running** status
+1. Navigate to the [**Database > Replication**](/dashboard/project/_/database/replication) section of the Dashboard
+2. Verify your destination shows a "Running" status
3. Click **View status** to check replication lag and table states
-4. Ensure all tables show **Live** state
+4. Ensure all tables show a "Live" state
#### Investigating errors
@@ -165,7 +164,7 @@ If you see a **Failed** status:
1. Hover over the status to see the error summary
2. Click **View status** to see detailed error information
3. Check table states to identify which tables are affected
-4. Navigate to [Logs](/dashboard/project/_/logs/explorer) → **Replication** for full error details
+4. Navigate to the [**Logs > Replication**](/dashboard/project/_/logs/explorer) section of the Dashboard for full error details
5. For table errors, attempt to reset the affected tables
#### Monitoring performance
@@ -173,9 +172,9 @@ If you see a **Failed** status:
To ensure optimal performance:
1. Regularly check replication lag metrics in the pipeline status view
-2. Monitor table states to ensure tables are staying in **Live** state
+2. Monitor table states to ensure tables are staying in a "Live" state
3. Review logs for warnings or performance issues
-4. If lag is consistently high, consider adjusting your publication or batch wait time settings
+4. If lag is consistently high, review your publication and destination configuration
### Troubleshooting
@@ -183,13 +182,13 @@ If you notice issues with your replication:
1. **Check pipeline state**: Ensure the pipeline is in **Running** state
2. **Review table states**: Identify tables in **Error** state
-3. **Check logs**: Navigate to Logs → Replication for detailed error information
+3. **Check logs**: Navigate to the [**Logs > Replication**](/dashboard/project/_/logs/explorer) section of the Dashboard for detailed error information
4. **Verify publication**: Ensure your Postgres publication is properly configured
5. **Monitor replication lag**: High lag may indicate performance issues
-For more troubleshooting tips, see the [Replication FAQ](/docs/guides/database/replication/replication-faq).
+For more troubleshooting tips, see the [external replication FAQ](/docs/guides/database/replication/external-replication-faq).
### Next steps
-- [Set up replication](/docs/guides/database/replication/replication-setup)
-- [View replication FAQ](/docs/guides/database/replication/replication-faq)
+- [Set up external replication](/docs/guides/database/replication/external-replication-setup)
+- [View external replication FAQ](/docs/guides/database/replication/external-replication-faq)
diff --git a/apps/docs/content/guides/database/replication/external-replication-setup.mdx b/apps/docs/content/guides/database/replication/external-replication-setup.mdx
new file mode 100644
index 00000000000..2b13ab71850
--- /dev/null
+++ b/apps/docs/content/guides/database/replication/external-replication-setup.mdx
@@ -0,0 +1,280 @@
+---
+id: 'external-replication-setup'
+title: 'Set up external replication'
+description: 'Set up external replication using Postgres logical replication.'
+subtitle: 'Configure publications and destinations for external replication.'
+sidebar_label: 'Setting up'
+---
+
+<Admonition type="caution" label="Private Alpha">
+
+External replication is currently in private alpha. Access is limited and features may change.
+
+</Admonition>
+
+External replication is powered by [Supabase ETL](https://github.com/supabase/etl) and uses **Postgres logical replication** to stream changes from your database to external data systems. It provides a managed interface through the Dashboard to configure and monitor replication pipelines.
+
+## Setup overview
+
+External replication requires two main components: a **Postgres publication** (defines what to replicate) and a **destination** (where data is sent). Follow these steps to set up your replication pipeline.
+
+<Admonition type="tip">
+
+If you already have a Postgres publication set up, you can skip to [Step 2: Enable external replication](#step-2-enable-external-replication).
+
+</Admonition>
+
+### Step 1: Create a Postgres publication
+
+A Postgres publication defines which tables and change types will be replicated from your database. You create publications using SQL.
+
+#### Creating a publication
+
+The following SQL examples assume you have `users` and `orders` tables in your database.
+
+##### Publication for specific tables
+
+```sql
+-- Create publication for both tables
+create publication pub_users_orders
+for table users, orders;
+```
+
+This publication tracks all changes (INSERT, UPDATE, DELETE, TRUNCATE) for both the `users` and `orders` tables.
+
+##### Publication for all tables in a schema
+
+```sql
+-- Create a publication for all tables in the public schema
+create publication pub_all_public for tables in schema public;
+```
+
+This tracks changes for all existing and future tables in the `public` schema.
+
+##### Publication for all tables
+
+```sql
+-- Create a publication for all tables
+create publication pub_all_tables for all tables;
+```
+
+This tracks changes for all tables in your database.
+
+#### Advanced publication options
+
+##### Selecting specific columns
+
+You can replicate only a subset of columns from a table:
+
+```sql
+-- Replicate only specific columns from the users table
+create publication pub_users_subset
+for table users (id, email, created_at);
+```
+
+This only replicates the `id`, `email`, and `created_at` columns from the `users` table.
+
+##### Filtering rows with a predicate
+
+You can filter which rows to replicate using a `WHERE` clause:
+
+```sql
+-- Only replicate active users
+create publication pub_active_users
+for table users where (status = 'active');
+
+-- Only replicate recent orders
+create publication pub_recent_orders
+for table orders where (created_at > '2024-01-01');
+```
+
+#### Viewing publications in the Dashboard
+
+After creating a publication via SQL, you can view it in the Dashboard:
+
+1. Navigate to the [**Database > Publications**](/dashboard/project/_/database/publications) section of the Dashboard
+2. You'll see all your publications listed with their tables
+
+### Step 2: Enable external replication
+
+Before creating an external replication pipeline, enable external replication for your project:
+
+1. Navigate to the [**Database > Replication**](/dashboard/project/_/database/replication) section of the Dashboard
+2. Click **Add destination** to show the replication side panel
+3. Select an external replication destination, such as **BigQuery**
+4. Click **Enable external replication**
+
+<Image
+ alt="Enable external replication"
+ src="/docs/img/database/replication/replication-enable-replication.png"
+ width={3560}
+ height={2156}
+/>
+
+### Step 3: Configure a destination
+
+Once external replication is enabled and you have a Postgres publication, configure a destination. The destination is where your replicated data will be stored, while the pipeline is the active Postgres replication process that continuously streams changes from your database to that destination.
+
+#### Choose and configure your destination
+
+Follow these steps to configure your destination. Each destination has its own setup requirements and behavior. **BigQuery** is currently available, and we are working on new destinations.
+
+1. Navigate to the [**Database > Replication**](/dashboard/project/_/database/replication) section of the Dashboard
+2. Click **Add destination** if the destination side panel isn't already open
+
+3. Configure the general settings:
+ - **Destination name**: A name to identify this destination
+ - **Publication**: The publication to replicate data from (created in [Step 1](#step-1-create-a-postgres-publication))
+ - **Destination type**: Select the destination you want to use
+
+4. Configure the destination-specific settings. See the destination guide for required credentials, permissions, and limitations:
+ - [BigQuery](/docs/guides/database/replication/bigquery)
+
+5. Optionally expand **Advanced settings** to tune pipeline behavior. These settings apply to the pipeline rather than the destination:
+
+ | Setting | Default | Description |
+ | ------------------------------ | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+ | **Batch wait time** | `10000` milliseconds | Maximum time the pipeline waits to collect additional changes before flushing them. Lower values reduce replication latency. Higher values can improve batching efficiency. |
+ | **Table sync workers** | `4` workers | Number of tables copied in parallel during the initial snapshot phase. Each worker uses one replication slot, up to `N + 1` total replication slots while syncing. |
+ | **Copy connections per table** | `2` connections | Number of parallel database connections each table copy can use during the initial sync. Increasing this can speed up large table copies, but uses more database connections. |
+ | **Invalidated slot behavior** | `Error` | What the pipeline does when its replication slot is invalidated. **Error** blocks startup so you can recover manually. **Recreate** rebuilds the slot and starts replication from scratch. |
+
+ Leave these settings at their defaults unless you need to tune initial copy speed, latency, or recovery behavior.
+
+6. Click **Create and start** to begin replication
+
+Your replication pipeline now starts copying data from your database to your destination.
+
+### Step 4: Monitor your pipeline
+
+After creating a destination, the replication pipeline starts and appears in the destinations list. You can monitor the pipeline's status and performance from the Dashboard.
+
+<Image
+ alt="External replication destinations list"
+ src="/docs/img/database/replication/replication-destinations-list.png"
+ width={3560}
+ height={2146}
+
+/>
+
+For comprehensive monitoring instructions including pipeline states, metrics, and logs, see the [external replication monitoring guide](/docs/guides/database/replication/external-replication-monitoring).
+
+### Managing your pipeline
+
+You can manage your pipeline from the destinations list using the actions menu.
+
+<Image
+ alt="Pipeline actions"
+ src="/docs/img/database/replication/replication-pipeline-actions.png"
+ width={3560}
+ height={2146}
+
+/>
+
+Available actions:
+
+- **Start**: Begin replication for a stopped pipeline
+- **Stop**: Pause replication (changes will queue up in the WAL)
+- **Restart**: Stop and start the pipeline (required after publication changes)
+- **Edit destination**: Modify destination settings like credentials or advanced options
+- **Delete**: Remove the destination and permanently stop replication
+
+### Disabling external replication
+
+To turn off external replication for a project, delete all external replication pipelines first. After all pipelines are removed, open the three-dot actions menu on the Replication page and click **Disable external replication**.
+
+<Image
+ alt="Disable external replication from the Replication page actions menu"
+ src="/docs/img/database/replication/replication-disable-external-replication.png"
+ width={3560}
+ height={2156}
+/>
+
+For cleanup details, see [What happens when you disable external replication?](/docs/guides/database/replication/external-replication-faq#what-happens-when-you-disable-external-replication).
+
+### Adding or removing tables
+
+If you need to modify which tables are replicated after your replication pipeline is already running, follow these steps:
+
+<Admonition type="note">
+
+If your Postgres publication uses `FOR ALL TABLES` or `FOR TABLES IN SCHEMA`, new tables in that scope are automatically included in the publication. However, you still **must restart the replication pipeline** for the changes to take effect.
+
+</Admonition>
+
+#### Adding tables to replication
+
+1. Add the table to your publication using SQL:
+
+ ```sql
+ -- Add a single table to an existing publication
+ alter publication pub_users_orders add table products;
+
+ -- Or add multiple tables at once
+ alter publication pub_users_orders add table products, categories;
+ ```
+
+2. **Restart the replication pipeline** using the actions menu (see [Managing your pipeline](#managing-your-pipeline)) for the changes to take effect.
+
+#### Removing tables from replication
+
+1. Remove the table from your Postgres publication using SQL:
+
+ ```sql
+ -- Remove a single table from a publication
+ alter publication pub_users_orders drop table orders;
+
+ -- Or remove multiple tables at once
+ alter publication pub_users_orders drop table orders, products;
+ ```
+
+2. **Restart the replication pipeline** using the actions menu (see [Managing your pipeline](#managing-your-pipeline)) for the changes to take effect.
+
+<Admonition type="note">
+
+When a table is deleted at the destination, the behavior depends on the destination. In general, the pipeline tries to recreate the table so replication can continue. To permanently delete a table, pause the pipeline first or remove it from the publication before deleting. See the [external replication FAQ](/docs/guides/database/replication/external-replication-faq#what-happens-if-a-table-is-deleted-at-the-destination) for details.
+
+</Admonition>
+
+### Schema change support
+
+Schema change support depends on the destination. BigQuery is currently the only destination with beta schema change support. See [BigQuery schema change support](/docs/guides/database/replication/bigquery#schema-change-support) for supported and unsupported changes.
+
+### How it works
+
+Once configured, external replication:
+
+1. **Captures** changes from your Postgres database using Postgres publications and logical replication
+2. **Streams** the changes through the replication pipeline
+3. **Loads** the data to your destination
+
+External replication automatically optimizes how changes are delivered to the destination. The replication pipeline currently performs data extraction and loading only, without transformation - your data is replicated as-is to the destination.
+
+### Troubleshooting
+
+If you encounter issues during setup:
+
+- **Publication not appearing**: Ensure you created the Postgres publication via SQL and refresh the dashboard
+- **Tables not showing in publication**: Verify your tables have primary keys (required for Postgres logical replication)
+- **Pipeline failed to start**: Check the error message in the status view for specific details
+- **No data being replicated**: Verify your Postgres publication includes the correct tables and event types
+
+For more troubleshooting help, see the [external replication FAQ](/docs/guides/database/replication/external-replication-faq).
+
+### Limitations
+
+External replication has the following limitations:
+
+- **Primary keys required**: Tables must have primary keys (Postgres logical replication requirement)
+- **Custom data types**: Not supported
+- **Schema changes**: Currently in beta and limited to BigQuery
+- **No data transformation**: Data is replicated as-is without transformation
+- **Data duplicates**: Duplicates can occur when stopping a pipeline if your database has transactions that take longer than a few minutes to complete. See [Can data duplicates occur during pipeline operations?](/docs/guides/database/replication/external-replication-faq#can-data-duplicates-occur-during-pipeline-operations) for details
+
+Destination-specific limitations, such as BigQuery's row size limits, are documented in each destination guide.
+
+### Next steps
+
+- [Set up BigQuery](/docs/guides/database/replication/bigquery)
+- [Monitor external replication](/docs/guides/database/replication/external-replication-monitoring)
+- [View external replication FAQ](/docs/guides/database/replication/external-replication-faq)
diff --git a/apps/docs/content/guides/database/replication/manual-replication-faq.mdx b/apps/docs/content/guides/database/replication/manual-replication-faq.mdx
index 2ee5bc876d9..09e28509a0a 100644
--- a/apps/docs/content/guides/database/replication/manual-replication-faq.mdx
+++ b/apps/docs/content/guides/database/replication/manual-replication-faq.mdx
@@ -1,6 +1,6 @@
---
id: 'manual-replication-faq'
-title: 'Manual Replication FAQ'
+title: 'Manual replication FAQ'
description: 'Frequently asked questions about manual database replication.'
subtitle: 'Common questions and considerations when setting up manual replication.'
sidebar_label: 'FAQ'
diff --git a/apps/docs/content/guides/database/replication/manual-replication-monitoring.mdx b/apps/docs/content/guides/database/replication/manual-replication-monitoring.mdx
index 72675da17ba..0e9da551f2b 100644
--- a/apps/docs/content/guides/database/replication/manual-replication-monitoring.mdx
+++ b/apps/docs/content/guides/database/replication/manual-replication-monitoring.mdx
@@ -1,6 +1,6 @@
---
id: 'manual-replication-monitoring'
-title: 'Manual Replication Monitoring'
+title: 'Manual replication monitoring'
description: 'Monitor replication lag and status for manual replication setups.'
subtitle: 'Track replication health and performance.'
sidebar_label: 'Monitoring'
@@ -8,7 +8,7 @@ sidebar_label: 'Monitoring'
Monitoring replication lag is important and there are 3 ways to do this:
-1. Dashboard - Under the [Reports](/docs/guides/telemetry/reports) of the dashboard, you can view the replication lag of your project
+1. Dashboard - In [Reports](/docs/guides/telemetry/reports), you can view the replication lag of your project
2. Database -
- pg_stat_subscription (subscriber) - if PID is null, then the subscription is not active
- pg_stat_subscription_stats - look here for error_count to see if there were issues applying or syncing (if yes, check the logs for why)
diff --git a/apps/docs/content/guides/database/replication/manual-replication-setup.mdx b/apps/docs/content/guides/database/replication/manual-replication-setup.mdx
index 8cffca0e668..f2dccb25e8a 100644
--- a/apps/docs/content/guides/database/replication/manual-replication-setup.mdx
+++ b/apps/docs/content/guides/database/replication/manual-replication-setup.mdx
@@ -1,16 +1,16 @@
---
id: 'manual-replication-setup'
-title: 'Manual Replication Setup'
+title: 'Set up manual replication'
description: 'Configure your own replication using external tools and Postgres logical replication.'
subtitle: 'Set up replication with Airbyte, Estuary, Fivetran, and other tools.'
sidebar_label: 'Setting up'
---
-This guide covers setting up **manual logical replication** using external tools. If you prefer a simpler, managed solution, read [the Replication setup docs](/docs/guides/database/replication/replication-setup) instead.
+This guide covers setting up **manual logical replication** using external tools. If you prefer a managed solution, read the [external replication setup guide](/docs/guides/database/replication/external-replication-setup) instead.
<Admonition type="note">
-This guide is for replicating data to external systems using your own tools. For deploying read-only databases across multiple regions, see [Read Replicas](/docs/guides/platform/read-replicas) instead.
+This guide is for replicating data to external systems using your own tools. For deploying read-only databases across multiple regions, see [read replicas](/docs/guides/platform/read-replicas) instead.
</Admonition>
diff --git a/apps/docs/content/guides/database/replication/replication-faq.mdx b/apps/docs/content/guides/database/replication/replication-faq.mdx
deleted file mode 100644
index da6710c3631..00000000000
--- a/apps/docs/content/guides/database/replication/replication-faq.mdx
+++ /dev/null
@@ -1,123 +0,0 @@
----
-id: 'replication-faq'
-title: 'Replication FAQ'
-description: 'Frequently asked questions about replication.'
-subtitle: 'Common questions and answers about replication.'
-sidebar_label: 'FAQ'
----
-
-<Admonition type="caution" label="Private Alpha">
-
-Replication is currently in private alpha. Access is limited and features may change.
-
-</Admonition>
-
-## What destinations are supported?
-
-Replication currently supports **BigQuery** as the only managed destination. See the [Setup guide](/docs/guides/database/replication/replication-setup#step-3-add-a-destination) for configuration details.
-
-We are working on adding more destinations in the future. Availability may continue to vary based on the planned roll-out strategy.
-
-{/* supa-mdx-lint-disable-next-line Rule001HeadingCase */}
-
-## What happened to Analytics Buckets replication?
-
-We are currently working on a new Supabase Warehouse product designed to address the limitations of the previous Analytics Buckets. Our goal is to build a solution we can confidently stand behind, rather than continuing to support an approach that does not meet the quality and flexibility we want for our users.
-
-As a result, managed replication to Analytics Buckets through Supabase ETL is no longer available. Right now, **BigQuery** is the only supported managed destination, and we are actively working on expanding capabilities.
-
-## Why is a table not being replicated?
-
-Common reasons:
-
-- **Missing primary key**: Tables must have a primary key to be replicated (Postgres logical replication requirement)
-- **Not in publication**: Ensure the table is included in your Postgres publication
-- **Unsupported data types**: Tables with custom data types are not supported
-
-Check your publication settings and verify your table meets the requirements.
-
-## Why aren't publication changes reflected after adding or removing tables?
-
-After modifying your Postgres publication, you must restart the replication pipeline for changes to take effect. See [Adding or removing tables](/docs/guides/database/replication/replication-setup#adding-or-removing-tables) for instructions.
-
-## Why is a pipeline in failed state?
-
-Pipeline failures occur during the streaming phase when an error happens while replicating live data. This prevents data loss. To recover:
-
-1. Check the error message by hovering over the **Failed** status
-2. Click **View status** for detailed information
-3. Fix the underlying issue (e.g., schema mismatches, destination connectivity)
-4. Restart the pipeline
-
-See [Handling errors](/docs/guides/database/replication/replication-monitoring#handling-errors) for more details.
-
-## Why is a table in error state?
-
-Table errors occur during the copy phase. To recover, click **View status**, find the affected table, and reset the table state. This will restart the table copy from the beginning.
-
-## How to verify replication is working
-
-Check the [Database](/dashboard/project/_/database/replication) → **replication** page:
-
-1. Verify your pipeline shows **Running** status
-2. Click **View status** to check table states
-3. Ensure all tables show **Live** state (actively replicating)
-4. Monitor replication lag metrics
-
-See the [Replication Monitoring guide](/docs/guides/database/replication/replication-monitoring) for comprehensive monitoring instructions.
-
-## How to stop or pause replication
-
-You can manage your pipeline using the actions menu in the destinations list. See [Managing your pipeline](/docs/guides/database/replication/replication-setup#managing-your-pipeline) for details on available actions.
-
-Note: Stopping replication will cause changes to queue up in the WAL.
-
-## What happens if a table is deleted at the destination?
-
-If a table is deleted downstream at the destination (for example, in your BigQuery dataset), the replication pipeline will automatically recreate it.
-
-This behavior is by design to prevent the pipeline from breaking if tables are accidentally deleted. The pipeline ensures that all tables in your publication are always present at the destination.
-
-**To permanently remove a table from your destination:**
-
-You have two options:
-
-**Option 1: Pause the pipeline first**
-
-1. Pause or delete your replication pipeline
-2. Delete the table at your destination
-3. The table will not be recreated since the pipeline is not running
-
-**Option 2: Remove from publication first**
-
-1. Remove the table from your Postgres publication using `ALTER PUBLICATION ... DROP TABLE`
-2. Restart your replication pipeline to apply the change (the table at the destination will remain but stop receiving new changes)
-3. Delete the table at your destination
-
-Note: Removing a table from the publication and restarting the pipeline does not delete the table downstream, it only stops replicating new changes to it.
-
-## Can data duplicates occur during pipeline operations?
-
-Yes, data duplicates can occur in certain scenarios when stopping a pipeline.
-
-When you stop a pipeline (for restarts or updates), the replication process tries to finish processing any transactions that are currently being sent to your destination. It waits up to a few minutes to allow these in-progress transactions to complete cleanly before stopping.
-
-However, if a transaction in your database takes longer than this waiting period to complete, the pipeline will stop before that entire transaction has been fully processed. When the pipeline starts again, it must restart the incomplete transaction from the beginning to maintain transaction boundaries, which results in some data being sent twice to your destination.
-
-**Understanding transaction boundaries**: A transaction is a group of database changes that happen together (for example, all changes within a `BEGIN...COMMIT` block). Postgres logical replication must process entire transactions - it cannot process part of a transaction, stop, and then continue from the middle. This means if a transaction is interrupted, the whole transaction must be replayed when the pipeline resumes.
-
-**Example scenario**: Suppose you have a batch operation that updates 10,000 rows within a single transaction. If this operation takes 10 minutes to complete and you stop the pipeline after 5 minutes (when 5,000 rows have been processed), the pipeline cannot resume from row 5,001. Instead, when it restarts, it must reprocess all 10,000 rows from the beginning, resulting in the first 5,000 rows being sent to your destination twice.
-
-**Important**: There are currently no plans to implement automatic deduplication. If your use case requires guaranteed exactly-once delivery, you should implement deduplication logic in your downstream systems based on primary keys or other unique identifiers.
-
-## Where to find replication logs
-
-Navigate to [Logs](/dashboard/project/_/logs/explorer) → **Replication** to see all pipeline logs. Logs contain diagnostic information. If you're experiencing issues, contact support with your error details.
-
-## How to get help
-
-If you need assistance:
-
-1. Check the [Replication Setup guide](/docs/guides/database/replication/replication-setup) and [Replication Monitoring guide](/docs/guides/database/replication/replication-monitoring)
-2. Review this FAQ for common issues
-3. Contact support with your error details and logs
diff --git a/apps/docs/content/guides/database/replication/replication-setup.mdx b/apps/docs/content/guides/database/replication/replication-setup.mdx
deleted file mode 100644
index 659247e2e4c..00000000000
--- a/apps/docs/content/guides/database/replication/replication-setup.mdx
+++ /dev/null
@@ -1,345 +0,0 @@
----
-id: 'replication-setup'
-title: 'Replication Setup'
-description: 'Set up replication using Postgres logical replication.'
-subtitle: 'Configure publications and destinations for replication.'
-sidebar_label: 'Setting up'
----
-
-<Admonition type="caution" label="Private Alpha">
-
-Replication is currently in private alpha. Access is limited and features may change.
-
-</Admonition>
-
-Replication uses **Postgres logical replication** to stream changes from your database. Powered by [Supabase ETL](https://github.com/supabase/etl), an open source tool built for Postgres logical replication, it provides a managed interface through the Dashboard to configure and monitor replication pipelines.
-
-## Setup overview
-
-Replication requires two main components: a **Postgres publication** (defines what to replicate) and a **destination** (where data is sent). Follow these steps to set up your replication pipeline.
-
-<Admonition type="tip">
-
-If you already have a Postgres publication set up, you can skip to [Step 2: Enable replication](#step-2-enable-replication).
-
-</Admonition>
-
-### Step 1: Create a Postgres publication
-
-A Postgres publication defines which tables and change types will be replicated from your database. You create publications using SQL.
-
-#### Creating a publication
-
-The following SQL examples assume you have `users` and `orders` tables in your database.
-
-##### Publication for specific tables
-
-```sql
--- Create publication for both tables
-create publication pub_users_orders
-for table users, orders;
-```
-
-This publication will track all changes (INSERT, UPDATE, DELETE, TRUNCATE) for both the `users` and `orders` tables.
-
-##### Publication for all tables in a schema
-
-```sql
--- Create a publication for all tables in the public schema
-create publication pub_all_public for tables in schema public;
-```
-
-This will track changes for all existing and future tables in the `public` schema.
-
-##### Publication for all tables
-
-```sql
--- Create a publication for all tables
-create publication pub_all_tables for all tables;
-```
-
-This will track changes for all tables in your database.
-
-#### Advanced publication options
-
-##### Selecting specific columns
-
-You can replicate only a subset of columns from a table:
-
-```sql
--- Replicate only specific columns from the users table
-create publication pub_users_subset
-for table users (id, email, created_at);
-```
-
-This will only replicate the `id`, `email`, and `created_at` columns from the `users` table.
-
-##### Filtering rows with a predicate
-
-You can filter which rows to replicate using a WHERE clause:
-
-```sql
--- Only replicate active users
-create publication pub_active_users
-for table users where (status = 'active');
-
--- Only replicate recent orders
-create publication pub_recent_orders
-for table orders where (created_at > '2024-01-01');
-```
-
-#### Viewing publications in the Dashboard
-
-After creating a publication via SQL, you can view it in the Supabase Dashboard:
-
-1. Navigate to **Database** → [Publications](/dashboard/project/_/database/publications) in your Supabase Dashboard
-2. You'll see all your publications listed with their tables
-
-### Step 2: Enable replication
-
-Before adding destinations, you need to enable replication for your project:
-
-1. Navigate to the [Database](/dashboard/project/_/database/replication) section in your Supabase Dashboard
-2. Select the **replication** tab
-3. Click **Enable replication** to activate replication for your project
-
-<Image
- alt="Enable Replication"
- src="/docs/img/database/replication/replication-enable-replication.png"
-
-width={3560}
-height={2146}
-/>
-
-### Step 3: Add a destination
-
-Once replication is enabled and you have a Postgres publication, you can add a destination. The destination is where your replicated data will be stored, while the pipeline is the active Postgres replication process that continuously streams changes from your database to that destination.
-
-#### Choose and configure your destination
-
-Follow these steps to configure your destination. Right now, **BigQuery** is the only managed destination available in Replication.
-
-<Admonition type="note" title="Why Analytics Buckets are no longer listed here">
-
-We are currently working on a new Supabase Warehouse product designed to address the limitations of the previous Analytics Buckets. Our goal is to build a solution we can confidently stand behind, rather than continuing to support an approach that does not meet the quality and flexibility we want for our users.
-
-At the moment, BigQuery is the only supported destination, but we are actively working on expanding capabilities.
-
-</Admonition>
-
-[BigQuery](https://cloud.google.com/bigquery) is Google's fully managed data warehouse. You can replicate your database tables to BigQuery for analytics and reporting.
-
-##### Step 1: Prepare GCP resources
-
-Before configuring BigQuery as a destination, set up the following in Google Cloud Platform:
-
-1. **Google Cloud Platform (GCP) account**: [Sign up for GCP](https://cloud.google.com/gcp) if you don't have one
-
-2. **BigQuery dataset**: Create a [BigQuery dataset](https://cloud.google.com/bigquery/docs/datasets-intro) in your GCP project
- - Open the BigQuery console in GCP
- - Select your project
- - Click "Create Dataset"
- - Provide a dataset ID (e.g., `supabase_replication`)
-
-3. **GCP service account key**: Create a [service account](https://cloud.google.com/iam/docs/keys-create-delete) with appropriate permissions:
- - Go to IAM & Admin → Service Accounts
- - Click "Create Service Account"
- - Grant the **BigQuery Data Editor** role
- - Create and download the JSON key file
-
- Required permissions:
- - `bigquery.datasets.get`
- - `bigquery.tables.create`
- - `bigquery.tables.get`
- - `bigquery.tables.getData`
- - `bigquery.tables.update`
- - `bigquery.tables.updateData`
-
-##### Step 2: Configure BigQuery as a destination
-
-1. Navigate to [Database](/dashboard/project/_/database/replication) → **replication** in your Supabase Dashboard
-2. Click **Add destination**
-
- <Image
- alt="BigQuery Configuration Settings"
- src="/docs/img/database/replication/replication-bigquery-details.png"
- width={3560}
- height={2146}
- />
-
-3. Configure the general settings:
- - **Destination name**: A name to identify this destination (e.g., "BigQuery Warehouse")
- - **Publication**: The publication to replicate data from (created in [Step 1](#step-1-create-a-postgres-publication))
- - **Destination type**: Select **BigQuery**
-
-4. Configure BigQuery-specific settings:
- - **Project ID**: Your BigQuery project identifier (found in the GCP Console)
- - **Dataset ID**: The name of your BigQuery dataset (without the project ID)
-
- <Admonition type="note">
-
- In the GCP Console, the dataset is shown as `project-id.dataset-id`. Enter only the part after the dot. For example, if you see `my-project.my_dataset`, enter `my_dataset`.
-
- </Admonition>
-
- - **Service Account Key**: Your GCP service account key in JSON format (from Step 1)
-
-5. Configure **Advanced Settings** (optional):
- - **Batch wait time (milliseconds)**: How long to wait for more changes before sending a batch. Default is recommended for optimal performance.
-
-6. Click **Create and start** to begin replication
-
-Your replication pipeline will now start copying data from your database to BigQuery.
-
-##### How it works
-
-Once configured, replication to BigQuery:
-
-1. Captures changes from your Postgres database (INSERT, UPDATE, DELETE, TRUNCATE operations)
-2. Batches changes for optimal performance
-3. Creates BigQuery tables automatically to match your Postgres schema
-4. Streams data to BigQuery
-
-##### How tables are structured
-
-Due to BigQuery limitations, replicated tables use a versioned structure:
-
-- The table you query is a **view** (e.g., `users`)
-- The actual data is stored in versioned tables with a `_version` suffix (e.g., `users_version`)
-- When a table is truncated in your database, a new version is created and the view automatically points to the latest version
-
-This structure handles table truncations seamlessly while maintaining query compatibility.
-
-##### Limitations
-
-- **Row size**: Limited to 10 MB per row due to BigQuery Storage Write API constraints
-- **Table names**: Source table names cannot start or end with `_` when replicating to BigQuery
-
-##### Additional resources
-
-- [BigQuery documentation](https://cloud.google.com/bigquery/docs) - Official Google BigQuery documentation
-
-### Step 4: Monitor your pipeline
-
-After creating a destination, the replication pipeline will start and appear in the destinations list. You can monitor the pipeline's status and performance from the Dashboard.
-
-<Image
- alt="Replication Destinations List"
- src="/docs/img/database/replication/replication-destinations-list.png"
- width={3560}
- height={2146}
-
-/>
-
-For comprehensive monitoring instructions including pipeline states, metrics, and logs, see the [Replication Monitoring guide](/docs/guides/database/replication/replication-monitoring).
-
-### Managing your pipeline
-
-You can manage your pipeline from the destinations list using the actions menu.
-
-<Image
- alt="Pipeline Actions"
- src="/docs/img/database/replication/replication-pipeline-actions.png"
- width={3560}
- height={2146}
-
-/>
-
-Available actions:
-
-- **Start**: Begin replication for a stopped pipeline
-- **Stop**: Pause replication (changes will queue up in the WAL)
-- **Restart**: Stop and start the pipeline (required after publication changes)
-- **Edit destination**: Modify destination settings like credentials or advanced options
-- **Delete**: Remove the destination and permanently stop replication
-
-### Adding or removing tables
-
-If you need to modify which tables are replicated after your replication pipeline is already running, follow these steps:
-
-<Admonition type="note">
-
-If your Postgres publication uses `FOR ALL TABLES` or `FOR TABLES IN SCHEMA`, new tables in that scope are automatically included in the publication. However, you still **must restart the replication pipeline** for the changes to take effect.
-
-</Admonition>
-
-#### Adding tables to replication
-
-1. Add the table to your publication using SQL:
-
- ```sql
- -- Add a single table to an existing publication
- alter publication pub_users_orders add table products;
-
- -- Or add multiple tables at once
- alter publication pub_users_orders add table products, categories;
- ```
-
-2. **Restart the replication pipeline** using the actions menu (see [Managing your pipeline](#managing-your-pipeline)) for the changes to take effect.
-
-#### Removing tables from replication
-
-1. Remove the table from your Postgres publication using SQL:
-
- ```sql
- -- Remove a single table from a publication
- alter publication pub_users_orders drop table orders;
-
- -- Or remove multiple tables at once
- alter publication pub_users_orders drop table orders, products;
- ```
-
-2. **Restart the replication pipeline** using the actions menu (see [Managing your pipeline](#managing-your-pipeline)) for the changes to take effect.
-
-<Admonition type="note">
-
-Deleted tables are automatically recreated by the pipeline. To permanently delete a table, pause the pipeline first or remove it from the publication before deleting. See the [FAQ](/docs/guides/database/replication/replication-faq#what-happens-if-a-table-is-deleted-at-the-destination) for details.
-
-</Admonition>
-
-### How it works
-
-Once configured, replication:
-
-1. **Captures** changes from your Postgres database using Postgres publications and logical replication
-2. **Streams** the changes through the replication pipeline
-3. **Loads** the data to your destination in near real-time batches
-
-Changes are sent in batches to optimize performance and reduce costs. The batch size and timing can be adjusted using the advanced settings. The replication pipeline currently performs data extraction and loading only, without transformation - your data is replicated as-is to the destination.
-
-### Troubleshooting
-
-If you encounter issues during setup:
-
-- **Publication not appearing**: Ensure you created the Postgres publication via SQL and refresh the dashboard
-- **Tables not showing in publication**: Verify your tables have primary keys (required for Postgres logical replication)
-- **Pipeline failed to start**: Check the error message in the status view for specific details
-- **No data being replicated**: Verify your Postgres publication includes the correct tables and event types
-
-For more troubleshooting help, see the [Replication FAQ](/docs/guides/database/replication/replication-faq).
-
-### Limitations
-
-Replication has the following limitations:
-
-- **Primary keys required**: Tables must have primary keys (Postgres logical replication requirement)
-- **Custom data types**: Not supported
-- **Schema changes**: Not automatically handled
-- **No data transformation**: Data is replicated as-is without transformation
-- **Data duplicates**: Duplicates can occur when stopping a pipeline if your database has transactions that take longer than a few minutes to complete. See [Can data duplicates occur?](/docs/guides/database/replication/replication-faq#can-data-duplicates-occur-during-pipeline-operations) for details
-
-Destination-specific limitations, such as BigQuery's row size limits, are documented in [Step 3](#step-3-add-a-destination) above.
-
-### Future work
-
-Replication is actively being developed. Planned improvements include:
-
-- **DDL support**: Automatic handling of Postgres schema changes (ALTER TABLE, ADD COLUMN, etc.)
-- **Additional destinations**: Support for more data warehouses and analytics platforms
-
-There are no public timelines for these features, but they represent the roadmap for making replication more robust and flexible.
-
-### Next steps
-
-- [Monitor Replication](/docs/guides/database/replication/replication-monitoring)
-- [View Replication FAQ](/docs/guides/database/replication/replication-faq)
diff --git a/apps/docs/content/guides/getting-started/features.mdx b/apps/docs/content/guides/getting-started/features.mdx
index 55bab5ea349..184be241615 100644
--- a/apps/docs/content/guides/getting-started/features.mdx
+++ b/apps/docs/content/guides/getting-started/features.mdx
@@ -34,7 +34,7 @@ Encrypt sensitive data and store secrets using our Postgres extension, Supabase
### Replication
-Automatically replicate your database to external destinations like data warehouses and analytics platforms. [Docs](/docs/guides/database/replication/replication-setup).
+Automatically replicate your database to external destinations like data warehouses and analytics platforms. Read [the external replication documentation](/docs/guides/database/replication/external-replication-setup) for more details.
## Platform
diff --git a/apps/docs/content/guides/realtime/reports.mdx b/apps/docs/content/guides/realtime/reports.mdx
index f3d8f08f2e9..0cf8e04208f 100644
--- a/apps/docs/content/guides/realtime/reports.mdx
+++ b/apps/docs/content/guides/realtime/reports.mdx
@@ -145,15 +145,15 @@ height={625}
### Actions you can take
-| Action | Description | More information |
-| ------------------------ | ----------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
-| Review quotas | Understand Postgres change payload size limits (1,024 KB for all plans) and message throughput limits | [Realtime Quotas Reference](/docs/guides/realtime/quotas) |
-| Check logs | Investigate Postgres Changes errors or performance issues in your project dashboard | [Realtime Logs Dashboard](/dashboard/project/_/database/realtime-logs) |
-| Learn Postgres Changes | Understand limitations and best practices for using Postgres Changes | [Postgres Changes Guide](/docs/guides/realtime/postgres-changes) |
-| Migrate to Broadcast | For better scalability, consider using Broadcast with database triggers instead of Postgres Changes | [Broadcast Guide](/docs/guides/realtime/broadcast) |
-| Create database triggers | Understand how to create triggers that can send Broadcast messages on database events | [Database Triggers Guide](/docs/guides/database/postgres/triggers) |
-| Monitor replication | Monitor logical replication health and lag since Postgres Changes reads from the WAL | [Replication Monitoring Guide](/docs/guides/database/replication/replication-monitoring) |
-| Contact support | Discuss scaling strategies or custom solutions for high-volume database change subscriptions | [Support Portal](/dashboard/support/new) |
+| Action | Description | More information |
+| ------------------------ | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
+| Review quotas | Understand Postgres change payload size limits (1,024 KB for all plans) and message throughput limits | [Realtime Quotas Reference](/docs/guides/realtime/quotas) |
+| Check logs | Investigate Postgres Changes errors or performance issues in your project dashboard | [Realtime Logs Dashboard](/dashboard/project/_/database/realtime-logs) |
+| Learn Postgres Changes | Understand limitations and best practices for using Postgres Changes | [Postgres Changes Guide](/docs/guides/realtime/postgres-changes) |
+| Migrate to Broadcast | For better scalability, consider using Broadcast with database triggers instead of Postgres Changes | [Broadcast Guide](/docs/guides/realtime/broadcast) |
+| Create database triggers | Understand how to create triggers that can send Broadcast messages on database events | [Database Triggers Guide](/docs/guides/database/postgres/triggers) |
+| Monitor replication | Monitor logical replication health and lag since Postgres Changes reads from the WAL | [manual replication monitoring guide](/docs/guides/database/replication/manual-replication-monitoring) |
+| Contact support | Discuss scaling strategies or custom solutions for high-volume database change subscriptions | [Support Portal](/dashboard/support/new) |
## Rate of Channel Joins
@@ -238,7 +238,7 @@ height={625}
| -------------------------- | ----------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| Check logs | Investigate replication errors or performance issues in your project dashboard | [Realtime Logs Dashboard](/dashboard/project/_/database/realtime-logs) |
| Monitor database | Review database resource utilization, connection counts, and query performance that may affect replication | [Database Observability Dashboard](/dashboard/project/_/observability/database) |
-| Review replication metrics | Use `pg_stat_subscription`, `pg_replication_slots`, and other Postgres views to diagnose replication issues | [Manual Replication Monitoring Guide](/docs/guides/database/replication/manual-replication-monitoring) |
+| Review replication metrics | Use `pg_stat_subscription`, `pg_replication_slots`, and other Postgres views to diagnose replication issues | [manual replication monitoring guide](/docs/guides/database/replication/manual-replication-monitoring) |
| Debug database issues | Use CLI inspection tools to identify bloat, lock contention, and long-running queries affecting replication | [Database Inspection Tools Guide](/docs/guides/database/inspect) |
| Optimize performance | Optimize query performance and connection management to reduce database load | [Performance Tuning Guide](/docs/guides/platform/performance) |
| Configure timeouts | Configure statement timeouts to prevent long-running transactions from blocking replication | [Database Timeouts Guide](/docs/guides/database/postgres/timeouts) |
diff --git a/apps/docs/content/guides/storage/analytics/creating-analytics-buckets.mdx b/apps/docs/content/guides/storage/analytics/creating-analytics-buckets.mdx
index 6d143c11022..249b722cc4b 100644
--- a/apps/docs/content/guides/storage/analytics/creating-analytics-buckets.mdx
+++ b/apps/docs/content/guides/storage/analytics/creating-analytics-buckets.mdx
@@ -13,7 +13,7 @@ Analytics buckets use [Apache Iceberg](https://iceberg.apache.org/), an open-tab
<Admonition type="note" title="About replication">
-Analytics Buckets are still available, but managed replication into Analytics Buckets through Supabase ETL is no longer supported. If you need managed replication today, use [Database Replication](/docs/guides/database/replication/replication-setup) with **BigQuery**. If you want to use Analytics Buckets, bring your own ingestion pipeline.
+Analytics Buckets are still available, but managed replication into Analytics Buckets through Supabase ETL is no longer supported. If you need managed replication today, use [external replication](/docs/guides/database/replication/external-replication-setup) with **BigQuery**. If you want to use Analytics Buckets, bring your own ingestion pipeline.
</Admonition>
diff --git a/apps/docs/next.config.mjs b/apps/docs/next.config.mjs
index 53e8066039e..9243af773b2 100644
--- a/apps/docs/next.config.mjs
+++ b/apps/docs/next.config.mjs
@@ -6,6 +6,7 @@ import withYaml from 'next-plugin-yaml'
import rehypeSlug from 'rehype-slug'
import remarkGfm from 'remark-gfm'
import { parse as parseToml } from 'smol-toml'
+
import remotePatterns from './lib/remotePatterns.js'
const withBundleAnalyzer = configureBundleAnalyzer({
@@ -154,6 +155,23 @@ const nextConfig = {
basePath: false,
permanent: false,
},
+
+ // Redirect old external replication slugs in dev/preview envs
+ {
+ source: '/guides/database/replication/replication-setup',
+ destination: '/guides/database/replication/external-replication-setup',
+ permanent: true,
+ },
+ {
+ source: '/guides/database/replication/replication-monitoring',
+ destination: '/guides/database/replication/external-replication-monitoring',
+ permanent: true,
+ },
+ {
+ source: '/guides/database/replication/replication-faq',
+ destination: '/guides/database/replication/external-replication-faq',
+ permanent: true,
+ },
]
},
typescript: {
diff --git a/apps/docs/public/img/database/replication/replication-disable-external-replication.png b/apps/docs/public/img/database/replication/replication-disable-external-replication.png
new file mode 100644
index 00000000000..cc09c2d1985
Binary files /dev/null and b/apps/docs/public/img/database/replication/replication-disable-external-replication.png differ
diff --git a/apps/docs/public/img/database/replication/replication-enable-replication.png b/apps/docs/public/img/database/replication/replication-enable-replication.png
index d1d79a68b8b..d30519f58cf 100644
Binary files a/apps/docs/public/img/database/replication/replication-enable-replication.png and b/apps/docs/public/img/database/replication/replication-enable-replication.png differ
diff --git a/apps/www/data/features.tsx b/apps/www/data/features.tsx
index 3e04d2a1f38..9e293d7c7c4 100644
--- a/apps/www/data/features.tsx
+++ b/apps/www/data/features.tsx
@@ -2867,7 +2867,7 @@ Replication provides the real-time data pipeline required for modern analytics a
icon: DatabaseZap,
products: [PRODUCT_SHORTNAMES.DATABASE],
heroImage: '',
- docsUrl: 'https://supabase.com/docs/guides/database/replication/replication-setup',
+ docsUrl: 'https://supabase.com/docs/guides/database/replication/external-replication-setup',
slug: 'replication',
status: {
stage: PRODUCT_STAGES.PRIVATE_ALPHA,
diff --git a/apps/www/lib/redirects.js b/apps/www/lib/redirects.js
index bba8289f583..e1082899b0a 100644
--- a/apps/www/lib/redirects.js
+++ b/apps/www/lib/redirects.js
@@ -2679,12 +2679,27 @@ module.exports = [
{
permanent: true,
source: '/docs/guides/database/replication/etl-destinations',
- destination: '/docs/guides/database/replication/replication-setup',
+ destination: '/docs/guides/database/replication/external-replication-setup',
},
{
permanent: true,
source: '/docs/guides/storage/analytics/replication',
- destination: '/docs/guides/database/replication/replication-setup',
+ destination: '/docs/guides/database/replication/external-replication-setup',
+ },
+ {
+ permanent: true,
+ source: '/docs/guides/database/replication/replication-setup',
+ destination: '/docs/guides/database/replication/external-replication-setup',
+ },
+ {
+ permanent: true,
+ source: '/docs/guides/database/replication/replication-monitoring',
+ destination: '/docs/guides/database/replication/external-replication-monitoring',
+ },
+ {
+ permanent: true,
+ source: '/docs/guides/database/replication/replication-faq',
+ destination: '/docs/guides/database/replication/external-replication-faq',
},
{
permanent: true,