Changes the specifications of an AnalyticDB for PostgreSQL instance.
Operation description
This operation does not support instances in storage reservation mode.
Before you call this operation, make sure that you fully understand the billing methods and pricing of AnalyticDB for PostgreSQL.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gpdb:UpgradeDBInstance |
update |
*DBInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceGroupId |
string |
No |
The ID of the resource group to which the instance belongs. For information about how to obtain the resource group ID, see View basic information of a resource group. |
rg-bp67acfmxazb4p**** |
| RegionId |
string |
No |
The region ID. Note
You can call the DescribeRegions operation to query available region IDs. |
cn-hangzhou |
| DBInstanceClass |
string |
No |
[Deprecated] This parameter is deprecated. You do not need to specify this parameter. |
null |
| DBInstanceGroupCount |
string |
No |
[Deprecated] This parameter is deprecated. You do not need to specify this parameter. |
null |
| DBInstanceId |
string |
Yes |
The instance ID. Note
You can call the DescribeDBInstances operation to query the IDs of all AnalyticDB for PostgreSQL instances in a specific region. |
gp-rj*************** |
| PayType |
string |
No |
[Deprecated] This parameter is deprecated. You do not need to specify this parameter. |
null |
| MasterNodeNum |
string |
No |
[Deprecated] This parameter is deprecated. You do not need to specify this parameter. |
null |
| SegNodeNum |
string |
No |
The number of segment nodes. The supported number of nodes varies based on the instance resource type and instance edition:
|
2 |
| InstanceSpec |
string |
No |
The specifications of segment nodes. For information about supported node specifications, see Instance specifications. Note
This parameter is supported only for elastic storage mode instances. |
4C16G |
| StorageSize |
string |
No |
The storage capacity of segment nodes. Unit: GB. Valid values: 50 to 6000, in increments of 50. Note
This parameter is supported only for elastic storage mode instances. |
100 |
| SegDiskPerformanceLevel |
string |
No |
The performance level (PL) of the disk. Valid values:
|
pl1 |
| SegStorageType |
string |
No |
The cloud disk storage type after the change. Currently, only ESSD cloud disks are supported. Set the value to cloud_essd. |
cloud_essd |
| UpgradeType |
integer |
No |
The type of the specification change. Valid values:
Note
|
0 |
| ServerlessResource |
string |
No |
Note
This parameter is required only for Serverless automatic scheduling mode and Serverless Pro instances. |
16 |
| CacheStorageSize |
string |
No |
The Serverless cache storage capacity. Unit: GB. Note
This parameter is required only for Serverless Pro instances. |
800 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| DBInstanceId |
string |
The instance ID. |
gp-rj*************** |
| OrderId |
string |
The order ID. |
********* |
| RequestId |
string |
The request ID. |
25C11EE5-B7E8-481A-A07C-BD********** |
Examples
Success response
JSON format
{
"DBInstanceId": "gp-rj***************",
"OrderId": "*********",
"RequestId": "25C11EE5-B7E8-481A-A07C-BD**********"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.