[20260810]简单探究row cache mutex.txt
[20260810]简单探究row cache mutex.txt--//昨天的测试使用mutexprofz.sql脚本输出有mutex_addr地址,不知道是否巧合2个hash相差1,对row cache mutex做一个简单探究。1.环境:SYS@book> @ ver2==============================PORT_STRING
[20260810]测试遇到的问题(21c).txt
[20260810]测试遇到的问题(21c).txt--//昨天测试遇到的问题,单独拿出来测试验证看看。1.环境:SYS@book> @ ver2==============================PORT_STRING  
[20260810]row cache的直方图信息.txt
[20260810]row cache的直方图信息.txt--//昨天探究row cache mutex等待事件关联的对象。oracle 缺省分析方法是auto,这样会在表的一些字典上建立大量的直方图信息。--//实际上许多字段根本不需要建立直方图,尝试建立表并且建立直方图,看看相关字段直方图占用共享内存的情况。1.环境:SCOTT@book01p> @ ver2==============
[20260809]Row Cache Mutex 定位具体对象的方法.txt
[20260809]Row Cache Mutex 定位具体对象的方法.txt--//利用sql语句select sid from v$mystat where rownum=1;密集执行时会出现row cache mutex等待事件,测试是否能定位具体对象。--//主要原因执行如下查询,没有返回记录。SYS@book> select * from v$rowcache_parent whe
[20260809]跟踪执行select sid from v$mystat where rownum=1;.txt
[20260809]跟踪执行select sid from v$mystat where rownum=1;.txt--//前段时间测试cdb下密集执行select sid from v$mystat where rownum=1;很慢,发现调用kgllkal函数在实例对象上,大量的执行必--//然要在该对象上产生争用。出现library cache: bucket mutex X,library
[20260808]测试21c cursor_sharing=force下的library cache lock pin的情况.txt
[20260808]测试21c cursor_sharing=force下的library cache lock pin的情况.txt--//补充测试21c下cursor_sharing=force下的library cache lock/library cache pin的情况.1.环境:SCOTT@book01p> @ ver2==============================
[20260806]测试11g cursor_sharing=force下的library cache lock pin的情况.txt
[20260806]测试11g cursor_sharing=force下的library cache lock pin的情况.txt--//补充测试11g下cursor_sharing=force下的library cache lock/library cache pin的情况.1.环境:SCOTT@book> @ ver2==============================POR
[20260802]测试遇到的问题.txt
[20260802]测试遇到的问题.txt--//我的测试很喜欢写一个脚本,打开一定数量并发,执行特定循环次数,看看遇到什么相关等待事件。前段时间测试带dblink的sql语--//句密集执行的情况,以及select sid from v$mystat where rownum=1的pdb与cdb情况,实际上测试应该选择类似sql语句执行格式:select /*+ &3 */sid fro
[20260724]putty配置tunnel远程连接.txt
[20260724]putty配置tunnel远程连接.txt--//以前测试过,参考链接:[20210929]putty配置tunnel远程连接.txt--//理论讲配置ssh tunnel并且勾上 Local ports accept connections from other hosts,remote ports do the same(SSh-2 only).--//配置好的端口无论是l
[20260721]测试带dblink的sql语句密集执行的情况(整理版本).txt
[20260721]测试带dblink的sql语句密集执行的情况(整理版本).txt--//前面测试带dblink的sql语句,每次都会存在对dblink对象的library cache lock,测试密集执行这类sql语句会出现什么情况。1.环境:SCOTT@book01p> @ ver2==============================PORT_STRING &nbs
[20260718]跟踪带dblink的sql语句的library cache lock/library cache pin的使用情况
[20260718]跟踪带dblink的sql语句的library cache lock/library cache pin的使用情况.txt--//还从来没有使用自己写的gdb或者其他脚本跟踪带dblink的sql语句,看看相应sql语句使用library cache lock/library cache pin的情况.--//为了测试比较符合实际情况,使用2个数据库,版本都是21c。1.环境:
[20260717]ORA-02011 duplicate database link name.txt
[20260717]ORA-02011 duplicate database link name.txt--//在centos 9,IP=192.168.56.103上建立dblink,报ORA-02011 duplicate database link name错误,做一个记录:1.环境:SCOTT@book01p> @ ver2==============================
[20260715]对象RECO.ORACLE.COM的FULL_HASH_VALUE.txt
[20260715]对象RECO.ORACLE.COM的FULL_HASH_VALUE.txt--//后记:链接 https://www.anbob.com/archives/9706.html =》High 'latch: shared pool' and 'library cache: mutex X' in--//Oracle 19c(19.13),我没遇到这
[20260715]sqlplus定义绑定变量名长度.txt
[20260715]sqlplus定义绑定变量名长度.txt--//测试需要了解定义绑定变量名长度,通过例子说明问题:1.环境:SCOTT@book01p> @ ver2==============================PORT_STRING  
[20260709]centos 9登录提示信息.txt
[20260709]centos 9登录提示信息.txt--//安装centos 9,使用kitty(putty变体)从windows登录linux服务器,总是出现如下内容:Using username "root".root@192.168.56.103's password:Send automatic passwordActivate the web consol
[20260707]验证跟踪library cache lock library cache pin使用bpftrace的脚本
[20260707]验证跟踪library cache lock library cache pin使用bpftrace的脚本是否执行正确.txt--//跟踪[library cache lock library cache pin使用bpftrace的脚本增加获得library cache lock address以及library cache pin--//address,不知道是否正确,通过
[20260703]完善跟踪library cache lock library cache pin使用bpftrace.txt
[20260703]完善跟踪library cache lock library cache pin使用bpftrace.txt#!/usr/bin/env bpftraceuprobe:/u01/app/oracle/product/21.0.0/dbhome_1/bin/oracle:kgllkal/ $1 == 0 || pid == $1 /{ @lk+
[20260703]跟踪library cache lock library cache pin的bpftrace脚本转换为bcc脚本
[20260703]跟踪library cache lock library cache pin的bpftrace脚本转换为bcc脚本--//首先说明bcc的脚本不是我写的,是使用kimi生成,仅仅提供bpftrace脚本。$ cat lkpn21c.bt#!/usr/bin/env bpftraceuprobe:/u01/app/oracle/product/21.0.0/dbhome_1/bi
[20260629]跟踪ora_cjq0_<sid>进程.txt
[20260629]跟踪ora_cjq0_<sid>进程.txt--//上午使用bpftrace脚本跟踪library cache lock /library cache pin.在测试环境跟踪全部进程时出现如下情况:$ cat lkpn21c.bt#!/usr/bin/env bpftraceuprobe:/u01/app/oracle/product/21.0.0/dbhome_1
[20260629]使用bpftrace跟踪library cache lock/library cache pin的疑问.txt
[20260629]使用bpftrace跟踪library cache lock/library cache pin的疑问.txt--//写了使用bpftrace跟踪library cache lock/library cache pin的脚本,想看看跟踪全部进程的情况,注:我的测试环境仅仅自己在--//使用,如果如果生产系统,不知道会发生什么情况。# cat /home/oracle