posts - 14, comments - 0, trackbacks - 0, articles - 0
          在Oracle9i Rlease2中,Oracle的全文檢索技術被稱為:Oracle Text,功能十分強大。Oracle Text是Oracle9i采用的新名稱,在Oracle8/8i中它被稱作Oracle interMedia Text,在Oracle8以前它的名稱是Oracle ConText Cartridge。
          Oracle Text組件可以在安裝數據庫的時候選擇,缺省是安裝的,如果沒有安裝,那么可以按照以下方式手動安裝Oracle Text。
          1.創建存儲表空間

          $ sqlplus "/ as sysdba"

          SQL*Plus: Release 9.2.0.4.0 - Production on Sun May 15 19:54:48 2005

          Copyright (c) 1982, 2002, Oracle Corporation.? All rights reserved.


          Connected to:
          Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
          With the Partitioning, OLAP and Oracle Data Mining options
          JServer Release 9.2.0.4.0 - Production

          SQL> select name from v$datafile;

          NAME
          --------------------------------------------------------------------------------
          /h2love/oracle/system01.dbf
          /h2love/oracle/undotbs01.dbf
          /h2love/oracle/users01.dbf
          ...

          9 rows selected.

          SQL> create tablespace oratext
          ? 2? datafile '/h2love/oracle/oratext01.dbf' size 100m
          ? 3? extent management local uniform size 128k
          ? 4? ;?????

          Tablespace created.


          2.創建相關對象
          SQL> spool text.log
          SQL> connect sys/oracleHURRAY as sysdba
          Connected.
          SQL> start ?/ctx/admin/dr0csys password oratext temp
          ...creating user CTXSYS
          ...creating role CTXAPP
          SQL> connect ctxsys/password
          Connected.
          SQL> start ?/ctx/admin/dr0inst ?/ctx/lib/libctxx9.so
          ==============? ConText Database Objects Installation ==============

          This script must be run as CTXSYS.? This script will exit
          below if run as any other user.

          User is CTXSYS
          ... creating tables and Oracle object types
          ... creating table dr$parameter
          ... creating table dr$class
          ... creating table dr$object
          ... creating table dr$object_attribute
          ... creating table dr$object_attribute_lov
          ... creating table dr$preference
          ... creating table dr$preference_value
          ... creating table dr$index
          ... creating table dr$index_partition
          ... creating table dr$index_value
          ... creating table dr$policy_tab
          ... creating table dr$sqe
          ... creating table dr$ths
          ... creating table dr$ths_phrase
          ... creating table dr$ths_fphrase
          ... creating table dr$ths_bt
          ... creating table dr$section_group
          ... creating table dr$section
          ... creating table dr$stoplist
          ... creating table dr$stopword
          ... creating table dr$sub_lexer
          ... creating table dr$index_set
          ... creating table dr$index_set_index
          ... creating table dr$server
          ... creating table dr$pending
          ... creating table dr$waiting
          ... creating table dr$online_pending
          ... creating table dr$delete
          ... creating table dr$unindexed
          ... creating table dr$index_error
          ... creating table dr$parallel
          ... creating table dr$stats
          ... creating table dr$part_stats
          ... creating named data type ctx_feedback_item_type
          ... creating named data type ctx_feedback_type
          ... creating safe callout library
          ... creating CONTEXT interface
          drop public synonym contains


          這樣就完成了手工安裝全文檢索工具。
          主站蜘蛛池模板: 招远市| 庆云县| 霍山县| 阿拉善右旗| 交城县| 西乌珠穆沁旗| 托克托县| 射洪县| 宝鸡市| 永福县| 榆树市| 隆安县| 宁阳县| 霍城县| 临朐县| 静宁县| 玛纳斯县| 锡林郭勒盟| 德清县| 临漳县| 若羌县| 峨山| 成安县| 绥阳县| 浦县| 文水县| 卢龙县| 崇明县| 中卫市| 青浦区| 留坝县| 五原县| 米易县| 尼勒克县| 廉江市| 洛扎县| 平原县| 玉山县| 正宁县| 碌曲县| 鸡泽县|