RDS for PostgreSQL
Parameter | Type | Required? | Example | Description |
Parameter | Type | Required? | Example | Description |
InstanceId | String | Yes | postgres-5d27abexxxx | Instance ID. tip |
DatabaseName | String | Yes | pg_demo | Target database name. |
RuleId | Long | Yes | 136734987028564xxxx | Rule ID of the SQL throttling rule. |
Limit | Yes | Refer to the request example. | New throttling configuration. |
Parameter | Type | Required? | Example | Description |
Parameter | Type | Required? | Example | Description |
Type | String | Yes | qps | The type of SQL throttling rule. Values:
|
QPS | Integer | No | 100 | The number of requests allowed per second. Value range: 0 ~ 100000. tip
|
Burst | Integer | No | 200 | Token Bucket capacity. Value range: 1 ~ 100000. tip This parameter is required only when the Type parameter is qps. |
MaxWaitMs | Integer | No | 1000 | Maximum waiting time. The default value is 0, which means no waiting time limit. Unit: millisecond. Value range: 0 ~ 864000000. tip This parameter is required only when the Type parameter is concurrency. |
MaxWaiting | Integer | No | 20 | Maximum pending queue count. Value range: 0 ~ 100000. tip This parameter is required only when the Type parameter is concurrency. |
MaxConcurrency | Integer | No | 10 | Maximum concurrency. Value range: 0 ~ 100000. tip
|
Parameter | Type | Example | Description |
Parameter | Type | Example | Description |
Code | Integer | 0 | Return status code. 0 means succeeded. |
Message | String | success | Return information. |