我的一套较全面的oracle数据库监控管理脚本
oracle dba 脚控脚本、利器、有力助手
呆瓜呆呆的专栏stream学习链接
呆瓜呆呆的专栏中的stream学习链接 :oracle 11g streams搭建oracle 11g streams rule和rule set 使用示例oracle 11g streams 捕获(capture)进程使用示例oracle 11g streams 传播进程使用示例oracle 11g streams 应用进程使用示例oracle 11g streams 逻辑修改记录(LCR)示例oracle 11g streams各种类...
oracle 自定义聚合函数
oracle提供了聚合函数的API可以让我们方便的自己定义聚合函数。详细看oracle官方文档:http://docs.oracle.com/cd/B14117_01/appdev.101/b10800/dciaggfns.htm#g1008306wmsys.wm_concat(合并行函数)是一个很好的例子:FUNCTION wm_concat(P1 VARCHAR2) RETURN CLOB AGGREGATE USING WMSYS.WM_CONCAT_IMPL ;TYPE wm_c...
Undo表空间Unexpired Block长时间不释放, 表空间使用率100%,居高不下
最近一个Oracle11g的数据Undo表空间Unexpired Block不释放。按照下面处理后,问题解决。原文:http://blog.csdn.net/totoov5/article/details/7939194今天碰到一个怪现象,朋友那反映UNDO表空间里,Unexpired Block差不多占了整个空间的95%。且持续了3小时还一点没释放。朋友比较怕出啥问题,问要不要...
Oracle11gR2后direct path read等待事件的改变
监控Oracle数据库时发现,full table时的等待事件为direct path read.数据库的版本为:Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production 查了下资料,11gR2后对direct p...
Append Hint
转:http://www.oracle-base.com/articles/misc/append-hint.php#how-the-append-affects-redo-generationAPPEND HintHow the APPEND Hint Affects PerformanceHow the APPEND Hint Affects the Table Size ...
PowerDesigner 中将Comment(注释)及Name(名称)内容互相COPY的VBS代码(转)
在用PowerDesigner时.常常在NAME或Comment中写中文在Code中写英文.Name只会显示给我们看,Code会使用在代码中.但Comment中的文字会保存到数据库TABLE的Description中,有时候我们写好了Name再写一次Comment很...
Oracle Text SQL Statements and Operators
摘自: http://docs.oracle.com/cd/B19306_01/text.102/b14218/csql.htm#i997503 CONTAINSUse the CONTAINS operator in the WHERE clause of a SELECT statement to specify the query expressio...
能select的表,可以exp吗?有exp_full_database就能exp其他用户的表吗?
能select的表,可以exp吗?有exp_full_database就能exp其他用户的表吗? 下面来测试下: 1.建立导出测试用户,并授予相关权限[oracle@GXDB1] $sqlplus /nologSQL*Plus: Release 10.2.0.4.0 - Prod...
透明数据加密
转:http://www.linuxidc.com/Linux/2011-12/48689.htm不写一行代码,透明的加密敏感数据! 这可能是你的公司最恐怖的噩梦:有人偷走了数据库的备份磁带!当然,你可能构造了一个安全的系...
Key-preserved table concept in join view (Ask Tom)
You AskedCould you explain me about Key-preserved table conceptin join views.i know that a table is ket preserved if every key of the table can also be a key of result of the join.but i n...
记:”$ORACLE_HOME/.../sysman/recv/errors“目录下产生大量日志文件
今天发现测试库ORACLE_HOME所在的分区空间使用达到100%,系统发生异常。查看分区使用情况,发现”/opt/ora10g/product/10.2.0/db_1/node1_RACDB1/sysman/recv/errors“目录下产生大量日志错误文件,平均每分钟生成一...
How to CANCEL a query running in another session?
How to CANCEL a query running in another session?FEBRUARY 17, 2010 BY TANEL PODER 21 COMMENTS转:http://blog.tanelpoder.com/2010/02/17/how-to-cancel-a-query-running-in-anoth...
高效快速删除Oracle表中重复记录
如何高效删除表中重复记录,仅保留一条? 网上比较多的方法是如下的sql:delete from 表 a where (a.Id, a.seq) in (select Id, seq from 表 group by Id, se...
date类型的内部结构
开发库>create table t_test (d date,n number, v varchar2(20));Table created.开发库>insert into t_test values(sysdate,100,'中国');1 row created.开发库>commit;Commit complete.开发库>开发库>select...
Why would a reverse index be useful ?
Why would a reverse index be useful when the leading column of the index is generated from a sequence ? 转:http://www.jlcomp.demon.co.uk/faq/reverseindex.html Background to Indexes...
AUTHID DEFINER\authid current_user与alter session set current_schema
先看看Tom上的一个例子:ops$tkyte@ORA817DEV.US.ORACLE.COM> begin 2 execute immediate 'alter session set current_schema=scott'; 3 for ...
学习Oracle Objects的文档和问题记录
最近在后台写些东东用到Oracle Objects的继承等方面的知识,翻了下Oracle的文档资料. 记录下资料的链接,方便以后查询: 9i:Basic Components of Oracle Objectshttp://docs.oracle.com/cd/B...
记:仅配置单vip连接串,当vip对应的节点down机情况下程序无法连接上正常节点的故障
问题摘要: 昨天,生产库RAC的二号节点倒了,但是部分程序无法连接上正常的一号节点,发现程序的连接串仅配置了二号节点的vip. 在测试环境模拟错误发生的情况,并找到在二号节点短...
clob字段对于parallel ddl的限制
昨天说了clob字段对于parallel dml的限制(http://space.itpub.net/195110/viewspace-745353).那对于parallel ddl呢?一起来验证吧:SQL> select * from v$version;BANNER----------------------------------...