-
公开(公告)号:US09430198B2
公开(公告)日:2016-08-30
申请号:US14753232
申请日:2015-06-29
Applicant: Huawei Technologies Co., Ltd.
Inventor: Dongwang Sun , Jijun Wen , Chuanting Wang
CPC classification number: G06F8/41 , G06F9/45504 , G06F17/30312 , G06F21/6227
Abstract: A data processing method and apparatus, which relate to the computer field and are capable of effectively improving scalability of a database system. The data processing method includes: receiving source code of an external routine, where the source code of the external routine is compiled by using an advanced programming language; compiling the source code to obtain intermediate code, where the intermediate code is a byte stream identifiable to a virtual machine on any operating platform; converting, according to an instruction set on the operating platform, the intermediate code into machine code capable of running on the operating platform; and storing the machine code to a database. The data processing method and apparatus provided by the embodiments of the present invention are used to process data.
Abstract translation: 一种与计算机领域相关并且能够有效地提高数据库系统的可扩展性的数据处理方法和装置。 数据处理方法包括:接收外部例程的源代码,其中通过使用高级编程语言编译外部例程的源代码; 编译源代码以获得中间代码,其中中间代码是可在任何操作平台上为虚拟机标识的字节流; 根据操作平台上的指令,将中间代码转换成能够在操作平台上运行的机器代码; 并将机器代码存储到数据库。 由本发明实施例提供的数据处理方法和装置用于处理数据。
-
公开(公告)号:US11163741B2
公开(公告)日:2021-11-02
申请号:US16169585
申请日:2018-10-24
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Guoqiang Zhang , Lin Huang , Dongwang Sun
IPC: G06F16/22 , H04L29/08 , G06F16/2455 , G06F16/21 , G06F16/25
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.
-
公开(公告)号:US10133679B2
公开(公告)日:2018-11-20
申请号:US15637241
申请日:2017-06-29
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Yunpeng Chai , Dongwang Sun
IPC: G06F12/02 , G06F12/126 , G06F12/06 , 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.
-
公开(公告)号:US20190073277A1
公开(公告)日:2019-03-07
申请号:US16182202
申请日:2018-11-06
Applicant: Huawei Technologies Co., Ltd.
Inventor: Xiaofeng Meng , Dongwang Sun
Abstract: A transaction recovery method in a database system and a database management system, where the database management system determines a transaction in the database system, which is not committed, and has performed an update operation on data in the database system, obtains, from an update operation log recording the update operation, a physical address of an old value of the data in the storage device, where the old value is a value of the data before the update operation, replaces a physical address of a new value of the data with the physical address of the old value, and sets the physical address of the new value to invalid such that a logical address of the data points to the physical address of the old value, where the new value is a value of the data after the update operation.
-
5.
公开(公告)号:US20170170968A1
公开(公告)日:2017-06-15
申请号:US15443997
申请日:2017-02-27
Applicant: Huawei Technologies Co., Ltd.
Inventor: Yansong Zhang , Hong Chen , Cuiping Li , Dongwang Sun
CPC classification number: H04L9/3242 , G06F16/2255 , G06F16/9014 , H04L63/061
Abstract: A generation method, a query method, and an apparatus of a two-dimensional filter are provided. In this solution, a two-dimensional filter includes a two-dimensional matrix, where the two-dimensional matrix may be linked to multiple key value element groups, and therefore flexibility of the filter is improved. Further, when it is queried whether a key value element is a key value element included in multiple key value element groups, it only needs to perform a query based on the two-dimensional filter, and it does not need to generate a Bloom filter corresponding to each key value element group. In addition, when it is queried whether a key value element is a key value element included in multiple key value element groups, it does not need to perform queries one by one based on each of multiple Bloom filters. Therefore, a problem of low query efficiency currently is further resolved.
-
公开(公告)号:US20150301810A1
公开(公告)日:2015-10-22
申请号:US14753232
申请日:2015-06-29
Applicant: Huawei Technologies Co., Ltd.
Inventor: Dongwang Sun , Jijun Wen , Chuanting Wang
CPC classification number: G06F8/41 , G06F9/45504 , G06F17/30312 , G06F21/6227
Abstract: A data processing method and apparatus, which relate to the computer field and are capable of effectively improving scalability of a database system. The data processing method includes: receiving source code of an external routine, where the source code of the external routine is compiled by using an advanced programming language; compiling the source code to obtain intermediate code, where the intermediate code is a byte stream identifiable to a virtual machine on any operating platform; converting, according to an instruction set on the operating platform, the intermediate code into machine code capable of running on the operating platform; and storing the machine code to a database. The data processing method and apparatus provided by the embodiments of the present invention are used to process data.
Abstract translation: 一种与计算机领域相关并且能够有效地提高数据库系统的可扩展性的数据处理方法和装置。 数据处理方法包括:接收外部例程的源代码,其中通过使用高级编程语言编译外部例程的源代码; 编译源代码以获得中间代码,其中中间代码是可在任何操作平台上为虚拟机标识的字节流; 根据操作平台上的指令,将中间代码转换成能够在操作平台上运行的机器代码; 并将机器代码存储到数据库。 由本发明实施例提供的数据处理方法和装置用于处理数据。
-
-
-
-
-