obdumper非分区表

【 使用环境 】生产环境
【 OB or 其他组件 】
【 使用版本 】
【问题描述】清晰明确描述问题
【复现路径】问题出现前后相关操作
【附件及日志】推荐使用OceanBase敏捷诊断工具obdiag收集诊断信息,详情参见链接(右键跳转查看):
root@catltobsapp01 obdp2]# obdumper -h10..239 -P2883 -uroot@diyi#ndcatl -p’Oc&’ -D test --csv --table ‘bakt1’ --partition ‘p1’ -f ‘/tmp/obdp2/’ --ctl-path ‘/tmp/t1.ctrl’ --skip-check-dir
2026-01-18 20:15:51 [INFO] Parsed args:
[–csv] true
[–ctl-path] /tmp/t1.ctrl
[–file-path] /tmp/obdp2/
[–host] 10.3
239
[–port] 2883
[–user] root@diyi#ndcatl
[–password] ******
[–database] test
[–sys-user] root
[–table] [bakt1]
[–partition] [p1]
[–skip-check-dir] true

2026-01-18 20:15:51 [INFO] Load jdbc driver class: “com.oceanbase.jdbc.Driver” finished
2026-01-18 20:15:51 [INFO] Parse ctrl definition: “/tmp/t1.ctrl” success
2026-01-18 20:15:51 [INFO] Manifest: “/tmp/obdp2/data/MANIFEST.bin” has been saved
2026-01-18 20:15:52 [WARN] Query table entry for table: “bakt1” is null. Consider the table as non-partitioned table.
2026-01-18 20:15:52 [INFO] Try to query unique keys for table: “bakt1”… (But no-primary constraints).
2026-01-18 20:15:52 [INFO] Query unique keys for table: “bakt1” success. (No-unique constraints). Elapsed: 3.683 ms
2026-01-18 20:15:52 [INFO] Query table entry for table: “bakt1” success. Remain: 0. Elapsed: 1.831 ms
2026-01-18 20:15:52 [INFO] Query all table entries success. Total: 1. Elapsed: 47.71 ms
2026-01-18 20:15:52 [ERROR] Dump failed! Error: Partitions: [p1] are not exists of a non-partitioned table: “bakt1”
2026-01-18 20:15:52 [ERROR] System exit 1

【备注】基于 LLM 和开源文档 RAG 的论坛小助手已开放测试,在发帖时输入 [@论坛小助手] 即可召唤小助手,欢迎试用!

2 个赞

没明白啥问题

–partition ‘p1’ 报错没有P1分区