ITPub博客

首页 > Linux操作系统 > Linux操作系统 > [20130609]ORA_HASH and LOBs.txt

[20130609]ORA_HASH and LOBs.txt

原创 Linux操作系统 作者:lfree 时间:2013-06-09 09:55:15 0 删除 编辑
[20130609]ORA_HASH and LOBs.txt

http://connormcdonald.wordpress.com/2013/03/29/ora_hash-and-lobs-not-nice-partners/

参考以上链接,重复测试:

create table t (a number,b varchar2(20),c clob);
insert into t values (1,'a','a');
commit ;

SQL> select ora_hash(b),ora_hash(c) from t;
ORA_HASH(B) ORA_HASH(C)
----------- -----------
   29220167  2365849875

--sleep 3s

SQL> select ora_hash(b),ora_hash(c) from t;
ORA_HASH(B) ORA_HASH(C)
----------- -----------
   29220167   892983579

--sleep 3s

SQL> select ora_hash(b),ora_hash(c) from t;
ORA_HASH(B) ORA_HASH(C)
----------- -----------
   29220167  3168263238

    It changes ! In fact, one most platforms it appears to change every 3 seconds, so presumably somewhere in there its
related to one the internal Oracle timers in some way.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/267265/viewspace-763587/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
熟悉oracle相关技术,擅长sql优化,rman备份与恢复,熟悉linux shell编程。

注册时间:2008-01-03

  • 博文量
    4006
  • 访问量
    7969454