Note
For V4.2.1, this parameter is available starting with V4.2.1 BP9. For other V4.2.x versions, this parameter is available starting with V4.2.5.
Description
ob_storage_s3_url_encode_type specifies whether the URL encoding method for S3 requests is compatible with the RFC 3986 standard.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | String |
| Default value | default |
| Value range |
|
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Considerations
This parameter is used to access COS through the S3 protocol. For more information, see Prepare for log archiving.
Examples
Set the URL encoding method for S3 requests to be compatible with the RFC 3986 standard.
obclient> ALTER SYSTEM SET ob_storage_s3_url_encode_type='compliantRfc3986Encoding';