重新安装主机后ORACLE DB的处理
在网上看到的重装主机ORACLE DB的处理,觉的很好,很实用,先记录一下,以后可能用的着。1.将原来的oracle文件夹重命名,比如orac
在网上看到的重装主机Oracle DB的处理,觉的很好,很实用,先记录一下,,以后可能用的着。
1.将原来的Oracle文件夹重命名,比如oracle_old;然后重新安装oracle
到原目录,即跟重装操作系统前同一目录,假设为d:\oracle;安装过程选择"只安装软件"
即不创建数据库,这样可以节省很多时间.
注:恢复必须要有以下文件
a、初始化参数文件INIT.ORA
b、所有数据文件 .dbf
c、所有重做日志文件(联机日志、归档日志)redo
d、所有控制文件 crtl
e、internal密码文件
2.配置listener和tns:
运行lsnrctl start,即可在创建监听服务;
使用net manager配置tns,但不要测试(数据库没有起来肯定测试不通过的);
3.将oradata文件夹拷贝回原目录(如d:oracleoradata);
4.将spfile拷贝回原目录(如d:oracleora92database);
5.创建实例服务:
oradim -new -sid orcl -startmode auto
6.重建口令文件:或是复制原来的pwdorcl.ora yhy9为实例名
orapwd file=d:oracleora92database password=orcl entries=5
7.重启监听和实例.
8.如果数据库没有启动就进入sqlplus手工打开数据库
sqlplus /nolog
sql>conn sys/orcl@orcl as sysdba
sql>startup;
一定要有提示成功打开,否则重复以上办法解决。
9.如果数据库顺利打开,整个实例恢复过程即完成.
经验证通过以上操作,完全可以恢复成功。需要的是耐心、细心。
如果中间有报错,则一步步根据报错到网上查找解决办法。

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

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

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

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











MySQL is an open source relational database management system, mainly used to store and retrieve data quickly and reliably. Its working principle includes client requests, query resolution, execution of queries and return results. Examples of usage include creating tables, inserting and querying data, and advanced features such as JOIN operations. Common errors involve SQL syntax, data types, and permissions, and optimization suggestions include the use of indexes, optimized queries, and partitioning of tables.

In Oracle, the FOR LOOP loop can create cursors dynamically. The steps are: 1. Define the cursor type; 2. Create the loop; 3. Create the cursor dynamically; 4. Execute the cursor; 5. Close the cursor. Example: A cursor can be created cycle-by-circuit to display the names and salaries of the top 10 employees.

MySQL is chosen for its performance, reliability, ease of use, and community support. 1.MySQL provides efficient data storage and retrieval functions, supporting multiple data types and advanced query operations. 2. Adopt client-server architecture and multiple storage engines to support transaction and query optimization. 3. Easy to use, supports a variety of operating systems and programming languages. 4. Have strong community support and provide rich resources and solutions.

Oracle views can be exported through the EXP utility: Log in to the Oracle database. Start the EXP utility, specifying the view name and export directory. Enter export parameters, including target mode, file format, and tablespace. Start exporting. Verify the export using the impdp utility.

When Oracle log files are full, the following solutions can be adopted: 1) Clean old log files; 2) Increase the log file size; 3) Increase the log file group; 4) Set up automatic log management; 5) Reinitialize the database. Before implementing any solution, it is recommended to back up the database to prevent data loss.

MySQL is suitable for web applications and content management systems and is popular for its open source, high performance and ease of use. 1) Compared with PostgreSQL, MySQL performs better in simple queries and high concurrent read operations. 2) Compared with Oracle, MySQL is more popular among small and medium-sized enterprises because of its open source and low cost. 3) Compared with Microsoft SQL Server, MySQL is more suitable for cross-platform applications. 4) Unlike MongoDB, MySQL is more suitable for structured data and transaction processing.

Building a Hadoop Distributed File System (HDFS) on a CentOS system requires multiple steps. This article provides a brief configuration guide. 1. Prepare to install JDK in the early stage: Install JavaDevelopmentKit (JDK) on all nodes, and the version must be compatible with Hadoop. The installation package can be downloaded from the Oracle official website. Environment variable configuration: Edit /etc/profile file, set Java and Hadoop environment variables, so that the system can find the installation path of JDK and Hadoop. 2. Security configuration: SSH password-free login to generate SSH key: Use the ssh-keygen command on each node

Oracle is not only a database company, but also a leader in cloud computing and ERP systems. 1. Oracle provides comprehensive solutions from database to cloud services and ERP systems. 2. OracleCloud challenges AWS and Azure, providing IaaS, PaaS and SaaS services. 3. Oracle's ERP systems such as E-BusinessSuite and FusionApplications help enterprises optimize operations.
