Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
docs: upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
planetscale-actions-bot committed Jul 12, 2024
1 parent 6bd4238 commit 6aa7c37
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 21 deletions.
43 changes: 23 additions & 20 deletions docs/concepts/planetscale-plans.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 'PlanetScale plans'
subtitle: 'Learn about the different products and plans we offer: Scaler Pro and Enterprise'
date: '2024-05-03'
date: '2024-07-12'
---

## Overview
Expand All @@ -14,25 +14,28 @@ Our plans are split into two general offerings: [Scaler Pro (self-serve)](#scale

The **Scaler Pro** plan is broken down by cluster size, which have varying levels of compute power.

| | **Processor** | **Memory** |
| ----------- | ------------- | ---------- |
| **PS-10** | 1/8 vCPU | 1 GB RAM |
| **PS-20** | 1/4 vCPU | 2 GB RAM |
| **PS-40** | 1/2 vCPU | 4 GB RAM |
| **PS-80** | 1 vCPU | 8 GB RAM |
| **PS-160** | 2 vCPU | 16 GB RAM |
| **PS-320** | 4 vCPU | 32 GB RAM |
| **PS-400** | 8 vCPU | 32 GB RAM |
| **PS-640** | 8 vCPU | 64 GB RAM |
| **PS-700** | 16 vCPU | 32 GB RAM |
| **PS-900** | 16 vCPU | 64 GB RAM |
| **PS-1280** | 16 vCPU | 128 GB RAM |
| **PS-1400** | 32 vCPU | 64 GB RAM |
| **PS-1800** | 32 vCPU | 128 GB RAM |
| **PS-2100** | 48 vCPU | 96 GB RAM |
| **PS-2560** | 32 vCPU | 256 GB RAM |
| **PS-2700** | 48 vCPU | 128 GB RAM |
| **PS-2800** | 64 vCPU | 128 GB RAM |
| | **Processor** | **Memory** | **Transactions\*** |
| ----------- | ------------- | ---------- | ------------------ |
| **PS-10** | 1/8 vCPU | 1 GB RAM | 70 |
| **PS-20** | 1/4 vCPU | 2 GB RAM | 75 |
| **PS-40** | 1/2 vCPU | 4 GB RAM | 75 |
| **PS-80** | 1 vCPU | 8 GB RAM | 110 |
| **PS-160** | 2 vCPU | 16 GB RAM | 158 |
| **PS-320** | 4 vCPU | 32 GB RAM | 211 |
| **PS-400** | 8 vCPU | 32 GB RAM | 211 |
| **PS-640** | 8 vCPU | 64 GB RAM | 281 |
| **PS-700** | 16 vCPU | 32 GB RAM | 211 |
| **PS-900** | 16 vCPU | 64 GB RAM | 281 |
| **PS-1280** | 16 vCPU | 128 GB RAM | 375 |
| **PS-1400** | 32 vCPU | 64 GB RAM | 281 |
| **PS-1800** | 32 vCPU | 128 GB RAM | 375 |
| **PS-2100** | 48 vCPU | 96 GB RAM | 328 |
| **PS-2560** | 32 vCPU | 256 GB RAM | 500 |
| **PS-2700** | 48 vCPU | 128 GB RAM | 438 |
| **PS-2800** | 64 vCPU | 128 GB RAM | 375 |

\* **Transactions** refers to the number of simultaneous _transactions_ your database can process, which is different than simultaneous _connections_.
This is also known as the _transaction pool_.

{% callout %}
Cluster size options are capped at `PS-400` until you have a successfully paid $100 invoice. If you need larger sizes immediately, please [contact us](/contact) to unlock all sizes.
Expand Down
20 changes: 19 additions & 1 deletion docs/reference/planetscale-system-limits.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: 'PlanetScale system limits'
subtitle: 'Learn about system limits that PlanetScale puts in place to protect your database.'
date: '2024-04-26'
date: '2024-07-12'
---

## Table limits
Expand All @@ -14,6 +14,24 @@ Individual tables are limited to a maximum of `1017` columns each.

Database client connections that are held open longer than `24 hours` may be terminated unexpectedly. We recommend that long running database connections are closed and reconnected at least once per day.

## Simultaneous transaction limits

Each database has a limit on the number of simultaneous _transactions_ it can process, also known as the _transaction pool_.
If you exceed the _transaction pool_ setting for your database, you may encounter this error:

```
vttablet: rpc error: code = ResourceExhausted desc = transaction pool connection limit exceeded
```

This often can be mitigated by trying the one of the following solutions:

A) Reduce the amount of parallelism in the requests being sent to the database.
B) Shorten lengthy transactions by reducing batch sizes or making some other application-level adjustment.

If you cannot make such changes to your application, consider choosing a larger instance type with a larger transaction pool.
The exact limit varies depending on the instance type of your database.
For details, see the [plans page](/docs/concepts/planetscale-plans).

## Query limits

PlanetScale has enforced some system limits to prevent long-running queries or transactions from:
Expand Down

0 comments on commit 6aa7c37

Please sign in to comment.