Patents by Inventor Xiaobin Ma
Xiaobin Ma 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: 12292887Abstract: A hybrid query execution plan is generated for executing queries on database systems implementing a columnar cache. A hybrid query execution plan combines a query execution plan for querying and retrieving data from a columnar cache and a base table. A columnar cache stores cached data in column-major format, which is logically represented by the database management system in row-major format. A database management system as described herein can scan valid blocks of column data according to a column scan operation. The system can identify invalidated blocks and execute a different sub-execution plan of the hybrid query execution plan to scan corresponding rows in tables corresponding to the location of data for the invalidated blocks.Type: GrantFiled: August 24, 2023Date of Patent: May 6, 2025Assignee: Google LLCInventors: Xiaobin Ma, Xun Cheng, Viral Shah, Anjan Kumar Amirishetty
-
Publication number: 20250036625Abstract: Aspects of the disclosure are directed to late materialization of attributes in response to queries to a database implementing a database cache. Queried data is materialized in temporary memory before the data is projected as part of generating a result to the query. Instead of materializing all of the attributes referenced in a query before executing the query, a database management system materializes attributes as “late” as possible—when the operation needing the attributes is executed. The operation needing the attributes can be performed sooner, as opposed to materializing all referenced attributes are materialized before executing the query.Type: ApplicationFiled: October 15, 2024Publication date: January 30, 2025Inventors: Xiaobin Ma, Xun Cheng, Viral Shah, Anjan Kumar Amirishetty
-
Patent number: 12130814Abstract: Aspects of the disclosure are directed to late materialization of attributes in response to queries to a database implementing a database cache. Queried data is materialized in temporary memory before the data is projected as part of generating a result to the query. Instead of materializing all of the attributes referenced in a query before executing the query, a database management system materializes attributes as “late” as possible—when the operation needing the attributes is executed. The operation needing the attributes can be performed sooner, as opposed to materializing all referenced attributes are materialized before executing the query.Type: GrantFiled: November 9, 2021Date of Patent: October 29, 2024Assignee: Google LLCInventors: Xiaobin Ma, Xun Cheng, Viral Shah, Anjan Kumar Amirishetty
-
Patent number: 12038894Abstract: Aspects of the disclosure provide for natively executing row-store expression data structures on column-store databases without rewriting. A database management system (DBMS) configured as described herein can maintain a mapping of row-store results to addresses of where corresponding column data is stored. When executing operators, such as logical operators, comparison operators, and/or function operators of a received query expression, the DBMS can operate on the column data, rather than the individual rows. The DBMS can store the results generated by executing the column operators, for example on a stack, and record the row-store addresses to which the stored results correspond. The DBMS responds with a number of rows corresponding to the processed column data.Type: GrantFiled: February 10, 2023Date of Patent: July 16, 2024Assignee: Google LLCInventors: Viral Shah, Xun Cheng, Xiaobin Ma, Haoyu Huang, Anjan Kumar Amirishetty
-
Publication number: 20240092374Abstract: A system of controlling a vehicle may include a sensor and a controller, in which the sensor may be configured to sense vehicle operation state information, and the controller may be configured to determine whether a vehicle is running on a dangerous road based on the sensed vehicle operation state information, determine whether there is a possibility that a vehicle driving state will cause a failure of a driving system based on the sensed vehicle operation state information in response to determining that the vehicle is running on the dangerous road, and decide that torque control of the vehicle.Type: ApplicationFiled: December 8, 2022Publication date: March 21, 2024Inventors: Bao Wen You, Sun Woo Park, Young Joon Chang, Xiaobin Ma, Xuejiao Sun, Yuzhao Wei, Woon Ki Cho, Xiao Tong Yan
-
Publication number: 20240078237Abstract: Aspects of the disclosure are directed to early filtering of candidate rows for a join operator of a query statement before the join operator is evaluated to generate a result set. Early filtering, e.g., before execution of the join operator, reduces the number of candidate rows fetched from a database during a join operator, which can improve the rate at which queries including join operators are executed by a DBMS for the database. One or more Bloom filters or other probabilistic data structures can be produced and consumed according to different join conditions, allowing for early pruning of unqualified rows during a database scan operation.Type: ApplicationFiled: September 7, 2022Publication date: March 7, 2024Inventors: Xiaobin Ma, Xun Cheng
-
Publication number: 20230401209Abstract: Aspects of the disclosure are directed to generating a hybrid query execution plan for executing queries on database systems implementing a columnar cache. A hybrid query execution plan combines a query execution plan for querying and retrieving data from a columnar cache and a base table. A columnar cache stores cached data in column-major format, which is logically represented by the database management system in row-major format. A database management system as described herein can scan valid blocks of column data according to a column scan operation. The system can identify invalidated blocks and execute a different sub-execution plan of the hybrid query execution plan to scan corresponding rows in tables corresponding to the location of data for the invalidated blocks.Type: ApplicationFiled: August 24, 2023Publication date: December 14, 2023Inventors: Xiaobin Ma, Xun Cheng, Viral Shah, Anjan Kumar Amirishetty
-
Publication number: 20230367751Abstract: Aspects of the disclosure provide for natively executing row-store expression data structures on column-store databases without rewriting. A database management system (DBMS) configured as described herein can maintain a mapping of row-store results to addresses of where corresponding column data is stored. When executing operators, such as logical operators, comparison operators, and/or function operators of a received query expression, the DBMS can operate on the column data, rather than the individual rows. The DBMS can store the results generated by executing the column operators, for example on a stack, and record the row-store addresses to which the stored results correspond. The DBMS responds with a number of rows corresponding to the processed column data.Type: ApplicationFiled: February 10, 2023Publication date: November 16, 2023Inventors: Viral Shah, Xun Cheng, Xiaobin Ma, Haoyu Huang, Anjan Kumar Amirishetty
-
Patent number: 11782921Abstract: Aspects of the disclosure are directed to generating a hybrid query execution plan for executing queries on database systems implementing a columnar cache. A hybrid query execution plan combines a query execution plan for querying and retrieving data from a columnar cache and a base table. A columnar cache stores cached data in column-major format, which is logically represented by the database management system in row-major format. A database management system as described herein can scan valid blocks of column data according to a column scan operation. The system can identify invalidated blocks and execute a different sub-execution plan of the hybrid query execution plan to scan corresponding rows in tables corresponding to the location of data for the invalidated blocks.Type: GrantFiled: November 8, 2021Date of Patent: October 10, 2023Assignee: Google LLCInventors: Xiaobin Ma, Xun Cheng, Viral Shah, Anjan Kumar Amirishetty
-
Publication number: 20230141902Abstract: Aspects of the disclosure are directed to generating a hybrid query execution plan for executing queries on database systems implementing a columnar cache. A hybrid query execution plan combines a query execution plan for querying and retrieving data from a columnar cache and a base table. A columnar cache stores cached data in column-major format, which is logically represented by the database management system in row-major format. A database management system as described herein can scan valid blocks of column data according to a column scan operation. The system can identify invalidated blocks and execute a different sub-execution plan of the hybrid query execution plan to scan corresponding rows in tables corresponding to the location of data for the invalidated blocks.Type: ApplicationFiled: November 8, 2021Publication date: May 11, 2023Inventors: Xiaobin Ma, Xun Cheng, Viral Shah, Anjan Kumar Amirishetty
-
Publication number: 20230141190Abstract: Aspects of the disclosure are directed to late materialization of attributes in response to queries to a database implementing a database cache. Queried data is materialized in temporary memory before the data is projected as part of generating a result to the query. Instead of materializing all of the attributes referenced in a query before executing the query, a database management system materializes attributes as “late” as possible—when the operation needing the attributes is executed. The operation needing the attributes can be performed sooner, as opposed to materializing all referenced attributes are materialized before executing the query.Type: ApplicationFiled: November 9, 2021Publication date: May 11, 2023Inventors: Xiaobin Ma, Xun Cheng, Viral Shah, Anjan Kumar Amirishetty
-
Patent number: 11341132Abstract: An original query execution plan of a database query is received. The original query execution plan represents a tree of operators. Source code for the original query execution plan is generated by a single traversal of the tree of operators. The generated source code is compiled into native machine code. The native machine code represents a simplified native access plan (SNAP).Type: GrantFiled: September 1, 2015Date of Patent: May 24, 2022Assignee: SYBASE, INC.Inventors: Xiaobin Ma, Xun Cheng, Prabhas Kumar Samanta
-
Patent number: 10664475Abstract: Disclosed herein are system, method, and computer program product embodiments for generating a native access plan for semi join operators. An embodiment operates by generating a plurality of variables based upon the positions of a plurality of operators in a compiled query plan, opening and traversing tables as the query plan is executed, and closing those tables based on the rows queried and the plurality of variables.Type: GrantFiled: December 18, 2015Date of Patent: May 26, 2020Assignee: SYBASE, INC.Inventors: Xiaobin Ma, Xun Cheng
-
Patent number: 10628492Abstract: The disclosed embodiments provide a system for processing queries of a graph database. During operation, the system executes a set of processes for maintaining the graph database storing a graph, wherein the graph includes a set of nodes, a set of edges between pairs of nodes in the set of nodes, and a set of predicates. When a write query of the graph database is received, the system uses one or more of the processes to process the write query by using a schema of the graph database to validate the write query. Next, the system transmits the validated write query to a set of shards containing the graph database. Finally, the system processes the write query at each shard when a shard identifier representing the shard is matched to one or more attributes in the write query.Type: GrantFiled: July 20, 2017Date of Patent: April 21, 2020Assignee: Microsoft Technology Licensing, LLCInventors: Xiaobin Ma, Scott M. Meyer, Andrew Rodriguez, Walaa Eldin M. Moustafa
-
Patent number: 10503481Abstract: Disclosed herein are system, method, and computer program product embodiments for generating a native access plan from a query execution plan for dynamic entity calling. An embodiment operates by receiving the query execution plan comprising at least one call to an entity, the entity being implemented by a plurality of classes, and generating source code of a native access plan that implements the query execution plan. The source code of the native access plan includes instructions to translate a run-time call to the entity to a call to a corresponding implementation of the entity based on an identifier of the called implementation of the entity.Type: GrantFiled: December 16, 2015Date of Patent: December 10, 2019Assignee: Sybase, Inc.Inventors: Xiaobin Ma, Xun Cheng
-
Publication number: 20190026334Abstract: The disclosed embodiments provide a system for processing queries of a graph database. During operation, the system executes a set of processes for maintaining the graph database storing a graph, wherein the graph includes a set of nodes, a set of edges between pairs of nodes in the set of nodes, and a set of predicates. When a write query of the graph database is received, the system uses one or more of the processes to process the write query by using a schema of the graph database to validate the write query. Next, the system transmits the validated write query to a set of shards containing the graph database. Finally, the system processes the write query at each shard when a shard identifier representing the shard is matched to one or more attributes in the write query.Type: ApplicationFiled: July 20, 2017Publication date: January 24, 2019Applicant: LinkedIn CorporationInventors: Xiaobin Ma, Scott M. Meyer, Andrew Rodriguez, Walaa Eldin M. Moustafa
-
Patent number: 10133777Abstract: Disclosed herein are system, method, and computer program product embodiments for eliminating redundancy when generating intermediate representation code. An embodiment operates by traversing a query execution plan, and for at least one operator in the query execution plan, determining whether the operator is derived from a parent class operator. If it is determined that the operator is derived from the parent class operator, source code for the native access plan is generated using one or more code generator functions corresponding to the parent class operator and/or one or more generator functions specifically corresponding to the child class operator. If it is determined that the operator is not derived from the parent class operator, source code for the native access plan is generated using one or more code generator functions corresponding to the operator.Type: GrantFiled: December 16, 2015Date of Patent: November 20, 2018Assignee: SYBASE, INC.Inventors: Xiaobin Ma, Xun Cheng
-
Patent number: 9977804Abstract: A method can include receiving a request to execute a database command identifying a target table; identifying a plurality of rows to insert into the target table based in part on the database command; writing rows, from the plurality of rows, into a data page until the data page is full; determining, by an index thread manager, a number of threads to use for updating indexes defined for the target table; and upon determining the data page is full, updating, in parallel, the indexes defined for the target table using the number of threads.Type: GrantFiled: June 1, 2017Date of Patent: May 22, 2018Assignee: SYBASE, INC.Inventors: Srinivasan Mottupalli, Xiaobin Ma, Peter Schneider
-
Patent number: 9778918Abstract: Various embodiments of systems and methods to generate native access plan source code are described herein. In one aspect, a database query is received. A query execution plan, including a parent operator and one or more descendent operators, corresponding to the database query is retrieved. Further, a check is made to determine whether the parent operator and the one or more descendent operators include at least one loop. When both the parent operator and the one or more descendent operators include at least one loop, consume points for the at least one loop are defined. The parent operator and the one or more descendent operators are merged based on consume point types to generate native access plan source code.Type: GrantFiled: September 1, 2015Date of Patent: October 3, 2017Assignee: SYBASE, INC.Inventors: Xiaobin Ma, Xun Cheng, Prabhas Kumar Samanta
-
Publication number: 20170270145Abstract: A method can include receiving a request to execute a database command identifying a target table; identifying a plurality of rows to insert into the target table based in part on the database command; writing rows, from the plurality of rows, into a data page until the data page is full; determining, by an index thread manager, a number of threads to use for updating indexes defined for the target table; and upon determining the data page is full, updating, in parallel, the indexes defined for the target table using the number of threads.Type: ApplicationFiled: June 1, 2017Publication date: September 21, 2017Inventors: Srinivasan Mottupalli, Xiaobin Ma, Peter Schneider