[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自动以该字段创建一个唯一性的
[20210518]ssh ip登录缓慢问题解决.txt
[20210518]ssh ip登录缓慢问题解决.txt--//生产系统服务器登录缓慢,检查看看。--//一般这类问题以前遇到最多的是dns设置以及打开了GSSAPIAuthentication认证。1.检查dns相关设置:--//检查是否启动dns。检查/etc/resolv.conf存在外网的DNS。# grep -v "^#" /etc/resolv.confnamese
[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已经不存
[20210510]变态的windows批处理7.txt
[20210510]变态的windows批处理7.txt--//想写一个批处理在windows下,遇到一个奇怪的问题,记录自己的分析过程.d:\>seq 3 | xargs -iQ echo "alter session set optimizer_index_cost_adj = Q;\nselect count(name) from from t where id=
[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]完善vim bccalc_win插件.txt
[20210507]完善vim bccalc_win插件.txt--//就是有时候运算不需要bc -l方式执行.而是使用bc执行.增加<Leader>c0快捷.--//例子:Bucket: #=61745 Mutex=0x813ddfa8(0, 37, 0, 6) LibraryHandle: Address=0x7dcd7c38 Hash=3650f131 L
[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]如何实现.txt
[20210507]如何实现.txt--//前面的测试,链接:http://blog.itpub.net/267265/viewspace-2771267/ =>[20210507]dump library_cache.txt --//如何写简单脚本实现1个Bucket下,有2行^ LibraryHandle:的输出呢? 把转储文件拷贝出来,在家里做一个尝试.C:\other&g
[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