It is provided a method and system for supporting imperative graphic queries on a relational database, the method comprising: parsing an imperative graphic query into operations of execution plans; translating operations of execution plans which are supported by the relational database into common table expression queries; and executing the translated common table expression queries on the relational database.
|
1. A method for supporting imperative graphic queries on a relational database, comprising:
parsing an imperative graphic query into operations of execution plans;
translating operations of execution plans which are supported by the relational database into common table expression queries;
executing the translated common table expression queries on the relational database;
building a query tree based on the relational database according to translated queries; and
reconstructing the query tree to reduce a total estimated cost according to estimated cost for each node of the query tree,
wherein the query tree is a left deep join tree,
each connection father node having two child nodes in the left deep join tree indicates a connection operation between two relational data sets,
each non-connection father node having only one child node and this child node indicate a selection or projection operation for one relational data set, respective nodes of the left deep join tree are numbered in post order traversal, and a leftmost child node has a least number, and
wherein the step of reconstructing the query tree to reduce the total estimated cost according to estimated cost for each node of the query tree includes:
a process on each connection father node sequentially in a number order with the connection father node with the least number as a start, wherein the process on one connection father node includes:
estimating the cost for two child trees connected with the connection father node and the cost for obtaining the connection father node by connecting the two child trees; and
determining whether a left child tree and a right child tree are exchangeable by: estimating the cost for the connection father node after exchanging the left and right child trees; and if the cost after exchanging the left and right child trees is reduced, then exchanging the left and right child trees to rewrite a connection order of the connection father node.
10. A system for supporting imperative graphic queries on a relational database, comprising:
means configured to parse an imperative graphic query into operations of execution plans;
means configured to translate operations of execution plans which are supported by the relational database into common table expression queries;
means configured to execute the translated common table expression queries on the relational database;
means configured to build a query tree based on the relational database according to translated queries; and
means configured to reconstruct the query tree to reduce a total estimated cost according to estimated cost for each node of the query tree, wherein the query tree is a left deep join tree, each connection father node having two child nodes in the left deep join tree indicates a connection operation between two relational data sets, each non-connection father node having only one child node and this child node indicates a selection or projection operation for one relational data set, respective nodes of the left deep join tree are numbered in post order traversal, and a leftmost child node has a least number,
wherein the means configured to reconstruct the query tree to reduce the total estimated cost according to estimated cost for each node of the query tree is configured to:
carry out a process on each connection father node sequentially in a number order with the connection father node with the least number as a start, wherein the process on one connection father node includes:
estimating the cost for two child trees connected with the connection father node and the cost for obtaining the connection father node by connecting the two child trees; and
determining whether a left child tree and a right child tree are exchangeable by: estimating the cost for the connection father node after exchanging the left and right child trees; and if the cost after exchanging the left and right child trees is reduced, then exchanging the left and right child trees to rewrite a connection order of the connection father node.
2. The method according to
translating operations of execution plans which are not supported by the relational database into user-defined function queries; and
executing translated user-defined function queries on the relational database.
3. The method according to
translating particular queries among the translated user-defined function queries into common table expression queries.
4. The method according to
translating particular queries among the translated user-defined function queries into stored procedure queries.
5. The method according to
translating operations of execution plans which are not supported by the relational database into stored procedure queries; and
executing translated stored procedure queries on the relational database.
6. The method according to
translating particular queries among the translated common table expression queries into stored procedure queries.
7. The method according to
in response to duplicate common table expression queries existing in the translated common table expression queries, combining the duplicate common table expression queries.
8. The method according to
9. The method according to
11. The system according to
means configured to translate operations of execution plans which are not supported by the relational database into user-defined function queries; and
means configured to execute translated user-defined function queries on the relational database.
12. The system according to
means configured to further translate particular queries among the translated user-defined function queries into common table expression queries.
13. The system according to
means configured to further translate particular queries among the translated user-defined function queries into stored procedure queries.
14. The system according to
means configured to translate operations of execution plans which are not supported by the relational database into stored procedure queries; and
means configured to execute translated stored procedure queries on the relational database.
15. The system according to
means configured to further translate particular queries among the translated common table expression queries into stored procedure queries.
16. The system according to
means configured to in response to duplicate common table expression queries existing in the translated common table expression queries, combine the duplicate common table expression queries.
|
This application claims priority to Chinese Patent Application No. 201410294924.7, filed Jun. 25, 2014, which is incorporated herein in its entirety.
The present disclosure relates to a database technology, and more particularly, to a method and system for supporting imperative graphic queries on a relational database.
With increasing demands for storing and querying graphic structural data, graphic database and graphic query language are developed increasingly, some of which are already widely applied in industry, especially a graphic database of so called Not Only Structured Query Language (NoSQL) family, such as Neo4J™ (Owned by Neo Technology), Infinite Graph® (Owned by Objectivity Inc.), DEX® (Owned by Sparsity Technologies), InfoGrid, and HyperGraphDB. There are two basic graphic query languages in the graphic database: imperative queries (such as Gremlin language, and JRuby language and so on) and declarative queries (such as Cypher, Simple Protocol and RDF Query Language (SPARQL), simple protocol and RDF query language and so on).
The relational database is based on a relational model on a basis of two-dimensional table structure, which has been widely used for a very long time, and developed very well. The current mainstream relational databases may include ORACLE® (Owned by Oracle International Corporation), DB2® (Owned by International Business Machines Corporation), SQLSERVER, SYBASE® (Owned by Sybase Inc.), MYSQL, and so on. However, how to utilize the relational database to efficiently manage and inquiry graphic data, especially how to support imperative queries of graphic database on the relational database, is still an unsolved problem.
Traditional technology only integrates declarative queries (for example Structured Query Language (SQL)) into imperative queries (for example, Java Data Base Connectivity (JDBC)), or only supports declarative queries (for example Cypher, SPARQL and so on). The former method normally causes converting one graphic query into too many primitive queries (for example, JAVA® (Owned by Oracle America, Inc.) codes with JDBC), which greatly degrades query performance. The latter method also causes an inferior expression.
Thus, a technology for supporting imperative graphic queries on a relational database is needed.
According to an aspect of the present disclosure, it is provided a method for supporting imperative graphic queries on a relational database, comprising: parsing an imperative graphic query into operations of execution plans; translating operations of execution plans which are supported by the relational database into common table expression queries; and executing the translated common table expression queries on the relational database.
According to another aspect of the present disclosure, it is provided a system for supporting imperative graphic queries on a relational database, comprising: means configured to parse an imperative graphic query into operations of execution plans; means configured to translate operations of execution plans which are supported by the relational database into common table expression queries; and means configured to execute the translated common table expression queries on the relational database.
Through the more detailed description of some embodiments of the present disclosure in the accompanying drawings, the above and other objects, features and advantages of the present disclosure will become more apparent, wherein the same reference generally refers to the same components in the embodiments of the present disclosure.
Preferred embodiments of the present disclosure are described in details with reference to drawings. Although the drawings show the preferred embodiments of the present disclosure, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, those embodiments are provided for the thorough and complete understanding of the present disclosure, and completely conveying the scope of the present disclosure to those skilled in the art.
As shown in
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer system/server 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system/server 12, and it includes both volatile and non-volatile media, removable and non-removable media.
System memory 28 can include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32. Computer system/server 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, storage system 34 can be provided for reading from and writing to a non-removable, non-volatile magnetic media (not shown and typically called a “hard drive”). Although not shown in
Program/utility 40, having a set (at least one) of program modules 42, may be stored in memory 28 by way of example, and not limitation, as well as an operating system, one or more application programs, other program modules, and program data. Program modules 42 generally carry out the functions and/or methodologies of embodiments of the invention as described herein.
Computer system/server 12 may also communicate with one or more external devices 14 such as a keyboard, a pointing device, a display 24, etc.; one or more devices that enable a user to interact with computer system/server 12; and/or any devices (e.g., network card, modem, etc.) that enable computer system/server 12 to communicate with one or more other computing devices. Such communication can occur via Input/Output (I/O) interfaces 22. Still yet, computer system/server 12 can communicate with one or more networks such as a local area network (LAN), a general wide area network (WAN), and/or a public network (e.g., the Internet) via network adapter 20. As depicted, network adapter 20 communicates with the other components of computer system/server 12 via bus 18. It should be understood that although not shown, other hardware and/or software components could be used in conjunction with computer system/server 12, including, but are not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.
Now refer to
The method 200 for supporting imperative graphic queries on a relational database as shown in
As such, compared to traditionally breaking down directly an imperative graphic query into a number of primitive operations which can be executed on a relational database, this embodiment translates the imperative graphic query which is supported by the graphic database by utilizing common table expressions (CTEs) which can be executed on the relational database, so that it is possible to use the imperative graphic query which is supported by the graphic database on the relational database to perform query with substantially same function and to obtain a substantially same execution result, and meanwhile, the number of codes of the translated CTE is less than that of the primitive operations which are traditionally broken down (because one CTE can probably implement functions of a plurality of primitive operations), so the running speed for the queries can be faster.
As shown in
As such, in the case that the operations of execution plans parsed from the imperative graphic query cannot be directly supported by existing functions and query languages of the relational database, it is possible to use the UDF and/or SP which are also supported by the relational database to translate the operations of the execution plans, so that almost all the imperative graphic queries which are supported by the graphic database can be completely translated into query sentences supported by the relational database, while the number of the translated query sentences (including for example CTE, UDF, and/or SP sentences) is reduced and the running speed for the queries is faster.
In an embodiment, the method 200 may further include: further translating particular queries among the translated user-defined function queries into common table expression queries. Some UDF queries can be further translated into CTE queries, so that the running speed for the queries can be much faster.
In an embodiment, the method 200 may further include: further translating particular queries among the translated common table expression queries into stored procedure queries. In an embodiment, the method 204 may further include: further translating particular queries among the translated user-defined function queries into common table expression queries. As such, some UDF queries and/or CTE queries can be further translated into SP queries, so that the running speed for the queries can be much faster.
In the method 200 and the method 300 as shown in
For example, there is a CTE query of querying one table to find A, while there is another CTE query of querying the same table to find B, then, the two CTE can be considered as being duplicate, and they can be combined to form one CTE query, that is, to query the table to find A and B one time.
In this embodiment, the duplicate CTE queries can be combined to reduce the number of the translated query sentences, so as to make the running speed for the queries much faster.
In an embodiment, the method 200 or 300 as shown in
In an embodiment, the query tree is a Left deep join tree, each connection father node having two child nodes in the left deep join tree indicates a connection operation between two relational data sets, each non-connection father node having only one child node and this child node indicate a selection or projection operation for one relational data set, the respective nodes of the left deep join tree are numbered in post order traversal, and the leftmost child node has the least number. The building of the query tree is a common technology in the present field, and constructing the query tree by a left deep join tree can relatively intuitively reflect the procedure of the queries.
In an embodiment, the step of according to estimated cost for each node of the query tree, reconstructing the query tree to reduce the total estimated cost may include: rewriting the connection order of the query tree to minimize the entire estimated cost. In particular, in another embodiment, a process is carried out on each connection father node sequentially in the number order with the connection father node with the least number as a start, wherein the process on one connection father node includes: estimating the cost for two child trees connected with the connection father node and the cost for obtaining the connection father node by connecting the two child trees; and determining whether the left child tree and the right child tree are exchangeable by: estimating the cost for the connection father node after exchanging the left and right child trees; and if the cost after exchanging the left and right child trees is reduced, then exchanging the left and right child trees to rewrite the connection order of the connection father node.
For example, if the two child trees connected with the connection father node represent scanning a table of all the people's identities (IDs) and scanning a table of names corresponding to IDs of all the people, all the animals, movies and so on respectively (in which the number of the items named Bob is 900, the number of the items named Bill is 800, and so on), and the costs for the two child trees are 80K (a total of 80K people) and 900 (900 items named Bob), respectively, and the cost of connecting the two child trees to query a person named Bob to get the connection father node is 80K (because, all the 80K people should be traversed to inquiry the person named Bob); however, if the two child trees are exchanged, i.e., to query which of all the items named Bob are people, and the cost for the query is reduced to 900, because only 900 items named Bob should be traversed to find whether they are people, and thus, after exchanging the two child trees, the cost for the query is reduced, so the two child trees can be exchanged, to rewrite the connection order of the connection father node.
In this embodiment the query tree constructed by the translated CTE, UDF and/or SP query sentences can be optimized to further optimize the translated CTE, UDF and/or SP query sentences, so that the entire query cost required for executing all the queries can be least (or at least less), so as to reduce the costs such as the time spent on performing these queries on the relational database as much as possible.
Normally, in the above examples, the estimated cost for each node may be the number of each data set obtained based on the statistics on the relational database. Of course, the estimated cost is not limited to this, and it may be other types of statistic data, such as time for the queries.
In an embodiment, the operations of the execution plans supported by the relational database may include one or more of: graph traversal operation and transformation, filtering, and branching operations of the graph traversal operation; and the operations of the execution plans not supported by the relational database include one or more of: path operation, cycle operation, recursive operation, and addition, deletion and alteration operations on graphic data.
In an embodiment, the imperative graphic query may be a typical Gremlin query.
As such, with the respective embodiments, it is possible to use the imperative graphic queries supported by the graphic database on the relational database to perform the query with a substantially same function and to obtain a substantially same execution result without directly breaking down the operations of the execution plans into a series of primitive operations of the relational database, and meanwhile, the running speed for the queries can be faster.
The system 400 for supporting imperative graphic queries on a relational database as shown in
As such, compared to traditionally breaking down directly an imperative graphic query into a number of primitive operations which can be executed on a relational database, this embodiment translates the imperative graphic query which is supported by the graphic database by utilizing common table expressions (CTEs) which can be executed on the relational database, so that it is possible to use the imperative graphic query which is supported by the graphic database on the relational database to realize the substantially same execution plans, and meanwhile, the number of codes of the translated CTE is less than that of the primitive operations which are traditionally broken down (because one CTE can probably implement functions of a plurality of primitive operations), so the running speed for the query can be faster.
In an embodiment, the system 400 may further include: means configured to translate operations of execution plans which are not supported by the relational database into user-defined function queries; and means configured to execute the translated user-defined function queries on the relational database.
In an embodiment, the system 400 may further include: means configured to translate operations of execution plans which are not supported by the relational database into stored procedure queries; and means configured to execute the translated stored procedure queries on the relational database.
As such, in the case that the operations of execution plans parsed from the imperative graphic query cannot be directly supported by existing functions of the relational database, it is possible to use the UDF and/or SP which are also supported by the relational database to translate the operations of the execution plans, so that almost all the imperative graphic queries which are supported by the graphic database can be completely translated into query sentences supported by the relational database, while the number of the translated query sentences (including for example CTE, UDF, and/or SP sentences) is reduced and the running speed for the query is faster.
In an embodiment, the system 400 may further include: means configured to further translate particular queries among the translated user-defined function queries into common table expression queries. Some UDF queries can be further translated into CTE queries, so that the running speed for the query can be much faster.
In an embodiment, the system 400 may further include: means configured to further translate particular queries among the translated common table expression queries into stored procedure queries. In an embodiment, the system 400 may further include: means configured to further translate particular queries among the translated user-defined function queries into stored procedure queries. As such, some UDF queries or CTE queries can be further translated into SP queries, so that the running speed for the query can be much faster.
In an embodiment, the system 400 may further include means configured to in response to duplicate common table expression queries existing in the translated common table expression queries, combine the duplicate common table expression queries.
In this embodiment, the duplicate CTE queries can be combined to reduce the number of the translated query sentences, so as to make the running speed for the queries much faster.
In an embodiment, the system 400 may further include: means configured to, based on the relational database, according to the translated queries, build a query tree; and means configured to, according to estimated cost for each node of the query tree, reconstruct the query tree to reduce the total estimated cost.
The query tree is a Left deep join tree, each connection father node having two child nodes in the left deep join tree indicates a connection operation between two relational data sets, each non-connection father node having only one child node and this child node indicate a selection or projection operation for one relational data set, the respective nodes of the left deep join tree are numbered in post order traversal, and the leftmost child node has the least number, The building of the query tree is a common technology in the present field, and constructing the query tree by a left deep join tree can relatively intuitively reflect the procedure for the queries.
In an embodiment, the means configured to reconstruct the query tree can be configured to rewrite the connection order of the query tree to reduce the entire estimated cost. In particular, in another embodiment, the means configured to reconstruct the query tree can be configured to carry out a process on each connection father node sequentially in the number order with the connection father node with the least number as a start, wherein the process on one connection father node includes: estimating the cost for two child trees connected with the connection father node and the cost for obtaining the connection father node by connecting the two child trees; and determining whether the left child tree and the right child tree are exchangeable by: estimating the cost for the connection father node after exchanging the left and right child trees; and if the cost after exchanging the left and right child trees is reduced, then exchanging the left and right child trees to rewrite the connection order of the connection father node.
In this embodiment, the query tree constructed by the translated CTE, UDF and/or SP query sentences can be optimized to further optimize the translated CTE, UDF and/or SP query sentences, so that the entire query cost required for executing all the queries can be least (or at least less), so as to reduce the costs such as the time spent on performing these queries on the relational database as much as possible.
Normally, in the above examples, the estimated cost for each node may be the number of each data set obtained based on the statistics on the relational database. Of course, the estimated cost is not limited to this, and it may be other types of statistic data, such as time for the queries.
In an embodiment, the operations of the execution plans supported by the relational database may include one or more of: graph traversal operation and transformation, filtering, and branching operations of the graph traversal operation; and the operations of the execution plans not supported by the relational database include one or more of: path operation, cycle operation, recursive operation, and addition, deletion and alteration operations on graphic data.
In an embodiment, the imperative graphic query may be a typical Gremlin query.
As such, with the respective embodiments, it is possible to use the imperative graphic queries supported by the graphic database on the relational database to realize the substantially same execution plans without directly breaking down the operations of the execution plans into a series of primitive operations of the relational database, and meanwhile, the running speed for the queries can be faster.
As shown in
The operations of execution plans supported by the relational database which are translated as CTE may include graphical traversal operations, such as InPipe, OutPipe, PropertyFilterPipe and so on, and conversion, filtering and branch operations and so on during the graphical traversal operations, while the operations of execution plans not supported by the relational database which are translated as UDF may include for example, path process and so on, and the operations of particular execution plans which are translated as SP may include for example recursive operation, cyclic operation, operations of addition, deletion or altering graphical data and so on.
As seen from the illustrative data flow arrows as shown in
To be noted that, the order indicated by the arrows as shown in
As shown in
After going through the Gremlin parser 501 as shown in
StartPipe→PropertyFilterPipe→InPipe→PropertyFilterPipe→OutPipe→StorePipe→InPipe→CyclicFilterPipe.
As shown in
As such, pipelines of StartPipe, PropertyFilterPipe, InPipe, PropertyFilterPipe, OutPipe, StorePipe and InPipe are not translated into UDF, only the pipeline of CyclicFilterPipe is translated into the function UDF_ISSIMPATH(p) as shown in
Of course, if the operations of execution plans parsed by the Gremlin parser 501 do not include operations of execution plans not supported by the relational database, i.e., only include operations of execution plans supported by the relational database, the step of UDF translating by the UDF translator 504 can be omitted.
With reference to
For reversible operations (such as InPipe and OutPipe and reciprocally reversible operations), the CTE translator may generate reversed SQL segments, and a plurality of SQL segments can be combined as one CTE query. The second row of the CTE function as shown in
In some cases, the CTE translator 503 may further translate some UDF queries translated by the UDF translator 504 into CTE queries. For example, the CTE function σUDF_ISSIMPATH=true as shown in
In addition, in some cases, the SP translator 505 can also further translate some UDF queries translated by the UDF translator 504 and/or some CTE queries translated by the CTE translator 503 into SP queries. As such, the running speed for the queries can be faster.
Herein, in order to further reduce the number of the translated CTE queries and save time and cost for the CTE queries, the CTE translator 503 can also, in response to duplicate common table expression queries existing in the translated common table expression queries, combine the duplicate common table expression queries into a CTE query.
For example, as shown in
Of course, if there is not operation of execution plans which can be supported by the relational database in the operations of execution plans, the translation from the operations of execution plans to the CTE performed by the CTE translator 503 may be also omitted.
As shown in the lower block of
Of course, in addition to cyclic queries, the SP translator 503 can also translate recursive operations, operations of addition, deletion or altering graphical data and so on into SPs.
Thus, by translating some operations of execution plans into SPs by the SP translator 505, not only such special operations of execution plans can be executed on the relational database, and also the running speed can be further faster due to the SP's feature itself.
As such, by translating the imperative query originally supported by the graphic database into query languages executable by the relational database by the CTE translator 503, the UDF translator 504 and/or the SP translator 505 (one or more of which are determined to be used according to particular content of the operations of execution plans), the imperative graphic language can be well executed on the relational database.
In order to further optimize the query language executable by the relational database, to speed up the speed for the query, it is described below what optimization action is performed on the query language translated by the above CTE translator 503, the UDF translator 504 and/or the SP translator 505, by examples.
First, the query optimizer 506 of the system 500 as shown in
The query tree is a Left deep join tree, each connection father node having two child nodes in the left deep join tree indicates a connection operation between two relational data sets, each non-connection father node having only one child node and this child node indicate a selection or projection operation for one relational data set, the respective nodes of the left deep join tree are numbered in post order traversal, and the leftmost child node has the least number. The building of the query tree is a common technology in the present field, and constructing the query tree by a left deep join tree can relatively intuitively reflect the procedure for the queries.
The query optimizer 506 can perform the optimizing steps as shown in
As such, the total query cost required for executing all the queries can be reduced to the least (or at least less), so as to decrease the cost of the time and so on spent on performing these queries on the relational database as much as possible.
The particular examples of the respective steps as shown in
As shown in
And then the left and right child trees of the other connection father nodes are exchanged, and the cost after the exchanging is estimated to compare to the cost prior to the exchanging, and if such cost can be reduced, the left and right child trees are exchanged, so as to finally obtain the query tree structure with the lowest total cost (or at least the less total cost than the original).
The query executor 507 reconstructs the SQL query sentences on the relational database according to the finally obtained query tree structure with the lowest total cost, thereby executing the reconstructed SQL query sentences on the relational database, so that while the Gremlin query sentences which can only be originally supported by the graphic database can be executed on the relational database, the number of the inquired tables and the number of the items for executing the query sentences can be further reduced and the cost of the time and so on for the queries can be further saved.
Of course, the query tree optimizing step performed by the query optimizer 506 is optional, for further saving the cost of the time and so on for the queries, and is not necessary.
As such, according to the respective embodiments of the present invention, not only the Gremlin query sentences which can only be originally supported by the graphic database are executed on the relational database, but also the cost of the time and so on for the queries can be saved properly to different extents.
Of course, the above particular embodiments are only examples but not limitations, and the person skilled in the art can combine some steps and means in the respectively described embodiments, according to the concept of the present invention, to realize the effect of the present invention, and such embodiments obtained by such combinations are also included in the present invention, and such combinations will not be described one by one.
The present invention may be a system, a method, and/or a computer program product. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the computer program instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program readable instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The descriptions of the various embodiments of the present invention have been presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
Hu, Gang, Mei, Jing, Shen, Weijia, Sun, Wen, Xie, Guo Tong
Patent | Priority | Assignee | Title |
10304007, | Dec 08 2015 | International Business Machines Corporation | Using a plurality of heterogeneous decision engines to produce a single decision |
10762084, | Aug 11 2015 | MICRO FOCUS LLC | Distribute execution of user-defined function |
11216455, | Aug 24 2019 | International Business Machines Corporation | Supporting synergistic and retrofittable graph queries inside a relational database |
11379485, | Dec 08 2020 | SAP SE | Inferred predicates for query optimization |
Patent | Priority | Assignee | Title |
8285708, | Oct 21 2008 | Microsoft Technology Licensing, LLC | Query submission pipeline using LINQ |
8671091, | Aug 02 2006 | MICRO FOCUS LLC | Optimizing snowflake schema queries |
8694561, | Mar 08 2010 | SAP SE | System and method of optimizing performance of schema matching |
20050166181, | |||
20080222087, | |||
20120130988, | |||
20140019490, | |||
20140039952, | |||
20140067781, | |||
20140067793, | |||
20140075161, | |||
20140244687, | |||
20150220597, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
May 20 2015 | HU, GANG | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 035700 | /0579 | |
May 20 2015 | MEI, JING | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 035700 | /0579 | |
May 20 2015 | SHEN, WEIJIA | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 035700 | /0579 | |
May 20 2015 | SUN, WEN | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 035700 | /0579 | |
May 20 2015 | XIE, GUO TONG | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 035700 | /0579 | |
May 22 2015 | International Business Machines Corporation | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Jan 03 2022 | REM: Maintenance Fee Reminder Mailed. |
Jun 20 2022 | EXP: Patent Expired for Failure to Pay Maintenance Fees. |
Date | Maintenance Schedule |
May 15 2021 | 4 years fee payment window open |
Nov 15 2021 | 6 months grace period start (w surcharge) |
May 15 2022 | patent expiry (for year 4) |
May 15 2024 | 2 years to revive unintentionally abandoned end. (for year 4) |
May 15 2025 | 8 years fee payment window open |
Nov 15 2025 | 6 months grace period start (w surcharge) |
May 15 2026 | patent expiry (for year 8) |
May 15 2028 | 2 years to revive unintentionally abandoned end. (for year 8) |
May 15 2029 | 12 years fee payment window open |
Nov 15 2029 | 6 months grace period start (w surcharge) |
May 15 2030 | patent expiry (for year 12) |
May 15 2032 | 2 years to revive unintentionally abandoned end. (for year 12) |