易截截图软件、单文件、免安装、纯绿色、仅160KB

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


相关文档:

oracle opatch 工具的使用(oracle小补丁安装)

http://gaoshan.blog.51cto.com/742525/284057
一、概述
从9.2版开始, Oracle公司设计实现了个别补丁"装管理工具opatch. opatch使用一个称为inventory的系统数据结构(严格说是与oui共享inventory), 集中管理所有已安装的个别补丁; 个别补丁的安装和卸载都使用opatch命令完成, 冲突检测也由opatch在安装时自动完成; 提供列 ......

Oracle 连接远程数据库

公司使用linux开发机进行程序开发时,由于开发用Oracle数据库是由日方提供,所以经常使用sqlplus连接到远程数据库上进行开发,例如:
sqlplus  username/password@servicename
于是想,用我的两台电脑双机互联试一试,也玩个“远程连接”。实验如下:
首先在我的台式机上安装了Oracle9i的数据库管理系统, ......

启用oracle的archive模式

经验:
alter system set log_archive_dest=’D:\oracle\archivelog’ scope=spfile;
alter system set log_archive_start=true scope=spfile;
之后,
create pfile from spfile
可验证加上没
一、查看数据库运行模式 
可以用超级用户(INTERNAL)在SQLPLUS中使用命令ARCHIVE LOG LIST查看 
......

ARCSDE for Oracle 数据存储形式为st_geometry

SELECT sde.st_area(zone) from sde.test1 ORDER BY name;//
SELECT shape from schools ORDER BY name;
SELECT objectid, sde.st_astext(SDE.ST_POINTfromSHAPE(shape,0)) AS points from schools;
SELECT name, sde.st_x (zone) "The X coordinate" from test ; //正确执行
SELECT name, sde.st_x (shape)  "The ......

Oracle 外连接和 (+)号的用法

对于外连接,Oracle中可以使用“(+)”来表示,9i可以使用LEFT/RIGHT/FULL OUTER JOIN,下面将配合实例一一介绍。
1. LEFT OUTER JOIN:左外关联
SELECT e.last_name, e.department_id, d.department_name 
from employees e 
LEFT OUTER JOIN department ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号