---
title: "net_thread_count - OceanBase 数据库 V4.1.0 | OceanBase 文档中心"
description: "net_thread_count net_thread_count 用于设置网络 I/O 线程数。 属性 描述 参数类型 整型 默认值 0 取值范围 [0, 64] 是否重启 OBServer 节点生效 是 缺省情况下，RPC 和 MySQL 的 Libeasy 的 I/O 线程各为 CPU 核数的 1/8。当 ne…"
---
切换语言

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

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

# net_thread_count

更新时间：2023-07-28 10:45:58

[编辑](https://github.com/oceanbase/oceanbase-doc/edit/V4.1.0/zh-CN/700.reference/500.system-reference/100.system-configuration-items/300.cluster-level-configuration-items/15200.net_thread_count.md)  

`net_thread_count` 用于设置网络 I/O 线程数。

| **属性** | **描述** |
| --- | --- |
| 参数类型 | 整型 |
| 默认值 | 0 |
| 取值范围 | [0, 64] |
| 是否重启 OBServer 节点生效 | 是 |

缺省情况下，RPC 和 MySQL 的 Libeasy 的 I/O 线程各为 CPU 核数的 1/8。当 `net_thread_count` 配置项的取值为 N（ N 大于 0 ）时，RPC 和 MySQL 的 Libeasy 的 I/O 线程各为 N 个线程。

 上一篇 下一篇 ![有帮助](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) 咨询热线
