Академический Документы
Профессиональный Документы
Культура Документы
After I upgraded my database from 11.2.0.1 to 11.2.0.4, I found database component OWB was
not upgraded to 11.2.0.4 version. Our application is not using OWB but its possible to
upgrade OWB component by running following scripts.
# To Cleanup OWB repository and creating OWBSYS Schema with Repository Objects
$ cd $ORACLE_HOME/owb/UnifiedRepos
SQL>@<OH>/owb/UnifiedRepos/clean_owbsys.sql;
SYS>@<OH>/owb/UnifiedRepos/cat_owb.sql;
18 rows selected.
USERNAME
------------------------------
OWBSYS_AUDIT
OWBSYS
SYS>@?/owb/UnifiedRepos/clean_owbsys.sql;
User dropped.
User dropped.
Role dropped.
Role dropped.
Role dropped.
SYS>@?/owb/UnifiedRepos/cat_owb.sql <tablespace_name>; or
SYS>@?/owb/UnifiedRepos/cat_owb.sql;
Package created.
Package body created.
User created.
User OWBSYS has been created.
User created.
Grant succeeded.
Grant succeeded.
[TRIMMED]
Synonym created.
Table created.
User altered.
User altered.
NOTE: To associate the Control Center with the correct OWB home, now run
admin privileges. For example, connect as sys as sysdba to run the script.
SYS>@?/owb/UnifiedRepos/reset_owbcc_home.sql;
Enter the full path of the Oracle home for the OWB Control Center install.
If you are installing in a Windows environment, please ensure that the case of the
path exactly matches the Oracle install path including the drive letter.
/u01/app/oracle/product/11.2.0/dbhome_2/owb
The clean_owbsys.sql Script drops the OWBSYS schema and roles associated with it.
The cat_owb.sql Script checks if an OWBSYS schema exists, and creates it if necessary, and
then installs the objects required by OWB 11.2 repository. This may lock OWBSYS account.
The reset_owbcc_home.sql Script ensures that Oracle Warehouse Builder uses the 11.2 version
of the Control Center Service. It would ask full path $ORACLE_HOME to be entered.
Now OWB Component version has been upgraded to the database version.
USERNAME
------------------------------
OWBSYS_AUDIT
OWBSYS