The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: fix links (#36595)
Kevin Grüneberg04c5484bcdc4
diff --git a/apps/docs/content/guides/database/extensions/timescaledb.mdx b/apps/docs/content/guides/database/extensions/timescaledb.mdxindex 5d4120418ae..8f06cc54bdf 100644--- a/apps/docs/content/guides/database/extensions/timescaledb.mdx+++ b/apps/docs/content/guides/database/extensions/timescaledb.mdx@@ -6,7 +6,7 @@ description: 'Scalable time-series data storage and analysis'<Admonition type="deprecation">-The `timescaledb` extension is deprecated in projects using Postgres 17. It continues to be supported in projects using Postgres 15, but will need to dropped before those projects are upgraded to Postgres 17. See the [Upgrading to Postgres 17 notes](/guides/platform/upgrading#upgrading-to-postgres-17) for more information.+The `timescaledb` extension is deprecated in projects using Postgres 17. It continues to be supported in projects using Postgres 15, but will need to dropped before those projects are upgraded to Postgres 17. See the [Upgrading to Postgres 17 notes](/docs/guides/platform/upgrading#upgrading-to-postgres-17) for more information.</Admonition>diff --git a/apps/docs/content/guides/database/postgres/setup-replication-external.mdx b/apps/docs/content/guides/database/postgres/setup-replication-external.mdxindex e802f490e79..b1a10c3a719 100644--- a/apps/docs/content/guides/database/postgres/setup-replication-external.mdx+++ b/apps/docs/content/guides/database/postgres/setup-replication-external.mdx@@ -29,7 +29,7 @@ select pg_create_logical_replication_slot('example_slot', 'pgoutput');This will need a **direct** connection (not a Connection Pooler) to your database and you can find the connection info in the [Dashboard](https://supabase.com/dashboard/project/_/settings/database).-You will also need to ensure that IPv6 is supported by your replication destination (or you can enable the [IPv4 add-on](/guides/platform/ipv4-address))+You will also need to ensure that IPv6 is supported by your replication destination (or you can enable the [IPv4 add-on](/docs/guides/platform/ipv4-address))If you would prefer not to use the `postgres` user, then you can run `CREATE ROLE <user> WITH REPLICATION;` using the `postgres` user.diff --git a/apps/docs/content/guides/database/replication.mdx b/apps/docs/content/guides/database/replication.mdxindex ee5445662ff..57bd900485d 100644--- a/apps/docs/content/guides/database/replication.mdx+++ b/apps/docs/content/guides/database/replication.mdx@@ -59,7 +59,7 @@ Logical replication is typically output in 2 forms, `pgoutput` and `wal2json`. TWhen 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.-In order to mitigate this, Postgres has many options and settings that can be [tweaked](/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.+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.| Setting | Description | User-facing | Default || ---------------------------------------------------------------------------------------- | ------------------------------------------------------ | ----------- | ------- |diff --git a/apps/docs/content/guides/database/replication/faq.mdx b/apps/docs/content/guides/database/replication/faq.mdxindex f0bdd97f465..804976d0923 100644--- a/apps/docs/content/guides/database/replication/faq.mdx+++ b/apps/docs/content/guides/database/replication/faq.mdx@@ -13,7 +13,7 @@ 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.+You can enable the [IPv4 add-on](/docs/guides/platform/ipv4-address) for your project.# What is XMIN and should it be used?@@ -29,7 +29,7 @@ You can view [publications](https://supabase.com/dashboard/project/default/datab# 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.+Yes. Using the Supabase CLI, you can [configure database settings](/docs/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?diff --git a/apps/docs/content/guides/database/replication/monitoring-replication.mdx b/apps/docs/content/guides/database/replication/monitoring-replication.mdxindex a49b8a8f27a..300ca966898 100644--- a/apps/docs/content/guides/database/replication/monitoring-replication.mdx+++ b/apps/docs/content/guides/database/replication/monitoring-replication.mdx@@ -4,12 +4,12 @@ title: 'Monitoring replication'Monitoring replication lag is important and there are 3 ways to do this:-1. Dashboard - Under the [Reports](/guides/platform/reports) of the dashboard, you can view the replication lag of your project+1. Dashboard - Under the [Reports](/docs/guides/platform/reports) of the dashboard, you can view the replication lag of your project2. 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)- pg_replication_slots - use this to check if the slot is active and you can also calculate the lag from here-3. [Metrics](/guides/telemetry/metrics) - Using the prometheus endpoint for your project+3. [Metrics](/docs/guides/telemetry/metrics) - Using the prometheus endpoint for your project- replication_slots_max_lag_bytes - this is the more important one- pg_stat_replication_replay_lag - lag to replay WAL files from the source DB on the target DB (throttled by disk or high activity)- pg_stat_replication_send_lag - lag in sending WAL files from the source DB (a high lag means that the publisher is not being asked to send new WAL files OR a network issues)diff --git a/apps/docs/content/guides/database/replication/setting-up-replication.mdx b/apps/docs/content/guides/database/replication/setting-up-replication.mdxindex 36d4d528705..665356ed99f 100644--- a/apps/docs/content/guides/database/replication/setting-up-replication.mdx+++ b/apps/docs/content/guides/database/replication/setting-up-replication.mdx@@ -68,7 +68,7 @@ Materialize has the following [documentation](https://materialize.com/docs/sql/cYou can follow those steps with the following modifications:-1. Follow the steps in our [guide](/guides/database/postgres/setup-replication-external) to create a publication slot+1. Follow the steps in our [guide](/docs/guides/database/postgres/setup-replication-external) to create a publication slot</TabPanel>diff --git a/apps/www/_blog/2025-03-07-dedicated-poolers.mdx b/apps/www/_blog/2025-03-07-dedicated-poolers.mdxindex b82a9ccdd62..7fcad0837c6 100644--- a/apps/www/_blog/2025-03-07-dedicated-poolers.mdx+++ b/apps/www/_blog/2025-03-07-dedicated-poolers.mdx@@ -25,7 +25,7 @@ This is available today for select customers, and will be generally available by### Supabase Dedicated Pooler-The Dedicated Pooler is a [PgBouncer](https://www.pgbouncer.org/) instance that's co-located with your Postgres database. This will require you to connect with IPv6 or, if that's not an option, you can use the [IPv4 add-on](/guides/platform/ipv4-address).+The Dedicated Pooler is a [PgBouncer](https://www.pgbouncer.org/) instance that's co-located with your Postgres database. This will require you to connect with IPv6 or, if that's not an option, you can use the [IPv4 add-on](/docs/guides/platform/ipv4-address).The dedicated pooler is isolated to your own project and grants you fine-grained control over the configuration.