上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 56 下一页
摘要: [20201121]显示时间戳高精度版本.txt--//工作需要,需要写一个高精度显示事件戳的版本。--//以前的版本如下:# cat ts.awk# /bin/bashgawk '{ print strftime("[%Y-%m-%d %H:%M:%S]"), $0 }'--//我看了一下man 阅读全文
posted @ 2020-11-23 09:06 lfree 阅读(233) 评论(0) 推荐(0)
摘要: [20201117]使用DBMS_SHARED_POOL.MARKHOT与sql语句6.txt--//前几天我看了链接:https://blog.pythian.com/reducing-contention-on-hot-cursor-objects-cursor-pin-s/--//里面提到使用 阅读全文
posted @ 2020-11-17 16:21 lfree 阅读(659) 评论(0) 推荐(0)
摘要: [20201112]tmpwatch 删除文件.txt--//tmpwatch命令用来removes files which haven't been accessed for a period of time。--//一般发布版本用来通过crond调用tmpwatch删除一定时间内不使用的文件。# 阅读全文
posted @ 2020-11-13 09:22 lfree 阅读(207) 评论(0) 推荐(0)
摘要: [20201105]mtime, ctime and atime in Linux.txt--//大家都知道linux 文件系统的文件存在3个时间mtime, ctime and atime。简单解析如下:--//https://linoxide.com/file-system/file-times 阅读全文
posted @ 2020-11-05 10:34 lfree 阅读(652) 评论(1) 推荐(0)
摘要: [20200904]12c invisible column impdp segment_column_id.txt--//12c提供一个新特性,可以设置隐藏列.这样会导致select * from ..的一些问题,甚至改变显示顺序.--//所以在程序中一般代码禁止使用select *.如果设置隐藏 阅读全文
posted @ 2020-09-05 11:07 lfree 阅读(326) 评论(0) 推荐(0)
摘要: [20200824]12c sqlplus rowprefetch arraysize 显示行数量的关系.txt--//以前写的:[20181108]12c sqlplus rowprefetch参数4.txt => http://blog.itpub.net/267265/viewspace-22 阅读全文
posted @ 2020-08-25 20:39 lfree 阅读(278) 评论(0) 推荐(0)
摘要: [20200814]8K数据库最大行号.txt--//昨天听别人上课,对方想演示ITL槽不足出现的阻塞和死锁情况,讲到oracle 8K的数据块最大行号不能超过736.实际上--//比较准确的提法是1块(数据块大小8k)最多仅仅容纳736条记录,实测733.估计采用mssm模式可以达到736条(注: 阅读全文
posted @ 2020-08-17 21:18 lfree 阅读(291) 评论(0) 推荐(0)
摘要: [20200401]优化的困惑5.txt--//春节前对一个生产系统做优化,完成后使用ash_wait_chains.sql检查,发现control file parallel write有点多。--//当时并没有在意,总感觉哪里不对,感觉这套系统磁盘IO有问题,现在有空分析看看。1.环境:> @ 阅读全文
posted @ 2020-04-02 10:47 lfree 阅读(485) 评论(1) 推荐(1)
摘要: [20200317]dmesg与时间戳3.txt--//dmesg的输出显示的时间戳不是很精确的,网上许多链接计算使用/proc/uptime会随着uptime的延长,误差越来越大.--//随手写的脚本如下:# cat $(which tdmesg )#! /bin/bashFORMAT="%Y-% 阅读全文
posted @ 2020-03-17 11:07 lfree 阅读(473) 评论(0) 推荐(0)
摘要: [20200316]dmesg与时间戳2.txt--//链接提到http://blog.itpub.net/267265/viewspace-2670625/=> 计算的时间戳有问题,一直没仔细探究.--//网上找到链接 https://stackoverflow.com/questions/138 阅读全文
posted @ 2020-03-16 09:48 lfree 阅读(450) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 56 下一页