Patents by Inventor Jijun Wen
Jijun Wen has filed for patents to protect the following inventions. This listing includes patent applications that are pending as well as patents that have already been granted by the United States Patent and Trademark Office (USPTO).
-
Patent number: 11442961Abstract: An active transaction list synchronization method and apparatus comprising a first node that records, in a transaction list incremental log buffer, a transaction list incremental log that is obtained after last active transaction list synchronization, where the transaction list incremental log indicates a change of a transaction recorded in an active transaction list of the first node and includes an added-transaction log and a committed-transaction log, wherein the added-transaction log indicates a transaction is added to the active transaction list, wherein the committed-transaction log indicates a transaction is deleted from the active transaction list. When performing group commit on transactions recorded in the committed-transaction log, the first node sends the transaction list incremental log to at least one second node.Type: GrantFiled: August 27, 2019Date of Patent: September 13, 2022Assignee: HUAWEI TECHNOLOGIES CO., LTD.Inventors: Jijun Wen, Bo Shang, Wei Wang
-
Patent number: 10891286Abstract: A transaction execution method, apparatus, and system is disclosed. The method is applied to a CN of an OLTP cluster database, and the method includes: receiving a page request message sent by a first PN, where the first PN has a first transaction configured, the first transaction includes at least one operation, and the page request message includes an identifier of a to-be-processed page and an identifier of the first PN; if the to-be-processed page indicated by the identifier of the to-be-processed page is the same as a hot page in a preset hot page set, determining a target operation corresponding to the to-be-processed page, where the preset hot page set includes at least one hot page; executing the target operation on the to-be-processed page to obtain an execution result; and sending the execution result to the first PN indicated by the identifier of the first PN.Type: GrantFiled: March 9, 2018Date of Patent: January 12, 2021Assignee: HUAWEI TECHNOLOGIES CO., LTD.Inventors: Jijun Wen, Liangchun Xiong, Chunxin Yang
-
Publication number: 20190384775Abstract: An active transaction list synchronization method and apparatus comprising a first node that records, in a transaction list incremental log buffer, a transaction list incremental log that is obtained after last active transaction list synchronization, where the transaction list incremental log indicates a change of a transaction recorded in an active transaction list of the first node and includes an added-transaction log and a committed-transaction log, wherein the added-transaction log indicates a transaction is added to the active transaction list, wherein the committed-transaction log indicates a transaction is deleted from the active transaction list. When performing group commit on transactions recorded in the committed-transaction log, the first node sends the transaction list incremental log to at least one second node.Type: ApplicationFiled: August 27, 2019Publication date: December 19, 2019Inventors: Jijun Wen, Bo Shang, Wei Wang
-
Publication number: 20180203888Abstract: A multi-version concurrency control method in a database and a database system is presented. The database system sets a data page link of a page, where the data page link includes a page pointer, and a page pointer is used to point to another version page prior to a last operation on the version page. In this way, when a page in the database is read, if a timestamp of a current version page is greater than a timestamp of a read transaction, page-level rollback may be directly performed according to a data page link of the page that is requested to read to roll back to a page that needs to be read, which facilitates queries for data on each version page in the database. Further, the database system may implement record rollback efficiently.Type: ApplicationFiled: March 13, 2018Publication date: July 19, 2018Inventors: Jijun Wen, Yuanyuan Nie, Jian Li
-
Publication number: 20180196809Abstract: A transaction execution method, apparatus, and system is disclosed. The method is applied to a CN of an OLTP cluster database, and the method includes: receiving a page request message sent by a first PN, where the first PN has a first transaction configured, the first transaction includes at least one operation, and the page request message includes an identifier of a to-be-processed page and an identifier of the first PN; if the to-be-processed page indicated by the identifier of the to-be-processed page is the same as a hot page in a preset hot page set, determining a target operation corresponding to the to-be-processed page, where the preset hot page set includes at least one hot page; executing the target operation on the to-be-processed page to obtain an execution result; and sending the execution result to the first PN indicated by the identifier of the first PN.Type: ApplicationFiled: March 9, 2018Publication date: July 12, 2018Inventors: Jijun WEN, Liangchun XIONG, Chunxin YANG
-
Patent number: 9953051Abstract: A multi-version concurrency control method in a database and a database system, where the database system sets a data page link of a page, where the data page link includes a page pointer, and a page pointer is used to point to another version page prior to a last operation on the version page. Hence, when a page in the database is read, and when a timestamp of a current version page is greater than a timestamp of a read transaction, page-level rollback may be directly performed according to a data page link of the page that is requested to read to roll back to a page that needs to be read, which facilitates queries for data on each version page in the database, and the database system may implement record rollback efficiently.Type: GrantFiled: June 30, 2016Date of Patent: April 24, 2018Assignee: HUAWEI TECHNOLOGIES CO., LTD.Inventors: Jijun Wen, Yuanyuan Nie, Jian Li
-
Patent number: 9875279Abstract: A data scanning method and apparatus are provided. The method includes analyzing a data scanning condition carried in a received data scanning request and determining at least one target data partition used to store data, acquiring a scanning cost of the target data partition, where the scanning cost includes waiting time of data scanning, allocating the target data partition to a processing resource according to the scanning cost so as to execute parallel data scanning, and acquiring a scanning result returned by the processing resource. In the present invention, statistics information of a data partition is collected, a scanning cost is acquired, and a target-data-partition operation group is appropriately allocated to a processing resource, thereby shortening waiting time of the whole data scanning.Type: GrantFiled: December 30, 2014Date of Patent: January 23, 2018Assignee: HUAWEI TECHNOLOGIES CO., LTD.Inventors: Jijun Wen, Zhongqing Xu
-
Publication number: 20170351667Abstract: The disclosure discloses a transaction processing method, a processing node, and a central node. The method includes: receiving, by the processing node in the cluster, global snapshot information according to a preset time interval, where the global snapshot information includes a transaction identifier of a running transaction in a cluster; storing the received global snapshot information in a cache; and processing the transaction according to the global snapshot information stored in the cache. In the transaction processing method, a central node in a cluster sends latest global snapshot information to each processing node according to a preset time interval, so that the processing node can store the global snapshot information. When applying for global snapshot information during transaction processing, the processing node does not need to obtain latest snapshot information from the central node. Therefore, network overheads can be reduced, and transaction processing efficiency can be improved.Type: ApplicationFiled: August 25, 2017Publication date: December 7, 2017Inventors: Yuanyuan Nie, Jijun Wen, Jian Li
-
Patent number: 9778998Abstract: Embodiments of the present invention disclose a data restoration method, including: after a transaction is submitted, saving a generated transaction log to a buffer of a current node, and backing up the transaction log to a buffer of at least one backup node except the current node; writing the transaction log saved in the buffer of the current node or the transaction log backed up in the buffer of the backup node into a transaction log file in a disk, where the transaction log file in the disk is used for restoring data of the current node; and restoring, based on the transaction log file in the disk, lost data of the current node when a data loss event occurs in the current node. By means of the present invention, a risk of system data can be reduced, and durability, safety, and reliability of the system data can be improved.Type: GrantFiled: March 17, 2015Date of Patent: October 3, 2017Assignee: Huawei Technologies Co., Ltd.Inventors: Jijun Wen, Yuanyuan Nie, Wentao Xu
-
Publication number: 20160314161Abstract: A multi-version concurrency control method in a database and a database system, where the database system sets a data page link of a page, where the data page link includes a page pointer, and a page pointer is used to point to another version page prior to a last operation on the version page. Hence, when a page in the database is read, and when a timestamp of a current version page is greater than a timestamp of a read transaction, page-level rollback may be directly performed according to a data page link of the page that is requested to read to roll back to a page that needs to be read, which facilitates queries for data on each version page in the database, and the database system may implement record rollback efficiently.Type: ApplicationFiled: June 30, 2016Publication date: October 27, 2016Inventors: Jijun Wen, Yuanyuan Nie, Jian Li
-
Patent number: 9430198Abstract: 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.Type: GrantFiled: June 29, 2015Date of Patent: August 30, 2016Assignee: Huawei Technologies Co., Ltd.Inventors: Dongwang Sun, Jijun Wen, Chuanting Wang
-
Publication number: 20160239542Abstract: A method, apparatus, and system for storing an execution plan, and relate to the field of databases, which may improve a cache hit rate of an execution plan and reduce system overheads. The method includes sending, by the client, a structured query language (SQL) request and generated location information to the database server, and according to the received SQL request and the received location information, generating and executing, by the database server, an execution plan corresponding to the SQL request, and saving the execution plan to a cache indicated by the location information. The location information may indicate a location of a cache of a client or a cache of a database server.Type: ApplicationFiled: April 22, 2016Publication date: August 18, 2016Inventors: Wei Yu, Jijun Wen, Huijun Liu
-
Publication number: 20150301810Abstract: 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.Type: ApplicationFiled: June 29, 2015Publication date: October 22, 2015Inventors: Dongwang Sun, Jijun Wen, Chuanting Wang
-
Publication number: 20150261626Abstract: Embodiments of the present invention disclose a data restoration method, including: after a transaction is submitted, saving a generated transaction log to a buffer of a current node, and backing up the transaction log to a buffer of at least one backup node except the current node; writing the transaction log saved in the buffer of the current node or the transaction log backed up in the buffer of the backup node into a transaction log file in a disk, where the transaction log file in the disk is used for restoring data of the current node; and restoring, based on the transaction log file in the disk, lost data of the current node when a data loss event occurs in the current node. By means of the present invention, a risk of system data can be reduced, and durability, safety, and reliability of the system data can be improved.Type: ApplicationFiled: March 17, 2015Publication date: September 17, 2015Inventors: Jijun WEN, Yuanyuan NIE, Wentao XU
-
Publication number: 20150169690Abstract: A data scanning method and apparatus are provided. The method includes analyzing a data scanning condition carried in a received data scanning request and determining at least one target data partition used to store data, acquiring a scanning cost of the target data partition, where the scanning cost includes waiting time of data scanning, allocating the target data partition to a processing resource according to the scanning cost so as to execute parallel data scanning, and acquiring a scanning result returned by the processing resource. In the present invention, statistics information of a data partition is collected, a scanning cost is acquired, and a target-data-partition operation group is appropriately allocated to a processing resource, thereby shortening waiting time of the whole data scanning.Type: ApplicationFiled: December 30, 2014Publication date: June 18, 2015Inventors: Jijun Wen, Zhongqing Xu