[20131227]ORA-00600 [kkocxj : pjpCtx] error is reported when running ....txt
[20131227]PUSH_PRED?ORA-00600 [kkocxj : pjpCtx] error is reported when running a complex query.txt前几天生产系统出现严重的性能问题,跟查询变换有关,自己做一些探究看看.SYSTEM> @verBANNER----------------------------------------------------------------Oracle Database 10g Enterprise Edition Release...
[20131226]linux下使用pigz高效传输文件.txt
[20131226]linux下使用pigz高效传输文件.txthttp://zlib.net/pigz/pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploitsmultiple processors and multiple cores to the hilt when compressing data. pigz was written by Mark Adler, and uses thezl...
[20131221]12c 优化 bug.txt
[20131221]12c 优化 bug.txthttp://connormcdonald.wordpress.com/2013/12/20/the-challenge-of-optimization/--仅仅自己重复测试看看!@verBANNER ...
[20131217]pivot应用例子.txt
[20131217]pivot应用例子.txtPIVOT是11G的新特性,可以把列转换为行,自己写一个例子:SCOTT@test> @verBANNER--------------------------------------------------------------------------------Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit ProductionSCOTT@test> select name from V$SEG...
[20131215]安装vim插件gundo.txt
[20131215]安装vim插件gundo.txt今天想安装gundo.vim插件看看,我以前安装的vim 7.4版本,安装gundo插件需要python2.7版本.我下载gvim7.4版本来自:http://www.vim.org/download.php#pcPC: MS-DOS and MS-WindowsFor modern MS-Windows systems (starting with XP) you can simply use the executable installer: ...
[20131212]12c新特性建表 属性DEFAULT ON NULL.txt
[20131212]12c新特性建表 属性DEFAULT ON NULL.txt在12c上建立表可以让插入NULL等于某个特定的值.举一个例子:SCOTT@ztest> @verBANNER &...
[20131211]mysql pager定义=vim.txt
[20131211]mysql pager定义=vim.txt今天看厂家调试安全设备,发现后台数据库使用mysql。我发现他select * from 后,显示是的vim的编辑界面,感觉很有意思,自己一点也不熟悉mysql,不过我在公司使用cacti监控各种设备以及服务器,自己也测试看看。# mysql -u rootWelcome to the MySQL monitor. Comman...
[20131210]linux screen 命令共享会话.txt
[20131210]linux screen m命令共享会话.txt工作需要,要在两个用户之间共享linux的会话,看了一下screen的文档,加上一些google,做一些记录:方法1:--使用script,没有想到script本来是记录操作内容的,通过管道文件也可以实现这种功能。--会话1.mkfifo /tmp/sessionscript -f /tmp/session--会话2cat /tmp/s...
[20131204]sql语句优化.txt
[20131204]sql语句优化.txt昨天优化sql语句,遇到一些细节问题,做一个记录:SCOTT@test> @verBANNER--------------------------------------------------------------------------------Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Productioncreate table t (id number,create_date dat...
[20131130]12c建表period for valid.txt
[20131130]12c建表period for valid.txt9i以后查询过去某个时间点,加入as of timestap 或者 as of scn,但是这个受undo*参数的控制。 当然11G加入Flashback DataArchive特性,就是通过一个表空间记录表的一些变化,查询历史数据. 实际上这个就是flashback table的扩展(个人认为)!.12c 有一个新特性 Temporal Validity....
[20131128]12c的dbms_utility.expand_sql_text.txt
[20131128]12c的dbms_utility.expand_sql_text.txtSCOTT@ztest> @verBANNER  ...
[20131125]Partition, compress and drop column (ORA-39726)之2.txt
[20131125]Partition, compress and drop column (ORA-39726)之2.txthttp://www.dbaglobe.com/2013/11/partition-compress-and-drop-column-ora.html在12c下测试看看,结果如何?SCOTT@ztest> @verBANNER &nbs...
[20131125]Partition, compress and drop column (ORA-39726).txt
[20131125]Partition, compress and drop column (ORA-39726).txthttp://www.dbaglobe.com/2013/11/partition-compress-and-drop-column-ora.htmlSCOTT@test> @verBANNER--------------------------------------------------------------------------------Oracle Database 11g Enterprise Edition Release 11.2.0.3...
[20131125]ORA-14300.txt
[20131125]ORA-14300.txt今天做一些测试,遇到ORA-14300,排除过程走了一点弯路,做一个记录:SCOTT@test> @verBANNER--------------------------------------------------------------------------------Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit ProductionSCOTT@test> create table t (i...
[20131125]vim的bccalc.vim插件有关问题以及10,16进制转换的简单方法.txt
[20131125]vim的bccalc.vim插件有关问题以及10,16进制转换的简单方法.txt链接: http://www.vim.org/scripts/script.php?script_id=219在windows下乘法,以及^运算有问题加入如下:let str = escape (str, '();&><|')let str = substitute (str, "\\\^", "\\\^\\\^\\\^\\\^", "")自己没事,写一个脚本做行计算功能以及1...
[20131125]使用vim做合计计算.txt
[20131125]使用vim做合计计算.txt工作需要,需要使用vim做合计计算,把一列的数据累加,输出结果,到www.vim.org网站检索,发现:http://www.vim.org/scripts/script.php?script_id=1932visSum.vim插件比较合适.结果测试发现一些问题,结果自己花了一个下午晚上的时间测试修改,有点浪费时间.主要原因:1.不熟悉vim里面的函...
[20131122]跟踪sql profile的操作.txt
[20131122]跟踪sql profile的操作.txtsql profile是11G的新特性,前几天我在给别人做优化时,偷懒直接使用toad,step by step分析使用sql profile,导致系统执行缓慢,不得不中断分析.今天有空跟踪sql profile的操作看看,了解一些过程.SCOTT@test> @verBANNER-----------------------------------------------------------...
[20131121]奇怪的执行计划变化.txt
[20131121]奇怪的执行计划.txtSCOTT@test> @verBANNER--------------------------------------------------------------------------------Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Productioncreate table t pctfree 99 as select rownum id,lpad('x',1000,'x') name from dual c...
[20131121]12c sqlplus的set colinvisible on.txt
[20131121]12c sqlplus的set colinvisible on.txt12c 加入invisible column,但是如果要查看表的隐含列,要查询一些视图.实际上在sqlplus执行set colinvisible on,在执行desc 就可以看到隐含列.做一个测试看看.@verBANNER &n...
[20131119]sqlplus颜色输出.txt
[20131119]sqlplus颜色输出.txt昨天别人问一个sqlplus色彩输出的问题,实际上以前我自己写过一个脚本,检查rman备份的情况:内容如下:column status format a16column input_type format a11column elapsed_seconds format 99999 head "ELAPSED|SECONDS"column compression_ratio format 99.99999 head "COMPRESS...