码迷,mamicode.com
首页 > 其他好文 > 详细

bitmap index

时间:2015-01-06 00:40:12      阅读:144      评论:0      收藏:0      [点我收藏+]

标签:

bitmap index

说明:

set echo on
drop table t purge;

create table t 
( processed_flag varchar2(1) 
);
create bitmap index
t_idx on t(processed_flag);
insert into t values ( N );
declare
    pragma autonomous_transaction;
begin
    insert into t values ( N );
    commit;
end;
/

 

如果数据在一个回话里执行会出现锁死错误,所以尽量不要用 bitmap index

bitmap index

标签:

原文地址:http://www.cnblogs.com/gtool/p/4204885.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!