Long run transtaction
在一个系统中,往往会出现一些长事务进行大批量的数据处理,这些事务往往占据大量系统资源,而且运行时间长。如果我们不能有效的监控这些事务,可能会影响到其他事务的运行,甚至可能会由于事务没有在预期时间内完成...
DB瘦身
一个系统,经过长期的运行、维护和版本更新后,可能会产生大量的索引,甚至索引所占空间远远大于数据所占的空间。很多索引,在初期设计时,对于系统来说是有用的。但是,经过系统的升级、数据表结构的调整、应用的...
How to cleanup ASM installation
How to cleanup ASM installation (RAC and Non-RAC) [ID 311350.1] The outline of the steps involved are : a) Backup all the ASM client database f...
Remove a Node from an Existing Oracle RAC 10g R2 Cluster on Linux
Remove a Node from an Existing Oracle RAC 10gR2 Cluster on LinuxContents 1. Overview 2. Remove the Oracle Instance onthe Node to be Deleted 3....
Moving datafile
Moving a datafile from the file system can be achived in two ways. (1). While the database is shutdown (in mount stage).(2). While the database is running (with the selected tablespace off...
ASM Fast Mirror Resync
ASM Fast Mirror Resync - Example To Simulate Transient Disk Failure And Restore Disk [ID 443835.1]In this Document Purpose Scope and Application ASM Fast Mirror Resync - Example...
RAC+ASM+DATAGUARD
環境:[root@ygzhou01 ~]# strings /etc/hosts -------IP配置# Do not remove the following line, or various programs# that require network funct...
Enabling Archive Logs in a RAC Environment
Enabling Archive Logs in a RAC EnvironmentWhether a single instance or clustereddatabase, Oracle tracks (logs) all changes todatabase blocks in online redolog files. In an Oracle RACenvi...
刪除重復數據
背景: 某定时应用程序(每天02:00启动)会读取指定目录下的所有txt扁平数据文件,并将数据保存到ORACLE数据库。本来应用程序将txt文件中数据入库后,会将目录中的txt数据文件备份到另外的目录中...
ASM Spfile Is Not Used when ASM Instance Starts
ASM Spfile Is Not Used when ASM Instance Starts Even It Exists Inside of OCR Diskgroup (11.2) [ID 1384692.1] Modified 18-DEC-2011 Type PROBLEM &n...
Migrating Oracle10g Database to Automatic Storage management (ASM)
Disable Block change tracking: SQL> select * from v$block_change_tracking;STATUS FILENAME------------...
Tracing the LSNRCTL Control Utility
Tracing the LSNRCTL Control Utility [ID 737530.1] Modified 16-DEC-2011 Type HOWTO Status PUBLISHED In this Document ...
alter database open resetlogs;
Recovery through RESETLOGS and reset of the incarnation of the databasePrior to Oracle 10g, the redo log files generated after opening the database with RESETLOGS could not be used with the backups ...
收藏
http://www.hellodba.com/index.php?class=doc&lang=cn
Linux管理腳本之自動執行腳本
在unix环境下,如何快速高效的工作。 首先,我们开始介绍,如何在unix下,创建一个可以与数据库进行交互的脚本。在unix下,很多时候,我们需要一个shell脚本,通过这个脚本,对数据...
How to Setup LogMiner
How to Setup LogMinerRELATED DOCUMENTS Oracle8i Administrator's Guide, Release 8.1.6 Oracle8i Administrator's Guide, Release 8.1.7 Oracle9i Database Administrator's Guide Release 2 (9.2) Oracl...
Linux管理腳本之清理空間
在unix环境下,经常会遇到一种情况,就是存放日志的文件目录满了,需要进行清理。通常来说,日志文件具有一定的时效性,例如一周,超过一周的日志文件就可以进行清理(以应用日志为例,数据库ARCH日志,以是否备份完...
SQLNET.ORA
关于oracle实现ip 访问控制的资料见我的另一篇文章《sqlnet.ora 访问控制策略》相对与单节点的oracle ,11gr2 rac中,listener是配置在GRID_HOME,而不是ORACLE_HOME,所以我们要修改的sqlnet.ora文件是...
Linux date
我们一般使用’date -s’命令来修改系统时间。比如将系统时间设定成2011年8月24日的命令如下。 #date -s 08/24/2011 or date -s 20110824将系统时间设定成下午23点0分...
pfile spfile
[oracle@RAC01 bdump]$ sqlplus / as sysdba SQL*Plus: Release 10.2.0.1.0 - Production on Tue Dec 13 03:34:21 2011 Copyright (c) 1982, 2005, Oracle. All rights reserved. Connected to...