如何解决ORA-43856:用于SECUREFILE LOB操作不支持LOB类型(How to tr

2019-10-19 02:26发布

根据我说的Oracle服务器上,同样创建表的DDL语句可以成功或失败:

在服务器#1

Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> create table h5basic (b blob) lob(b) store as basicfile;
Table created.

SQL> create table h5basic$none (b blob) lob(b) store as basicfile (retention none);
create table h5basic$none (b blob) lob(b) store as basicfile (retention none)
*
ERROR at line 1:
ORA-43856: Unsupported LOB type for SECUREFILE LOB operation

在服务器#2

Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> create table h5basic (b blob) lob(b) store as basicfile;
Table created.

SQL> create table h5basic$none (b blob) lob(b) store as basicfile (retention none);
Table created.

两个服务器不完全一样的版本,以及Linux上的第一次运行,而第二个Windows版本,但APPART从,这可能是不同的两间来解释这种行为差异? 感谢您对解决此问题的任何提示。 --DD

Answer 1:

有些选项:

  1. 检查init.ora文件,看是否db_securefile参数设置是不同的-允许值为: { ALWAYS | FORCE | PERMITTED | NEVER | IGNORE } { ALWAYS | FORCE | PERMITTED | NEVER | IGNORE } { ALWAYS | FORCE | PERMITTED | NEVER | IGNORE } (见此处了解详情)。
  2. 检查表空间都ASSM为(见这里 ):一个SecureFile的只能在自动段空间管理(ASSM)表空间中创建。


文章来源: How to troubleshoot ORA-43856: Unsupported LOB type for SECUREFILE LOB operation
标签: oracle blob