
oracle11g
aio_o
这个作者很懒,什么都没留下…
展开
-
Oracle的TPCC测试,原来也是个作弊的东西...
http://www.oaktable.net/content/sorted-hash-clusters-rip根据Jonathan Lewis老先生的测试实例,发觉cluster 的sort功能,完全是为了tpcc测试而存在的,非等值的查询语句,都会走错误的计划,得出错误的结果。这回oracle麻烦大了...execute dbms_random.seed(0)create原创 2013-08-30 14:37:55 · 2220 阅读 · 1 评论 -
10046 level 12 跟踪一个秀逗的SQL语句
执行语句语句:alter session set tracefile_identifier='test';SELECT d.VALUE || '/' || LOWER (RTRIM (i.INSTANCE, CHR (0))) || '_ora_' || p.spid ||原创 2013-11-22 11:46:06 · 1363 阅读 · 0 评论 -
10053 level 1 查看语句CBO算法
先清理下软解析,才能打出10053的trace文件。alter system flush shared_pool;alter session set tracefile_identifier='wqs';SELECT d.VALUE || '/' || LOWER (RTRIM (i.INSTANCE, CHR (0))) |原创 2013-11-22 13:45:17 · 1309 阅读 · 0 评论 -
停止expdp任务
误操作expdp st/st dumpfile=full2013.dmp full=y logfile=full2013.log directory=expdp job_name=my_jobctrl + c 停止发现导出文件依然在增长expdp st/st attach=my_job查看job状态[oracle@test60 expdp]$ expdp st/st原创 2014-02-28 12:17:53 · 1736 阅读 · 0 评论 -
datafile block (8192)
datafile block block size :8192Offset0123456789abcdef0001400006A200000A0040010E89430000000502 type转载 2014-06-23 22:33:47 · 924 阅读 · 0 评论 -
clear logfile的使用
当同组的redolog文件,丢失部分成员时,可以使用clear logfile语句进行重建原创 2014-07-29 12:40:11 · 2548 阅读 · 0 评论 -
oracle动态注册参数local_listener
local_listener参数有两种书写格式,提供了不同的功能。监听文件上,1521和1526端口上都有动态监听端口。[oracle@dbsv admin]$ cat listener.ora LISTENER= (DESCRIPTION= (ADDRESS_LIST= (ADDRESS=(PROTOCOL=tcp)(HOST=dbsv)(PORT=1521))原创 2014-06-21 12:11:42 · 11284 阅读 · 0 评论 -
oracle bug 12415167
drop table t1;create table t1 (c1 char(2) primary key, c2 char(1) not null);insert into t1 values ('A ','A'); select t1.c1 from t1 where t1.c1 in (select c2 from t1 union all select '0'||c2 c2 fr原创 2014-09-04 16:52:34 · 1020 阅读 · 0 评论