---
title: OBServer 网卡限速造成 DDL 执行缓慢-OceanBase数据库使用指南
description: 了解OceanBase数据库在实际应用中关于OBServer 网卡限速造成 DDL 执行缓慢相关的常见问题和使用技巧，帮助您快速解决OBServer 网卡限速造成 DDL 执行缓慢的难题。
---
切换语言

- 简体中文
- English

划线反馈

# OBServer 网卡限速造成 DDL 执行缓慢

更新时间：2026-05-21 09:16

适用版本： V2.1.x、V2.2.x、V3.1.x、V3.2.x 内容类型：Troubleshoot  

## 问题现象

OceanBase 数据库创建表操作越来越慢，从最初的 1s 到 6s、10s，越来越慢。

检查 OBServer 日志发现如下告警。

```shell
WARN [SERVER] get_network_speed_from_sysfs (ob_server.cpp:1854) [264445][0][xxxx-xxxxx-xxxxx-xxxxx] [lt=4] [dc=0] cannot get Ethernet speed, use default(tmp_ret=0, devname="team0")
WARN [SERVER] runTimerTask (ob_server.cpp:2368) [264445][0][xxxx-xxxxx-xxxxx-xxxxx] [lt=6] [dc=0] ObRefreshNetworkSpeedTask reload bandwidth throttle limit failed(ret=-4000)

```

## 适用版本

OceanBase 数据库 V2.x、V3.x 版本。

## 问题原因

从 trace 日志看网卡带宽受限，ping 延迟达 200ms 以上。

通过下述命令检查网卡配置。

```shell
tc qdisc show dev team0

```

返回结果如下。

```shell
qdisc netem 8008： root refcnt 17 limit 1000 delay 200.0ms

```

## 解决方法

解除网卡的速度限制，参考命令如下。

```shell
tc qdisc del dev team0 root

```

Previous

[介绍宕机对于 DDL 的影响](https://www.oceanbase.com/knowledge-base/oceanbase-database-1000000000564142)

Next

[OceanBase 数据库 V4.x 版本 Oracle 模式外键约束下 DROP 表和 TRUNCATE 表的不同表现](https://www.oceanbase.com/knowledge-base/oceanbase-database-1000000001817699) ![有帮助](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) 咨询热线
