Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

http://toddlerdba.blogspot.de/2011/04/install-oracle-text-oracle-database.

html

1. Install Oracle Text

SQL> connect SYS/password as SYSDBA


SQL> select comp_name, status, substr(version,1,10) as version from dba_registry
where comp_id = 'CONTEXT';

no rows selected

SQL> spool text_install.txt


SQL> @?/ctx/admin/catctx.sql Wab#876 SYSAUX TEMP NOLOCK

2. install language

SQL> connect CTXSYS/Wab#876


SQL> @?/ctx/admin/defaults/dr0defin.sql "AMERICAN";
SQL> connect SYS/password as SYSDBA
--SQL> alter user ctxsys account lock password expire;
SQL> spool off

3. verify

select comp_name, status, substr(version,1,10) as version from dba_registry where


comp_id = 'CONTEXT';

select * from ctxsys.ctx_version;

select substr(ctxsys.dri_version,1,10) VER_CODE from dual;

select count(*) from dba_objects where owner='CTXSYS';

select object_type, count(*) from dba_objects where owner='CTXSYS' group by


object_type;

select object_name, object_type, status from dba_objects where owner='CTXSYS' and


status != 'VALID' order by object_name;

Removing Context
Here�s how to remove Oracle Text from an 11.2 database.

SQL> connect / as SYSDBA


SQL> spool ctxsys_removal.log

SQL> @?/ctx/admin/catnoctx.sql

SQL> spool off

You might also like