91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

手工安裝ORACLE TEXT

發布時間:2020-07-20 13:46:42 來源:網絡 閱讀:233 作者:18620626259 欄目:關系型數據庫

手工安裝ORACLE TEXT
grant CREATE TABLE to student;
grant CREATE SEQUENCE to student;
 ORACLE TEXT安裝與卸載
 1.創建CTXSYS用戶
以SYS用戶執行以下腳本:
SQL> connect SYS/password as SYSDBA
SQL> spool text_install.txt
SQL> @?/ctx/admin/catctx.sql change_on_install SYSAUX TEMP NOLOCK
各參數含義:
change_on_install – 設置ctxsys用戶密碼
SYSAUX – 調置ctxsys用戶默認表空間
TEMP – 設置ctxsys用戶默認臨時表空間
LOCK|NOLOCK – 設置ctxsys用戶鎖定與不鎖定
2.指定默認安裝語言
SYS@jzh>conn ctxsys/oracle
Connected.
以ctxsys用戶執行如下腳本:
CTXSYS@jzh>@$ORACLE_HOME/ctx/admin/defaults/drdefus.sql
在11.2.0.3版本中,如果不執行以上腳本,那么在執行腳本dr0defin.sql或創建索引時會遇到如下錯誤:
ERROR at line 1:
ORA-20000: Oracle Text error:
DRG-10700: preference does not exist: CTXSYS.DEFAULT_LEXER
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.CTX_DDL", line 1140
ORA-06512: at line 2
SQL> CREATE INDEX "EXPERIAN2"."IX_COMP_SEARCH" ON "EBA05M5" ("COMPANY_NAME") INDEXTYPE IS "CTXSYS"."CONTEXT";
設置american為默認語言
SYS@jzh>@?/ctx/admin/defaults/dr0defin.sql "AMERICAN";
old   1: SELECT DECODE('&nls_language',
new   1: SELECT DECODE('AMERICAN',
注意:在一些系統中使用text必須指定相關變量,如下列表:
Platform:             Requires path set:    ENV variable:
--------------------- --------------------- -------------------
Linux x86-64          YES                   LD_LIBRARY_PATH
Solaris SPARC64       YES                   LD_LIBRARY_PATH
IBM AIX               YES                   LIBPATH
HP PA-RISC            YES                   SHLIB_PATH
HP Itanium            YES                   LD_LIBRARY_PATH
- If you have the C Shell (csh or tcsh), enter the following:
   $ setenv LD_LIBRARY_PATH $ORACLE_HOME/ctx/lib:$LD_LIBRARY_PATH
- If you have the Bourne shell (sh), Bash shell (bash), or Korn shell (ksh), enter the following:
   $ export LD_LIBRARY_PATH=$ORACLE_HOME/ctx/lib:$LD_LIBRARY_PATH
Run the following command to check if the LD_LIBRARY_PATH environmental variable is set correctly:
$ echo $LD_LIBRARY_PATH
3. 驗證
以sys用戶登陸數據庫執行如下腳本:
SYS@jzh>select comp_name, status, substr(version,1,10) as version from dba_registry where comp_id = 'CONTEXT';
COMP_NAME                                STATUS               VERSION
---------------------------------------- -------------------- ------------------------------
Oracle Text                              VALID                11.2.0.3.0
SYS@jzh>select * from ctxsys.ctx_version;
VER_DICT                                 VER_CODE
---------------------------------------- ----------------------------------------
11.2.0.3.0                               11.2.0.3.0
SYS@jzh>select substr(ctxsys.dri_version,1,10) VER_CODE from dual;
VER_CODE
----------------------------------------
11.2.0.3.0
SYS@jzh>select count(*) from dba_objects where owner='CTXSYS';
  COUNT(*)
----------
       388
SYS@jzh>select object_type, count(*) from dba_objects where owner='CTXSYS' group by object_type order by 1;
OBJECT_TYPE           COUNT(*)
------------------- ----------
FUNCTION                     2
INDEX                       63
INDEXTYPE                    4
LIBRARY                      1
LOB                          2
OPERATOR                     6
PACKAGE                     74
PACKAGE BODY                63
PROCEDURE                    2
SEQUENCE                     3
TABLE                       50
OBJECT_TYPE           COUNT(*)
------------------- ----------
TYPE                        35
TYPE BODY                    6
VIEW                        77
14 rows selected.
SYS@jzh>select object_name, object_type, status from dba_objects where owner='CTXSYS' and status != 'VALID' order by object_name;
no rows selected
如果有無效對象,可手動重新編譯。
4. 卸載Oracle text
? 以sys用戶執行如下腳本
SQL> connect SYS/password as SYSDBA
SQL> spool text_deinstall.log
SQL> @?/ctx/admin/catnoctx.sql
SQL> drop procedure sys.validate_context;
SQL> spool off

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

且末县| 乌鲁木齐市| 无极县| 怀远县| 靖江市| 嘉义县| 龙游县| 伊宁县| 石首市| 论坛| 孟津县| 台南县| 遂川县| 府谷县| 乐安县| 河南省| 常宁市| 钦州市| 尉犁县| 甘肃省| 五台县| 专栏| 无极县| 澳门| 滦平县| 乌苏市| 夹江县| 临泉县| 汽车| 巴塘县| 沈丘县| 金湖县| 峨边| 光山县| 伊宁市| 罗源县| 庄浪县| 牡丹江市| 渭南市| 榆社县| 东阿县|