mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES ## What kind of change does this PR introduce? Bug fix. Link string changes only, no content changes. ## What is the current behavior? Nine inbound links in `apps/www` and `apps/studio` point at anchors on the connecting to Postgres guide that don't exist. All nine are already broken on production today: `#connection-pooler`, `#connection-pool`, `#how-connection-pooling-works`, `#serverside-poolers`, and `#connecting-with-drizzle` are all missing from the live page. #49869 moves the pooling content to a child page, so these links need current destinations either way. ## What is the new behavior? Point each link at the page that holds the content now. - **Studio, 3 links.** The Connect sheet's Drizzle link goes to the Drizzle guide. The connection pooling and pooling modes links go to `pooling-and-limits#how-connection-pooling-works`. - **www, 6 links.** Three blog posts, the Heroku comparison page, and the Dedicated poolers feature entry go to `pooling-and-limits`. The feature entry uses `#shared-pooler`. ## Additional context Split out of #49869. These paths belong to `@supabase/marketing` and `@supabase/Dashboard` in CODEOWNERS, and pulling both teams into a docs-only restructure for nine link strings isn't a good trade. Merge after #49928. The destinations don't exist on production until the docs pages land. ## Manual testing 1. Open [Supavisor: Scaling Postgres to 1 Million Connections](https://zone-www-dot-com-git-fix-pooler-docs-links-supabase.vercel.app/blog/supavisor-1-million). The "connection pooling" link in the opening paragraph resolves to `connecting-to-postgres/pooling-and-limits#how-connection-pooling-works`. 2. Open [Dedicated poolers](https://zone-www-dot-com-git-fix-pooler-docs-links-supabase.vercel.app/features/dedicated-poolers). The docs link resolves to `pooling-and-limits#shared-pooler`. 3. Open [Supabase vs Heroku Postgres](https://zone-www-dot-com-git-fix-pooler-docs-links-supabase.vercel.app/alternatives/supabase-vs-heroku-postgres). Both connection pooling links resolve to `pooling-and-limits#how-connection-pooling-works`. 4. Open [Connection pooling and limits](https://docs-git-docs-connecting-to-postgres-technical-supabase.vercel.app/docs/guides/database/connecting-to-postgres/pooling-and-limits) on the #49928 docs preview. The `how-connection-pooling-works` and `shared-pooler` headings both render with those IDs. 5. Open the Connect dialog on any project. Under Drizzle, the docs link opens the Drizzle guide. 6. Open Database settings, then Connection pooling. The pooler link opens Connection pooling and limits. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated connection pooling links across Studio, product pages, blogs, and comparison content to point to the relevant pooling guidance. * Refined links for Drizzle ORM, dedicated poolers, direct connections, and shared poolers. * Improved navigation to specific documentation sections explaining connection pooling modes and behavior. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
78 lines
3.5 KiB
Plaintext
78 lines
3.5 KiB
Plaintext
---
|
|
title: 'Dedicated Poolers'
|
|
description: "A dedicated pgbouncer instance that's co-located with your database for maximum performance and reliability."
|
|
author: paul_copplestone
|
|
imgSocial: dedicated-poolers/dedicated-poolers-og.png
|
|
imgThumb: 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/pooling-and-limits#how-connection-pooling-works).
|
|
|
|
</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](/docs/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 20th March, 2025. If you want to be notified when it's ready, [sign up here](https://forms.supabase.com/dedicated-pooler).
|