-
公开(公告)号:US20170300426A1
公开(公告)日:2017-10-19
申请号:US15637241
申请日:2017-06-29
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Yunpeng CHAI , Dongwang SUN
CPC classification number: G06F12/126 , G06F12/0246 , G06F12/06 , G06F12/0684 , G06F12/0804 , G06F12/0871
Abstract: A read cache management method and apparatus based on a solid state drive, and the method includes: determining whether a read request hits a first queue and a second queue (S101); if both the first queue and the second queue are missed, selecting and deleting an eliminated data block from the first queue (S102); if the eliminated data block is in a stored state, inserting the eliminated data block into the second queue (S103); and determining a target data block in a lower-level storage medium, and inserting the target data block into the first queue, (S104). According to the foregoing read cache management method and apparatus based on the solid state drive, a hit ratio of the solid state drive can be increased, a data write count of the solid state drive can be reduced, and service life of the solid state drive can be extended.
-
公开(公告)号:US20170371807A1
公开(公告)日:2017-12-28
申请号:US15699406
申请日:2017-09-08
Applicant: Huawei Technologies Co., Ltd.
Inventor: Yunpeng CHAI , Dongwang SUN
IPC: G06F12/121 , G06F12/0891
CPC classification number: G06F12/121 , G06F12/0804 , G06F12/0866 , G06F12/0891 , G06F2212/1021 , G06F2212/60
Abstract: The present embodiments provide a cache data determining method and apparatus, and pertain to the field of computer technologies. The method includes: acquiring a data identifier of read cache miss data; selecting, based on the acquired data identifier, a data identifier of to-be-determined data; recording data identifiers by groups; collecting statistics on quantities of occurrence times, in each group, of the data identifiers; and selecting target to-be-determined data according to the quantities of occurrence times, and determining the target to-be-determined data as cache miss data to be written into a cache memory. Data identifiers are recorded by groups, and after statistics on quantities of occurrence times, in each group, of the data identifiers is collected, target to-be-determined data is selected according to the quantities of occurrence times, and the target to-be-determined data is determined as cache miss data to be written into a cache memory.
-
公开(公告)号:US20190324961A1
公开(公告)日:2019-10-24
申请号:US16455744
申请日:2019-06-28
Applicant: Huawei Technologies Co., Ltd.
Inventor: Dongwang SUN
IPC: G06F16/2453 , G06F16/22
Abstract: Embodiments of the present invention disclose a storage method and a query method for a database, and an apparatus, and relate to the field of computer technologies. A specific solution is: receiving a query request, where the query request is used to query data that is in a database and that meets a query condition; determining a data query range corresponding to the query condition, and determining a matched index item from multiple index items, where a value range indicated by an index key in the matched index item includes the data query range; and reading the data from a storage unit to which an index value in the matched index item points.
-
4.
公开(公告)号:US20190057123A1
公开(公告)日:2019-02-21
申请号:US16169585
申请日:2018-10-24
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Guoqiang ZHANG , Lin HUANG , Dongwang SUN
IPC: G06F17/30
Abstract: The present disclosure relates to example table connection methods, devices, and systems. In one example method, data that is sent by a coordinator node and that is in a first target column in a first data table is stored by a data node in a local memory. The data node receives a table connection request. When first data in the first target column is the same as second data in a second target column, the data node connects data in a row in which the first data is located to data in a row in which the second data is located. The data node sends a connection result to the coordinator node.
-
-
-