Access-plan-based querying for federated database-management systems

    公开(公告)号:US11354312B2

    公开(公告)日:2022-06-07

    申请号:US16554698

    申请日:2019-08-29

    Abstract: A federated database-management system receives an SQL query or other type of data-access request. The federated system's host DBMS parses, rewrites, and optimizes the request into an optimal data-access plan, then determines which portions of the plan require access to data stored on the federated systems' remote databases. The federated host partitions the plan into subplans that each represent instructions of the original data-access request that were directed to a corresponding remote database of the federated DBMS. Each subplan is then transmitted to its corresponding remote database, which directly executes the subplan and returns results to the host. If necessary, a subplan is translated from an original generic access-plan format into a database-specific format required by its corresponding remote database.

    Processing a federated query via data serialization

    公开(公告)号:US11947560B2

    公开(公告)日:2024-04-02

    申请号:US18080038

    申请日:2022-12-13

    Inventor: Ping Liu Lei Cui

    Abstract: Techniques are described with respect to processing a federated query. An associated computer-implemented method includes compiling a query received from a client computing system to generate a query statement and a query access plan. The query access plan incorporates a modified database access application programming interface (API) that supports data serialization. The method further includes executing the query access plan to transmit the query statement to a remote database system. The method further includes fetching a query result set from the remote database system including serialized binary large object (BLOB) data. The method further includes deserializing the serialized BLOB data of the query result set and populating an in-memory data structure with deserialized query results. In an embodiment, the method further includes transmitting the deserialized query results to the client computing system. In an additional embodiment, the method further includes generating query serialization capabilities for the remote database system.

    Processing a federated query via data serialization

    公开(公告)号:US11550812B2

    公开(公告)日:2023-01-10

    申请号:US17181788

    申请日:2021-02-22

    Inventor: Ping Liu Lei Cui

    Abstract: Techniques are described with respect to processing a federated query. An associated computer-implemented method includes compiling a query received from a client computing system to generate a query statement and a query access plan. The query access plan incorporates a modified database access application programming interface (API) that supports data serialization. The method further includes executing the query access plan to transmit the query statement to a remote database system. The method further includes fetching a query result set from the remote database system including serialized binary large object (BLOB) data. The method further includes deserializing the serialized BLOB data of the query result set and populating an in-memory data structure with deserialized query results. In an embodiment, the method further includes transmitting the deserialized query results to the client computing system. In an additional embodiment, the method further includes generating query serialization capabilities for the remote database system.

    Complex query optimization
    4.
    发明授权

    公开(公告)号:US11243961B2

    公开(公告)日:2022-02-08

    申请号:US16693681

    申请日:2019-11-25

    Abstract: Disclosed is a computer implemented method and related system to improve the efficiency of querying remote databases. The method includes receiving, from a host, a query, wherein the query is configured to retrieve a set of data from a remote database. The method also includes, generating an access plan, the access plan comprising a plurality of nodes wherein each node of the plurality of nodes includes a command. The method further includes determining capabilities of the remote database. The method includes executing the query and returning the set of data to the host.

    COMPLEX QUERY OPTIMIZATION
    5.
    发明申请

    公开(公告)号:US20210157810A1

    公开(公告)日:2021-05-27

    申请号:US16693681

    申请日:2019-11-25

    Abstract: Disclosed is a computer implemented method and related system to improve the efficiency of querying remote databases. The method includes receiving, from a host, a query, wherein the query is configured to retrieve a set of data from a remote database. The method also includes, generating an access plan, the access plan comprising a plurality of nodes wherein each node of the plurality of nodes includes a command. The method further includes determining capabilities of the remote database. The method includes executing the query and returning the set of data to the host.

    PROCESSING A FEDERATED QUERY VIA DATA SERIALIZATION

    公开(公告)号:US20230116692A1

    公开(公告)日:2023-04-13

    申请号:US18080038

    申请日:2022-12-13

    Inventor: Ping Liu Lei Cui

    Abstract: Techniques are described with respect to processing a federated query. An associated computer-implemented method includes compiling a query received from a client computing system to generate a query statement and a query access plan. The query access plan incorporates a modified database access application programming interface (API) that supports data serialization. The method further includes executing the query access plan to transmit the query statement to a remote database system. The method further includes fetching a query result set from the remote database system including serialized binary large object (BLOB) data. The method further includes deserializing the serialized BLOB data of the query result set and populating an in-memory data structure with deserialized query results. In an embodiment, the method further includes transmitting the deserialized query results to the client computing system. In an additional embodiment, the method further includes generating query serialization capabilities for the remote database system.

    PROCESSING A FEDERATED QUERY VIA DATA SERIALIZATION

    公开(公告)号:US20220269691A1

    公开(公告)日:2022-08-25

    申请号:US17181788

    申请日:2021-02-22

    Inventor: Ping Liu Lei Cui

    Abstract: Techniques are described with respect to processing a federated query. An associated computer-implemented method includes compiling a query received from a client computing system to generate a query statement and a query access plan. The query access plan incorporates a modified database access application programming interface (API) that supports data serialization. The method further includes executing the query access plan to transmit the query statement to a remote database system. The method further includes fetching a query result set from the remote database system including serialized binary large object (BLOB) data. The method further includes deserializing the serialized BLOB data of the query result set and populating an in-memory data structure with deserialized query results. In an embodiment, the method further includes transmitting the deserialized query results to the client computing system. In an additional embodiment, the method further includes generating query serialization capabilities for the remote database system.

    ACCESS-PLAN-BASED QUERYING FOR FEDERATED DATABASE-MANAGEMENT SYSTEMS

    公开(公告)号:US20210064618A1

    公开(公告)日:2021-03-04

    申请号:US16554698

    申请日:2019-08-29

    Abstract: A federated database-management system receives an SQL query or other type of data-access request. The federated system's host DBMS parses, rewrites, and optimizes the request into an optimal data-access plan, then determines which portions of the plan require access to data stored on the federated systems' remote databases. The federated host partitions the plan into subplans that each represent instructions of the original data-access request that were directed to a corresponding remote database of the federated DBMS. Each subplan is then transmitted to its corresponding remote database, which directly executes the subplan and returns results to the host. If necessary, a subplan is translated from an original generic access-plan format into a database-specific format required by its corresponding remote database.

Patent Agency Ranking