ORA-13434: GeoRaster metadata cellRepresentation error ORACLE 报错 故障修复 远程处理

文档解释

ORA-13434: GeoRaster metadata cellRepresentation error

Cause: The cellRepresentation type was not supported.

Action: Check the documentation for supported cellRepresentation types.

ORA-13434: GeoRaster metadata cellRepresentation错误是由于在使用GeoRaster提供的API时,系统无法找到元数据表中的cellRepresentation列。 cellRepresentation列的存在主要是为了指示GeoRaster API是使用颜色或深度RF等表示法来存储栅格数据。

官方解释

ORA-13434错误表示尝试使用GeoRaster API时,系统未能找到位于元数据表中的cellRepresentation列,这是必需的。 该列指示GeoRaster API是使用颜色表示法还是深度栅格表示法来存储栅格数据。

常见案例

最常见的情况是,当尝试在此数据库中使用GeoRaster API时,将引发ORA-13434错误,原因是cellRepresentation列不存在,而该列是必需的,以指示GeoRaster API使用哪种表示法。

正常处理方法及步骤

首先,你要运行SQL语句来查询georaster_metadata表,看看它当前是否有cellRepresentation列。 如果表中不存在cellRepresentation列,则要执行以下操作:

1.添加cellRepresentation列:ALTER TABLE georaster_metadata ADD cellRepresentation VARCHAR2 (50 BYTE)。

2.使用UPDATE语句更新该列:UPDATE georaster_metadata SET cellRepresentation = ‘None’ WHERE cellRepresentation IS NULL 。

3.再次尝试使用GeoRaster API即可解决此问题。


数据运维技术 » ORA-13434: GeoRaster metadata cellRepresentation error ORACLE 报错 故障修复 远程处理