---
title: "ob_storage_s3_url_encode_type - OceanBase 数据库 V4.2.1 | OceanBase 文档中心"
description: ob_storage_s3_url_encode_type 说明 该配置项从 V4.2.1 BP9 版本开始引入。 功能描述 ob_storage_s3_url_encode_type 用于设置 S3 发送请求时的 URL 编码方式是否兼容 Rfc3986 标准。 属性说明 属性 描述 参数类型 String 默认值…
---
切换语言

- 中文站 - 简体中文
- International - English
- 日本站 - 日本語

文档反馈![](https://mdn.alipayobjects.com/huamei_22khvb/afts/img/A*P8CuR4UJ_FkAAAAAAAAAAAAADiGDAQ/original) OceanBase 数据库分布式版 - V 4.2.1 LTS

# ob_storage_s3_url_encode_type

更新时间：2026-04-16 00:11:37

[编辑](https://github.com/oceanbase/oceanbase-doc/edit/V4.2.1/zh-CN/700.reference/800.configuration-items-and-system-variables/100.system-configuration-items/300.cluster-level-configuration-items/30200.ob_storage_s3_url_encode_type.md)

#### 说明

该配置项从 V4.2.1 BP9 版本开始引入。

## 功能描述

`ob_storage_s3_url_encode_type` 用于设置 S3 发送请求时的 URL 编码方式是否兼容 Rfc3986 标准。

## 属性说明

| **属性** | **描述** |
| --- | --- |
| 参数类型 | String |
| 默认值 | default |
| 取值范围 | compliantRfc3986Encoding/default |
| 是否重启 OBServer 节点生效 | 否 |

## 使用说明

该配置项适用于部分兼容 S3 协议但可能不支持 AWS S3 SDK 默认的 URL 编码方式的对象存储，相关操作请参见[日志归档的准备工作](https://www.oceanbase.com/docs/common-oceanbase-database-cn-1000000000218397)。

## 配置示例

设置 AWS S3 发送请求时的 URL 编码方式兼容 Rfc3986 标准。

```shell
obclient> ALTER SYSTEM SET ob_storage_s3_url_encode_type='compliantRfc3986Encoding';

```

 上一篇 下一篇 ![有帮助](https://gw.alipayobjects.com/mdn/ob_asset/afts/img/A*y6ocSqN8cqsAAAAAAAAAAAAAARQnAQ)![无帮助](https://gw.alipayobjects.com/mdn/ob_asset/afts/img/A*BG9IQJyLHF8AAAAAAAAAAAAAARQnAQ)![反馈](https://gw.alipayobjects.com/mdn/ob_asset/afts/img/A*eTWdQKCRKHwAAAAAAAAAAAAAARQnAQ)[AI](https://www.oceanbase.com/obi) 咨询热线
