ORA-31165: cannot load object-relational XML attribute using direct path
Cause: The table being loaded contains a xml column with object-relational storage. The xmltype column either contains an out-of-line partitioned table or the table itself is partitioned by one of the attributes of xmltype. This type of table cannot be loaded with direct path.
Action: Perform the load with conventional path mode.
ORA-31165指出无法使用Direct Path装载对象-关系的XML属性。
ORA-31165 occurs when an attempt is made to use Direct Path to load an object-relational XML attribute into a database table.
当尝试使用Direct Path将对象-关系的XML属性装载到数据库表中时,会发生ORA-31165错误。
1.检查负责装载数据的过程中使用的API是否正确。
2.检查是否使用正确的XML Schema以及XML文件,以避免出现任何格式错误。
3.确保正在尝试装载的XML数据正确,并且正在尝试装载的XML数据适合XML Schema定义的数据类型。
4.如果担心内存不足,使用Direct Path装载的操作,可以尝试增加其他可用的资源。