9i,联机日志坏,数据库突破崩溃,非归档
给出非归档模式下当前联机日志文件坏的一处理方法。[@more@]问题描述:求救 系统突破崩溃,oracle9起不来,非归档模式 Microsoft Windows 2000 [Version 5.00.2195](C) 版权所有 1985-2000 Microsoft Corp.C:Documents and SettingsAdministrator>sqlplus /nologSQL*Plus: Release 9.0.1.0.1 - Production on Thu Feb 9 17:16:46 2006(c) Copyright 2001 Oracle Corporation. All rights reserved.SQL> conn / as sysdbaConnected.SQL> shutdownORA-01109: database not openDatabase dismounted.ORACLE instance shut down.SQL&
Oracle起动库时1102报错处理
实际过程中有时我们会遇到这样的问题,当你用startup试图启动数据库时会遇到ORA-01102的报错,如何处理呢?[@more@]一、提出问题实际过程中有时我们会遇到这样的问题,当你用startup试图启动数据库时会遇到ORA-01102的报错。我们可以在Unix下切换到Oracle的用户,执行一下oerr ora 1102便会看到有关1102的简短的描述,如下:rp2$[/home/ora2]oerr ora 110201102, 00000, "cannot mount database in EXCLUSIVE mode"// *Cause: Some other instance has the database mounted exclusive or shared.// *Action: Shutdown other in
我常用的几个SQL,不断添加中
Dba做日常Oracle的维护SQL相当多,我的近百个,如下的几个是经常用的,不断的会在本文档添加。[@more@]1、文件IO统计select TS.Name, DF.Name File_Name, FS.Phyblkrd Blocks_Read, FS.Phyblkwrt Blocks_Written, FS.Phyblkrd+FS.Phyblkwrt Total_IOs from V$FILESTAT FS, V$DATAFILE DF,v$tablespace TSwhere DF.File#=FS.File# AND DF.ts#=TS.TS#order by FS.Phyblkrd+FS.Phyblkwrt desc;2、表空间统计SELECT upper(f.tablespace_name) "表空间名", d.Tot_grootte_Mb "表空间大小(M)",
Hp-unix下为Oracle配置异步IO
本文给出了hp-unix下为Oracle配置异步IO(AIO)的具体的流程。[@more@]源自Metalink Note:139272.1PURPOSE ------- The purpose of this document is to discuss the implementation of asynchronous i/o (aio) on HP-UX, specifically to enable aio for the Oracle RDBMS Server. SCOPE & APPLICATION ------------------- This note is intended for DBAs and Support Personnel. 1.0 Introduction ================ On HP-UX, when the Oracle datafiles reside on a filesystem, then the DBWR process(es) make synchronous write
手工修改HP主机Instance Number三招
有时我们需要更改设备的instance number,(例如配置MC的时候),本文给出WTEC的最权威步骤。[@more@]其中procedure I比较简单,但并不总是好用,最彻底的还是procedureII。 另外,建议大家先做一个系统备份,这些方法还是有一点危险性的。Procedure I-----------Default procedure, requires one reboot and works without additional tools.1. Extract a configuration template from the current ioscan output.Execute the following command:# ioscan -f | grep -e INTERFACE -e DEVICE | grep -v target | awk '{print $3, $1, $2}'
vi命令速查表
vi命令如何常用,放于此以备查。[@more@]% vi file :Last line mode ----> Command mode ----> Insert mode<---- <---- (auto) EscLast line mode:/exp Go forward to exp?exp Go backward to exp:w Write buffer to disk:w newfile Write buffer to newfile:w! file Write Absolutely:q Quit editor:q! Quit,discarding buffer:wq Write buffer and quit:x Write if needed & quit:f Edit & file status:r Read file into buffer:r file Read named fi
浅谈LogMiner的使用
Logminer是每个Dba都应熟悉的工具,当一天由于用户的误操作你需要做不完全的恢复时,由于你无法确定这个操作是哪个时间做的,所以这对你的恢复就带来的很大的难度,丢失的数据也不能完全恢复回来。而LogMiner就可以帮你确定这个误操作的准确时间。或是某段时间日志疯长,你想知道成因,那也求助LogMiner吧。[@more@]我的测试环境是Aix4.3.3的操作系统,Oracle9.2.0.3的测试库。一、LogMiner的几点说明1、LogMiner可以帮你确定在某段时间所发的各种DML,DDL操作的具体时间和SCN号,它所依据的是归档日志文件及联机日志文件。2、它只能在Ora
Glance Hot Key 速查
Hp-unix的glance是我们观测其系统性能的最常用的一个程序,由于经常用到,把它的hot key放于这里以备忘。[@more@]Top Level Screen Hot Keys Hot Key Screen Displayed/Descriptiona CPU By Processorc CPU Reportd Disk Reportg Process Listi I/O By File Systeml Network By Interfacem Memory Reportn NFS By Systemt System Tables Reportu I/O By Diskv I/O By Logical Volumew Swap SpaceA Application ListB Global WaitsD DCE Global ActivityG Process ThreadsH Alarm HistoryI Thread ResourceJ Thread WaitK DCE Process List
特别喜爱的--荀子·劝学
君子曰:学不可以已。青,取之于蓝,而青于蓝;冰,水为之,而寒于水。木 直中绳,揉以为轮,其曲中规,虽有槁暴,不复挺者,〔车柔〕使之然也。[@more@]君子曰:学不可以已。青,取之于蓝,而青于蓝;冰,水为之,而寒于水。木 直中绳,揉以为轮,其曲中规,虽有槁暴,不复挺者,〔车柔〕使之然也。故木受 绳则直,金就砾则利。君子博学而日参省乎己,则知明而行无过矣。故不登高山,不知天之高也;不临深〔奚谷〕,不知地之厚也;不闻先王之遗 言,不知学问之大也。于越夷貉之子,生而同声,长而异俗,教使之然也。诗曰: “嗟尔君子,无