Oracle RAC 10.2.0.1 升级 10.2.0.4 简单描述
推荐crs版本高于db版本
If you also plan to apply this patch to Oracle Clusterware,
ensure that you apply the patch to Oracle Clusterware before
applying it to Oracle Database. This is because Oracle Clusterware
hould always be at the same or later version as the database.
涉及到数据库而不是实例的,都只需要在节点1上执行即可。
Update Oracle Time Zone Definitions
SELECT version from v$timezone_file;
If this query reports version 4, no action is required; in this case, continue with steps described in section 7.6.
If this reports a version lower or higher then 4, see OracleMetalink document 553812.1 Actions for the DSTv4 update in the Release 10.2.0.4 patchset.
running utltzpv4.sql (node1)
If a "select * from sys.sys_tzuv2_temptab;" gives no rows then there is no action to take for the Oracle time zone definitions
SQL> select * from sys.sys_tzuv2_temptab;
no rows selected
2, Stop All Processes (node1)
$ srvctl stop database -d ecsdb
$ srvctl stop nodeapps -n ecsrac01
$ srvctl stop nodeapps -n ecsrac02
$ crs_stop -all
./runInstaller (node1) -- upgrade CRS
Name: OraCrs10g_home
4. cd /u01/product/crs/install
# ./root102.sh (each node)
5. ./runInstaller (node1) -- upgrade RDBMS
name : OraDb10g_home1
6. cd /u01/product/oracle/
# ./root.sh (each node)
7. upgrade database
manually : ingore --- Run the Pre-Upgrade Information Tool
$ srvctl start listener -n ecsrac01
$ srvctl start listener -n ecsrac02
If you are using Automatic Storage Management, start the Automatic Storage Management instance.
$ sqlplus /nolog
SQL> CONNECT SYS AS SYSDBA
Enter password: SYS_password
SQL> STARTUP NO
相关文档:
公司使用linux开发机进行程序开发时,由于开发用Oracle数据库是由日方提供,所以经常使用sqlplus连接到远程数据库上进行开发,例如:
sqlplus username/password@servicename
于是想,用我的两台电脑双机互联试一试,也玩个“远程连接”。实验如下:
首先在我的台式机上安装了Oracle9i的数据库管理系统, ......
oracle的odbc网关(gateway)几乎提供一个无线的数据整合平台,在oracle和其它RDBMS之间,我在这不想说它的,操作,限制以及相关性,它解决了一个小问题,把它建立起来你能,例如,创建一个 database link 在oracle 和oracle之间,毕竟,这样不是很好么,例如你能运行下面的sql语句,
select o.col1, m.col1 from or ......
(一)Data blocks ,Extents,Segment
这就是他们之间的逻辑结构。
先看Data blocks(也叫逻辑块,oracle块,页)吧,oracle存储数据都是在这些数据块中,一个数据块是磁盘上数据库物理空间一系列物理字节的组成。
比Data blocks更高一层的逻辑数据块空间是e ......
'
ALTER TABLESPACE app_data
ADD DATAFILE 'u01/oradata/userdata03.dbf'
SIZE 200M;
'创建表空间
CREATE TABLESPACE userdata
DATAFILE 'u01/oradata/userdata03.dbf' SIZE 100M
AUTOEXTEND ON NEXT 5M MAXSIZE 200M;
'创建回滚表空间
CREATE UNDO TABLESPACE undo1
DATAFILE ' ......
新建文件系统
crfs -v jfs -g rootvg -m /arch -a \ size=32768 -a frag=512 -a nbpi=8192 也可以 smit。
开启归档模式
$ sqlplus '/as sysdba'
SQL*Plus: Release 10.2.0.1.0 - Production on Thu Dec 10 13:38 ......