基于湖库一体架构,统一管理结构化、半结构化与非结构化等多模态数据,一个系统承载事务处理、实时分析与 AI 工作负载。
对虚拟表执行 DML 操作报错
更新时间:2024-01-22 01:56
问题现象
在对虚拟表做 DML 操作时发现如下报错。
obclient [oceanbase]> update __all_virtual_sys_parameter_stat set value='X' where name='rpc_timeout' and zone='zone3' and svr_ip='172.xx.xxx.xxx';
ERROR 1235 (0A000): DML operation on Virtual Table/Temporary Table not supported
obclient [oceanbase]> update __all_virtual_database set replica_num=1 where tenant_id=1;
ERROR 1235 (0A000): DML operation on Virtual Table/Temporary Table not supported
问题原因
OceanBase 数据库不支持对虚拟表做 DML 操作。
解决方法
禁止对虚拟表做 DML 操作。
适用版本
OceanBase 数据库 V2.x 和 V3.x 版本。