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

oracle启动分析

oracle启动方式与命令参数汇总
本文主要是对oracle的启动方式和相关的命令参数进行一个汇总,用以加深印象。
Oracle的启动方式:
startup nomount
startup mount
startup open (startup的默认选项)
其他常用的参数:read only ,read write ,force,restrict
这些参数可以一起使用,比如 startup 与 startup open read write 是一样的效果。
Oracle的启动过程:启动实例  -> 装载数据库 -> 打开数据库
与之对应的读取相应文件的顺序: 参数文件 -> 控制文件 -> 数据文件
我们验证一下这些步骤的区别:
startup nomount
使用nomount方式启动数据库时,表示只启动数据库实例,不装载数据库,不打开数据库
这时只读取参数文件,主要有两部分工作:一是分配内存SGA区,二是启动Oracle后台进程
如下我们修改oracle参数文件的名称,并以nomount 的方式启动数据库
这里需要将pfile,spfile 都进行修改,数据库默认使用spfile启动,在找不到spfile时用pfile启动。
[oracle@localhost dbs]$ pwd
/oracle/orc10g/product/10.1.0/db_1/dbs
[oracle@localhost dbs]$ mv initorcl.ora initorcl1.ora
[oracle@localhost dbs]$ mv spfileorcl.ora spfileorcl1.ora
SYS@orcl>shutdown abort
ORACLE instance shut down.
SYS@orcl>startup nomount
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/oracle/orc10g/product/10.1.0/db_1/dbs/initorcl.ora'
SYS@orcl>
#保持参数文件正确,修改控制文件名称
[oracle@localhost orcl]$ pwd
/oracle/orc10g/oradata/orcl
[oracle@localhost orcl]$ mv control01.ctl control01a.ctl
[oracle@localhost orcl]$ mv control02.ctl control02a.ctl
[oracle@localhost orcl]$ mv control03.ctl control03a.ctl
.....
SYS@orcl>startup nomount
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 778212 bytes
Variable Size 61874204 bytes
Database Buffers 104857600 bytes
Redo Buffers 262144 bytes
SYS@orcl>
在nomount的方式下修改控制文件名称,并没有报错。说明在nomount的方式下,并没有读取控制文件。
继续以上的步骤,我们以mount的方式启动:
SYS@orcl>alter database mount;
alter database mount
*
ERROR at line 1:
ORA-00205: error in identifying


相关文档:

Oracle 10g RAC On Linux Using NFS

http://inthirties.com:90/thread-918-3-1.html
This article describes the installation of
Oracle 10g release 2 (10.2.0.1) RAC on Linux (Oracle Enterprise Linux
4.5) using NFS to provide the shared storage.
Introduction
Download Software
Operating System Installation
Oracle Installation Prereq ......

oracle 查找、删除重复记录

总结了一下删除重复记录的方法,以及每种方法的优缺点。
假设表名为Tbl,表中有三列col1,col2,col3,其中col1,col2是主键,并且,col1,col2上加了索引。
1、通过创建临时表
可以把数据先导入到一个临时表中,然后删除原表的数据,再把数据导回原表,SQL语句如下:
creat table tbl_tmp (select distinct* from tbl) ......

Red Hat Cluster Suite集群 Oracle数据库


目录
一、概述
二、硬件平台搭建
三、Redhat As4 update2安装配置
四、Oracle 10g安装配置
五、Red Hat Cluster Suite安装配置
六、系统切换测试
七、常用命令
一、概述
黄岛市开发区财政局本次采用两台IBM X3850-8664服务
器、
一台DS4300盘阵,平台采用Redhat As4 update2 结合cluster suite,部署Oracle ......

Red Hat Cluster Suite集群 Oracle数据库

目录
一、概述
二、硬件平台搭建
三、Redhat As4 update2安装配置
四、Oracle 10g安装配置
五、Red Hat Cluster Suite安装配置
六、系统切换测试
七、常用命令
一、概述
黄岛市开发区财政局本次采用两台IBM X3850-8664服务器、一台DS4300盘阵,平台采用Redhat As4 update2
结合cluster suite,部署Oracle 10g数 ......

Oracle Db10g 表

   表是Oracle数据库最基本对像之一,它存储实际数据,由行和列组成一个二维表。
   表和列的命名要求:
   1.长度必须在30个字节之内,最短长度不能少1个字节
   2.必须是字母开头
   3.能包括字母、数值、下划线、货币符号。建议最好不要用货币符号
 &n ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号