- 浏览: 681172 次
- 性别:
- 来自: 中山
文章分类
最新评论
-
wuhuizhong:
jFinal支持Rest风格吗?可以想spring mvc那样 ...
在JFinal的Controller中接收json数据 -
wuhuizhong:
在jfinal中应如何获取前端ajax提交的Json数据?ht ...
在JFinal的Controller中接收json数据 -
wuhuizhong:
jfinal如何处理json请求的数据:问题: 在某些api接 ...
在JFinal的Controller中接收json数据 -
wuhuizhong:
Ubuntu14.04 安装 Oracle 11g R2 Ex ...
Oracle 11g release 2 XE on Ubuntu 14.04 -
alanljj:
这个很实用,已成功更新,谢过了!
odoo薪酬管理模块l10n_cn_hr_payroll
How to Deinstall and Reinstall XML Database (XDB) [ID 243554.1]
Applies to:
Oracle Server - Enterprise Edition - Version: 9.2.0.1 to 10.2.0.5
Oracle Server - Personal Edition - Version: 9.2.0.1 to 10.2.0.5
Oracle Server - Standard Edition - Version: 9.2.0.1 to 10.2.0.5
Information in this document applies to any platform.
This article provides the steps to manually deinstall and install the XML Database feature into a database that is version 9i R2 through 10g release 2. THIS NOTE IS NOT FOR 11G and above.
WARNING FOR ALL READERS: If the XML DB features are currently being utilized and you have experienced an invalid XML DB repository or installation, point-in-time recovery to a point prior to when the problem occurred is recommended. XDB should not be reinstalled if the feature is being used. Please confirm whether XDB is being used in your environment prior to attempting reinstall.
In addition, the following DB features also use XDB: Oracle Intermedia EXIF metadata, Oracle GEORASTER, EXFSYS, Oracle Locator
WARNING FOR 10g R2: For versions 10.2 and newer, if XDB is invalid the xdbrelod.sql script should be attempted first. Reinstallation procedures should only be performed when xdbrelod.sql was not successful in resolving the issue.
WARNING FOR 11G: This Note is not for 11g.
This article is for DBA's that need to remove, install and/or reinstall the XDB feature into an existing Oracle database.
How to Deinstall and Reinstall XML Database (XDB)
XDB Reload Procedures for 10.2 and above.
SQL> conn / as sysdba
SQL> Shutdown Immediate;
SQL> Startup upgrade;
SQL> @?/rdbms/admin/xdbrelod.sql
alternatively xdbpatch.sql can be run both xdbpatch and xdbrelod perform the same actions.
SQL> Shutdown Immediate;
SQL> Startup
SQL> @?/rdbms/admin/utlrp.sql
Then check the error conditions that necessitated the steps in the first place. If the error condition is not resolved consider point in time recovery back to before the error state existed. If that is not an option proceed to removal and reinstall if on version 10.2 and below and you have read all the warnings.
XDB SCHEMA REMOVAL STEPS:
WARNING: The steps to remove the XML Database feature (XDB schema) will completely remove the XDB repository including any user defined information contained within it.
Therefore, if there are any registered schemas or XML Database items created, you will be required to recreate all of your user defined structures, data and re-register all schemas previously registered.
If you are running Oracle Applications with iSetup see NOTE:402785.1 linked below.
WARNING: If you are on database release 10.1.x or 10.2.x the XDB Feature is Mandatory in order to use any of the member functions of the XMLTYPE. This is true even if you are not using the repository , or registered schema aspects of the XDB feature.
WARNING: This is not for 11g.
1. Shutdown and restart the database.
2. Connect as sysdba and run the catnoqm.sql script. Maintain a spool of the
script running:
UNIX: $ORACLE_HOME/rdbms/admin subdirectory
WINDOWS: $ORACLE_HOME\rdbms\admin subdirectory
For Example:
SQL> set echo on
SQL> spool xdb_removal.log
SQL> @?/rdbms/admin/catnoqm.sql
3. Modify the init.ora file or spfile to include the following minimums to prepare the DB for reinstalling the XDB schema:
shared_pool_size =150M
java_pool_size =150M
4. Turn on AUTO EXTEND on the XDB tablespace.
If you do not want to do this , make sure you target a tablespace with at
least
.100 MB of free space for non-UTF8 DB
.150 MB of free space for an AL32UTF8 DB
5. Shutdown the database immediate, and startup the database normal
NOTE: Failure to restart the database at this step can cause XDB catqm.sql installation to fail with an internal error similar to the following: ORA-7445 [qmr_hdl_copy()+48]
XDB SCHEMA INSTALL STEPS:
1. Connect as sysdba and run the catqm.sql script. Maintain a spool of the
script running:
UNIX: $ORACLE_HOME/rdbms/admin subdirectory
WINDOWS: $ORACLE_HOME\rdbms\admin subdirectory
The catqm.sql script requires the following parameters be passed to it when
run:
A. XDB user password
B. XDB user default tablespace (You can use any tablespace other than system undo and temp. This tablespace has to exist prior to running the script.)
C. XDB user temporary tablespace
Therefore the syntax to run catqm.sql will be:
SQL> catqm.sql A B C
For Example:
SQL> set echo on
SQL> spool xdb_install.log
SQL>@?/rdbms/admin/catqm.sql XDB XDB TEMP
The Following Step is for Release 9.2.x ONLY skip to step 3 if running 10.1.x or above
2.Reconnect to SYS again and run the following to load the XDB java library.
SQL>@?/rdbms/admin/catxdbj.sql
NOTE: In order to load the XDB java libraries in catxdbj.sql, you must first have a valid Java Virtual Machine installation in the DB (JVM) and a valid XDK.
Also, make sure that the database is started with Oracle9i Release 2 (9.2.0) compatibility or higher for database version 9.2
3. If the following line is not already apart of the database system parameters (init.ora/spfile).
NOTE:
PLEASE REPLACE ,instanceid1,2 etc with your actual values
a. Non-RAC
dispatchers="(PROTOCOL=TCP) (SERVICE=<SID>XDB)"
b. RAC
instanceid1.dispatchers="(PROTOCOL=TCP) (SERVICE=<SID>XDB)"
instanceid2.dispatchers="(PROTOCOL=TCP) (SERVICE=<SID>XDB)"
etc ...
c.If you are not using the default Listener ensure you have set LOCAL_LISTENER in the (init.ora/spfile)
as prescribed for RAC/NON-RAC instances or the end points will not register.
4. Check for any invalid XDB owned objects:
SQL> select count(*) from dba_objects
where owner='XDB' and status='INVALID';
COUNT(*)
----------
0
5. Check DBA_REGISTRY for XDB status:
SQL> select comp_name, status, version from DBA_REGISTRY where comp_name= 'Oracle XML Database'
The results should indicate the correct version and patch in a valid status.
6. Restart database and listener to enable Oracle XML DB protocol access.
NOTE:
If for any reason the catqm.sql script fails you can repeat the steps. However doing so May result in :
ORA-04098: trigger 'SYS.XDB_INSTALLATION_TRIGGER' is invalid and failed re-validation
If this occurs follow the steps in article:
NOTE:331378.1 - Running catqm.sql Leads to ORA-4098 Trigger 'SYS.XDB_INSTALLATION_TRIGGER' is Invalid
Click here to learn about XDB/XML training from Oracle University.
NOTE:402785.1
- iSetup dependency with Deinstall and Reinstall of XMLDB
NOTE:558834.1
- How To Re-register XML Schemas After XDB Has Been Re-installed?
NOTE:742014.1
- XDB 11g Install and Deinstall Note
PL/SQL Web Server体系结构 - http://book.csdn.net/bookfiles/1054/100105431525.shtml
发表评论
-
用函数unistr将Oracle数据库中的Unicode转换为中文
2016-07-19 11:51 7918例子: DECLARE V_EXT_DES V ... -
ORACLE APPLICATION EXPRESS 5.0 升级
2016-05-12 11:43 580Oracle11GR2 XE 缺省是安装了oracle ap ... -
Oracle ACL(Access Control List)
2016-05-12 11:36 889在oralce 11g中假如你想获取server的ip或者h ... -
了解systemstate dump
2016-04-26 14:09 487当数据库出现严重的性能问题或者hang了的时候,我们非常需要 ... -
通过ORACLE的UTL_HTTP工具包发送包含POST参数的请求
2016-03-18 16:25 5152DECLARE req utl_http. ... -
Shell: extract more from listener.log(分析监听日志)
2016-03-16 14:57 1148统计一天内每小时的session请求数 # fgrep ... -
ORA-01031: insufficient privileges 问题解决笔记
2016-02-01 15:53 1186A) File $Oracle_HOME/network/a ... -
listener.log中报Warning: Subscription For Node Down Event Still Pending问题的解决方法
2016-01-07 16:34 1634一套Oracle 10.2.0.1 for aix的数据库环 ... -
Oracle触发器和MySQL触发器之间的区别
2015-11-19 12:55 670Oracle触发器格式: CREATE [OR RE ... -
查询正在执行的存储过程
2015-11-13 09:27 20501、找正在执行的PROCEDURE的 sid ,serial# ... -
undo表空间损坏的处理过程
2015-10-14 13:49 1219磁碟陣列故障,分區/rman上包括undo和archivel ... -
登录oracle资料库时很久无反应的问题处理一例
2015-10-11 10:56 993原因是系统存在僵死的进程,促使session处于激活状态.首 ... -
TNS-12560问题解决
2015-10-01 19:52 613tnsping远程主机实例出现TNS-12560: TNS ... -
查看undo中sql语句的占用情况
2015-08-06 17:18 1764查看undo中sql语句的占用情况 select * ... -
Install Open System Architect And ODBC Instant Client
2015-05-21 14:03 749How to Install Open System Arc ... -
恢复oracle中用pl sql误删除drop掉的表
2015-04-03 16:12 553查看回收站中表 select object_name,or ... -
在Oracle Linux 6.6上安装Oracle 10gR2
2015-01-15 15:36 2681查看硬體配置 # df -h Filesystem ... -
kill
2015-01-03 11:36 457--根据某一对象查询进程 col owner fo ... -
Oracle 数据库Storage存储迁移笔记
2014-12-27 11:08 9861.确认数据文件、控制文件、临时文件、日志文件 位置 / ... -
異地備份資料庫的開啟步驟
2014-11-19 14:03 487使用EMC設備執行異地備份, 資料庫的複製是開啟的狀態下, ...
相关推荐
因为感觉I5comp是DOS程序,用起来奇不爽,所以就封装了个界面,与大家共享,有好的建议可EMAILTO: fanjunxing@163.com,如果BUG,还请原谅,另外包里的三个DLL是InstallShield的动态连接库,最好能放在 C:WINDOWS...
Oracle Database 11g 标准版和企业版下载地址详细列表 Oracle Database 11g 是一个关系型数据库管理系统,由 Oracle Corporation 推出的。它提供了标准版和企业版两个版本,以满足不同的企业需求。在这个下载地址...
Oracle Database 11gR2 (linux.x64_11gR2_deinstall.zip) ,适用于 Linux Linux x86-64 的 Oracle De-install Utility (11.2.0.1.0)
Oracle 11g最新版本11.2.0.4,适用于Linux。11.2.0.4安装包在Oracle官网已经不能免费下载,网上全的安装包已经没有了,而11.2.0.1BUG较多,是Linux版本。...p13390677_112040_Linux-x86-64_7of7.zip deinstall
nbu8_deinstall.txt
Oracle Database 11gR2 (linux.x64_11202_deinstall.zip) ,适用于 Linux Linux x86-64 的 Oracle De-install Utility (11.2.0.2.0)
Program: DelforExp, Delphi Formatter Version: 2.4.1 for Delphi 2-7 ... are removed) If someone knows how to get and set the locations of these points I would be happy to hear from you.
Oracle数据库是一款广泛应用于企业级数据管理的数据库管理系统,它的安装和卸载过程相对复杂,有时常规的卸载方法可能无法完全删除所有关联文件和注册表项,导致残留问题。批处理文件是一种有效的自动化工具,可以...
Oracle11g提供了一个卸载批处理程序deinstall.bat,该程序可以自动完成卸载工作。卸载过程中可能需要填写以下项: * 指定要取消配置的所有单实例监听程序[LISTENER] * 指定在此Oracle主目录中配置的数据库名的列表...
1. **运行卸载脚本**:首先需要定位到 `%Oracle_Home%\product\11.2.0\dbhome_1\deinstall` 目录下,找到并运行 `deinstall.bat` 批处理文件。 2. **确认卸载选项**:按照屏幕提示选择需要卸载的组件和服务。 3. **...
使用 `DROP DATABASE` 命令,但要确保所有数据文件和控制文件的位置是正确的,以避免数据丢失。 3. 清理注册表和配置文件: 在操作系统层面删除与数据库相关的注册表项和配置文件,例如 TNS 配置、环境变量等。 ...
在“开始”菜单中找到“所有程序”->“Oracle”->“Oracle安装产品”->“Universal Installer”,在启动的界面中选择“卸载产品”,然后找到Oracle主目录下的OraDb11g_home1,选中“Oracle Database 11g 11.2.0.1.0...
oracle11g最终版本11.2.0.4的全套资源,包括RAC集群和管理工具共7个文件 资源说明(按需下载): p102025301120——Linux-x86-64_1of7.zip database安装介质 ...p102025301120——Linux-x86-64_7of7.zip deinstall
windows操作系统下,彻底删除oracle数据库软件。包括服务,以及文件残留。
Oracle 11g是一款强大的关系型数据库管理系统,广泛应用于企业级数据存储和管理。本教程将详细介绍Oracle 11g的安装、启动、以及卸载的全过程,旨在帮助初学者和有经验的IT专业人士掌握这一核心技能。...
$ ./runInstaller –silent –deinstall –removeallfiles –removeAllPatches "REMOVE_HOMES={$ORACLE_HOME}" –responseFile /tmp/install_database.rsp ``` ##### 2.2 Step2. 静默安装Oracle数据库实例 **...
make deinstall reinstall clean ``` 通过以上步骤,你可以将FreeBSD的软件安装源切换至国内的镜像站点,从而提高下载和更新软件的速度。记得在进行这些操作时,确保系统已获得足够的权限,且在编辑配置文件后,...
FROM_LOCATION="../stage/products.xml" ORACLE_HOME="/u01/app/oracle/product/10.2.0/db_1/" ORACLE_HOME_NAME="OraDb10g_home1" TOPLEVEL_COMPONENT={"Oracle.server","10.2.0.1.0"} DEINSTALL_LIST={"Oracle....
Oracle 11g是一款广泛应用的关系型数据库管理系统,其卸载过程需要谨慎且全面,以确保系统中不再残留任何与Oracle相关的组件或配置。以下是对"Oracle 11g完整卸载"步骤的详细解释: 第一步,停用Oracle服务。...