oracle 创建空间全文索引失败

简介: If you ever want to create or rebuild an oracle spatial index in another schema, you need to m...

If you ever want to create or rebuild an oracle spatial index in another schema, you need to make sure that the target user has CREATE TABLE and CREATE SEQUENCE granted.

select privilege 
from DBA_SYS_PRIVS 
where privilege in ('CREATE TABLE', 'CREATE SEQUENCE' )
and grantee = 'TARGET_SCHEMA'


and if they don't have it

grant CREATE TABLE to target_schema;
grant CREATE SEQUENCE to target_schema;


otherwise you will get these errors, hope this helps someone :)

ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine 
ORA-13249: internal error in Spatial index: [mdidxrbd] 
ORA-13249: Error in Spatial index: index build failed 
ORA-13249: Error in R-tree: [mdrcrtscrt] 
ORA-13231: failed to create index table [MDRT_11CBE$] during R-tree creation 
ORA-13249: Stmt-Execute Failure: CREATE TABLE -----snip-----
ORA-29400: data cartridge error 
ORA-01031: insufficient privileges ORA-06512: at ""MDSYS.SDO_INDEX_METHOD_10I"", line 10 "
目录
相关文章
|
SQL Oracle 关系型数据库
Oracle-index索引解读
Oracle-index索引解读
633 0
|
索引
Oracle-序列、索引和同义词
Oracle-序列、索引和同义词
216 0
|
存储 监控 Oracle
关系型数据库Oracle空间不足
【7月更文挑战第15天】
515 6
|
Oracle 关系型数据库 5G
Oracle 12C rman备份占用大量临时表空间
Oracle 12C rman备份占用大量临时表空间
749 0
|
存储 Oracle 关系型数据库
关系型数据库Oracle 空间不足
【7月更文挑战第16天】
415 2
|
存储 Oracle 关系型数据库
Oracle索引知识看这一篇就足够
Oracle索引知识看这一篇就足够
|
存储 Oracle 关系型数据库
Oracle 12c的多重索引:数据的“多维导航仪”
【4月更文挑战第19天】Oracle 12c的多重索引提升数据查询效率,如同多维导航仪。在同一表上创建针对不同列的多个索引,加速检索过程。虽然过多索引会增加存储和维护成本,但合理选择和使用索引策略,结合位图、函数索引等高级特性,能优化查询,应对复杂场景。数据管理员应善用这些工具,根据需求进行索引管理,支持企业数据分析。
|
存储 数据库
发现oracle10gSYSAUX空间没有了进行处理
发现oracle10gSYSAUX空间没有了进行处理
245 0
|
存储 SQL Oracle
Oracle优化避免索引失效
Oracle优化避免索引失效
697 0
|
存储 Oracle 关系型数据库
9-6 Oracle 管理索引
9-6 Oracle 管理索引
192 0

推荐镜像

更多