发明名称 INDEX MASKING BASED ON INSERT CONTENTION RATIO
摘要 Embodiments of the present invention provide a method, computer program product, and computer system for masking indexes. The method may include masking the index if the index contention exceeds a defined threshold. The method may also include configuring the mask type for the index to insert the index without masking. In response to determining that the mask type for the index is configured to insert the index without masking, the index is masked according to a set of rules.
申请公布号 US2017091248(A1) 申请公布日期 2017.03.30
申请号 US201615381147 申请日期 2016.12.16
申请人 International Business Machines Corporation 发明人 Li Shuo;Liang Ping;Yang Xin Ying;Zhang Jian Wei
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项 1. A computer system for reducing index insert times to improve database performance based on masking indexes above an insert contention threshold, the computer program product comprising: one or more computer processors; one or more computer readable storage media; program instructions stored on the one or more computer readable storage media for execution by at least one of the one or more computer processors, the program instructions comprising: program instructions to receive, by one or more computer processors, settings defining a mask type for an index, wherein the index is one of a partitioned index and a data partitioned secondary index, and wherein the mask type is one of mask never, mask always, and mask automatic;program instructions to determine, by the one or more computer processors, that an insert contention exceeds a defined threshold;program instructions to determine, by the one or more computer processors, that the mask type is not mask always;program instructions to determine, by the one or more computer processors, that the mask type is mask automatic;program instructions to determine, by the one or more computer processors, that there are no active applications dependent on the index;program instructions to determine, by the one or more computer processors, that an index last used time does not exceed a defined threshold;program instructions to determine, by the one or more computer processors, that an index contention time did not exceed a defined threshold at an index access time, wherein the index contention time is defined as one of a time and a percentage of central processing unit usage;program instructions to determine, by the one or more computer processors, that an index key length does not exceed a defined threshold, wherein the index key length is based on the maximum size of one or more variable-length columns and the size of one or more fixed-data columns;program instructions to determine, by the one or more computer processors, that an index free space ratio is less than a defined threshold; andprogram instructions to mask, by the one or more computer processors, the index.
地址 Armonk NY US