`

oracle inittrans与maxtrans参数

 
阅读更多

inittrans参数表示高并发时事务会锁住同一个对象,oracle会使用块的一部分空间来保存哪些事务将哪些块中元素锁定,这个空间的大小由inittrans来决定,默认为2,事务表会根据需要动态扩展,最大达到MAXTRANS 个条目(假设块上有足够的自由空间)。所分配的每个事务条目需要占用块首部中的23~24 字节的存储空间。注意,对于Oracle 10g,MAXTRANS 则会忽略,所有段的MAXTRANS 都是255。

所以,如果有大量的并发访问使用的这个块,则参数不能太小,否则资源竞争将导致系统并发性能下降

分享到:
评论

相关推荐

    Oracle 9i&10g编程艺术:深入数据库体系结构(全本)含脚本

    10.2.7 INITRANS和MAXTRANS 349 10.3 堆组织表 349 10.4 索引组织表 352 10.5 索引聚簇表 368 10.6 散列聚簇表 376 10.7 有序散列聚簇表 386 10.8 嵌套表 390 10.8.1 嵌套表语法 390 10.8.2 嵌套表存储 399 ...

    oracle 创建和删除索引

    删除索引 drop index CUS_LOWER_ENERGY_JLDNY; 新建一个索引 create index CUS_LOWER_ENERGY_JLDNY on CUS_LOWER_ENERGY (JLDBH, ... maxtrans 255 storage ( initial 64K minextents 1 maxextents unlimited );

    Oracle编程艺术

    1.3.6 DBA与开发人员的关系.........................................................119 1.4 小结....................................................................................121 第 2章体系结构概述...

    Oracle事例

    sql> tablespace_name [pctfree integer] [initrans integer] [maxtrans integer] sql> [logging | nologging] [nosort] storage(initial 200k next 200k pctincrease 0 sql> maxextents 50); <3>.pctfree...

    bbs论坛项目运用SSH框架Oracle数据库编写的一个简单示列项目

    maxtrans 255 storage ( initial 64K minextents 1 maxextents unlimited ); -- Create/Recreate primary, unique and foreign key constraints alter table USERS add constraint PK_USERID primary key ...

    Oracle 簇的使用详解

    簇→簇表→簇索引→数据创建簇的格式CREATE CLUSTER cluster_name(column date_type [,column datatype]…)[PCTUSED 40 | integer] [PCTFREE 10 | integer][SIZE integer][INITRANS 1 | integer] [MAXTRANS 255 |...

    Oracle数据库中建立索引的基本方法讲解

    maxtrans 255 storage ( minextents 1 maxextents 16382 pctincrease 0 ); 2、创建基于函数的索引 常用与UPPER、LOWER、TO_CHAR(date)等函数分类上,例: create index idx_func on emp(UPPER(ename)) tablespace ...

    JBPM建表语句

    maxtrans 255 storage ( initial 64K minextents 1 maxextents unlimited ); -- Create/Recreate primary, unique and foreign key constraints alter table JBPM4_DEPLOYMENT add primary key (DBID_) ...

    zepto-slitslider:使用Zepto.js进行切缝滑块重制

    默认参数,改变其中的参数可以制作各种转场效果。 { orientation:'horizontal', //动画移动方向。horizontal:垂直,vertical:水平 easing: 'ease-in-out', // the easing function speed: 350, //动画持续时间 ...

    2019年行政区域规划表(3月更新)

    maxtrans 255 storage ( initial 256K next 8K minextents 1 maxextents unlimited ); -- Add comments to the table comment on table SYS_AREA is '行政区划表'; -- Add comments to the columns ...

Global site tag (gtag.js) - Google Analytics