最近有朋友在群里问如何完全卸载ORACLE 10g,这里简单的整理下,方便需要的朋友
Windows下ORACLE完全卸载:使用OUI可以卸载数据库,但卸载后和文件系统内仍会有部分残留。这些残留不仅占用磁盘空间,而且影响ORACLE的重新安装及系统性能。在WINDOWS下卸载ORACLE 10g的步骤:1 删除聚集同步服务CSS(Cluster Synchronization Services)。如果数据库配置了自动存储管理ASM,应该先删除CSS服务,因为ORACLE不会自动删除这个服务。在DOS命令下使用localconfig delete命令可删除该服务。
C:\Documents and Settings\Administrator>localconfig delete Step 1: stopping local CSS stack Step 2: deleting OCR repository failed to open the OCR subkey, err(1060)
failed to cleanup local OCR repository successfully deleted local CSS setup可能因为我的数据库没有配置ASM,因此执行的时候出现如上所示的错误提示。
2 逐个停止所有与ORACLE相关的服务。
ORACLE服务是以Ora开头的,例如:这个在WINDOWS的服务对话框;大家都比较熟悉,就不说了。
3 使用OUI(Oracle Universal Installer)卸载Oracle软件。
“开始”->“程序”->“Oracle-OraDb110g_home1|Oracle installation product|Universal installer.卸载ORACLE的时间比较长,而且比较耗费资源,因此卸载前最好关闭其他所有的程序窗口。出现如下窗口。
4 单击“卸载产品”按钮。
单击“删除”按钮。
选择“是”单击“关闭”退出。
5 删除ASM实例。
如果Oracle配置了ASM,还要手动删除ASM实例。以下是在DOS命令行下删除ASM实例的例子。
C:\ORADIM –DELETE –ASMSID +ASM由于我没配置ASM,因此省略此步。
6 删除内容。
运行regedit命令,删除下面内容:HKEY_LOCAL_MACHINE|SOFTWARE|ORACLE键,删除此键。
HKEY_LOCAL_MACHINE|SYSTEM|CurrentControlSet|Services,删除Services键下所有以oracle为首的键。
我的系统上没找到相关的项。
HKEY_LOCAL_MACHINE|SYSTEM|CurrentControlSet|Services|Eventlog|Application, 删除此键下所有以oracle为首的键。
我的系统上没找到相关的项。
HKEY_CLASSES_ROOT,删除此键下所有以Ora,Oracle,Orcl,EnumOra 为前缀的键。
我的系统上没找到相关的项HKEY_CURRENT_USER|Software| Microsoft|Windows|CurrentVersion|Explorer|MenuOrder|Start Menu|Programs, 删除此键下所有以oracle为首的键。
HKEY_LOCAL_MACHINE|SOFTWARE|ODBC|ODBCINST.INI键,删除了Microsoft ODBC FOR ORACLE键以外的所有有Oracle字样的键值。
HKEY_我的系统上没找到相关的项LOCAL_MACHINE|SYSTEM|CurrentControlSet|Services,删除以Oracle或OraWeb为前缀的键。
我的系统上没找到相关的项7 删除环境变量。
删除环境变量CLASSPATH,PATH中含有Oracle字样的值。
我的系统上没找到相关的项8 删除“开始|程序”中还有ORACLE字样的组和图表。
通过OUI卸载后,我的系统已经没有ORACLE的组和图表了。
9 最后在文件系统内删除ORACLE相关的文件及目录:删除系统盘符:\Progrm Files\Oracle目录;删除ORACLE_BASE目录。
我无法删除D:\oracle目录,重新启动机器之后才删除。
若OUI装在非默认目录下,删除这个非默认目录;系统盘符:\ Document and Settings\用户\Local Settings\Temp目录下删除临时文件
如果上面的方法不能解决你的问题,可以通过下面的文章再加工一下
windows下如何完全彻底卸载Oracle10G
1、如果数据库配置了自动存储管理(ASM),应该先删除聚集同步服务CSS(Cluster Synchronization Services)。删除CSS服务的方法是在DOS命令下执行如下命 令: localconfig delete
2、在“服务”窗口中停止Oracle的所有服务。
3、在“开始”菜单中依次选择“程序”/“Oracle-oraDb10g_home1”/“oracle installation products”/“universal installer”,打开oracle universal installer(oui)窗口,单击“卸载产品”,选中要删除的oracle产品,删除。
4、如有,则删除自动存储管理(ASM),在DOS下执行:
oracle –delete –asmsid +asm
5、运行regedit命令,打开窗口,删除与oracle有关的内容:
删除HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE目录。
删除HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/services中所有以oracle或OraWeb开头的键。
删除HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Eventlog/Application中所有以oracle开头的键,
删除HKEY_CLASSES_ROOT目录下所有以Ora、Oracle、Orcl或EnumOra为前缀的键。
删除HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/MenuOrder/StartMenu/Proguams中所有以oracle开头的键。
其中,有些项可能已经在卸载oracle时删除。
删除环境变量中的PATH和CLASSPATH中包含Oracle的值。开始->设置->控制面板->系统->高级->环境变量 删除环境变量CLASSPATH和PATH中有关Oracle的设定
删除“开始”/“程序”中所有Oracle的组和图标。
删除所有与oracle相关的目录,包括:
C:\program files\oracle目录
删除与Oracle有关的文件,选择Oracle所在的缺省目录C:\Oracle,删除这个入 口目录及所有子目录,并从C:\WINDOWS下删除以下文 件ORACLE.INI、oradim73.INI、oradim80.INI、oraodbc.ini等等。 13、 WIN.INI文件中若有[ORACLE]的标记段,删除该段
如有必要,删除所有Oracle相关的ODBC的DSN
到事件查看器中,删除Oracle相关的日志 说明: 如果有个别DLL文件无法删除的情况,则不用理会,重新启动,开始新的安装, 安装时,选择一个新的目录,则,安装完毕并重新启动后,老的目录及文件就可以删除掉了。
Oracle_base目录。
C:\Documents and settings\系统用户名\localSettings\temp目录下的临时文件。
删除HKEY_LOCAL_MACHINE/Software/ODBC/ODBCINST.INI中除microsoft odbc for oracle键以外的所有含Oracle的键。
6、重启计算机

InnoDBBufferPool reduces disk I/O by caching data and indexing pages, improving database performance. Its working principle includes: 1. Data reading: Read data from BufferPool; 2. Data writing: After modifying the data, write to BufferPool and refresh it to disk regularly; 3. Cache management: Use the LRU algorithm to manage cache pages; 4. Reading mechanism: Load adjacent data pages in advance. By sizing the BufferPool and using multiple instances, database performance can be optimized.

Compared with other programming languages, MySQL is mainly used to store and manage data, while other languages such as Python, Java, and C are used for logical processing and application development. MySQL is known for its high performance, scalability and cross-platform support, suitable for data management needs, while other languages have advantages in their respective fields such as data analytics, enterprise applications, and system programming.

MySQL is worth learning because it is a powerful open source database management system suitable for data storage, management and analysis. 1) MySQL is a relational database that uses SQL to operate data and is suitable for structured data management. 2) The SQL language is the key to interacting with MySQL and supports CRUD operations. 3) The working principle of MySQL includes client/server architecture, storage engine and query optimizer. 4) Basic usage includes creating databases and tables, and advanced usage involves joining tables using JOIN. 5) Common errors include syntax errors and permission issues, and debugging skills include checking syntax and using EXPLAIN commands. 6) Performance optimization involves the use of indexes, optimization of SQL statements and regular maintenance of databases.

MySQL is suitable for beginners to learn database skills. 1. Install MySQL server and client tools. 2. Understand basic SQL queries, such as SELECT. 3. Master data operations: create tables, insert, update, and delete data. 4. Learn advanced skills: subquery and window functions. 5. Debugging and optimization: Check syntax, use indexes, avoid SELECT*, and use LIMIT.

MySQL efficiently manages structured data through table structure and SQL query, and implements inter-table relationships through foreign keys. 1. Define the data format and type when creating a table. 2. Use foreign keys to establish relationships between tables. 3. Improve performance through indexing and query optimization. 4. Regularly backup and monitor databases to ensure data security and performance optimization.

MySQL is an open source relational database management system that is widely used in Web development. Its key features include: 1. Supports multiple storage engines, such as InnoDB and MyISAM, suitable for different scenarios; 2. Provides master-slave replication functions to facilitate load balancing and data backup; 3. Improve query efficiency through query optimization and index use.

SQL is used to interact with MySQL database to realize data addition, deletion, modification, inspection and database design. 1) SQL performs data operations through SELECT, INSERT, UPDATE, DELETE statements; 2) Use CREATE, ALTER, DROP statements for database design and management; 3) Complex queries and data analysis are implemented through SQL to improve business decision-making efficiency.

The basic operations of MySQL include creating databases, tables, and using SQL to perform CRUD operations on data. 1. Create a database: CREATEDATABASEmy_first_db; 2. Create a table: CREATETABLEbooks(idINTAUTO_INCREMENTPRIMARYKEY, titleVARCHAR(100)NOTNULL, authorVARCHAR(100)NOTNULL, published_yearINT); 3. Insert data: INSERTINTObooks(title, author, published_year)VA


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

Notepad++7.3.1
Easy-to-use and free code editor

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

Dreamweaver CS6
Visual web development tools