Files
supabase/apps/docs/content/guides/database/replication/faq.mdx
T
Chris GwilliamsandCharis Lam 34022bd570 Docs: Add section on logical replication for setting up CDC from Supabase to a destination (#27087)
* add replication section with instructions for services

* address comments and neturalise tone

* formalised overview and simplified faq

* reviewdog silenced (mostly)

* move individual tools into tab group and reduce mention of subscriptions

* fix tab components

* correct postgres typos and others

* removed individual service pages and added section for monitoring slots

* update nav menu and add information for monitoring

* update monitoring docs

* added example queries for tracking replication and removed overview

* added spelling rules for Xmin and cleaned up CDC format

* edits & reorganization

---------

Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2025-05-28 11:28:48 +03:00

42 lines
1.7 KiB
Plaintext

---
id: 'replication-faq'
title: 'FAQs'
description: 'Considerations and FAQs when setting up replication'
sidebar_label: 'FAQs'
---
# Which connection string should be used?
Always use the direct connection string for logical replication.
Connections through a pooler, such as Supavisor, will not work.
# The tool in use does not support IPv6
You can enable the [IPv4 add-on](/guides/platform/ipv4-address) for your project.
# What is XMIN and should it be used?
Xmin is a different form of replication from logical replication and should only be used if logical replication is not available for your database (i.e. older versions of Postgres).
Xmin performs replication by checking the [xmin system column](https://www.postgresql.org/docs/current/ddl-system-columns.html) and determining if that row has already been synchronized.
It does not capture deletion of data and is **not recommended**, particularly for larger databases.
# Can replication be configured in the Dashboard?
You can view [publications](https://supabase.com/dashboard/project/default/database/publications) in the Dashboard but all steps to configure replication must be done using the [SQL Editor](https://supabase.com/dashboard/project/default/sql/new) or a CLI tool of your choice.
# How to configure database settings for replication?
Yes. Using the Supabase CLI, you can [configure database settings](/guides/database/custom-postgres-config#cli-configurable-settings) to optimize them for your replication needs. These values can vary depending on the activity of your database size and activity.
# What are some important configuration options?
Some of the more important options to be aware of are:
- `max_wal_size`
- `max_slot_wal_keep_size`
- `wal_keep_size`
- `max_wal_senders`