ITPub博客

首页 > Linux操作系统 > Linux操作系统 > About storage parameter INITRANS and MAXTRANS

About storage parameter INITRANS and MAXTRANS

原创 Linux操作系统 作者:dragondb 时间:2019-07-12 15:48:07 0 删除 编辑

About storage parameter INITRANS and MAXTRANS

INITRANS:
The space you would like to reserve for transaction entries compared
to the space you would reserve for database data ;
the default value (1 for tables, 2 for indexes) ;

MAXTRANS:
The number of concurrent transactions that are likely to touch the
same data blocks at any given time ;


INITRANS:
The space you would like to reserve for transaction entries compared
to the space you would reserve for database data ;
the default value (1 for tables, 2 for indexes) ;

MAXTRANS:
The number of concurrent transactions that are likely to touch the
same data blocks at any given time ;

这两个参数都是"transaction"在"Data block"级的体现;

INITRANS:在"Data block"中预先留下空间的"transaction"数量,因为在 "block header"中需要 保留这些"transaction"信息;对于多用户、高并发事务 系统,适形提高"INITRANS"值,可以降低定位 事务空间的时间. (block header contains information about the type of block
(a table block, index block, and so on), transaction information
regarding active and past transactions on the block, and the address
(location) of the block on the disk.)

MAXTRANS:在同一"Data block"上可以并行的"transaction"数量,如果并发数大于 这个数量,那么超过 的事务将被阻塞;

INITRANS and MAXTRANS一旦设定,不可更改;

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

上一篇: exp auto date file
请登录后发表评论 登录
全部评论

注册时间:2003-05-05

  • 博文量
    98
  • 访问量
    94093