发明名称 RETRIEVAL CONTROL METHOD, AND RETRIEVAL CONTROL DEVICE
摘要 A non-transitory computer-readable recording medium stores therein a retrieving control program that causes a computer to execute a process including, receiving a retrieval request including range information; estimating a number of records to be obtained by performing retrieval in a retrieval range; calculating a difference between a cost of retrieval processing time when retrieval processing is performed by a first process or thread which performs the retrieval processing for a record of the total number of records, and the cost of retrieval processing time when retrieval processing is performed by parallel retrieval; calculating a cost of time for giving a record of the estimated number of records from a plurality of processes or threads to the first process or thread; and controlling, according to a comparison result between the difference and the calculated cost of the time, whether the retrieval request is to be processed by the parallel retrieval.
申请公布号 US2016259703(A1) 申请公布日期 2016.09.08
申请号 US201615058304 申请日期 2016.03.02
申请人 FUJITSU LIMITED 发明人 Kawai Junji;Sato Sawahiko;NISHIGAKI MASAKI;Seki Eiji
分类号 G06F11/34;G06F17/30 主分类号 G06F11/34
代理机构 代理人
主权项 1. A non-transitory computer-readable recording medium having stored therein a retrieving control program that causes a computer to execute a process comprising: receiving a retrieval request including range information that designates a retrieval range of the retrieval request; specifying a total number of records included in the retrieval range designated by the range information, and estimating the number of records to be obtained by performing retrieval in the retrieval range, by utilizing a correspondence relation information stored in a storage unit, the correspondence relation information including relationships between the retrieval range and the total number of records included in the retrieval range; calculating a difference between a cost of retrieval processing time and a cost of retrieval processing time, the cost of retrieval processing time being calculated on a condition when retrieval processing is performed by a first process or thread which performs the retrieval processing for a record of the total number of records, and the cost of retrieval processing time being calculated on a condition when retrieval processing is performed by parallel retrieval using a plurality of processes or threads controlled by the first process or thread; calculating a cost of time for giving a record of the estimated number of records from the plurality of processes or threads to the first process or thread; and controlling, according to a comparison result between the difference and the calculated cost of the time, whether the retrieval request is to be processed by the parallel retrieval.
地址 Kawasaki-shi JP