The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
adds blog post and stub (#34059)
Copple9b9cf69c7e6c
diff --git a/apps/docs/content/guides/database/connecting-to-postgres.mdx b/apps/docs/content/guides/database/connecting-to-postgres.mdxindex 1dcc7eb1aa0..9267423447f 100644--- a/apps/docs/content/guides/database/connecting-to-postgres.mdx+++ b/apps/docs/content/guides/database/connecting-to-postgres.mdx@@ -83,9 +83,13 @@ Get your project's direct string from the [Database Settings](/dashboard/project2. Click `Database`.3. Under `Connection string`, make sure `Display connection pooler` is unchecked. Copy the URI.-## Supavisor session mode+## Shared pooler-The session mode connection string connects to your Postgres instance via a proxy. This is ideal for persistent servers when IPv6 is not supported.+Every Supabase project includes a free, shared connection pooler. This is ideal for persistent servers when IPv6 is not supported.++### Supavisor session mode++The session mode connection string connects to your Postgres instance via a proxy.The connection string looks like this:@@ -99,7 +103,7 @@ Get your project's session mode string from the [Database Settings](/dashboard/p2. Click `Database`.3. Under `Connection string`, make sure `Display connection pooler` is checked and `Session mode` is selected. Copy the URI.-## Supavisor transaction mode+### Supavisor transaction modeThe transaction mode connection string connects to your Postgres instance via a proxy which serves as a connection pooler. This is ideal for serverless or edge functions, which require many transient connections.@@ -121,6 +125,10 @@ Get your project's transaction mode string from the [Database Settings](/dashboa2. Click `Database`.3. Under `Connection string`, make sure `Display connection pooler` is checked and `Transaction mode` is selected. Copy the URI.+## 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](/docs/guides/platform/ipv4-address).+## More about connection poolingConnection pooling improves database performance by reusing existing connections between queries. This reduces the overhead of establishing connections and improves scalability.diff --git a/apps/www/_blog/2025-03-07-dedicated-poolers.mdx b/apps/www/_blog/2025-03-07-dedicated-poolers.mdxnew file mode 100644index 00000000000..8a84d4f7d43--- /dev/null+++ b/apps/www/_blog/2025-03-07-dedicated-poolers.mdx@@ -0,0 +1,77 @@+---+title: 'Dedicated Poolers'+description: "A dedicated pgbouncer instance that's co-located with your database for maximum performance and reliability."+author: paul_copplestone+image: dedicated-poolers/dedicated-poolers-og.png+thumb: dedicated-poolers/dedicated-poolers-og.png+categories:+ - product+ - postgres+tags:+ - postgres+date: '2025-03-07'+toc_depth: 3+---++Today we're announcing **Dedicated Poolers** - a Postgres connection pooler that's co-located with your database for maximum performance and reliability.++<Admonition type="info">++Don't know what a Pooler is? Check out our [docs](/docs/guides/database/connecting-to-postgres#serverside-poolers).++</Admonition>++This is available today for select customers, and will be generally available by 20th March, 2025. If you want to be notified when it's ready, [sign up here](https://forms.supabase.com/dedicated-pooler).++### 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 isolated to your own project and grants you fine-grained control over the configuration.++### Connecting to your database++This gives you now 3 options for connecting to your database:++<Img+ alt="3 different connection options"+ src={{+ dark: '/images/blog/dedicated-poolers/connection-options.png',+ light: '/images/blog/dedicated-poolers/connection-options.png',+ }}+ caption="3 different connection options"+/>++1. **Direct connections (free):** recommended for when you are connecting using servers.+2. **Shared Pooler (free):** recommended for when you are connecting using serverless functions (like Next.js or AWS Lambda)+3. **Dedicated Pooler (Pro Plan and above):** recommended for when you are connecting using serverless functions and you start to scale up. It is available on the Pro Plan and above.++## Choosing between Supavisor and PgBouncer++A year ago AWS [started charging for IPv4 addresses](/blog/ipv6). We introduced [Supavisor](/blog/supavisor-postgres-connection-pooler) to ensure that you didn't need to pay to connect to your database if your network didn't support IPv6. Only ~45% of the world have adopted IPv6, so this was a great solution for many.++<Img+ alt="IPv6 adoption"+ src={{+ dark: '/images/blog/dedicated-poolers/ipv6-adoption.png',+ light: '/images/blog/dedicated-poolers/ipv6-adoption.png',+ }}+ caption="Source: https://www.google.com/intl/en/ipv6/statistics.html"+/>++In the recent months, our platform has seen unprecedented growth. Tens of thousands of new developers are pouring into Supabase every week, doing weird and wonderful things with their databases:++<Img+ alt="3 different connection options"+ src={{+ dark: '/images/blog/dedicated-poolers/signups.png',+ light: '/images/blog/dedicated-poolers/signups.png',+ }}+ caption="Supabase weekly sign ups"+/>++Introducing Dedicated Poolers gives you the flexibility to choose the right connection type for your use case. If you need dedicated hardware, you can now opt for a Dedicated Pooler on the Pro Plan and above for lower latency, better performance, and higher reliability.++### Getting started++Dedicated Poolers are available today for our Enterprise customers, and will be generally available by 18th March, 2025. If you want to be notified when it's ready, [sign up here](https://forms.supabase.com/dedicated-pooler).diff --git a/apps/www/public/images/blog/dedicated-poolers/connection-options.png b/apps/www/public/images/blog/dedicated-poolers/connection-options.pngnew file mode 100644index 00000000000..f59f405c259Binary files /dev/null and b/apps/www/public/images/blog/dedicated-poolers/connection-options.png differdiff --git a/apps/www/public/images/blog/dedicated-poolers/dedicated-poolers-og.png b/apps/www/public/images/blog/dedicated-poolers/dedicated-poolers-og.pngnew file mode 100644index 00000000000..b991d1cc73fBinary files /dev/null and b/apps/www/public/images/blog/dedicated-poolers/dedicated-poolers-og.png differdiff --git a/apps/www/public/images/blog/dedicated-poolers/ipv6-adoption.png b/apps/www/public/images/blog/dedicated-poolers/ipv6-adoption.pngnew file mode 100644index 00000000000..2e6c89df867Binary files /dev/null and b/apps/www/public/images/blog/dedicated-poolers/ipv6-adoption.png differdiff --git a/apps/www/public/images/blog/dedicated-poolers/signups.png b/apps/www/public/images/blog/dedicated-poolers/signups.pngnew file mode 100644index 00000000000..64f55624686Binary files /dev/null and b/apps/www/public/images/blog/dedicated-poolers/signups.png differdiff --git a/apps/www/public/rss.xml b/apps/www/public/rss.xmlindex 535892d9127..9c0fed1ed33 100644--- a/apps/www/public/rss.xml+++ b/apps/www/public/rss.xml@@ -5,9 +5,16 @@<link>https://supabase.com</link><description>Latest news from Supabase</description><language>en</language>- <lastBuildDate>Tue, 25 Feb 2025 00:00:00 -0700</lastBuildDate>+ <lastBuildDate>Fri, 07 Mar 2025 00:00:00 -0700</lastBuildDate><atom:link href="https://supabase.com/rss.xml" rel="self" type="application/rss+xml"/><item>+ <guid>https://supabase.com/blog/dedicated-poolers</guid>+ <title>Dedicated Poolers</title>+ <link>https://supabase.com/blog/dedicated-poolers</link>+ <description>A dedicated pgbouncer instance that's co-located with your database for maximum performance and reliability.</description>+ <pubDate>Fri, 07 Mar 2025 00:00:00 -0700</pubDate>+</item>+<item><guid>https://supabase.com/blog/pgrouting-postgres-graph-database</guid><title>Postgres as a Graph Database: (Ab)using pgRouting</title><link>https://supabase.com/blog/pgrouting-postgres-graph-database</link>