Skip to content

Commit

Permalink
Merge pull request cockroachdb#8428 from cockroachdb/prod-checklist
Browse files Browse the repository at this point in the history
update Production Checklist numbers
  • Loading branch information
taroface authored Sep 21, 2020
2 parents ff21aef + 2dc33c3 commit a4e4679
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 8 deletions.
8 changes: 6 additions & 2 deletions v19.2/recommended-production-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,14 @@ Before deploying to production, test and tune your hardware setup for your appli

#### CPU and memory

Each node should have **at least 2 vCPUs**. For best performance, we recommend between 4 and 32 vCPUs per node. Provision **4 GiB of RAM per vCPU**.
Each node should have **at least 2 vCPUs**. For best performance, we recommend at least 4 vCPUs per node. Provision **4 GiB of RAM per vCPU**.

- To optimize for throughput, use larger nodes with up to 32 vCPUs. To further increase throughput, add more nodes to the cluster instead of increasing node size.

{{site.data.alerts.callout_info}}
Based on internal testing, 32 vCPUs is a sweet spot for OLTP workloads. It is not a hard limit, especially for deployments using physical hardware rather than cloud instances.
{{site.data.alerts.end}}

{{site.data.alerts.callout_info}}
The benefits to having more RAM decrease as the number of vCPUs increases.
{{site.data.alerts.end}}
Expand All @@ -62,7 +66,7 @@ Underprovisioning RAM results in reduced performance (due to reduced caching and

We recommend provisioning volumes with **60 GiB per vCPU**. It's fine to have less storage per vCPU if your workload does not have significant capacity needs.

- The maximum recommended storage capacity per node is 2 TiB, regardless of the number of vCPUs.
- The maximum recommended storage capacity per node is 1 TiB, regardless of the number of vCPUs.

- Use dedicated volumes for the CockroachDB [store](architecture/storage-layer.html). Do not share the store volume with any other I/O activity.

Expand Down
10 changes: 7 additions & 3 deletions v20.1/recommended-production-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,14 @@ Before deploying to production, test and tune your hardware setup for your appli

#### CPU and memory

Each node should have **at least 2 vCPUs**. For best performance, we recommend between 4 and 32 vCPUs per node. Provision **4 GiB of RAM per vCPU**.
Each node should have **at least 2 vCPUs**. For best performance, we recommend at least 4 vCPUs per node. Provision **4 GiB of RAM per vCPU**.

- To optimize for throughput, use larger nodes with up to 32 vCPUs. To further increase throughput, add more nodes to the cluster instead of increasing node size.

{{site.data.alerts.callout_info}}
Based on internal testing, 32 vCPUs is a sweet spot for OLTP workloads. It is not a hard limit, especially for deployments using physical hardware rather than cloud instances.
{{site.data.alerts.end}}

{{site.data.alerts.callout_info}}
The benefits to having more RAM decrease as the number of vCPUs increases.
{{site.data.alerts.end}}
Expand All @@ -60,9 +64,9 @@ Underprovisioning RAM results in reduced performance (due to reduced caching and

#### Storage

We recommend provisioning volumes with **60 GiB per vCPU**. It's fine to have less storage per vCPU if your workload does not have significant capacity needs.
We recommend provisioning volumes with **150 GiB per vCPU**. It's fine to have less storage per vCPU if your workload does not have significant capacity needs.

- The maximum recommended storage capacity per node is 4 TiB, regardless of the number of vCPUs. See [Node density testing configuration](#node-density-testing-configuration).
- The maximum recommended storage capacity per node is 2.5 TiB, regardless of the number of vCPUs.

- Use dedicated volumes for the CockroachDB [store](architecture/storage-layer.html). Do not share the store volume with any other I/O activity.

Expand Down
10 changes: 7 additions & 3 deletions v20.2/recommended-production-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,14 @@ Before deploying to production, test and tune your hardware setup for your appli

#### CPU and memory

Each node should have **at least 2 vCPUs**. For best performance, we recommend between 4 and 32 vCPUs per node. Provision **4 GiB of RAM per vCPU**.
Each node should have **at least 2 vCPUs**. For best performance, we recommend at least 4 vCPUs per node. Provision **4 GiB of RAM per vCPU**.

- To optimize for throughput, use larger nodes with up to 32 vCPUs. To further increase throughput, add more nodes to the cluster instead of increasing node size.

{{site.data.alerts.callout_info}}
Based on internal testing, 32 vCPUs is a sweet spot for OLTP workloads. It is not a hard limit, especially for deployments using physical hardware rather than cloud instances.
{{site.data.alerts.end}}

{{site.data.alerts.callout_info}}
The benefits to having more RAM decrease as the number of vCPUs increases.
{{site.data.alerts.end}}
Expand All @@ -60,9 +64,9 @@ Underprovisioning RAM results in reduced performance (due to reduced caching and

#### Storage

We recommend provisioning volumes with **60 GiB per vCPU**. It's fine to have less storage per vCPU if your workload does not have significant capacity needs.
We recommend provisioning volumes with **150 GiB per vCPU**. It's fine to have less storage per vCPU if your workload does not have significant capacity needs.

- The maximum recommended storage capacity per node is 4 TiB, regardless of the number of vCPUs. See [Node density testing configuration](#node-density-testing-configuration).
- The maximum recommended storage capacity per node is 2.5 TiB, regardless of the number of vCPUs.

- Use dedicated volumes for the CockroachDB [store](architecture/storage-layer.html). Do not share the store volume with any other I/O activity.

Expand Down

0 comments on commit a4e4679

Please sign in to comment.