Before choosing managed PostgreSQL, decide whether the application can wait for suspended compute to resume, then compare pooling, extensions and backups. Neon can resume idle compute automatically; Supabase Free project pauses are a different mechanism; Aurora auto-pause depends on instance type, engine version and configuration. These choices cannot be reduced to “always on” versus “free.”
Key Differences Between Three Services
The table follows vendor documentation checked on 2026-11-28. Plan, region and version affect availability.
| Candidate | Pause and resume | Connections and capabilities | Main billing components |
|---|---|---|---|
| Neon | Idle compute can scale to zero and resume on access; mandatory on Free, optional on paid plans | PostgreSQL, branching and pooled connections; check each required extension | Active compute time and storage; check branch and restore-history terms by plan |
| Supabase | Free projects with low activity over 7 days may be paused and restored from the dashboard; Pro is not paused for inactivity | PostgreSQL with Auth, APIs and storage; direct and pooled endpoints serve different purposes | Organization plan, project compute and disk; check overages and add-ons |
| Aurora PostgreSQL | Provisioned and Serverless differ; supported Serverless versions can auto-pause with a 0 ACU minimum | AWS networking and database ecosystem; features depend on version and region | Provisioned instance time or Serverless capacity; check storage, backups and network separately |
Sources: Neon scale to zero and pricing, Supabase production checklist and pricing, and Aurora auto-pause and pricing.
Neon documents a default idle period of 5 minutes, fixed on Free; larger compute sizes and active logical replication connections, among other conditions, can prevent suspension. Aurora Serverless requires a supported engine and region and a minimum capacity of 0 ACUs; connections or certain features can prevent pausing. A paused Supabase Free project requires dashboard restoration, not automatic wake-up on each query.
Aurora Standard charges for I/O requests, while I/O-Optimized does not charge separately for read and write I/O; instance and storage prices also differ. Compare budgets using the same region, compute size, active time, data volume, backup and egress assumptions. Zero compute charges while paused do not mean the entire bill is zero.
Decide on Cold Starts and Pooling
The diagram separates compute suspension from connection pooling: these are independent choices, and a read replica does not replace a write endpoint.
Start with the application's end-to-end latency budget, then measure from the same region and network, using the same endpoint and credentials. Pooling reduces connection pressure but does not guarantee that compute remains active; keepalives may prevent suspension and increase cost.
Estimate connections as the sum of pool limits across application instances, leaving room for migrations, monitoring and administration. Check both the proxy's client limit and the database's backend limit. Transaction pooling may not preserve session state; Supabase's connection guide says its shared transaction pooler does not support prepared statements. For migrations or session-dependent work, use a supported direct or session-mode endpoint.
Measure the First Connection
Install psql in a test environment, obtain a read-only test account from the console, and set DATABASE_URL securely. Do not commit credentials. Confirm that the service resumes automatically and its console shows the compute is paused; this procedure does not apply to projects that require manual restoration.
time psql "$DATABASE_URL" -X -v ON_ERROR_STOP=1 -c 'SELECT 1;'
time psql "$DATABASE_URL" -X -v ON_ERROR_STOP=1 -c 'SELECT 1;'
You should see 1 from both commands. The terminal's real time includes client startup, connection, execution and response; on failure, check the endpoint, network, TLS and credentials. The first run includes resume and the second is normally warm, but their difference also includes network and system variation: it is not an exact wake-up measurement.
For multiple cold samples, wait for and confirm suspension before each run; record warm samples separately. Keep the test location and connection mode constant, record failures and timeouts, and compare distributions with enough samples and a stated percentile method. Evaluate real queries against the application budget; consecutive warm connections are not repeated cold starts.
Migration and Acceptance
- Inventory PostgreSQL versions, extensions, role privileges and session-dependent application behavior; verify each against the target. Managed privileges do not necessarily include superuser access.
- Select a supported endpoint and TLS certificate verification method. Separate migration and application roles, and do not expose database secrets in client code.
- Migrate to an isolated environment first and check tables, row counts and critical queries. For large databases or short downtime windows, design incremental synchronization and cutover.
- Check backup retention, recovery objectives and charges. Restore to a separate instance and verify the data. Keep the source and a rollback plan before cutover; if the new database has accepted writes, reconcile those writes before pointing traffic back.
Limitations
Read replicas can lag, so assess stale reads against consistency requirements. Branches and replicas are not automatically backups that meet recovery objectives. Extensions, networking, recovery time and pricing depend on plan, region and version; this article does not claim cross-vendor performance measurements.
FAQ
How does a Free project pause differ from scale to zero?
The paused resource and recovery action differ. Neon documents automatic compute resume on access; a Supabase Free project may be paused after a period of low activity and needs dashboard restoration. Test each recovery path and compare it with your availability requirements before treating either as a production candidate.
Can pooling prevent all connection exhaustion?
No. Pool limits are generally per application instance, so scaling instances can still exceed the database or proxy limit. Reserve administrative capacity and monitor client connections, backend connections, wait times and timeouts. Workloads that rely on session state must also check compatibility with the chosen pooling mode.
Should a scheduled query prevent cold starts?
Not necessarily. A keepalive may keep compute running and incur charges, defeating the goal of pausing when idle. First check whether the plan permits always-active compute and compare measured latency with cost. Before adding a heartbeat, verify the provider's suspension conditions and your recovery procedure.
Related Providers
- Neon: for branching and workloads that can tolerate idle-compute resume.
- Supabase: for projects that also need authentication and APIs alongside PostgreSQL.
- Amazon Aurora: for teams using AWS networking and Aurora management capabilities.
Community & Resources
- Backend Integration: more database and application integration articles.
- ORM and Database Integration: framework migrations and connection management.
Original source: 16IDC Original ↗