ORA-29855: 執行 ODCIINDEXCREATE 例行程式時出錯

來源:互聯網
上載者:User

ERROR 位於第 1 行:
ORA-29855: 執行 ODCIINDEXCREATE 例行程式時出錯
ORA-20000: Oracle Text 錯誤:
DRG-50857: oracle error in drixtab.create_index_tables
ORA-01031: 許可權不足
ORA-06512: 在"CTXSYS.DRUE", line 157
ORA-06512: 在"CTXSYS.TEXTINDEXMETHODS", line 186

 

上面是SYS 使用者登入的報上的錯 起初很鬱悶後來改了一下

 

SQL> show parameter O7_DICTIONARY_ACCESSIBILITY;

NAME                                 TYPE        VALUE
------------------------------------ ----------- ----------------------------
O7_DICTIONARY_ACCESSIBILITY          boolean     FALSE
SQL> alter system set O7_DICTIONARY_ACCESSIBILITY=true scope =spfile;

系統已更改。

SQL> shutdown immediate;
資料庫已經關閉。
已經卸載資料庫。
ORACLE 常式已經關閉。
SQL> startup;
ORACLE 常式已經啟動。

Total System Global Area  135338868 bytes
Fixed Size                   453492 bytes
Variable Size             109051904 bytes
Database Buffers           25165824 bytes
Redo Buffers                 667648 bytes
資料庫裝載完畢。
資料庫已經開啟。

SQL> CREATE INDEX contains_test ON docs(text) INDEXTYPE IS CTXSYS.CONTEXT;

索引已建立。

SQL>
SQL> select * from docs

SQL> select text from docs where contains(text,'frist',1)>0;

TEXT
--------------------------------------------------------------------------------

the  name and frist
the demo frist
the frist reslut

問題搞定!

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.