[20210519]是否可能导致DML失效.txt
[20210519]是否可能导致DML失效.txt--//生产系统,检查alert日志:Mon May 17 17:15:42 2021Errors in file /u01/app/oracle/diag/rdbms/dbcn/dbcn2/trace/dbcn2_j000_27318.trc:ORA-12012: 自动执行作业 12 出错ORA-20000: YOU CAN NOT TRUNCA
[20210524]分析library cache转储 4.txt
[20210524]分析library cache转储 4.txt--//链接http://blog.itpub.net/267265/viewspace-2773571/=》[20210524]分析library cache转储 3.txt --//继续测试多个sql语句hash_value值相同的情况,说明一点实际上并不是hash_value一样才会在一个bucket,--//我的测试环境仅仅
[20210524]分析library cache转储 3.txt
[20210524]分析library cache转储 3.txt--//前几天探究11g shared pool latch与library cache mutex时,分析11g library cache转储,里面的mutex地址我当时得出的结论是每--//个占用40字节.实际上犯了一点点错误,仅仅说明下一个mutext地址在偏移40字节的位置.实际上muext仅仅占用24个字节.--//这个
[20210521]11g shared pool latch与library cache mutex的简单探究4.txt
[20210521]11g shared pool latch与library cache mutex的简单探究4.txt--//继续昨天的测试:http://blog.itpub.net/267265/viewspace-2773083/ =>[20210520]11g shared pool latch与library cache mutex的简单探究3.txt 当时的总结:--//很明
[20210520]11g shared pool latch与library cache mutex的简单探究3.txt
[20210520]11g shared pool latch与library cache mutex的简单探究3.txt--//前面测试library cache 的转储,发现11g不再使用latch library cache,而是使用library cache mutex代替.--//测试11g下这种使用情况.1.环境:SCOTT@book> @ ver1PORT_STRING&nbs
[20210520]11g shared pool latch与library cache mutex的简单探究.txt
[20210520]11g shared pool latch与library cache mutex的简单探究.txt--//前面测试library cache 的转储,发现11g不再使用latch library cache,而是使用library cache mutex代替.--//测试11g下这种使用情况.1.环境:SCOTT@book> @ ver1PORT_STRING 
[20210520]关于主键索引问题.txt
[20210520]关于主键索引问题.txt--//链接问的问题:http://www.itpub.net/thread-2141807-1-1.htmlORACLE 112041 先创建个B树索引,然后再对该索引字段创建主键约束,此时,主键约束会自动使用之前创建好的B树索引,2 或者,若该字段没有B树索引,在对该字段创建主键约束时,ORACLE自动以该字段创建一个唯一性的
[20210512]shared pool latch与library cache latch的简单探究.txt
[20210512]shared pool latch与library cache latch的简单探究.txt--//2019年的测试链接:http://blog.itpub.net/267265/viewspace-2638770/=>[20190319]shared pool latch与library cache latch的简单探究.txt--//当时的总结:--//11g已经不存
[20210508]分析library cache转储 2.txt
[20210508]分析library cache转储 2.txt--//昨天分析library cache转储,链接http://blog.itpub.net/267265/viewspace-2771268/=>[20210507]分析library cache转储.txt --//发现每个mutex占用40字节。不过我发现出现一些别的数值。今天再仔细探究看看。1.环境:SCOTT@bo
[20210506]完善tix脚本.txt
[20210506]完善tix脚本.txt--//http://blog.itpub.net/267265/viewspace-2766793/,在原来基础上做一些小改进:$ cat tix.sql--@@savesetcolumn _ti_sequence noprint new_value _ti_sequenceset feedback off heading offselect trim(
[20210507]dump library_cache 2.txt
[20210507]dump library_cache 2.txt--//前面测试转储library_cache level=1,2 的情况,知道放入那个bucket是根据hash与131072取模确定的,做一个例子验证冲突的情况。1.环境:SYS@book> @ ver1PORT_STRING
[20210507]分析library cache转储.txt
[20210507]分析library cache转储.txt--//继续前面的分析,看看mutex的地址.$ grep "Bucket:" book_ora_12044_0003.trc | sed "s/^Bucket: #=//;s/Mutex=//;s/(.*)//" > a3.txt--//查看a3.txt文件发现:41 0x80a715c0
[20210507]dump library_cache.txt
[20210507]dump library_cache.txt--//放假看了一些共享池方面的文档,重新学习一下这方面的知识。--//学习alter session set events 'immediate trace name library_cache level N';--//N 表示如下:. Level=1,转储库缓存统计信息。. Level=2,转储散列表概要。. L
[20210506]RAC crsctl status ... -v 获取last started or status changes信息.txt
[20210506]RAC crsctl status ... -v 获取last started or status changes信息.txt--//一般执行都是如下:$ crsctl status res -t--//实际上加入-v 能获得更多信息。比如last started or status changes,例子:$ crsctl status res ora.xxxx.yyyyyy.
[20210506]oracle19c dbms_stats的缺省参数.txt
[20210506]oracle19c dbms_stats的缺省参数.txt1.环境:SYS@127.0.0.1:17101/dyhis> @ prxx==============================PORT_STRING &
[20210506]]关于ORA-01450.txt
[20210506]]关于ORA-01450.txt--//参考链接:https://jonathanlewis.wordpress.com/2009/06/05/online-rebuild/https://jonathanlewis.wordpress.com/2013/06/28/index-rebuild-12c/--//按照链接https://jonathanlewis.wordpres
[20210429]文件头块不会缓存.txt
[20210429]文件头块不会缓存.txt--//昨天做数据库检查与优化,发现一个现象就是文件头不会进入数据缓存,自己在测试环境验证看看。1.环境:SCOTT@book> @ ver1PORT_STRING &nb
[20210428]改进pr.sql脚本.txt
[20210428]改进pr.sql脚本.txt--//tanel poder提供一个脚本pr.sql,用来实现显示信息的纵向显示。例子:SCOTT@book> select * from dept where deptno=10 2 @ prPivoting output using Tom Kyte's printtab....==============
[20210428]数据库连接加密.txt
[20210428]数据库连接加密.txt--//有人问数据库连接加密的问题,实际上加密是一把双刃剑,好处是无法通过网络抓包获取sql语句。--//以前写的链接:http://blog.itpub.net/267265/viewspace-1715834/ => [20150629]简单的加密连接.txt --//我的当时给的建议修改客户端文件sqlnet.ora加入:SQLNET.ENCR
[20210428]AnonHugePages与transparent hugepage.txt
[20210428]AnonHugePages与transparent hugepage.txt--//链接:http://www.itpub.net/thread-2141545-4-1.html上的讨论,对方数据库运行缓慢。--//实际上数据库上还运行一个ES(ElasticSearch)的东西,导致整个系统IO不行。--//我看了链接,做一些转抄:# free -m &