You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/current/cockroachcloud/basic-cluster-management.md
+6
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,12 @@ A CockroachDB {{ site.data.products.basic }} cluster cannot be moved from one re
85
85
1.[Create a new CockroachDB {{ site.data.products.basic }} cluster]({% link cockroachcloud/create-a-basic-cluster.md %}) in the desired region.
86
86
1. Once the new cluster is set up, [restore your data]({% link cockroachcloud/take-and-restore-self-managed-backups.md %}) from the backup into the new cluster.
87
87
88
+
## Change a cluster's plan
89
+
90
+
To change your cluster's plan between {{ site.data.products.basic }} and {{ site.data.products.standard }}, refer to [Change a Cluster's Plan Between Standard and Basic]({% link cockroachcloud/change-plan-between-basic-and-standard.md %}).
91
+
92
+
To change from {{ site.data.products.basic }} to {{ site.data.products.advanced }}, you must first change your cluster's plan from {{ site.data.products.basic }} to {{ site.data.products.standard }}, and then you can refer to [Change a Cluster's Plan from Standard to Advanced]({% link cockroachcloud/change-plan-from-standard-to-advanced.md %}).
93
+
88
94
## Restore data from a backup
89
95
90
96
Use the [Managed Backups]({% link cockroachcloud/managed-backups.md %}) to restore your cluster from automatic full cluster backups.
title: Change a Cluster's Plan Between Basic and Standard
3
+
summary: Learn how to change a cluster's plan between a CockroachDB Basic cluster and a CockroachDB Standard cluster.
4
+
toc: true
5
+
---
6
+
7
+
{{site.data.alerts.callout_info}}
8
+
CockroachDB {{ site.data.products.standard }}, our new, enterprise-ready plan, is currently in [Preview]({% link {{ site.current_cloud_version }}/cockroachdb-feature-availability.md %}).
9
+
{{site.data.alerts.end}}
10
+
11
+
This page describes how to change a cluster's [plan]({% link cockroachcloud/index.md %}#plans) between CockroachDB {{ site.data.products.standard }} and CockroachDB {{ site.data.products.basic }} using the [{{ site.data.products.cloud }} Console](https://cockroachlabs.cloud/).
12
+
13
+
To use the CockroachDB Cloud API to change your cluster's plan, refer to [Use the CockroachDB Cloud API]({% link cockroachcloud/cloud-api.md %}#change-a-clusters-plan).
14
+
15
+
## Before you begin
16
+
17
+
You'll need the [Cluster Administrator]({% link cockroachcloud/authorization.md %}#cluster-administrator) role on the running CockroachDB {{ site.data.products.standard }} or CockroachDB {{ site.data.products.basic }} cluster in order to change the cluster's [plan]({% link cockroachcloud/index.md %}#plans).
18
+
19
+
## Change a cluster's plan
20
+
21
+
{{site.data.alerts.callout_info}}
22
+
After changing your cluster's plan, you will not be able to change the plan again for 48 hours.
23
+
{{site.data.alerts.end}}
24
+
25
+
1. On the [**Clusters** page]({% link cockroachcloud/cluster-management.md %}#view-clusters-page), select the cluster that requires a plan change.
26
+
1. On the [**Cluster Overview** page]({% link cockroachcloud/cluster-overview-page.md %}), select the **Action** dropdown in the top-right corner, and then **Change plan type**.
27
+
1. Choose a [plan]({% link cockroachcloud/index.md %}#plans) from {{ site.data.products.standard }} or {{ site.data.products.basic }} to change to. The current plan of the cluster will be highlighted. Select **Next: Capacity**.
28
+
1. For capacity:
29
+
- If you are changing to a {{ site.data.products.standard }} plan, choose the amount of [provisioned capacity]({% link cockroachcloud/plan-your-cluster.md %}#provisioned-capacity) you want for your cluster. Select **Next: Finalize**.
30
+
- If you are change to a [{{ site.data.products.basic }} plan]({% link cockroachcloud/create-a-basic-cluster.md %}#step-4-configure-cluster-capacity), choose whether the cluster should have **Unlimited** capacity to scale, or **Set a monthly limit**. Select **Next: Finalize**.
31
+
1. Review the changes and then **Update cluster**.
32
+
33
+
## See more
34
+
35
+
-[CockroachDB Cloud Documentation]({% link cockroachcloud/index.md %})
36
+
-[Use the CockroachDB Cloud API]({% link cockroachcloud/cloud-api.md %})
Copy file name to clipboardexpand all lines: src/current/cockroachcloud/change-plan-from-standard-to-advanced.md
+19-23
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: Migrate from Standard or Basic to Advanced
3
-
summary: Learn how to migrate data from a CockroachDB Standard or Basic cluster into a CockroachDB Advanced cluster.
2
+
title: Change a Cluster's Plan from Standard to Advanced
3
+
summary: Learn how to change a cluster's plan from a CockroachDB Standard cluster to a CockroachDB Advanced cluster.
4
4
toc: true
5
5
docs_area: migrate
6
6
---
@@ -9,23 +9,23 @@ docs_area: migrate
9
9
CockroachDB Standard, our new, enterprise-ready plan, is currently in [Preview]({% link {{ site.current_cloud_version }}/cockroachdb-feature-availability.md %}).
10
10
{{site.data.alerts.end}}
11
11
12
-
This page has instructions for migrating data from a CockroachDB {{ site.data.products.standard }} or {{ site.data.products.basic }} cluster to a CockroachDB {{ site.data.products.advanced }} cluster, by exporting to CSV and using [`IMPORT INTO`]({% link {{site.current_cloud_version}}/import-into.md %}). You may want to migrate to CockroachDB {{ site.data.products.advanced }} if you want a single-tenant cluster with no shared resources.
12
+
This page has instructions for changing cluster [plan]({% link cockroachcloud/index.md %}#plans) from a CockroachDB {{ site.data.products.standard }} cluster to a CockroachDB {{ site.data.products.advanced }} cluster, by exporting to CSV and using [`IMPORT INTO`]({% link {{site.current_cloud_version}}/import-into.md %}). You may want to change your cluster's plan to CockroachDB {{ site.data.products.advanced }} if you want a single-tenant cluster with no shared resources.
13
13
14
-
The steps below use sample data from the [`tpcc` workload]({% link {{site.current_cloud_version}}/cockroach-workload.md %}#workloads).
14
+
The following steps use sample data from the [`tpcc` workload]({% link {{site.current_cloud_version}}/cockroach-workload.md %}#workloads).
15
15
16
-
## Before you start
16
+
## Before you begin
17
17
18
18
These instructions assume you already have the following:
19
19
20
-
- A [CockroachDB {{ site.data.products.standard }} or {{ site.data.products.basic }} cluster]({% link cockroachcloud/quickstart.md %}) from which you want to migrate data.
20
+
- A [CockroachDB {{ site.data.products.standard }} cluster]({% link cockroachcloud/quickstart.md %}) of which you want to change the plan.
21
21
- A [paid CockroachDB {{ site.data.products.advanced }} cluster]({% link cockroachcloud/quickstart-trial-cluster.md %}). Your first paid CockroachDB {{ site.data.products.advanced }} cluster is free for a 30-day trial.
22
22
-[Cloud storage]({% link {{site.current_cloud_version}}/use-cloud-storage.md %}).
23
23
24
24
## Step 1. Export data to cloud storage
25
25
26
-
First, upload your CockroachDB {{ site.data.products.standard }} or {{ site.data.products.basic }} data to a cloud storage location where the CockroachDB {{ site.data.products.advanced }} cluster can access it.
26
+
First, upload your CockroachDB {{ site.data.products.standard }} data to a cloud storage location where the CockroachDB {{ site.data.products.advanced }} cluster can access it.
27
27
28
-
1.[Connect to your CockroachDB {{ site.data.products.basic }} cluster]({% link cockroachcloud/connect-to-a-basic-cluster.md %}) and run the [`EXPORT`]({% link {{site.current_cloud_version}}/export.md %}) statement for each table you need to migrate. For example, the following statement exports the `warehouse` table from the [`tpcc`]({% link {{site.current_cloud_version}}/cockroach-workload.md %}#workloads) database to an Amazon S3 bucket:
28
+
1.[Connect to your CockroachDB {{ site.data.products.standard }} cluster]({% link cockroachcloud/connect-to-your-cluster.md %}) and run the [`EXPORT`]({% link {{site.current_cloud_version}}/export.md %}) statement for each table you need to migrate. For example, the following statement exports the `warehouse` table from the [`tpcc`]({% link {{site.current_cloud_version}}/cockroach-workload.md %}#workloads) database to an Amazon S3 bucket:
29
29
30
30
{% include copy-clipboard.html %}
31
31
~~~sql
@@ -34,7 +34,7 @@ First, upload your CockroachDB {{ site.data.products.standard }} or {{ site.data
34
34
FROM TABLE tpcc.warehouse;
35
35
~~~
36
36
37
-
Note that we uploaded the table in CSV format to a `migration-data` directory in the S3 bucket.
37
+
This command uploads the table in CSV format to a `migration-data` directory in the S3 bucket.
38
38
39
39
The output shows the programmatically generated filename, which you'll reference when you [import the CSV](#step-2-import-the-csv):
40
40
@@ -50,7 +50,7 @@ First, upload your CockroachDB {{ site.data.products.standard }} or {{ site.data
50
50
0,8,17,13,11,SF,640911111,0.0806,300000.00
51
51
~~~
52
52
53
-
1. Repeat this step for each table you want to migrate. For example, let's export one more table (`district`) from the `tpcc` database:
53
+
1. Repeat this step for each table you want to migrate. For example, export one more table (`district`) from the `tpcc` database:
54
54
55
55
{% include copy-clipboard.html %}
56
56
~~~ sql
@@ -81,26 +81,26 @@ First, upload your CockroachDB {{ site.data.products.standard }} or {{ site.data
81
81
~~~
82
82
83
83
{{site.data.alerts.callout_success}}
84
-
For more information about using cloud storage with CockroachDB, see [Use Cloud Storage]({% link {{site.current_cloud_version}}/use-cloud-storage.md %}).
84
+
For more information about using cloud storage with CockroachDB, refer to [Use Cloud Storage]({% link {{site.current_cloud_version}}/use-cloud-storage.md %}).
85
85
{{site.data.alerts.end}}
86
86
87
87
## Step 2. Import the CSV
88
88
89
89
{{site.data.alerts.callout_success}}
90
-
For best practices for optimizing import performance in CockroachDB, see [Import Performance Best Practices]({% link {{site.current_cloud_version}}/import-performance-best-practices.md %}).
90
+
For best practices for optimizing import performance in CockroachDB, refer to [Import Performance Best Practices]({% link {{site.current_cloud_version}}/import-performance-best-practices.md %}).
91
91
{{site.data.alerts.end}}
92
92
93
93
1. [Connect to your CockroachDB {{ site.data.products.advanced }} cluster]({% link cockroachcloud/connect-to-your-cluster.md %}) and [create the database]({% link {{site.current_cloud_version}}/create-database.md %}) you want to import the tables into. For example:
94
94
95
95
{% include copy-clipboard.html %}
96
96
~~~ sql
97
-
>CREATE DATABASE tpcc;
97
+
CREATE DATABASE tpcc;
98
98
~~~
99
99
100
100
1. Write a [`CREATE TABLE`]({% link {{site.current_cloud_version}}/create-table.md %}) statement that matches the schema of the table data you're importing.
101
101
102
102
{{site.data.alerts.callout_success}}
103
-
You can use the [`SHOW CREATE TABLE`]({% link {{site.current_cloud_version}}/show-create.md %}#show-the-create-table-statement-for-a-table) statement in the CockroachDB {{ site.data.products.standard }} or {{ site.data.products.basic }} cluster to view the `CREATE` statement for the table you're migrating.
103
+
You can use the [`SHOW CREATE TABLE`]({% link {{site.current_cloud_version}}/show-create.md %}#show-the-create-table-statement-for-a-table) statement in the CockroachDB {{ site.data.products.standard }} cluster to view the `CREATE` statement for the table you're migrating.
104
104
{{site.data.alerts.end}}
105
105
106
106
{% include v20.2/misc/csv-import-callout.md %}
@@ -139,7 +139,7 @@ For best practices for optimizing import performance in CockroachDB, see [Import
139
139
(1 row)
140
140
~~~
141
141
142
-
1. Repeat the above for each CSV file you want to import. For example, let's import the `tpcc.district` data:
142
+
1. Repeat the previous command for each CSV file you want to import. For example, import the `tpcc.district` data:
143
143
144
144
Issue the following statement to create a new `district` table:
145
145
@@ -167,7 +167,7 @@ For best practices for optimizing import performance in CockroachDB, see [Import
Copy file name to clipboardexpand all lines: src/current/cockroachcloud/cluster-management.md
+7-1
Original file line number
Diff line number
Diff line change
@@ -106,11 +106,17 @@ When the upgrade occurs, your cluster status will be listed as `Available (Maint
106
106
107
107
For manual upgrades to a newer major version of CockroachDB, refer to [Upgrade a cluster in CockroachDB Cloud]({% link cockroachcloud/upgrade-cockroach-version.md %}).
108
108
109
+
## Change a cluster's plan
110
+
111
+
To change your cluster's plan between {{ site.data.products.basic }} and {{ site.data.products.standard }}, refer to [Change a Cluster's Plan Between Standard and Basic]({% link cockroachcloud/change-plan-between-basic-and-standard.md %}).
112
+
113
+
To change from {{ site.data.products.standard }} to {{ site.data.products.advanced }}, refer to [Change a Cluster's Plan from Standard to Advanced]({% link cockroachcloud/change-plan-from-standard-to-advanced.md %}).
114
+
109
115
## Restore data from a backup
110
116
111
117
Refer to [Managed Backups]({% link cockroachcloud/managed-backups.md %}) for instructions to restore your cluster from an automatic cluster backup.
112
118
113
-
You can also [back up and restore]({% link cockroachcloud/take-and-restore-self-managed-backups.md %}) your CockroachDB {{ site.data.products.serverless }} cluster manually. You can take [backups locally]({% link cockroachcloud/take-and-restore-self-managed-backups.md %}) to [`userfile`](https://www.cockroachlabs.com/docs/{{site.current_cloud_version}}/use-userfile-storage) or [back up to cloud storage]({% link cockroachcloud/take-and-restore-self-managed-backups.md %}).
119
+
You can also [back up and restore]({% link cockroachcloud/take-and-restore-self-managed-backups.md %}) your CockroachDB {{ site.data.products.basic }} or {{ site.data.products.standard }} cluster manually. You can take [backups locally]({% link cockroachcloud/take-and-restore-self-managed-backups.md %}) to [`userfile`](https://www.cockroachlabs.com/docs/{{site.current_cloud_version}}/use-userfile-storage) or [back up to cloud storage]({% link cockroachcloud/take-and-restore-self-managed-backups.md %}).
0 commit comments