US20150278303A1 - Dynamic rules to optimize common information model queries - Google Patents
Dynamic rules to optimize common information model queries Download PDFInfo
- Publication number
- US20150278303A1 US20150278303A1 US14/228,336 US201414228336A US2015278303A1 US 20150278303 A1 US20150278303 A1 US 20150278303A1 US 201414228336 A US201414228336 A US 201414228336A US 2015278303 A1 US2015278303 A1 US 2015278303A1
- Authority
- US
- United States
- Prior art keywords
- query
- rules
- program instructions
- cim
- latency
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
- G06F16/24564—Applying rules; Deductive queries
-
- G06F17/30442—
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2228—Indexing structures
- G06F16/2246—Trees, e.g. B+trees
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2453—Query optimisation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2453—Query optimisation
- G06F16/24534—Query rewriting; Transformation
- G06F16/24542—Plan optimisation
-
- G06F17/30864—
Definitions
- the present invention relates generally to the field of Common Information Model (CIM) systems, and more particularly to optimizing CIM query processing.
- CIM Common Information Model
- CIM is an open standard that defines how managed elements in an IT environment are represented as a common set of objects and relationships between them. This is intended to allow consistent management of these managed elements, independent of their manufacturer or provider. CIM allows multiple parties to exchange management information about managed elements and also allows those parties to actively control and manage those elements. By using a common model of information, management software can be written once and work with many implementations of the common model without complex and costly conversion operations or loss of information.
- CIM implementations on different computing platforms that vary in data access and retrieval performance.
- the performance of those queries is often implementation dependent.
- a CIM query used to retrieve a certain CIM object on one computing platform e.g. System p
- another platform e.g. System z
- the CIM query performance is dependent on the number of CIM objects and access paths between those objects in the Common Information Model Object Manager (CIMOM).
- CIMOM Common Information Model Object Manager
- Embodiments of the present invention provide a method, system, and program product for applying rules to queries.
- One or more processors apply one or more first rules to a first query to generate a modified query such that processing of the modified query is improved for a first set of processing conditions.
- One or more processors measure a degree of latency experienced during processing of the modified query under a second set of processing conditions.
- One or more processors generate one or more second rules based, at least in part, on the degree of latency.
- FIG. 1 is a functional block diagram illustrating a Common Information Model (CIM) environment, in accordance with an exemplary embodiment of the present invention.
- CIM Common Information Model
- FIG. 2 illustrates the CIM query optimizer that is configured to function with a proxy computing device, in accordance with an exemplary embodiment of the present invention.
- FIG. 3 illustrates a CIM query optimizer that is configured to function as a plug-in for a CIM server, in accordance with an exemplary embodiment of the present invention.
- FIG. 4 illustrates a CIM query optimizer that is configured to function as a plug-in for a CIM client, in accordance with an exemplary embodiment of the present invention.
- FIG. 5 is a flowchart depicting the operational processes of a query optimization program, on a computing device within the environment of FIG. 1 , in accordance with an exemplary embodiment of the present invention.
- FIG. 6 is a flowchart depicting the operational processes of a dynamic rules program, on a computing device within the environment of FIG. 1 , in accordance with an exemplary embodiment of the present invention.
- FIG. 7 depicts a block diagram of components of a computing device executing a query optimization program and dynamic rules program, in accordance with an exemplary embodiment of the present invention.
- Embodiments of the present invention recognize that CIM queries can be improved by dynamically adapting the CIM request such that a more efficient access path is used.
- Embodiments of the present invention recognize that the following parameters can be used to select the more efficient access path: Common Information Model Object Manager (CIMOM) implementation, platform, size of CIM model, vendor provided access rules, and dynamically created access rules.
- CIMOM Common Information Model Object Manager
- Embodiments of the present invention recognize that dynamically created access rules can be generated based on CIM usage heuristics and measurements.
- FIG. 1 is a functional block diagram illustrating a Common Information Model (CIM) environment, generally designated 100 , in accordance with one embodiment of the present invention.
- CIM environment 100 includes computing device 110 , CIM client computing device 120 and CIM server computing device 130 connected over network 140 .
- Computing device 110 includes query optimization program 111 , dynamic rules program 113 , rules repository 115 , and heuristic database and latency model (HDLM) 117 .
- HDLM heuristic database and latency model
- computing device 110 , CIM client computing device 120 and CIM server computing device 130 respectively are computing devices that can be a standalone device, a server, a laptop computer, a tablet computer, a netbook computer, a personal computer (PC), or a desktop computer.
- computing device 110 , CIM client computing device 120 and CIM server computing device 130 represent a computing system utilizing clustered computers and components to act as a single pool of seamless resources.
- computing device 110 , CIM client computing device 120 and CIM server computing device 130 can be any computing device or a combination of devices with access to query optimization program 111 , dynamic rules program 113 , rules repository 115 , and HDLM 117 , and is capable of executing query optimization program 111 and dynamic rules program 113 .
- Computing device 110 , CIM client computing device 120 and CIM server computing device 130 may respectively include internal and external hardware components, as depicted and described in further detail with respect to FIG. 7 .
- query optimization program 111 dynamic rules program 113 , rules repository 115 , and HDLM 117 are stored on computing device 110 .
- query optimization program 111 dynamic rules program 113 , rules repository 115 , and HDLM 117 may be stored externally and accessed through a communication network, such as network 140 .
- Network 140 can be, for example, a local area network (LAN), a wide area network (WAN) such as the Internet, or a combination of the two, and may include wired, wireless, fiber optic or any other connection known in the art.
- network 140 can be any combination of connections and protocols that will support communications between computing device 110 , CIM client computing device 120 and CIM server computing device 130 , query optimization program 111 , dynamic rules program 113 , rules repository 115 , and HDLM 117 , in accordance with a desired embodiment of the present invention.
- computing device 110 is a proxy computing device that facilitates query processing between CIM client computing device 120 and CIM server computing device 130 .
- query optimization program 111 receives queries from CIM client computing device 120 .
- Query optimization program 111 accesses rules repository 115 and uses those rules to modify the received query to improve the efficiency of the processing of the query.
- rules repository 115 uses those rules to modify the received query to improve the efficiency of the processing of the query.
- query optimization program 111 modifies queries such that the time required to generate a result is reduced, hence improving the efficiency of the processing of the query.
- the use of the words “optimizer” and “optimization” in proper names herein refers to an ability to cause an improvement in CIM processing, which may not be absolutely optimal in all interpretations or embodiments, since there is often a tradeoff for a given improvement.
- query optimization program 111 or “CIM query optimizer” are in reference to programs or program elements that have the ability to cause an improvement in at least one aspect of the processing of CIM queries.
- dynamic rules program 113 accesses rules repository 115 and modifies the rules stored therein using information included as part of HDLM 117 .
- the modified rules are then included as part of rules repository 115 .
- dynamic rules program 113 can generate new rules based, at least in part, on the information included as part of HDLM 117 .
- the generated rules address various attributes and existing elements of the CIM such as CIMOM implementation, platforms included by the CIM, size of the CIM model, and vendor provided access rules.
- rules repository 115 is a set of access rules that are applied during the processing of a CIM query. These rules provide functionality for the processing of CIM queries using many elements included in the CIM (see the discussion of CIM schema below for further details).
- Rules repository 115 includes two types of access rules. The first type of access rules are original rules that are static. The second type of access rules are dynamic rules that can be adapted to conditions experienced during the processing of CIM requests. Dynamic rules are generated by dynamic rules program 113 . Original rules are, usually, created by the developer or vendor of a CIM resource or object. The original rules can include rules that address the CIM Infrastructure Specification, which defines the architecture and concepts of CIM.
- a CIM Infrastructure Specification typically includes a language by which the CIM schema (including any extension schema) is defined, and a method for mapping CIM to other information models, such as Simple Network Management Protocol (SNMP).
- SNMP Simple Network Management Protocol
- the original rules typically include rules that address the CIM schema.
- a CIM schema is a conceptual schema which defines the specific set of objects and relationships between objects that represent a common base for the managed elements in an IT environment.
- the CIM Schema in general, includes the elements in an information technology (IT) environment.
- IT information technology
- An IT environment is the application of computers and telecommunications equipment, for example computer systems, operating systems, networks, middleware, services and storage, to store, retrieve, transmit and manipulate data.
- the CIM schema defines a common basis for representing these managed elements. Since many managed elements have product and vendor specific behavior, the CIM Schema is extensible in order to allow the producers of these elements to represent the respective specific features of those elements together with the common base functionality defined in the CIM Schema.
- HDLM 117 includes data from a heuristic database and a latency model for the CIM.
- a heuristic function or simply a heuristic, is a function that ranks alternatives in search algorithms at each branching step based on available information to decide which branch to follow.
- a heuristic is a function, h(n) defined on the nodes of a search tree, which estimates the cost of the cheapest path from the starting node to the goal node.
- the cost of a path can be in terms of latency of that path or an amount of resources required to use that path.
- Heuristics are used by informed search algorithms, such as greedy best-first search and A*, to choose the best node to explore.
- a greedy best-first search chooses the node that has the lowest value for the heuristic function.
- An A* search expands nodes that have the lowest value for g(n)+h(n), where g(n) is the (exact) cost of the path from the initial state or starting point to the current node. If h(n) is admissible, i.e., if h(n) never overestimates the costs of reaching the goal, then A* will always find an optimal solution.
- the heuristics included in HDLM 117 are configured for ranking pathways to determine a pathway that provides the least latency for processing a CIM query relative to the other ranked pathways.
- a latency model is a model that represents the degree of latency of the various access pathways that can be or have been used to retrieve a result of a CIM query.
- the latency of a given access pathway can be attributed to several factors, such as network congestion, network traffic, distance between computing systems, and computer storage capacities, etc.
- latency is the time taken to process the query, which may include interruptions and delays in the completion of the processing.
- FIGS. 2-4 are block diagrams illustrating possible arrangements of a CIM query optimizer, a CIM client and a CIM server.
- a CIM query optimizer includes some or all of query optimization program 111 , dynamic rules program 113 , rules repository 115 , and HDLM 117 , in accordance with a desired embodiment of the present invention.
- the CIM query optimizer can be, in some embodiments, configured to function with a proxy computing device, such as computing device 110 as shown in FIG. 1 .
- the CIM client can be seen as representing a computing device that generates a CIM query, such as CIM client computing device 120 .
- the CIM server can be seen as representing a query processing computer that generates a result for a CIM query, such as CIM server computing device 130 .
- FIG. 2 illustrates a CIM query optimizer that is configured to function with a proxy computing device.
- CIM query optimizer can intercept queries being issued by the CIM client, and modify those queries using query optimization program 111 , dynamic rules program 113 , rules repository 115 , and HDLM 117 , in accordance with a desired embodiment of the present invention.
- the modified queries are then passed to the CIM server for processing and the result of the query processing is returned to the CIM client.
- Such a configuration may be optimal in a scenario where an existing system includes multiple CIM clients and the network performance can benefit from further optimization.
- Such a configuration also requires little or no modification to the existing CIM client(s) and CIM server(s), which can be useful where backward compatibility issues exist.
- FIG. 3 illustrates a CIM query optimizer that is configured to function as a plug-in for a CIM server.
- the CIM server receives queries from CIM client(s) and passes them to the CIM query optimizer.
- CIM query optimizer modifies those queries using query optimization program 111 , dynamic rules program 113 , rules repository 115 , and HDLM 117 , in accordance with a desired embodiment of the present invention.
- the modified queries are then passed to the CIM server for processing and the result of the query processing is returned to the CIM client.
- FIG. 4 illustrates a CIM query optimizer that is configured to function as a plug-in for a CIM client.
- a CIM query optimizer that is configured to function as a plug-in for a CIM client.
- Such an embodiment may be of benefit when there are new CIM clients.
- access performance can be improved using recently created or updated client-specific rules, as a specific set of dynamically improved rules can be generated.
- the CIM client generate queries and pass them to the CIM query optimizer.
- CIM query optimizer modifies those queries using query optimization program 111 , dynamic rules program 113 , rules repository 115 , and HDLM 117 , in accordance with a desired embodiment of the present invention.
- the modified queries are then passed to the CIM server for processing and the result of the query processing is returned to the CIM client.
- FIG. 5 is a flowchart, 500 , depicting the operational processes of query optimization program 111 , on computing device 110 within the environment of FIG. 1 , in accordance with an exemplary embodiment of the present invention.
- query optimization program 111 receives a requested CIM query. In many instances, such a request is from a client, such as CIM client computing device 120 . In decision process 520 , query optimization program 111 determines whether a rules package exists that can be applied to the CIM query. Query optimization program 111 accesses rules repository 115 and determines whether there are any rules, or sets of rules, that can be applied or should be applied to the CIM query.
- Rules that can be applied or should be applied to the query are rules that are needed to process the query or will optimize the processing of the CIM query. In general, certain rules need to be applied in order to process the query, as such these rules can be and should be applied. However, other rules are optional, i.e., they can be applied but their application is optional, i.e., even though they could be applied, certain situations dictate that they should not be applied. These optional rules are often only applied if their application will optimize the processing of the CIM query. If query optimization program 111 determines that a rules package that can be applied to the requested CIM query does not exist (decision process 520 , no branch), then query optimization program 111 proceeds to process 570 .
- query optimization program 111 determines that a rules package does exist that can be applied to the requested CIM query (decision process 520 , yes branch), then query optimization program 111 proceeds to decision process 530 .
- query optimization program 111 determines whether the rules package has been applied to the requested CIM query, i.e., whether the rules package that should be applied has been applied to the requested CIM query. It should be noted that, in some cases, there may be multiple rules packages that should be applied. In some situations or embodiments, only certain rules packages should be applied. For example, the rules packages are ranked and only the highest ranked rules package that can be applied should be applied. In another example, rules package A includes a rule that conflicts with a rule in rule package B and both rules packages can be applied. In such a case query optimization program 111 would include logic, such as additional rules included in rules repository 115 , to determine which package is to be applied.
- query optimization program 111 compares the query request to a set of one or more rules packages, included in rules repository 115 , to determine whether the rules that can and should be applied have been applied to the requested CIM query. If query optimization program 111 determines that the rules package, which may be more than one rules package, has been applied to the requested CIM query (decision process 530 , yes branch), then then query optimization program 111 proceeds to process 570 . If query optimization program 111 determines that the rules package has not been applied to the requested CIM query (decision process 530 , no branch), then then query optimization program 111 proceeds to process 540 .
- query optimization program 111 retrieves an un-applied rules package with the highest priority from rules repository 115 .
- Query optimization program 111 accesses the heuristics included in HDLM 117 and applies them to determine which un-applied rules package has the highest priority.
- the rules package that has the highest priority is the one which will provide the lowest latency with the best efficiency and will generate the result to the CIM query.
- the generation of a rules package that provides the lowest latency with the best efficiency and will generate the result to the CIM query is explained in further detail in the discussion of FIG. 6 .
- query optimization program 111 modifies the requested CIM query with the retrieved un-applied rules package.
- Query optimization program 111 uses the retrieved rules package to modify the requested CIM query such that the processing of that CIM query is improved, i.e., will be processed as quickly and as efficiently as possible given the processing conditions, e.g., environmental factors that the heuristics are based on.
- query optimization program 111 marks the rules package as applied and then returns to decision process 530 .
- query optimization program 111 sends the CIM query for processing by dynamic rules program 113 and for execution by CIM server computing device 130 .
- the CIM query was not modified, such as in cases in which no rules package exists that can be applied to the requested query (decision process 520 , no branch).
- the CIM query that is executed by a CIM server such as CIM server computing device 130
- the CIM query was modified using the rules included in rules repository 115 . As such, the CIM query that is sent to be executed is not the same as that which was received by query optimization program 111 .
- query optimization program 111 returns the results of the executed query to the client, e.g., CIM server computing device 130 returns the results of the executed query to query optimization program 111 , which passes them to CIM client computing device 120 .
- FIG. 6 is a flowchart, 600 , depicting the operational processes of dynamic rules program 113 , on computing device 110 within the environment of FIG. 1 , in accordance with an exemplary embodiment of the present invention.
- dynamic rules program 113 parses the requested CIM query to identify an initial set of query processes, e.g., operational steps or functions, that will, when executed, yield the result to the query.
- dynamic rules program 113 determines which possible pathways can be used to process the CIM query and generate the result, i.e., the answer to the query, based on the initial set of query processes.
- dynamic rules program 113 analyzes a latency model to identify an optimal pathway. Dynamic rules program 113 accesses and analyzes the latency model(s) included as part of HDLM 117 , and compares them to the possible pathways that can be used to process the CIM query. The analysis identifies the optimal pathway to be used to process the CIM query to generate the result.
- dynamic rules program 113 determines a new set of query processes that follow the optimal path. In other words, dynamic rules program 113 identifies a sequence of query processes that will satisfy the CIM query, as originally submitted, to generate the result and that will follow the optimal pathway to generate that result.
- dynamic rules program 113 passes the new set of query processes to query optimization program 111 for execution by CIM server computer 130 .
- query optimization program 111 passes the new set of query processes that follow the optimal path to a CIM server, e.g., CIM server computing device 130 , which then executes the new set of query processes.
- CIM server e.g., CIM server computing device 130
- dynamic rules program 113 passes the new set of query processes to the CIM server.
- dynamic rules program 113 updates a set of dynamic latency trees and generates new rules based on latencies that are measured during the execution of the new set of query processes.
- the dynamic latency trees are included as part of HDLM 117 and are updated based on the results of the execution of the new set of query processes. This update includes actual, i.e., measured, latencies that were experienced during the execution of the new set of query processes.
- the new rules that are generated by dynamic rules program 113 are included as part of rules repository 115 . The new rules take into account the actual latencies that were experienced during the execution of the new set of query processes. In some cases, this results in the creation of a rule that reinforces a previously existing rule.
- an original rule could specify the use of pathway Y. Based on the actual latency, the new rule specifies the use of pathway Y followed by pathway Z. In other cases, this results in the creation of a rule that contradicts a previously existing rule. For example, an original rule could specify the use of pathway A. Based on the actual latency of pathway A, if the use pathway B will likely result in a lower latency, then the new rule specifies the use of pathway B. In some embodiments, statistical analysis and a variety of thresholds are applied to generate the new rules. This helps ensure that the new rules that are generated have the highest probability of being more efficient, i.e., having the lowest latency.
- FIG. 7 depicts a block diagram of components of computing device 110 executing a query optimization program and a dynamic rules program, in accordance with an exemplary embodiment of the present invention. It is to be noted that FIG. 7 may also depict components of CIM client computing device 120 and CIM server computing device 130 , which, depending on the embodiment, may also be the computing device executing query optimization program 111 , in accordance with exemplary embodiments of the present invention.
- FIG. 7 depicts a block diagram, 700 , of components of computing device 110 , in accordance with an illustrative embodiment of the present invention. It should be appreciated that FIG. 7 provides only an illustration of one implementation and does not imply any limitations with regard to the environments in which different embodiments may be implemented. Many modifications to the depicted environment may be made.
- Computing device 110 includes communications fabric 702 , which provides communications between computer processor(s) 704 , memory 706 , persistent storage 708 , communications unit 710 , and input/output (I/O) interface(s) 712 .
- Communications fabric 702 can be implemented with any architecture designed for passing data and/or control information between processors (such as microprocessors, communications and network processors, etc.), system memory, peripheral devices, and any other hardware components within a system.
- processors such as microprocessors, communications and network processors, etc.
- Communications fabric 702 can be implemented with one or more buses.
- Memory 706 and persistent storage 708 are computer-readable storage media.
- memory 706 includes random access memory (RAM) 714 and cache memory 716 .
- RAM random access memory
- cache memory 716 In general, memory 706 can include any suitable volatile or non-volatile computer-readable storage media.
- persistent storage 708 includes a magnetic hard disk drive.
- persistent storage 708 can include a solid state hard drive, a semiconductor storage device, read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, or any other computer-readable storage media that is capable of storing program instructions or digital information.
- the media used by persistent storage 708 may also be removable.
- a removable hard drive may be used for persistent storage 708 .
- Other examples include optical and magnetic disks, thumb drives, and smart cards that are inserted into a drive for transfer onto another computer-readable storage medium that is also part of persistent storage 708 .
- Communications unit 710 in these examples, provides for communications with other data processing systems or devices, including resources of network 140 .
- communications unit 710 includes one or more network interface cards.
- Communications unit 710 may provide communications through the use of either or both physical and wireless communications links.
- Query optimization program 111 , dynamic rules program 113 , rules repository 115 , and HDLM 117 may be downloaded to persistent storage 708 through communications unit 710 .
- I/O interface(s) 712 allows for input and output of data with other devices that may be connected to computing device 110 .
- I/O interface 712 may provide a connection to external devices 718 such as a keyboard, keypad, a touch screen, and/or some other suitable input device.
- External devices 718 can also include portable computer-readable storage media such as, for example, thumb drives, portable optical or magnetic disks, and memory cards.
- Software and data used to practice embodiments of the present invention, e.g., query optimization program 111 , dynamic rules program 113 , rules repository 115 , and HDLM 117 can be stored on such portable computer-readable storage media and can be loaded onto persistent storage 708 via I/O interface(s) 712 .
- I/O interface(s) 712 also connect to a display 720 .
- Display 720 provides a mechanism to display data to a user and may be, for example, a computer monitor, or a television screen.
- 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.
- RAM random access memory
- ROM read-only memory
- EPROM or Flash memory erasable programmable read-only memory
- SRAM static random access memory
- CD-ROM compact disc read-only memory
- DVD digital versatile disk
- memory stick a floppy disk
- a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon
- a computer readable storage medium 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.
- 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).
- 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.
- 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 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 readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
- each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s).
- the functions noted in the block may occur out of the order noted in the figures.
- 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.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Operations Research (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
- The present invention relates generally to the field of Common Information Model (CIM) systems, and more particularly to optimizing CIM query processing.
- CIM is an open standard that defines how managed elements in an IT environment are represented as a common set of objects and relationships between them. This is intended to allow consistent management of these managed elements, independent of their manufacturer or provider. CIM allows multiple parties to exchange management information about managed elements and also allows those parties to actively control and manage those elements. By using a common model of information, management software can be written once and work with many implementations of the common model without complex and costly conversion operations or loss of information.
- There are a large number of CIM implementations on different computing platforms that vary in data access and retrieval performance. Often, there is more than one CIM query or set of queries available to retrieve a certain set of CIM data. The performance of those queries is often implementation dependent. For example, a CIM query used to retrieve a certain CIM object on one computing platform (e.g. System p) may be less efficient when used for another platform (e.g. System z). Furthermore, the CIM query performance is dependent on the number of CIM objects and access paths between those objects in the Common Information Model Object Manager (CIMOM).
- Embodiments of the present invention provide a method, system, and program product for applying rules to queries. One or more processors apply one or more first rules to a first query to generate a modified query such that processing of the modified query is improved for a first set of processing conditions. One or more processors measure a degree of latency experienced during processing of the modified query under a second set of processing conditions. One or more processors generate one or more second rules based, at least in part, on the degree of latency.
-
FIG. 1 is a functional block diagram illustrating a Common Information Model (CIM) environment, in accordance with an exemplary embodiment of the present invention. -
FIG. 2 illustrates the CIM query optimizer that is configured to function with a proxy computing device, in accordance with an exemplary embodiment of the present invention. -
FIG. 3 illustrates a CIM query optimizer that is configured to function as a plug-in for a CIM server, in accordance with an exemplary embodiment of the present invention. -
FIG. 4 illustrates a CIM query optimizer that is configured to function as a plug-in for a CIM client, in accordance with an exemplary embodiment of the present invention. -
FIG. 5 is a flowchart depicting the operational processes of a query optimization program, on a computing device within the environment ofFIG. 1 , in accordance with an exemplary embodiment of the present invention. -
FIG. 6 is a flowchart depicting the operational processes of a dynamic rules program, on a computing device within the environment ofFIG. 1 , in accordance with an exemplary embodiment of the present invention. -
FIG. 7 depicts a block diagram of components of a computing device executing a query optimization program and dynamic rules program, in accordance with an exemplary embodiment of the present invention. - While there are known solutions to Common Information Model (CIM) queries, they are reliant on a known set of rules that do not change. Rules describe a set of methods to process the query. The inflexibility that results from these static rules can result in significant latency when a query is processed.
- Embodiments of the present invention recognize that CIM queries can be improved by dynamically adapting the CIM request such that a more efficient access path is used. Embodiments of the present invention recognize that the following parameters can be used to select the more efficient access path: Common Information Model Object Manager (CIMOM) implementation, platform, size of CIM model, vendor provided access rules, and dynamically created access rules. Embodiments of the present invention recognize that dynamically created access rules can be generated based on CIM usage heuristics and measurements.
- The present invention will now be described in detail with reference to the Figures.
-
FIG. 1 is a functional block diagram illustrating a Common Information Model (CIM) environment, generally designated 100, in accordance with one embodiment of the present invention. CIMenvironment 100 includescomputing device 110, CIMclient computing device 120 and CIMserver computing device 130 connected overnetwork 140.Computing device 110 includesquery optimization program 111,dynamic rules program 113,rules repository 115, and heuristic database and latency model (HDLM) 117. - In various embodiments of the present invention,
computing device 110, CIMclient computing device 120 and CIMserver computing device 130 respectively are computing devices that can be a standalone device, a server, a laptop computer, a tablet computer, a netbook computer, a personal computer (PC), or a desktop computer. In another embodiment,computing device 110, CIMclient computing device 120 and CIMserver computing device 130 represent a computing system utilizing clustered computers and components to act as a single pool of seamless resources. In general,computing device 110, CIMclient computing device 120 and CIMserver computing device 130 can be any computing device or a combination of devices with access toquery optimization program 111,dynamic rules program 113,rules repository 115, andHDLM 117, and is capable of executingquery optimization program 111 anddynamic rules program 113.Computing device 110, CIMclient computing device 120 and CIMserver computing device 130 may respectively include internal and external hardware components, as depicted and described in further detail with respect toFIG. 7 . - In this embodiment,
query optimization program 111,dynamic rules program 113,rules repository 115, and HDLM 117 are stored oncomputing device 110. However, in other embodiments,query optimization program 111,dynamic rules program 113,rules repository 115, and HDLM 117 may be stored externally and accessed through a communication network, such asnetwork 140.Network 140 can be, for example, a local area network (LAN), a wide area network (WAN) such as the Internet, or a combination of the two, and may include wired, wireless, fiber optic or any other connection known in the art. In general,network 140 can be any combination of connections and protocols that will support communications betweencomputing device 110, CIMclient computing device 120 and CIMserver computing device 130,query optimization program 111,dynamic rules program 113,rules repository 115, and HDLM 117, in accordance with a desired embodiment of the present invention. - In this embodiment,
computing device 110 is a proxy computing device that facilitates query processing between CIMclient computing device 120 and CIMserver computing device 130. - In this embodiment,
query optimization program 111 receives queries from CIMclient computing device 120.Query optimization program 111 accessesrules repository 115 and uses those rules to modify the received query to improve the efficiency of the processing of the query. In general, the more efficiently a query is processed, the faster a result for that query is produced. As such,query optimization program 111 modifies queries such that the time required to generate a result is reduced, hence improving the efficiency of the processing of the query. It is to be understood that the use of the words “optimizer” and “optimization” in proper names herein refers to an ability to cause an improvement in CIM processing, which may not be absolutely optimal in all interpretations or embodiments, since there is often a tradeoff for a given improvement. For example, one parameter is optimized while another parameter is exacerbated. As such the names “query optimization program 111” or “CIM query optimizer” are in reference to programs or program elements that have the ability to cause an improvement in at least one aspect of the processing of CIM queries. - In this embodiment,
dynamic rules program 113accesses rules repository 115 and modifies the rules stored therein using information included as part ofHDLM 117. The modified rules are then included as part ofrules repository 115. Alternatively,dynamic rules program 113 can generate new rules based, at least in part, on the information included as part ofHDLM 117. The generated rules address various attributes and existing elements of the CIM such as CIMOM implementation, platforms included by the CIM, size of the CIM model, and vendor provided access rules. - In this embodiment,
rules repository 115 is a set of access rules that are applied during the processing of a CIM query. These rules provide functionality for the processing of CIM queries using many elements included in the CIM (see the discussion of CIM schema below for further details).Rules repository 115 includes two types of access rules. The first type of access rules are original rules that are static. The second type of access rules are dynamic rules that can be adapted to conditions experienced during the processing of CIM requests. Dynamic rules are generated bydynamic rules program 113. Original rules are, usually, created by the developer or vendor of a CIM resource or object. The original rules can include rules that address the CIM Infrastructure Specification, which defines the architecture and concepts of CIM. A CIM Infrastructure Specification typically includes a language by which the CIM schema (including any extension schema) is defined, and a method for mapping CIM to other information models, such as Simple Network Management Protocol (SNMP). - The original rules typically include rules that address the CIM schema. A CIM schema is a conceptual schema which defines the specific set of objects and relationships between objects that represent a common base for the managed elements in an IT environment. The CIM Schema, in general, includes the elements in an information technology (IT) environment. An IT environment is the application of computers and telecommunications equipment, for example computer systems, operating systems, networks, middleware, services and storage, to store, retrieve, transmit and manipulate data. The CIM schema defines a common basis for representing these managed elements. Since many managed elements have product and vendor specific behavior, the CIM Schema is extensible in order to allow the producers of these elements to represent the respective specific features of those elements together with the common base functionality defined in the CIM Schema.
- In this embodiment,
HDLM 117 includes data from a heuristic database and a latency model for the CIM. A heuristic function, or simply a heuristic, is a function that ranks alternatives in search algorithms at each branching step based on available information to decide which branch to follow. For example, for shortest path problems, a heuristic is a function, h(n) defined on the nodes of a search tree, which estimates the cost of the cheapest path from the starting node to the goal node. In many IT scenarios, the cost of a path can be in terms of latency of that path or an amount of resources required to use that path. Heuristics are used by informed search algorithms, such as greedy best-first search and A*, to choose the best node to explore. A greedy best-first search chooses the node that has the lowest value for the heuristic function. An A* search expands nodes that have the lowest value for g(n)+h(n), where g(n) is the (exact) cost of the path from the initial state or starting point to the current node. If h(n) is admissible, i.e., if h(n) never overestimates the costs of reaching the goal, then A* will always find an optimal solution. In general, the heuristics included inHDLM 117 are configured for ranking pathways to determine a pathway that provides the least latency for processing a CIM query relative to the other ranked pathways. - In this embodiment, a latency model is a model that represents the degree of latency of the various access pathways that can be or have been used to retrieve a result of a CIM query. The latency of a given access pathway can be attributed to several factors, such as network congestion, network traffic, distance between computing systems, and computer storage capacities, etc. In general latency is the time taken to process the query, which may include interruptions and delays in the completion of the processing.
-
FIGS. 2-4 are block diagrams illustrating possible arrangements of a CIM query optimizer, a CIM client and a CIM server. A CIM query optimizer includes some or all ofquery optimization program 111,dynamic rules program 113,rules repository 115, andHDLM 117, in accordance with a desired embodiment of the present invention. The CIM query optimizer can be, in some embodiments, configured to function with a proxy computing device, such ascomputing device 110 as shown inFIG. 1 . The CIM client can be seen as representing a computing device that generates a CIM query, such as CIMclient computing device 120. The CIM server can be seen as representing a query processing computer that generates a result for a CIM query, such as CIMserver computing device 130. -
FIG. 2 illustrates a CIM query optimizer that is configured to function with a proxy computing device. In this configuration the CIM client and the CIM server may be unaware that CIM query optimizer exists. In such an embodiment, CIM query optimizer can intercept queries being issued by the CIM client, and modify those queries usingquery optimization program 111,dynamic rules program 113,rules repository 115, andHDLM 117, in accordance with a desired embodiment of the present invention. The modified queries are then passed to the CIM server for processing and the result of the query processing is returned to the CIM client. Such a configuration may be optimal in a scenario where an existing system includes multiple CIM clients and the network performance can benefit from further optimization. Such a configuration also requires little or no modification to the existing CIM client(s) and CIM server(s), which can be useful where backward compatibility issues exist. -
FIG. 3 illustrates a CIM query optimizer that is configured to function as a plug-in for a CIM server. Such an embodiment may be of benefit when creating new CIM servers, as access performance can be improved. In such embodiments, the CIM server receives queries from CIM client(s) and passes them to the CIM query optimizer. In such an embodiment, CIM query optimizer modifies those queries usingquery optimization program 111,dynamic rules program 113,rules repository 115, andHDLM 117, in accordance with a desired embodiment of the present invention. The modified queries are then passed to the CIM server for processing and the result of the query processing is returned to the CIM client. -
FIG. 4 illustrates a CIM query optimizer that is configured to function as a plug-in for a CIM client. Such an embodiment may be of benefit when there are new CIM clients. In such a scenario, access performance can be improved using recently created or updated client-specific rules, as a specific set of dynamically improved rules can be generated. In such embodiments, the CIM client generate queries and pass them to the CIM query optimizer. In such an embodiment, CIM query optimizer modifies those queries usingquery optimization program 111,dynamic rules program 113,rules repository 115, andHDLM 117, in accordance with a desired embodiment of the present invention. The modified queries are then passed to the CIM server for processing and the result of the query processing is returned to the CIM client. -
FIG. 5 is a flowchart, 500, depicting the operational processes ofquery optimization program 111, oncomputing device 110 within the environment ofFIG. 1 , in accordance with an exemplary embodiment of the present invention. - In
process 510,query optimization program 111 receives a requested CIM query. In many instances, such a request is from a client, such as CIMclient computing device 120. Indecision process 520,query optimization program 111 determines whether a rules package exists that can be applied to the CIM query.Query optimization program 111 accessesrules repository 115 and determines whether there are any rules, or sets of rules, that can be applied or should be applied to the CIM query. - Rules that can be applied or should be applied to the query are rules that are needed to process the query or will optimize the processing of the CIM query. In general, certain rules need to be applied in order to process the query, as such these rules can be and should be applied. However, other rules are optional, i.e., they can be applied but their application is optional, i.e., even though they could be applied, certain situations dictate that they should not be applied. These optional rules are often only applied if their application will optimize the processing of the CIM query. If
query optimization program 111 determines that a rules package that can be applied to the requested CIM query does not exist (decision process 520, no branch), then queryoptimization program 111 proceeds to process 570. In general, if a particular query has not been processed before, then there is a chance that a rules package does not exist for that query. However, after a query is processed,dynamic rules program 113 will have generated a set of rules that can be applied to future instances of that query, or queries that are substantially related to that query, i.e., use some of the same pathways or include a request for some of the same data etc. Ifquery optimization program 111 determines that a rules package does exist that can be applied to the requested CIM query (decision process 520, yes branch), then queryoptimization program 111 proceeds todecision process 530. - In
decision process 530,query optimization program 111 determines whether the rules package has been applied to the requested CIM query, i.e., whether the rules package that should be applied has been applied to the requested CIM query. It should be noted that, in some cases, there may be multiple rules packages that should be applied. In some situations or embodiments, only certain rules packages should be applied. For example, the rules packages are ranked and only the highest ranked rules package that can be applied should be applied. In another example, rules package A includes a rule that conflicts with a rule in rule package B and both rules packages can be applied. In such a casequery optimization program 111 would include logic, such as additional rules included inrules repository 115, to determine which package is to be applied. In general,query optimization program 111 compares the query request to a set of one or more rules packages, included inrules repository 115, to determine whether the rules that can and should be applied have been applied to the requested CIM query. Ifquery optimization program 111 determines that the rules package, which may be more than one rules package, has been applied to the requested CIM query (decision process 530, yes branch), then then queryoptimization program 111 proceeds to process 570. Ifquery optimization program 111 determines that the rules package has not been applied to the requested CIM query (decision process 530, no branch), then then queryoptimization program 111 proceeds to process 540. - In
process 540,query optimization program 111 retrieves an un-applied rules package with the highest priority fromrules repository 115.Query optimization program 111 accesses the heuristics included inHDLM 117 and applies them to determine which un-applied rules package has the highest priority. In general, the rules package that has the highest priority is the one which will provide the lowest latency with the best efficiency and will generate the result to the CIM query. The generation of a rules package that provides the lowest latency with the best efficiency and will generate the result to the CIM query, i.e., the rules that should be applied to the requested CIM query, is explained in further detail in the discussion ofFIG. 6 . - In
process 550,query optimization program 111 modifies the requested CIM query with the retrieved un-applied rules package.Query optimization program 111 uses the retrieved rules package to modify the requested CIM query such that the processing of that CIM query is improved, i.e., will be processed as quickly and as efficiently as possible given the processing conditions, e.g., environmental factors that the heuristics are based on. Inprocess 560,query optimization program 111 marks the rules package as applied and then returns todecision process 530. - In
process 570,query optimization program 111 sends the CIM query for processing bydynamic rules program 113 and for execution by CIMserver computing device 130. In some cases, the CIM query was not modified, such as in cases in which no rules package exists that can be applied to the requested query (decision process 520, no branch). In such a situation, the CIM query that is executed by a CIM server, such as CIMserver computing device 130, can be the same query that was received byquery optimization program 111. In other cases, the CIM query was modified using the rules included inrules repository 115. As such, the CIM query that is sent to be executed is not the same as that which was received byquery optimization program 111. - In
process 580,query optimization program 111 returns the results of the executed query to the client, e.g., CIMserver computing device 130 returns the results of the executed query to queryoptimization program 111, which passes them to CIMclient computing device 120. -
FIG. 6 is a flowchart, 600, depicting the operational processes ofdynamic rules program 113, oncomputing device 110 within the environment ofFIG. 1 , in accordance with an exemplary embodiment of the present invention. - In
process 610,dynamic rules program 113 parses the requested CIM query to identify an initial set of query processes, e.g., operational steps or functions, that will, when executed, yield the result to the query. Inprocess 620,dynamic rules program 113 determines which possible pathways can be used to process the CIM query and generate the result, i.e., the answer to the query, based on the initial set of query processes. - In
process 630,dynamic rules program 113 analyzes a latency model to identify an optimal pathway.Dynamic rules program 113 accesses and analyzes the latency model(s) included as part ofHDLM 117, and compares them to the possible pathways that can be used to process the CIM query. The analysis identifies the optimal pathway to be used to process the CIM query to generate the result. - In
process 640,dynamic rules program 113 determines a new set of query processes that follow the optimal path. In other words,dynamic rules program 113 identifies a sequence of query processes that will satisfy the CIM query, as originally submitted, to generate the result and that will follow the optimal pathway to generate that result. - In
process 650,dynamic rules program 113 passes the new set of query processes to queryoptimization program 111 for execution byCIM server computer 130. In many instances,query optimization program 111 passes the new set of query processes that follow the optimal path to a CIM server, e.g., CIMserver computing device 130, which then executes the new set of query processes. Alternatively,dynamic rules program 113 passes the new set of query processes to the CIM server. - In
process 660,dynamic rules program 113 updates a set of dynamic latency trees and generates new rules based on latencies that are measured during the execution of the new set of query processes. The dynamic latency trees are included as part ofHDLM 117 and are updated based on the results of the execution of the new set of query processes. This update includes actual, i.e., measured, latencies that were experienced during the execution of the new set of query processes. The new rules that are generated bydynamic rules program 113 are included as part ofrules repository 115. The new rules take into account the actual latencies that were experienced during the execution of the new set of query processes. In some cases, this results in the creation of a rule that reinforces a previously existing rule. For example, an original rule could specify the use of pathway Y. Based on the actual latency, the new rule specifies the use of pathway Y followed by pathway Z. In other cases, this results in the creation of a rule that contradicts a previously existing rule. For example, an original rule could specify the use of pathway A. Based on the actual latency of pathway A, if the use pathway B will likely result in a lower latency, then the new rule specifies the use of pathway B. In some embodiments, statistical analysis and a variety of thresholds are applied to generate the new rules. This helps ensure that the new rules that are generated have the highest probability of being more efficient, i.e., having the lowest latency. -
FIG. 7 depicts a block diagram of components ofcomputing device 110 executing a query optimization program and a dynamic rules program, in accordance with an exemplary embodiment of the present invention. It is to be noted thatFIG. 7 may also depict components of CIMclient computing device 120 and CIMserver computing device 130, which, depending on the embodiment, may also be the computing device executingquery optimization program 111, in accordance with exemplary embodiments of the present invention. - In this embodiment,
FIG. 7 depicts a block diagram, 700, of components ofcomputing device 110, in accordance with an illustrative embodiment of the present invention. It should be appreciated thatFIG. 7 provides only an illustration of one implementation and does not imply any limitations with regard to the environments in which different embodiments may be implemented. Many modifications to the depicted environment may be made. -
Computing device 110 includescommunications fabric 702, which provides communications between computer processor(s) 704,memory 706,persistent storage 708,communications unit 710, and input/output (I/O) interface(s) 712.Communications fabric 702 can be implemented with any architecture designed for passing data and/or control information between processors (such as microprocessors, communications and network processors, etc.), system memory, peripheral devices, and any other hardware components within a system. For example,communications fabric 702 can be implemented with one or more buses. -
Memory 706 andpersistent storage 708 are computer-readable storage media. In this embodiment,memory 706 includes random access memory (RAM) 714 andcache memory 716. In general,memory 706 can include any suitable volatile or non-volatile computer-readable storage media. -
Query optimization program 111,dynamic rules program 113,rules repository 115, and heuristic database and latency model (HDLM) 117 are stored inpersistent storage 708 for execution and/or access by one or more of therespective computer processors 704 via one or more memories ofmemory 706. In this embodiment,persistent storage 708 includes a magnetic hard disk drive. Alternatively, or in addition to a magnetic hard disk drive,persistent storage 708 can include a solid state hard drive, a semiconductor storage device, read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, or any other computer-readable storage media that is capable of storing program instructions or digital information. - The media used by
persistent storage 708 may also be removable. For example, a removable hard drive may be used forpersistent storage 708. Other examples include optical and magnetic disks, thumb drives, and smart cards that are inserted into a drive for transfer onto another computer-readable storage medium that is also part ofpersistent storage 708. -
Communications unit 710, in these examples, provides for communications with other data processing systems or devices, including resources ofnetwork 140. In these examples,communications unit 710 includes one or more network interface cards.Communications unit 710 may provide communications through the use of either or both physical and wireless communications links.Query optimization program 111,dynamic rules program 113,rules repository 115, andHDLM 117 may be downloaded topersistent storage 708 throughcommunications unit 710. - I/O interface(s) 712 allows for input and output of data with other devices that may be connected to
computing device 110. For example, I/O interface 712 may provide a connection toexternal devices 718 such as a keyboard, keypad, a touch screen, and/or some other suitable input device.External devices 718 can also include portable computer-readable storage media such as, for example, thumb drives, portable optical or magnetic disks, and memory cards. Software and data used to practice embodiments of the present invention, e.g.,query optimization program 111,dynamic rules program 113,rules repository 115, andHDLM 117, can be stored on such portable computer-readable storage media and can be loaded ontopersistent storage 708 via I/O interface(s) 712. I/O interface(s) 712 also connect to adisplay 720. -
Display 720 provides a mechanism to display data to a user and may be, for example, a computer monitor, or a television screen. - 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 readable 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 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 readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device 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 instructions, 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 carry out combinations of special purpose hardware and computer instructions.
- The programs described herein are identified based upon the application for which they are implemented in a specific embodiment of the invention. However, it should be appreciated that any particular program nomenclature herein is used merely for convenience, and thus the invention should not be limited to use solely in any specific application identified and/or implied by such nomenclature.
- It is to be noted that the term(s) “Smalltalk” and the like may be subject to trademark rights in various jurisdictions throughout the world and are used here only in reference to the products or services properly denominated by the marks to the extent that such trademark rights may exist.
Claims (15)
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US14/228,336 US9535949B2 (en) | 2014-03-28 | 2014-03-28 | Dynamic rules to optimize common information model queries |
| US14/307,772 US9495417B2 (en) | 2014-03-28 | 2014-06-18 | Dynamic rules to optimize common information model queries |
| US15/289,255 US20170024440A1 (en) | 2014-03-28 | 2016-10-10 | Dynamic rules to optimize common information model queries |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US14/228,336 US9535949B2 (en) | 2014-03-28 | 2014-03-28 | Dynamic rules to optimize common information model queries |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US14/307,772 Continuation US9495417B2 (en) | 2014-03-28 | 2014-06-18 | Dynamic rules to optimize common information model queries |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| US20150278303A1 true US20150278303A1 (en) | 2015-10-01 |
| US9535949B2 US9535949B2 (en) | 2017-01-03 |
Family
ID=54190685
Family Applications (3)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US14/228,336 Expired - Fee Related US9535949B2 (en) | 2014-03-28 | 2014-03-28 | Dynamic rules to optimize common information model queries |
| US14/307,772 Expired - Fee Related US9495417B2 (en) | 2014-03-28 | 2014-06-18 | Dynamic rules to optimize common information model queries |
| US15/289,255 Abandoned US20170024440A1 (en) | 2014-03-28 | 2016-10-10 | Dynamic rules to optimize common information model queries |
Family Applications After (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US14/307,772 Expired - Fee Related US9495417B2 (en) | 2014-03-28 | 2014-06-18 | Dynamic rules to optimize common information model queries |
| US15/289,255 Abandoned US20170024440A1 (en) | 2014-03-28 | 2016-10-10 | Dynamic rules to optimize common information model queries |
Country Status (1)
| Country | Link |
|---|---|
| US (3) | US9535949B2 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106598963A (en) * | 2015-10-14 | 2017-04-26 | 五八同城信息技术有限公司 | Method and device for optimizing query statement |
| US10291470B1 (en) * | 2016-07-01 | 2019-05-14 | Juniper Networks, Inc. | Selective storage of network device attributes |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10600090B2 (en) * | 2005-12-30 | 2020-03-24 | Google Llc | Query feature based data structure retrieval of predicted values |
| GB2503223A (en) * | 2012-06-19 | 2013-12-25 | Ibm | Redrafting text strings using a vocabulary |
| US9841740B2 (en) * | 2014-09-09 | 2017-12-12 | Vivint, Inc. | Hybrid rule implementation for an automation system |
| US11349875B2 (en) | 2019-08-21 | 2022-05-31 | International Business Machines Corporation | Dynamic balancing of security rules execution in a database protection system |
| US11249996B2 (en) | 2020-01-03 | 2022-02-15 | International Business Machines Corporation | Query adaptation for a search service in a content management system |
| US11188512B2 (en) | 2020-01-03 | 2021-11-30 | International Business Machines Corporation | Rewriting corpus content in a search index and processing search queries using the rewritten search index |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050193109A1 (en) * | 1998-02-06 | 2005-09-01 | Microsoft Corporation | Object manager for common information model |
| US20090043745A1 (en) * | 2007-08-07 | 2009-02-12 | Eric L Barsness | Query Execution and Optimization with Autonomic Error Recovery from Network Failures in a Parallel Computer System with Multiple Networks |
| US20100030896A1 (en) * | 2008-06-19 | 2010-02-04 | Microsoft Corporation | Estimating latencies for query optimization in distributed stream processing |
Family Cites Families (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4489029B2 (en) | 2006-02-01 | 2010-06-23 | 株式会社東芝 | Structured document search system and structured document search method |
| US7761493B1 (en) | 2006-04-11 | 2010-07-20 | Oracle America, Inc. | Population of sparse information model hierarchies |
| US7937711B2 (en) | 2006-06-30 | 2011-05-03 | Dell Products L.P. | Method and apparatus for providing a consolidated namespace to client applications in multi-tenant common information model (CIM) environments |
| US7966313B2 (en) * | 2008-06-26 | 2011-06-21 | Microsoft Corporation | Configuration-parametric query optimization |
| US8176102B2 (en) | 2008-07-16 | 2012-05-08 | Oracle International Corporation | Techniques for extending and controlling access to a common information model (CIM) |
| US8352459B2 (en) * | 2009-07-23 | 2013-01-08 | International Business Machines Corporation | SQL queries for simple network management protocol management information base tables |
| US8285711B2 (en) | 2009-11-24 | 2012-10-09 | International Business Machines Corporation | Optimizing queries to hierarchically structured data |
| US20120179669A1 (en) * | 2011-01-06 | 2012-07-12 | Al-Omari Awny K | Systems and methods for searching a search space of a query |
| US8930344B2 (en) * | 2011-02-04 | 2015-01-06 | Hewlett-Packard Development Company, L.P. | Systems and methods for holding a query |
| US9053210B2 (en) * | 2012-12-14 | 2015-06-09 | Microsoft Technology Licensing, Llc | Graph query processing using plurality of engines |
| US9870390B2 (en) * | 2014-02-18 | 2018-01-16 | Oracle International Corporation | Selecting from OR-expansion states of a query |
| US20150248462A1 (en) * | 2014-02-28 | 2015-09-03 | Alcatel Lucent | Dynamically improving streaming query performance based on collected measurement data |
-
2014
- 2014-03-28 US US14/228,336 patent/US9535949B2/en not_active Expired - Fee Related
- 2014-06-18 US US14/307,772 patent/US9495417B2/en not_active Expired - Fee Related
-
2016
- 2016-10-10 US US15/289,255 patent/US20170024440A1/en not_active Abandoned
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050193109A1 (en) * | 1998-02-06 | 2005-09-01 | Microsoft Corporation | Object manager for common information model |
| US20090043745A1 (en) * | 2007-08-07 | 2009-02-12 | Eric L Barsness | Query Execution and Optimization with Autonomic Error Recovery from Network Failures in a Parallel Computer System with Multiple Networks |
| US20100030896A1 (en) * | 2008-06-19 | 2010-02-04 | Microsoft Corporation | Estimating latencies for query optimization in distributed stream processing |
Non-Patent Citations (1)
| Title |
|---|
| "Continuous Cloud-Scale Query Optimization and processing", Nicolas et al. copyright 2013, Proceedings of the LDB Endowment, Vol. 6, No. 11 * |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106598963A (en) * | 2015-10-14 | 2017-04-26 | 五八同城信息技术有限公司 | Method and device for optimizing query statement |
| US10291470B1 (en) * | 2016-07-01 | 2019-05-14 | Juniper Networks, Inc. | Selective storage of network device attributes |
Also Published As
| Publication number | Publication date |
|---|---|
| US20150278305A1 (en) | 2015-10-01 |
| US9495417B2 (en) | 2016-11-15 |
| US20170024440A1 (en) | 2017-01-26 |
| US9535949B2 (en) | 2017-01-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9535949B2 (en) | Dynamic rules to optimize common information model queries | |
| US11171845B2 (en) | QoS-optimized selection of a cloud microservices provider | |
| US9851933B2 (en) | Capability-based abstraction of software-defined infrastructure | |
| US11200043B2 (en) | Analyzing software change impact based on machine learning | |
| US10656972B2 (en) | Managing idempotent operations while interacting with a system of record | |
| US10552247B2 (en) | Real-time monitoring alert chaining, root cause analysis, and optimization | |
| JP7684767B2 (en) | Sharing cached class data in containerized environments | |
| US12468517B2 (en) | Software application deployment | |
| US11645111B2 (en) | Managing task flow in edge computing environment | |
| US11334333B1 (en) | Generation of adaptive configuration files to satisfy compliance | |
| US8959229B1 (en) | Intelligently provisioning cloud information services | |
| US11573960B2 (en) | Application-based query transformations | |
| US10558710B2 (en) | Sharing server conversational context between multiple cognitive engines | |
| US11063992B1 (en) | Network-based media processing (NBMP) workflow management through 5G framework for live uplink streaming (FLUS) control | |
| CN114466005B (en) | IoT Device Orchestration | |
| US10778785B2 (en) | Cognitive method for detecting service availability in a cloud environment | |
| EP4392908A1 (en) | Providing a machine learning model based on desired metric values | |
| US11243961B2 (en) | Complex query optimization | |
| US20210311942A1 (en) | Dynamically altering a query access plan | |
| US11727157B2 (en) | Building an encrypted document store | |
| US9716640B2 (en) | Managing isolation requirements of a multi-node workload application | |
| US12105705B2 (en) | Database query processing with database clients | |
| US12141147B2 (en) | Management of database join operations | |
| US20230063113A1 (en) | Auto discovery protocol and virtual grouping of machine learning models | |
| HK40072098A (en) | Network-based media processing (nbmp) workflow management through 5g framework for live uplink streaming (flus) control |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| AS | Assignment |
Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:BEILMANN, ARNOLD;GNECH, THOMAS H.;KASS, ERIC R.;AND OTHERS;REEL/FRAME:032547/0373 Effective date: 20140326 |
|
| STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
| FEPP | Fee payment procedure |
Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
| LAPS | Lapse for failure to pay maintenance fees |
Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
| STCH | Information on status: patent discontinuation |
Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362 |
|
| FP | Lapsed due to failure to pay maintenance fee |
Effective date: 20210103 |