---
title: OBServer 告警：partition not exist in observer-OceanBase数据库使用指南
description: 了解OceanBase数据库在实际应用中关于OBServer 告警：partition not exist in observer相关的常见问题和使用技巧，帮助您快速解决OBServer 告警：partition not exist in observer的难题。
---
切换语言

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

划线反馈

# OBServer 告警：partition not exist in observer

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

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

## 适用版本

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

## 问题现象

OBServer 日志发现如下告警。

```shell
partition not exist in observer

```

## 问题原因

该问题原因一般为已经删除的表在 OceanBase 数据库视图中依然存在残留数据导致，残留信息可能是因为垃圾回收机制（GC）的回收任务在执行过程中发生意外。此时 `__all_virtual_meta_table` 中表现为单条记录（单副本）。

## 解决方法

在 SYS 租户，手动运行 check partition 作业。

```shell
obclient> ALTER SYSTEM RUN JOB check_partition_table SERVER='xxx.xxx.xxx.xxx:2882';

```

在运行上述脚本前，可尝试调小 `replica_safe_remove_time` 参数。

关于参数 `replica_safe_remove_time` 具体如下。

| 属性 | 描述 |
| --- | --- |
| 参数说明 | 用于设置已删除副本可以被清理的安全保留时间。 |
| 参数类型 | 时间类型 |
| 默认值 | 2h |
| 取值范围 | [1m, +∞) |
| 是否重启 OBServer 生效 | 否 |

上一篇

[List 类型分区表无法分区裁剪的原因及解决办法](https://www.oceanbase.com/knowledge-base/oceanbase-database-1000000002830558)

下一篇

[多分区读取直方图的导致 SQL 偶发执行时间过长](https://www.oceanbase.com/knowledge-base/oceanbase-database-1000000002391609) ![有帮助](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) 咨询热线
