- 浏览: 978446 次
- 性别:
- 来自: 杭州
文章分类
最新评论
-
孤星119:
好熟悉的数据库字段啊, 上家公司做的项目每天都跟这些字段打招呼 ...
Oracle exp compress参数引起的空间浪费 -
itspace:
quxiaoyong 写道遇到个问题,网上一搜,全他妈这篇文章 ...
数据库连接错误ORA-28547 -
quxiaoyong:
遇到个问题,网上一搜,全他妈这篇文章。你转来转去的有意思吗?
数据库连接错误ORA-28547 -
hctech:
关于version count过高的问题,不知博主是否看过ey ...
某客户数据库性能诊断报告 -
itspace:
invalid 写道写的不错,我根据这个来安装,有点理解错误了 ...
AIX 配置vncserver
客户反映业务有问题,远程连接数据库一看,又发现一个老古董数据库,呵呵。闲话不说,看看解决过程。
主机版本为
引用
# oslevel
4.3.3.0
4.3.3.0
数据库版本为
引用
SVRMGR> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle8 Enterprise Edition Release 8.0.6.0.0 - Production
PL/SQL Release 8.0.6.0.0 - Production
CORE Version 4.0.6.0.0 - Production
TNS for IBM/AIX RISC System/6000: Version 8.0.6.0.0 - Production
NLSRTL Version 3.3.3.0.0 - Production
已选择5行。
BANNER
----------------------------------------------------------------
Oracle8 Enterprise Edition Release 8.0.6.0.0 - Production
PL/SQL Release 8.0.6.0.0 - Production
CORE Version 4.0.6.0.0 - Production
TNS for IBM/AIX RISC System/6000: Version 8.0.6.0.0 - Production
NLSRTL Version 3.3.3.0.0 - Production
已选择5行。
用svrmgrl进入数据库,真是老古董了
引用
% svrmgrl
Oracle Server Manager Release 3.0.6.0.0 - Production
Oracle 公司,版权 (c) 1999。保留所有权利
Oracle8 Enterprise Edition Release 8.0.6.0.0 - Production
PL/SQL Release 8.0.6.0.0 - Production
SVRMGR> connect internal/oracle
连接成功。
SVRMGR> startup mount
已启动 ORACLE 实例。
系统全局区域合计有 178472000个字节
Fixed Size 50240个字节
Variable Size 61607936个字节
Database Buffers 116736000个字节
Redo Buffers 77824个字节
已装入数据库。
Oracle Server Manager Release 3.0.6.0.0 - Production
Oracle 公司,版权 (c) 1999。保留所有权利
Oracle8 Enterprise Edition Release 8.0.6.0.0 - Production
PL/SQL Release 8.0.6.0.0 - Production
SVRMGR> connect internal/oracle
连接成功。
SVRMGR> startup mount
已启动 ORACLE 实例。
系统全局区域合计有 178472000个字节
Fixed Size 50240个字节
Variable Size 61607936个字节
Database Buffers 116736000个字节
Redo Buffers 77824个字节
已装入数据库。
查看数据文件物理位置
引用
SVRMGR> select file#,name from v$datafile;
FILE# NAME
---------- --------------------------------------------------------------------------------
1 /u01/oradata/oracle8/system01.dbf
2 /u01/oradata/oracle8/rbs01.dbf
3 /u01/oradata/oracle8/temp01.dbf
4 /u01/oradata/oracle8/tools01.dbf
5 /u01/oradata/oracle8/users01.dbf
6 /u01/oradata/oracle8/usr_data01.dbf
7 /u02/oradata/oracle8/usr_data02.dbf
8 /u03/oradata/oracle8/usr_data03.dbf
9 /u01/oradata/oracle8/ind_data01.dbf
10 /u02/oradata/oracle8/ind_data02.dbf
11 /u03/oradata/oracle8/ind_data03.dbf
12 /u01/oradata/oracle8/usr_data07.dbf
13 /u02/oradata/oracle8/usr_data08.dbf
14 /u03/oradata/oracle8/usr_data09.dbf
15 /u02/oradata/oracle8/usr_data05.dbf
16 /u03/oradata/oracle8/usr_data06.dbf
17 /u02/oradata/oracle8/ind_data05.dbf
18 /u03/oradata/oracle8/ind_data06.dbf
19 /u03/oradata/oracle8/usr_data10.dbf
20 /u03/oradata/oracle8/ind_data07.dbf
21 /u03/oradata/oracle8/usr_data11.dbf
22 /u01/oradata/oracle8/usr_data10.dbf
23 /u01/oradata/oracle8/usr_data12.dbf
24 /u02/oradata/oracle8/usr_data13.dbf
25 /u01/oradata/oracle8/usr_data14.dbf
26 /u01/oradata/oracle8/usr_data15.dbf
27 /u03/oradata/oracle8/usr_data16.dbf
28 /u02/oradata/oracle8/usr_data17.dbf
29 /u03/oradata/oracle8/usr_data18.dbf
30 /u01/oradata/oracle8/usr_data19.dbf
31 /u02/oradata/oracle8/temp02.dbf
32 /u01/oradata/oracle8/usr_data21.dbf
33 /u01/oradata/oracle8/usr_data20.dbf
34 /u01/oradata/oracle8/usr_data22.dbf
35 /u04/oradata/oracle8/usr_data20.dbf
36 /u04/oradata/oracle8/usr_data23.dbf
37 /u06/oradata/oracle8/usr_data25.dbf
38 /u06/oradata/oracle8/usr_data26.dbf
39 /u06/oradata/oracle8/usr_data27.dbf
已选择39行。
FILE# NAME
---------- --------------------------------------------------------------------------------
1 /u01/oradata/oracle8/system01.dbf
2 /u01/oradata/oracle8/rbs01.dbf
3 /u01/oradata/oracle8/temp01.dbf
4 /u01/oradata/oracle8/tools01.dbf
5 /u01/oradata/oracle8/users01.dbf
6 /u01/oradata/oracle8/usr_data01.dbf
7 /u02/oradata/oracle8/usr_data02.dbf
8 /u03/oradata/oracle8/usr_data03.dbf
9 /u01/oradata/oracle8/ind_data01.dbf
10 /u02/oradata/oracle8/ind_data02.dbf
11 /u03/oradata/oracle8/ind_data03.dbf
12 /u01/oradata/oracle8/usr_data07.dbf
13 /u02/oradata/oracle8/usr_data08.dbf
14 /u03/oradata/oracle8/usr_data09.dbf
15 /u02/oradata/oracle8/usr_data05.dbf
16 /u03/oradata/oracle8/usr_data06.dbf
17 /u02/oradata/oracle8/ind_data05.dbf
18 /u03/oradata/oracle8/ind_data06.dbf
19 /u03/oradata/oracle8/usr_data10.dbf
20 /u03/oradata/oracle8/ind_data07.dbf
21 /u03/oradata/oracle8/usr_data11.dbf
22 /u01/oradata/oracle8/usr_data10.dbf
23 /u01/oradata/oracle8/usr_data12.dbf
24 /u02/oradata/oracle8/usr_data13.dbf
25 /u01/oradata/oracle8/usr_data14.dbf
26 /u01/oradata/oracle8/usr_data15.dbf
27 /u03/oradata/oracle8/usr_data16.dbf
28 /u02/oradata/oracle8/usr_data17.dbf
29 /u03/oradata/oracle8/usr_data18.dbf
30 /u01/oradata/oracle8/usr_data19.dbf
31 /u02/oradata/oracle8/temp02.dbf
32 /u01/oradata/oracle8/usr_data21.dbf
33 /u01/oradata/oracle8/usr_data20.dbf
34 /u01/oradata/oracle8/usr_data22.dbf
35 /u04/oradata/oracle8/usr_data20.dbf
36 /u04/oradata/oracle8/usr_data23.dbf
37 /u06/oradata/oracle8/usr_data25.dbf
38 /u06/oradata/oracle8/usr_data26.dbf
39 /u06/oradata/oracle8/usr_data27.dbf
已选择39行。
查看alert日志信息
引用
% tail -f *.log
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
Mon Mar 8 15:55:42 2010
Errors in file /oracle/app/oracle/admin/oracle8/bdump/dbw0_13420_oracle8.trc:
ORA-01157: cannot identify data file 36 - file not found
ORA-01110: data file 36: '/u04/oradata/oracle8/usr_data23.dbf'
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
ORA-1157 signalled during: alter database open ...
Tue Mar 9 09:49:25 2010
alter database open
Tue Mar 9 09:49:25 2010
Errors in file /oracle/app/oracle/admin/oracle8/bdump/dbw0_13420_oracle8.trc:
ORA-01157: cannot identify data file 37 - file not found
ORA-01110: data file 37: '/u06/oradata/oracle8/usr_data25.dbf'
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
Tue Mar 9 09:49:25 2010
Errors in file /oracle/app/oracle/admin/oracle8/bdump/dbw0_13420_oracle8.trc:
ORA-01157: cannot identify data file 38 - file not found
ORA-01110: data file 38: '/u06/oradata/oracle8/usr_data26.dbf'
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
Tue Mar 9 09:49:25 2010
Errors in file /oracle/app/oracle/admin/oracle8/bdump/dbw0_13420_oracle8.trc:
ORA-01157: cannot identify data file 39 - file not found
ORA-01110: data file 39: '/u06/oradata/oracle8/usr_data27.dbf'
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
Tue Mar 9 09:49:27 2010
ORA-1157 signalled during: alter database open...
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
Mon Mar 8 15:55:42 2010
Errors in file /oracle/app/oracle/admin/oracle8/bdump/dbw0_13420_oracle8.trc:
ORA-01157: cannot identify data file 36 - file not found
ORA-01110: data file 36: '/u04/oradata/oracle8/usr_data23.dbf'
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
ORA-1157 signalled during: alter database open ...
Tue Mar 9 09:49:25 2010
alter database open
Tue Mar 9 09:49:25 2010
Errors in file /oracle/app/oracle/admin/oracle8/bdump/dbw0_13420_oracle8.trc:
ORA-01157: cannot identify data file 37 - file not found
ORA-01110: data file 37: '/u06/oradata/oracle8/usr_data25.dbf'
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
Tue Mar 9 09:49:25 2010
Errors in file /oracle/app/oracle/admin/oracle8/bdump/dbw0_13420_oracle8.trc:
ORA-01157: cannot identify data file 38 - file not found
ORA-01110: data file 38: '/u06/oradata/oracle8/usr_data26.dbf'
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
Tue Mar 9 09:49:25 2010
Errors in file /oracle/app/oracle/admin/oracle8/bdump/dbw0_13420_oracle8.trc:
ORA-01157: cannot identify data file 39 - file not found
ORA-01110: data file 39: '/u06/oradata/oracle8/usr_data27.dbf'
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
Tue Mar 9 09:49:27 2010
ORA-1157 signalled during: alter database open...
查看vg使用情况
引用
% lsvg -o
ora2vg
oravg
rootvg
# lsvg -l oravg
oravg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
oralv1 jfs 416 832 4 open/syncd /u01
oralv2 jfs 304 608 4 open/syncd /u02
oralv3 jfs 354 708 4 open/syncd /u03
loglv00 jfslog 1 1 1 open/syncd N/A
% lsvg -l ora2vg
ora2vg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
loglv01 jfslog 1 1 1 open/syncd N/A
lv00 jfs 153 153 1 closed/syncd /u04
lv02 jfs 306 306 1 open/syncd /u06
ora2vg
oravg
rootvg
# lsvg -l oravg
oravg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
oralv1 jfs 416 832 4 open/syncd /u01
oralv2 jfs 304 608 4 open/syncd /u02
oralv3 jfs 354 708 4 open/syncd /u03
loglv00 jfslog 1 1 1 open/syncd N/A
% lsvg -l ora2vg
ora2vg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
loglv01 jfslog 1 1 1 open/syncd N/A
lv00 jfs 153 153 1 closed/syncd /u04
lv02 jfs 306 306 1 open/syncd /u06
查看文件系统mount点
引用
# more /etc/filesystems
* @(#)filesystems @(#)29 1.20 src/bos/etc/filesystems/filesystems, cmdfs, bos430, 9737A_430 4/16/93 15:38:14
* IBM_PROLOG_BEGIN_TAG
* This is an automatically generated prolog.
*
* bos430 src/bos/etc/filesystems/filesystems 1.20
*
* Licensed Materials - Property of IBM
*
* (C) COPYRIGHT International Business Machines Corp. 1985,1993
* All Rights Reserved
*
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
*
* IBM_PROLOG_END_TAG
*
* COMPONENT_NAME: CMDFS
*
* FUNCTIONS: none
*
* ORIGINS: 27
*
* (C) COPYRIGHT International Business Machines Corp. 1985, 1993
* All Rights Reserved
* Licensed Materials - Property of IBM
*
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
*
*
*
* This version of /etc/filesystems assumes that only the root file system
* is created and ready. As new file systems are added, change the check,
* mount, free, log, vol and vfs entries for the appropriate stanza.
*
/:
dev = /dev/hd4
vfs = jfs
log = /dev/hd8
mount = automatic
check = false
type = bootfs
vol = root
free = true
/home:
dev = /dev/hd1
vol = "/home"
mount = true
check = true
free = false
vfs = jfs
log = /dev/hd8
/usr:
dev = /dev/hd2
vfs = jfs
log = /dev/hd8
mount = automatic
check = false
type = bootfs
vol = /usr
free = false
/var:
dev = /dev/hd9var
vfs = jfs
log = /dev/hd8
mount = automatic
check = false
type = bootfs
vol = /var
free = false
/tmp:
dev = /dev/hd3
vfs = jfs
log = /dev/hd8
mount = automatic
check = false
vol = /tmp
free = false
/mnt:
dev = /dev/cd0
vfs = cdrfs
mount = false
options = ro
account = false
/cdrom:
dev = /dev/cd0
vfs = cdrfs
mount = false
options = ro
account = false
/oracle:
dev = /dev/oralv0
vfs = jfs
log = /dev/hd8
mount = true
options = rw
account = false
/u03:
dev = /dev/oralv3
vfs = jfs
log = /dev/loglv00
mount = true
options = rw
account = false
/u01:
dev = /dev/oralv1
vfs = jfs
log = /dev/loglv00
mount = true
options = rw
account = false
/u02:
dev = /dev/oralv2
vfs = jfs
log = /dev/loglv00
mount = true
options = rw
account = false
/u04:
dev = /dev/lv00
vfs = jfs
log = /dev/loglv01
mount = true
options = rw
account = false
/u06:
dev = /dev/lv02
vfs = jfs
log = /dev/loglv01
mount = true
options = rw
account = false
* @(#)filesystems @(#)29 1.20 src/bos/etc/filesystems/filesystems, cmdfs, bos430, 9737A_430 4/16/93 15:38:14
* IBM_PROLOG_BEGIN_TAG
* This is an automatically generated prolog.
*
* bos430 src/bos/etc/filesystems/filesystems 1.20
*
* Licensed Materials - Property of IBM
*
* (C) COPYRIGHT International Business Machines Corp. 1985,1993
* All Rights Reserved
*
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
*
* IBM_PROLOG_END_TAG
*
* COMPONENT_NAME: CMDFS
*
* FUNCTIONS: none
*
* ORIGINS: 27
*
* (C) COPYRIGHT International Business Machines Corp. 1985, 1993
* All Rights Reserved
* Licensed Materials - Property of IBM
*
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
*
*
*
* This version of /etc/filesystems assumes that only the root file system
* is created and ready. As new file systems are added, change the check,
* mount, free, log, vol and vfs entries for the appropriate stanza.
*
/:
dev = /dev/hd4
vfs = jfs
log = /dev/hd8
mount = automatic
check = false
type = bootfs
vol = root
free = true
/home:
dev = /dev/hd1
vol = "/home"
mount = true
check = true
free = false
vfs = jfs
log = /dev/hd8
/usr:
dev = /dev/hd2
vfs = jfs
log = /dev/hd8
mount = automatic
check = false
type = bootfs
vol = /usr
free = false
/var:
dev = /dev/hd9var
vfs = jfs
log = /dev/hd8
mount = automatic
check = false
type = bootfs
vol = /var
free = false
/tmp:
dev = /dev/hd3
vfs = jfs
log = /dev/hd8
mount = automatic
check = false
vol = /tmp
free = false
/mnt:
dev = /dev/cd0
vfs = cdrfs
mount = false
options = ro
account = false
/cdrom:
dev = /dev/cd0
vfs = cdrfs
mount = false
options = ro
account = false
/oracle:
dev = /dev/oralv0
vfs = jfs
log = /dev/hd8
mount = true
options = rw
account = false
/u03:
dev = /dev/oralv3
vfs = jfs
log = /dev/loglv00
mount = true
options = rw
account = false
/u01:
dev = /dev/oralv1
vfs = jfs
log = /dev/loglv00
mount = true
options = rw
account = false
/u02:
dev = /dev/oralv2
vfs = jfs
log = /dev/loglv00
mount = true
options = rw
account = false
/u04:
dev = /dev/lv00
vfs = jfs
log = /dev/loglv01
mount = true
options = rw
account = false
/u06:
dev = /dev/lv02
vfs = jfs
log = /dev/loglv01
mount = true
options = rw
account = false
mount文件系统报错:
引用
# mount /u04
Replaying log for /dev/lv00.
mount: 0506-324 Cannot mount /dev/lv00 on /u04: The media is not formatted or the format is not correct.
0506-342 The superblock on /dev/lv00 is dirty. Run a full fsck to fix.
Replaying log for /dev/lv00.
mount: 0506-324 Cannot mount /dev/lv00 on /u04: The media is not formatted or the format is not correct.
0506-342 The superblock on /dev/lv00 is dirty. Run a full fsck to fix.
用fsck检查lv/dev/lv00
引用
# fsck -y /dev/lv00
** Checking /dev/rlv00 (/u04)
** Phase 0 - Check Log
log redo processing for /dev/rlv00
** Phase 1 - Check Blocks and Sizes
^[** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Inode Map
** Phase 6 - Check Block Map
Superblock is marked dirty (FIXED)
12 files 4729984 blocks 15324032 free
***** Filesystem was modified *****
** Checking /dev/rlv00 (/u04)
** Phase 0 - Check Log
log redo processing for /dev/rlv00
** Phase 1 - Check Blocks and Sizes
^[** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Inode Map
** Phase 6 - Check Block Map
Superblock is marked dirty (FIXED)
12 files 4729984 blocks 15324032 free
***** Filesystem was modified *****
再次mount文件系统:
引用
# mount /u04
# df
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 196608 169512 14% 1494 4% /
/dev/hd2 5570560 2978896 47% 45699 7% /usr
/dev/hd9var 1114112 918856 18% 566 1% /var
/dev/hd3 196608 160680 19% 496 3% /tmp
/dev/hd1 65536 63240 4% 25 1% /home
/dev/oralv0 4194304 2965096 30% 4562 1% /oracle
/dev/oralv3 23199744 3725784 84% 32 1% /u03
/dev/oralv1 27262976 2446056 92% 41 1% /u01
/dev/oralv2 19922944 1761400 92% 30 1% /u02
/dev/lv00 20054016 15324032 24% 21 1% /u04
# df
Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 196608 169512 14% 1494 4% /
/dev/hd2 5570560 2978896 47% 45699 7% /usr
/dev/hd9var 1114112 918856 18% 566 1% /var
/dev/hd3 196608 160680 19% 496 3% /tmp
/dev/hd1 65536 63240 4% 25 1% /home
/dev/oralv0 4194304 2965096 30% 4562 1% /oracle
/dev/oralv3 23199744 3725784 84% 32 1% /u03
/dev/oralv1 27262976 2446056 92% 41 1% /u01
/dev/oralv2 19922944 1761400 92% 30 1% /u02
/dev/lv00 20054016 15324032 24% 21 1% /u04
打开数据库:
引用
SVRMGR> alter database open;
语句已处理。
语句已处理。
发表评论
-
buffer cache 的内部结构
2020-03-18 14:21 576BUFFER CACHE作为数据块的 ... -
Oracle OMC介绍
2020-03-18 13:19 484Oracle管理云服务(OMC)的大数据平台,自动收集的企业 ... -
参加Oracle勒索病毒防范专题培训会议
2019-09-27 17:15 5112019年7月22日,受邀参加Oracle勒索病毒防范专题培训 ... -
记一次内存换IO的Oracle优化
2019-09-27 16:50 826某客户数据库从P595物理 ... -
如何定位Oracle SQL执行计划变化的原因
2019-07-03 14:49 1458性能优化最难的是能够 ... -
如何定位Oracle SQL执行计划变化的原因
2018-10-30 09:24 1185性能优化最难的是能够 ... -
数据库性能优化目标
2018-10-08 10:59 518从数据库性能优化的场 ... -
数据库无法打开的原因及解决办法
2018-10-05 20:45 2117数据库的启动是一个相当复杂的过程。比如,Oracle在启动之前 ... -
怎么样彻底删除数据库?
2018-09-18 11:10 598Oracle提供了drop database命令用来删除数据库 ... -
Oracle减少日志量的方法
2018-09-10 10:17 865LGWR进程将LOG BUFFER中的 ... -
如何快速关闭数据库
2018-09-09 13:14 1231“一朝被蛇咬,十年怕井绳”。在没被“蛇”咬之前,很多DBA喜欢 ... -
关于《如何落地智能化运维》PPT
2018-05-17 10:19 1128在DTCC 2018发表《如何落地智能化运维》演讲,主要内容如 ... -
记录在redhat5.8平台安装oracle11.2容易忽视的几个问题
2018-05-11 19:58 577问题一:ping不通问题 在虚拟机上安装好linux系统后, ... -
《Oracle DBA实战攻略》第一章
2018-05-11 10:42 945即日起,不定期更新《OracleDBA实战攻略》一书电子版,请 ... -
Oracle 12c新特性
2018-05-11 10:33 898查询所有pdb [oracle@gj4 ~]$ sqlplu ... -
关于修改memory_target的值后数据库无法启动的问题
2017-02-28 12:24 3981操作系统:RHEL6.5 数据库版本:11.2.0.4 ... -
10g rac安装error while loading shared libraries libpthread.so.0 问题
2017-02-28 12:22 69311g rac安装在二节点跑脚本一般会报此错误: 解决这个问 ... -
记一次Oracle会话共享模式故障处理过程
2017-02-27 19:16 798故障简述 XXX第八人民医院HIS数据库7月13日11点左右从 ... -
RESMGR:cpu quantum等待事件处理过程
2017-02-27 18:23 2615由于数据库上线过程中出现大量的RESMGR:cpu quant ... -
谈谈log file sync
2014-03-19 14:18 1757数据库中的log file sync等待事件指的是,当user ...
相关推荐
Oracle数据库作为一款成熟的商用关系型数据库管理系统,在实际使用过程中可能会遇到各种各样的错误。这些错误会影响数据库的正常运行和数据的稳定性。Oracle公司的工程师们列举了一些常见的Oracle错误,并提供了相应...
### Oracle数据库常见错误处理方法 #### 一、概述 在Oracle数据库的安装及日常使用过程中,用户可能会遇到各种各样的错误。这些错误不仅会影响到数据库的正常运行,还可能导致数据丢失等严重后果。本文将详细介绍...
3. 错误处理:脚本应包含错误捕获和处理机制,以防止因启动失败而影响整个系统。 4. 安全性:避免在脚本中直接写入敏感信息,如口令,以免泄露。 通过理解Oracle数据库的启动流程和创建自动启动脚本的方法,你可以...
批处理文件还可以包含更复杂的逻辑,比如检查服务是否已运行、错误处理、日志记录等。你也可以使用`sc`命令或者`wmic`命令来更精细地控制服务。例如,使用`sc query OracleServiceORCL`可以查询服务的状态,`sc ...
此外,为了提高批处理脚本的健壮性,可以在文件中添加错误处理和日志记录功能。例如,当服务无法启动或停止时,可以捕获错误并将其记录到日志文件中,便于后续的故障排查。同时,可以设置等待时间,确保服务完全启动...
#### 一、Oracle RAC DataGuard 基础概述 Oracle RAC (Real Application Clusters) 和 Oracle DataGuard 是两个非常重要的技术,前者用于实现数据库的高可用性和负载均衡,后者则侧重于提供灾难恢复的能力。在实际...
4. **错误处理**: - 如果命令行参数不是`start`、`stop`或`restart`中的任意一个,则输出使用帮助信息并退出。 5. **脚本权限设置**: - 使用`chmod +x /etc/init.d/oracle`命令使脚本具有执行权限。 6. **设置...
当控制文件出现问题或发生崩溃时,Oracle会返回这些错误代码,如ORA-10000用于控制文件的调试事件,而ORA-10013则表示实例恢复,这通常发生在数据库启动过程中。 - ORA-10014至ORA-10027:这部分错误主要与事务管理...
2. **启动监听器**:Oracle数据库的运行依赖于监听器(Listener),它负责处理客户端连接请求。可以使用`lsnrctl start`命令启动监听器。如果遇到问题,可以查看`listener.log`日志文件获取更多信息。 3. **启动...
Oracle数据库是全球广泛使用的大型企业级关系型数据库管理系统,它提供了丰富的功能来管理和处理大量数据。在Windows操作系统中,Oracle服务通常通过批处理文件或命令行工具进行启动和关闭。"oracle服务启动和关闭...
Oracle数据库的启动过程是一个复杂而有序的序列,它涉及到多个步骤和组件的协同工作。首先,我们要明白Oracle数据库由两大部分组成:Instance(实例)和Database(数据库)。Instance是运行在服务器上的内存结构和...
尽管市面上很难找到一本详尽无遗地收录所有ORA错误的书籍,但Oracle官方文档是一个不可或缺的资源,它几乎包含了所有可能遇到的ORA错误。 **从哪里可以获得包括所有ORA错误的清单?** 最可靠的方法是从Oracle官方...
Oracle数据库是世界上最广泛使用的数据库管理系统之一,其稳定性和性能深受企业信赖。然而,在日常操作中,用户可能会遇到各种错误,这些错误可能导致数据库无法正常运行。本文将总结一些常见的Oracle错误及其解决...
5. **错误处理**:在编写批处理文件时,考虑添加错误处理机制,例如使用`if errorlevel`检查命令执行是否成功,并根据结果决定下一步操作。 6. **日志记录**:为了跟踪和分析服务启停情况,可以在批处理文件中添加...
Oracle数据库是业界广泛使用的数据库管理系统之一,在实际的应用过程中可能会遇到各种各样的错误。了解这些错误代码及其含义对于快速定位问题、解决问题至关重要。以下是从给定的部分内容中提取并整理的一些常见...
在处理Oracle数据库遇到的问题时,我们常常会遇到与“协议适配器错误”相关的故障,这类问题往往会影响到用户的登录及数据库的正常使用。本篇文章将基于提供的文件信息来深入探讨如何解决Oracle登录过程中出现的协议...
用户在尝试启动Oracle10g控制台时遇到了以下错误提示: 1. **环境变量ORACLE_SID未定义**:提示“Environment variable ORACLE_SID not defined. Please define it.” 2. **OC4J配置问题**:提示“C:\oracle\...
1. **配置文件错误**:Oracle Agent 的启动依赖于多个配置文件,包括 `service.ora` 和 `.q` 文件。这些文件可能因为各种原因而损坏或包含不正确的设置。 2. **网络配置问题**:Oracle Agent 需要与 Oracle EM ...
在IT领域,尤其是在数据库管理与运维中,Oracle数据库的启动方式是一个重要的知识点。Oracle数据库作为全球最流行的数据库管理系统之一,其启动方式对于确保系统的稳定运行、优化性能以及故障恢复具有关键作用。以下...