本文档规范oracle10.2.0.1.0升级到10.2.0.5.0版本的升级流程及操作,供DBA人员在进行数据库版本升级的时参考使用。升级操作的具体
Linux(RHEL5)下Oracle 10g版本升级(10.2.0.1.0-10.2.0.5.0)操作文档
系统环境:RHEL5
文档版本:V1.0.1
整理:Kevin.Lu
更新时间:2011-08-27
备注:DBA专用
Linux(RHEL5)下ORACLE_10g_10.2.0.1.0升级到10.2.0.5.0操作文档(超给力版本)... 1
目录... 2
1. 文档更新记录... 3
2. 文档说明... 3
3. 升级前,,需要做的准备工作:... 4
3.1.1. 临时增加shared pool和java pool的大小... 4
3.1.2. 备份oracle软件,备份数据库... 4
3.1.3. 停掉监听,OEM,ISQLPLUS等... 4
3.1.4. 上传补丁包... 4
4. 数据库软件产品的升级:... 5
4.1.1. 打开控制X server访问权限... 5
4.1.2. 执行runInstaller,开启安装OUI界面... 5
5. 进行数据库的升级操作:... 11
5.1.1. 开始升级及更新数据字典... 11
5.1.2. 重编译失效对象... 12
5.1.3. 察看数据库安装的组件、版本、状态: 12
5.1.4. 开启监听,OEM及ISQLPLUS. 12
6. 小结... 13
6.1.1. 全新安装的情况... 13
6.1.2. 非全新安装的情况... 13
6.1.3. 升级失败,尝试回退机制... 14
1. 文档更新记录
时间
修改人
版本号
修改说明
2011.08.20
Kevin.Lu
1.0.0
建立文档
2011.08.27
Kevin.Lu
1.0.1
梳理文档
2. 文档说明
本文档规范oracle10.2.0.1.0升级到10.2.0.5.0版本的升级流程及操作,供DBA人员在进行数据库版本升级的时参考使用。
升级操作的具体步骤如下:
3. 升级前,需要做的准备工作: 3.1.1. 临时增加shared pool和java pool的大小
确保参数shared_pool_size和java_pool_size至少为150M大小,保证catupgrd.sql(10g)升级脚本运行正常(9i版本中是catpatch.sql)
[root@10gpri ~]# su – oracle
[oracle@ Disk1]$ sqlplus / as sysdba
SQL>startup
SQL>alter system set shared_pool_size='150M' scope=spfile;
SQL> alter system set java_pool_size='150M' scope=spfile;
SQL>shutdown immediate
3.1.2. 备份oracle软件,备份数据库
[oracle@ Disk1]$cp -r $ORACLE_HOME/product/10.2.0/db_1 /bk/oracle_product_back
[oracle@ Disk1]$ tar -cvfz /bk/oracle_backup.tar.gz $ORACLE_BASE /oradata/ora10g/*
3.1.3. 停掉监听,OEM,ISQLPLUS等
[oracle@ ~]$ lsnrctl stop
[oracle@ ~]$ emctl stop dbconsole
[oracle@ ~]$ isqlplusctl stop
3.1.4. 上传补丁包
将p8202632_10205_LINUX.zip上传到/bk并解压:
[oracle@ bk]$ ls Disk1/
install patch_note.htm response runInstaller stage
[oracle@ Disk1]$ export LANG=en

MySQLviewshavelimitations:1)Theydon'tsupportallSQLoperations,restrictingdatamanipulationthroughviewswithjoinsorsubqueries.2)Theycanimpactperformance,especiallywithcomplexqueriesorlargedatasets.3)Viewsdon'tstoredata,potentiallyleadingtooutdatedinforma

ProperusermanagementinMySQLiscrucialforenhancingsecurityandensuringefficientdatabaseoperation.1)UseCREATEUSERtoaddusers,specifyingconnectionsourcewith@'localhost'or@'%'.2)GrantspecificprivilegeswithGRANT,usingleastprivilegeprincipletominimizerisks.3)

MySQLdoesn'timposeahardlimitontriggers,butpracticalfactorsdeterminetheireffectiveuse:1)Serverconfigurationimpactstriggermanagement;2)Complextriggersincreasesystemload;3)Largertablesslowtriggerperformance;4)Highconcurrencycancausetriggercontention;5)M

Yes,it'ssafetostoreBLOBdatainMySQL,butconsiderthesefactors:1)StorageSpace:BLOBscanconsumesignificantspace,potentiallyincreasingcostsandslowingperformance.2)Performance:LargerrowsizesduetoBLOBsmayslowdownqueries.3)BackupandRecovery:Theseprocessescanbe

Adding MySQL users through the PHP web interface can use MySQLi extensions. The steps are as follows: 1. Connect to the MySQL database and use the MySQLi extension. 2. Create a user, use the CREATEUSER statement, and use the PASSWORD() function to encrypt the password. 3. Prevent SQL injection and use the mysqli_real_escape_string() function to process user input. 4. Assign permissions to new users and use the GRANT statement.

MySQL'sBLOBissuitableforstoringbinarydatawithinarelationaldatabase,whileNoSQLoptionslikeMongoDB,Redis,andCassandraofferflexible,scalablesolutionsforunstructureddata.BLOBissimplerbutcanslowdownperformancewithlargedata;NoSQLprovidesbetterscalabilityand

ToaddauserinMySQL,use:CREATEUSER'username'@'host'IDENTIFIEDBY'password';Here'showtodoitsecurely:1)Choosethehostcarefullytocontrolaccess.2)SetresourcelimitswithoptionslikeMAX_QUERIES_PER_HOUR.3)Usestrong,uniquepasswords.4)EnforceSSL/TLSconnectionswith

ToavoidcommonmistakeswithstringdatatypesinMySQL,understandstringtypenuances,choosetherighttype,andmanageencodingandcollationsettingseffectively.1)UseCHARforfixed-lengthstrings,VARCHARforvariable-length,andTEXT/BLOBforlargerdata.2)Setcorrectcharacters


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

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SublimeText3 Chinese version
Chinese version, very easy to use

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Zend Studio 13.0.1
Powerful PHP integrated development environment

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool
