升级和卸载Oracle数据库软件的命令整理
查看版本号
sqlplus / as sysdba >select * from v$version;
备份orcl数据库
export ORACLE_SID=orcl rman targer / >backup full database plus archivelog;
升级
./runInstall 安装升级包
sqlplus / as sysdba >startup upgrade >@$ORACLE_HOME/rdbms/admin/catupgrd.sql >shutdown immediate >startup >@$ORACLE_HOME/rdbms/admin/utlrp.sql >select * from utl_recomp_errors; ----------> 无选定行说明无错误
检查
>select name from v$database ------->确认ORACLE_SID正确,为oral >show user ------->确认当前使用者为SYS >select tablespace_name,bytes from dba_data_files ------>确认表空间大小 >@$ORACLE_HOME/rdbms/admin/catalog.sql >shutdown immediate >startup
手工卸载oracle:
/etc/ora* /usr/local/bin/oraenv /usr/local/bin/dbhome /usr/local/bin/coraenv $ORACLE_BASE/*
相关推荐
fengdos 2020-07-29
zhaojp0 2020-04-30
数据库之扑朔迷离 2020-04-29
jiong 2020-04-23
zhaojp0 2020-01-23
gaozhennan 2020-01-12
chenjiazhu 2020-01-08
lysanderK 2020-01-04
Andrea0 2019-10-19
Franklyn 2019-07-05
大伟爱自由 2012-02-09
园搬家测试账号 2010-01-20
Franklyn 2019-07-05
oradbm 2019-07-01
Kingonion 2019-07-01
JokerFei 2019-06-28
maxintcsdnblog 2019-07-01