Managing queries against a non-relational database with multiple paths to a storage system - Patents.com
The method optimizes data retrieval in NoSQL databases by selecting appropriate input/output paths based on urgency and access characteristics, addressing inefficiencies in hybrid cloud environments with NVMe-based standards.
Patent Information
- Application Number
- JP2024515832
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-10-13
- Filing Date
- 2022-10-10
- Publication Date
- 2024-10-10
- Estimated Expiration
- 2042-10-10
AI Technical Summary
NoSQL databases lack the ability to efficiently propagate query urgency to storage systems via multiple input/output connections, particularly in hybrid cloud environments with NVMe-based standards, leading to inefficiencies in data retrieval.
A method and system for managing queries in NoSQL databases that identify disk volumes, CPU core speeds, and input/output connections to optimize data retrieval by selecting the most appropriate path based on urgency and access characteristics, using machine learning to predict input/output performance.
Enhances data retrieval efficiency by propagating query urgency through optimized input/output connections, improving performance and responsiveness in hybrid cloud environments.
Smart Images

Figure 2024536999000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates generally to non-relational databases such as NoSQL databases, and more specifically to managing queries against non-relational databases (e.g., NoSQL databases) with multi-path storage connections (i.e., multiple paths to a storage system). [Background technology]
[0002] A non-relational database is a database that is not "relational." Relational databases present data to the user as relationships (in a tabular presentation, i.e., as a collection of tables, where each table consists of a set of rows and columns). However, non-relational databases provide mechanisms for the storage and retrieval of data that is modeled in other ways than the tabular relationships used in relational databases. An example of such a non-relational database is a NoSQL ("Unstructured Query Language (SQL)") database. Summary of the Invention
[0003] According to one aspect of the invention, a computer-implemented method for managing queries against a non-relational database is provided. The method includes receiving a query to retrieve an object from a storage system of a non-relational database system. The method additionally includes identifying a disk volume of the storage system from a record of the object. The method further includes identifying logical and / or physical input / output connections to the disk volumes of the storage system, where each of the logical and / or physical input / output connections corresponds to a path from the non-relational database to the disk volume of the storage system, where each of the logical and / or physical input / output connections includes one or more input / output queues tagged to dissimilar central processing unit (CPU) cores of the storage system. Additionally, the method includes obtaining a CPU core speed for a CPU core of the storage system. In addition, the method includes selecting one of the identified logical and / or physical input / output connections to be used for sending a request to the storage system to retrieve the object based on input / output access characteristics of the identified logical and / or physical input / output connections, the CPU core speed for the CPU core, and a determined level of urgency for retrieving the object. The method further comprises transmitting the request to the storage system via the selected logical or physical input / output connection.
[0004] Other forms of the embodiments of the computer-implemented methods described above are in the form of a system and in the form of a computer program product. According to another aspect, a computer program product for managing queries against a non-relational database, the computer program product includes one or more computer-readable storage media having program code embodied therein, the program code including steps of: receiving a query to retrieve an object from a storage system of a non-relational database system; identifying disk volumes of the storage system from records of the object; identifying logical and / or physical input / output connections to the disk volumes of the storage system, each of the logical and / or physical input / output connections corresponding to a path from the non-relational database to the disk volumes of the storage system, and wherein the logical and / or physical input / output connections include: or physical input / output connections each including one or more input / output queues tagged to dissimilar central processing unit (CPU) cores of the storage system; obtaining a CPU core speed for a CPU core of the storage system; selecting one of the identified logical and / or physical input / output connections to be used for sending a request to the storage system to retrieve the object based on input / output access characteristics of the identified logical and / or physical input / output connections, the CPU core speed for the CPU core, and a determined level of urgency for retrieving the object; and sending the request to the storage system through the selected logical or physical input / output connection.
[0005] According to another aspect, a system includes a memory for storing a computer program for managing queries against a non-relational database; and a processor coupled to the memory, the processor comprising: receiving a query to retrieve an object from a storage system of a non-relational database system; identifying disk volumes of the storage system from a record of the object; identifying logical and / or physical input / output connections to the disk volumes of the storage system, each of the logical and / or physical input / output connections corresponding to a path from the non-relational database to the disk volumes of the storage system, each of the logical and / or physical input / output connections including one or more input / output queues tagged to dissimilar central processing unit (CPU) cores of the storage system; obtaining a CPU core speed for a CPU core of the storage system; selecting one of the identified logical and / or physical input / output connections to be used to send a request to the storage system to retrieve the object based on input / output access characteristics of the identified logical and / or physical input / output connections, the CPU core speed for the CPU core, and a determined level of urgency for retrieving the object; and A system is provided that is configured to execute program instructions of the computer program including sending the request to the storage system through the selected logical or physical input / output connection.
[0006] The foregoing has outlined rather generally the features and technical advantages of one or more embodiments of the present disclosure in order that the detailed description of the disclosure that follows may be better understood. Additional features and advantages of the present disclosure will be described hereinafter and may form the subject of the claims of the present disclosure. [Brief description of the drawings]
[0007] One or more preferred embodiments of the invention will now be described, by way of example only, with reference to the following drawings, in which:
[0008] [Figure 1] 1 illustrates a communication system embodying the principles of the present disclosure, in accordance with an embodiment of the present disclosure;
[0009] [Diagram 2] 1 illustrates multiple input / output connections between disk volumes of a storage system and a non-relational database system according to an embodiment of the present disclosure.
[0010] [Diagram 3] FIG. 1 illustrates software components of a non-relational database system that are used to select one of the input / output connections between the non-relational database system and a storage system to send a request issued by the non-relational database system to the storage system with an appropriate level of urgency, according to an embodiment of the present disclosure.
[0011] [Figure 4] 1 illustrates an embodiment of the present disclosure of a hardware configuration for a non-relational database system that represents a hardware environment for practicing the present disclosure.
[0012] [Diagram 5] 1 is a flowchart of a method for constructing a pattern of input / output access characteristics through each path between a non-relational database system and its storage system according to an embodiment of the present disclosure.
[0013] [Figure 6] 1 is a flowchart of a method for managing queries to a non-relational database system by utilizing multiple input / output connections to a storage system, according to an embodiment of the present disclosure, where query urgency is propagated to the storage system along one of the input / output connections. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] As described in the Background section, a non-relational database is a database that is not "relational." Relational databases present data to the user as relationships (in a tabular presentation, i.e., as a collection of tables, where each table consists of a set of rows and columns). However, non-relational databases provide mechanisms for the storage and retrieval of data that is modeled in other ways than the tabular relationships used in relational databases. An example of such a non-relational database is a NoSQL ("Unstructured Query Language (SQL)") database.
[0015] NoSQL databases (e.g., MongoDB®) are increasingly being used in big data and real-time web applications. NoSQL systems are sometimes referred to as "Not only SQL" to emphasize that they may support a SQL-like query language or may coexist with a SQL database in a polyglot persistence architecture.
[0016] Motivations for this approach include simplicity of design, easy "horizontal" scaling to clusters of machines (which is an issue for relational databases), finer control over availability, and limiting the object-relational impedance mismatch. The data structures used by NoSQL databases (e.g. key-value pairs, wide columns, graphs, or documents) are different from those used by default in relational databases, making some operations faster in NoSQL. The particular suitability of a given NoSQL database depends on the problem that needs to be solved. In some cases, the data structures used by NoSQL databases are also seen as "more flexible" than relational database tables.
[0017] Instead of the typical table structure of a relational database, a NoSQL database contains data within a single data structure, such as a JavaScript Object Notation (JSON), Extensible Markup Language (XML), or Binary JSON (BSON) document. This non-relational database design does not require a schema, and therefore provides rapid scalability for managing large, typically unstructured data sets. Java and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle and / or its affiliates.
[0018] NoSQL databases are also a type of distributed database, which means that information is copied and stored on various servers, such as storage systems, which can be remote or local. This ensures availability and reliability of the data. If a portion of the data goes offline, the rest of the database can continue to run.
[0019] Such a storage system may include a set of disk volumes. As used herein, a "disk volume" refers to a portion of a storage system. Such a set of disk volumes may correspond to raw disk volumes that store data in a raw binary format.
[0020] The storage system may be accessible to the NoSQL database through a cloud computing environment, such as a hybrid cloud computing environment, which is a mixture of public cloud and private environments, such as private cloud or on-premise resources, that remain separate entities but are combined together to provide the benefits of multiple deployment models.
[0021] In a hybrid cloud implementation, an application may run on a physical hybrid cloud server (or a virtual machine above the server layer) that may issue requests to read data from a storage system connected to a NoSQL database. The storage disks of the storage system may be connected to the NoSQL database by means of an interconnected Storage Area Network (SAN) fabric. In such a case, the SAN fabric may include different paths to the NoSQL database and the disk volumes of the storage system. That is, there may be different paths from the NoSQL database to reach the same virtual disk in the storage system, where each path to each disk volume may operate with different characteristics such as speed, processing power, etc.
[0022] Transmission protocols such as NVMe® (Non-Volatile Memory Express) may be utilized to access non-volatile storage media, such as non-volatile storage media in a storage system connected to a NoSQL database. Using such technology, many input / output connections may be created through a single physical connection, gaining the benefits of parallelizing the input / output connections. As a result, a NoSQL disk volume may have multiple paths ("multipath"), with each path having one or more input / output queues tagged to dissimilar CPU cores in the storage system. In such scenarios, there may be clock speed differences between CPU cores that may affect input / output performance when requested on a particular path.
[0023] Unfortunately, NVMe-based standards do not have a multipath policy. As a result, NoSQL databases cannot obtain information about multiple input / output connections made to the same disk volume. Furthermore, when an application, such as an AI application, issues a query that wants to urgently retrieve an object (e.g., a JSON object) from a storage system (requiring immediate retrieval), there is currently no means to propagate such query urgency (e.g., retrieval urgency) to the storage system, such as through one of these input / output connections, due to differences in behavior between NoSQL databases and storage systems.
[0024] Thus, there is currently no means for a NoSQL database to take advantage of the multiple input / output connections created in a multi-connection input / output transmission protocol (e.g., NVMe) and propagate query urgency to the storage system, such as via one of these input / output connections.
[0025] Embodiments of the present disclosure provide a means for a non-relational database (e.g., a NoSQL database) to utilize multiple input / output connections created in a multi-connection input / output transmission protocol (e.g., NVMe), where query urgency is propagated to a storage system along one of these input / output connections.
[0026] In some embodiments of the present disclosure, the present disclosure includes a computer-implemented method, system, and computer program product for managing queries against a non-relational database. In one embodiment of the present disclosure, a query to retrieve objects from a storage system of a non-relational database system (e.g., a NoSQL database system) is received from an application, such as an AI application, where the storage system is connected to the non-relational database system via a hybrid cloud environment. In one embodiment, the storage system is an object-based storage system, where data is stored in the form of "objects" in the storage system on a flat address space based on its content and other attributes. Disk volumes of the storage system are then identified from records of the requested objects, such as identifiers (e.g., labels) associated with such disk volumes. Upon identifying the disk volumes, logical and / or physical input / output connections to the identified disk volumes tagged to dissimilar CPU cores are identified, such as via a data structure that stores a list of logical and / or physical input / output connections connected to various disk volumes of the storage system. In one embodiment, each of the logical and / or physical input / output connections includes one or more input / output queues tagged to dissimilar central processing unit (CPU) cores of the storage system. After the CPU core speed (e.g., clock speed) for the CPU cores of the storage system is obtained, one of the identified logical and / or physical input / output connections connected to the identified disk volume is selected based on the input / output access characteristics of the identified logical and / or physical input / output connections, the CPU core speed for the CPU core, and the determined level of urgency for retrieving the object. In one embodiment, such input / output access characteristics (e.g., input / output latency, bandwidth, response time, packet drops, congestion, etc.) and the CPU core speed for the CPU core are obtained from a data structure (e.g., a table).In one embodiment, a level of urgency for retrieving an object is determined based on an object category of the object requested to be retrieved and / or a type of application requesting to retrieve the object. Based on the determined level of urgency for retrieving the object (e.g., critical), a required input / output access characteristic for the input / output connection and a required CPU core speed to be utilized to send a request to the storage system to retrieve the object are determined, such as via a data structure that lists such requirements associated with various levels of urgency. After identifying one of the input / output connections from the identified input / output connections tagged to a CPU core that both meets or most closely meets such requirements, the non-relational database system transmits the request (e.g., a read request) to the storage system through the selected input / output connection in a hybrid cloud environment. In this manner, the non-relational database system can utilize multiple input / output connections established by a multi-connection input / output transmission protocol (e.g., NVMe) where the urgency of the query is propagated to the storage system along one of these input / output connections.
[0027] In the following description, many specific details are described to provide a thorough understanding of the present disclosure. However, it will be apparent to those skilled in the art that the present disclosure may be practiced without such specific details. In other instances, well-known circuits are shown in block diagram form so as not to obscure the present disclosure with unnecessary details. In most cases, details regarding timing considerations and the like are omitted unless such details are necessary to obtain a complete understanding of the present disclosure and are within the skill of those skilled in the relevant art.
[0028] Referring now in detail to the drawings, Figure 1 illustrates a disclosed embodiment of a communication system 100 embodying the principles of the present disclosure. The communication system 100 includes an application, such as an artificial intelligence (AI) application 101, that sends a query to a non-relational database system 102, such as a NoSQL database system, to retrieve objects from a storage system 103 of the non-relational database system 102.
[0029] In one embodiment, the AI application 101 is connected to the non-relational database system 102 through a hybrid cloud environment (not shown in FIG. 1). In such an embodiment, the AI application 101 runs on a physical hybrid cloud server. In one embodiment, the AI application 101 runs on a virtual machine above the server layer. As used herein, "artificial intelligence (AI)" refers to intelligence exhibited by a machine. As used herein, "AI application" refers to the application of AI, with applications of AI in various aspects such as e-commerce, navigation, robotics, human resources, healthcare, agriculture, gaming, automotive, social media, marketing, etc. In one embodiment, the AI application 101 stores metadata and their teacher data in the storage system 103 of the non-relational database system 102. In the following, the present disclosure is described in relation to utilizing an AI application, but it should be noted that other types of applications may be utilized by the present disclosure to submit queries to retrieve objects from the storage system of a non-relational database.
[0030] A non-relational database system 102 provides mechanisms for storage and retrieval of data, such as from a storage system 103, that is modeled in other ways than the tabular relationships used in relational databases. An example of such a non-relational database is a NoSQL ("Unstructured Query Language (SQL)") database.
[0031] In one embodiment, the non-relational database system 102 contains data in a data structure, such as a JSON, XML, or BSON document. Such a non-relational database system may be referred to herein as a "non-relational document database" that stores "documents." In one embodiment, such documents encapsulate and encode data (or information) in a standard format or encoding. Encodings include XML, YAML, and JSON, as well as binary formats such as BSON. A document is addressed in the database via a unique key that represents the document.
[0032] In one embodiment, the non-relational database system 102 is connected to its storage system 103 through a hybrid cloud environment 104. As used herein, hybrid cloud environment 104 refers to a mixture of public cloud and private environments, such as private cloud or on-premise resources, that remain separate entities but are coupled together.
[0033] In one embodiment, storage system 103 is an object-based storage system, where data is stored in the form of "objects" within storage system 103 based on its content and other attributes, rather than on filename and location, over a flat address space. In one embodiment, each object stored in storage system 103 is identified by a unique identifier called an "object ID." The object ID allows easy access to the object without having to specify a storage location.
[0034] In one embodiment, storage system 103 includes a set of disk volumes 105A-105C (identified as "Disk Volume A," "Disk Volume B," and "Disk Volume C," respectively). The disk volumes may be referred to collectively or individually as disk volumes 105 or disk volume 105, respectively.
[0035] As used herein, a "disk volume 105" refers to a portion of the storage system 103. A set of such disk volumes 105 may correspond to raw disk volumes that store data in raw binary format. Such data may include metadata and training data stored by the AI system.
[0036] In one embodiment, the storage disks 105 of the storage system 103 are connected to the non-relational database system 102 through the hybrid cloud environment 104 via multiple paths 106. The paths 106 may be referred to collectively or individually as multiple paths 106 or paths 106, respectively. In one embodiment, there are different paths 106 to reach the same virtual disk 105 in the storage system 103 from the non-relational database system 102, as described below in connection with FIG. 2, where each path 106 to each disk volume 105 may operate at different characteristics of speed, processing power, etc. In one embodiment, such paths 106 may be logical and / or physical input / output connections. As used herein, the notation (" / ") in the phrase "input / output" connection refers to "or". Thus, as used herein, the phrase "input / output connection" refers to an input connection or an output connection.
[0037] In one embodiment, a multi-connection input / output transmission protocol such as NVMe® (Non-Volatile Memory Express) is utilized to access virtual disks 105 of storage system 103 by non-relational database system 102. In such a protocol, there are multiple input / output connections that are created over a single physical connection to obtain the benefits of parallelizing the input / output connections. Such input / output connections are represented by paths 106 in FIG. 1. It should be noted that the phrases "input / output connection" and "path" are used interchangeably herein and have the same meaning.
[0038] In one embodiment, as shown in FIG. 2, each path 106 may have one or more input / output queues tagged to dissimilar central processing unit (CPU) cores in the storage system 103 .
[0039] Referring to FIG. 2, FIG. 2 illustrates multiple input / output connections between disk volumes 105 of storage system 103 and non-relational database system 102 according to an embodiment of the present disclosure.
[0040] As shown in FIG. 2, with reference to FIG. 1, paths 106A-106C, which represent input / output connections of paths 106 in FIG. 1, are connected between non-relational database system 102 and disk volume 105A of storage system 103. As explained above, each of these paths 106 (paths 106A-106C) includes one or more input / output queues tagged to different CPU cores in storage system 103. For example, path 106A includes input / output queue 201A (identified as "I / O Queue 1" in FIG. 2) and input / output queue 201B (identified as "I / O Queue 2" in FIG. 2) tagged to CPU core 202A (identified as "CPU Core 1" in FIG. 2) of storage system 103. By tagging such path 106A to CPU core 202A, requests transmitted over path 106A are processed by the associated or "tagged" CPU core 202A. Thus, the term "tagged" as used herein refers to identifying a particular CPU core (e.g., CPU core 202A) that processes a request transmitted on an associated input / output connection 106 (e.g., input / output connection 106A). Note that the notation (" / ") in the phrase "input / output" as used herein refers to "or." Thus, the phrase "input / output" as used herein refers to "input or output."
[0041] As further shown in Figure 2, path 106B includes input / output queue 201C (identified in Figure 2 as "I / O Queue 3") that is tagged to CPU core 202B (identified in Figure 2 as "CPU Core 2") of storage system 103. Path 106C includes input / output queue 201D (identified in Figure 2 as "I / O Queue 4") that is tagged to CPU core 202C (identified in Figure 2 as "CPU Core 3")
[0042] As described above, in one embodiment, paths 106, such as paths 106A-106C, may be logical and / or physical input / output connections. Input / output queues 201A-201D may be referred to collectively or individually as a plurality of input / output queues 201 or input / output queues 201, respectively. CPU cores 202A-202C may be referred to collectively or individually as a plurality of CPU cores 202 or CPU core 202, respectively.
[0043] As used herein, input / output queue 201 refers to an abstract data type that holds input / output requests. For example, input / output queue 201 may temporarily store a request from non-relational database system 102 to retrieve an object requested by AI application 101 from storage system 103 (e.g., disk volume 105A).
[0044] As used herein, a CPU core 202 refers to an individual processing unit within a central processing unit of a storage system.
[0045] 2 shows four input / output queues 201, the disclosure is not limited in scope to such an embodiment. Each path 106 may include any number of input / output queues 201, and there may be any number of paths 106 between the non-relational database system 102 and the disk volumes 105 of the storage system 103. Additionally, while FIG. 2 shows three CPU cores 202 in the storage system 103, the disclosure is not limited in scope to such an embodiment. The storage system 103 may include any number of CPU cores 202.
[0046] Returning to Figure 1, in conjunction with Figure 2, in one embodiment, the non-relational database system 102 is configured to select one of these paths 106 as an I / O connection for sending a request (a response issued by the non-relational database system 102 upon receiving a query from the AI application 101) to retrieve an object from the storage system 103. In one embodiment, such selection is based on the input / output access characteristics of the path 106, the core speed (clock speed) of the CPU core 202, and the type of multi-level urgency.
[0047] In one embodiment, the input / output access characteristics are determined based on patterns of input / output access characteristics over path 106 using machine learning, as described in more detail below.
[0048] As used herein, a "type of multi-level urgency" refers to one of the levels of urgency of a request (e.g., a read request) issued by the non-relational database system 102. For example, in one embodiment, the levels of urgency of a request (e.g., a read request) issued by the non-relational database system 102 include urgent, critical, and super-critical, where the critical classification is assigned to a request that is more important to be processed than a request assigned to the urgent classification, and where the super-critical classification is assigned to a request that is more important to be processed than a request assigned to the critical classification. In one embodiment, such types of multi-level urgency are determined based on obtaining urgency information about a query (requesting retrieval of an object from the storage system 103), such as an object category of the object requested to be retrieved, a type of application requesting the object to be retrieved, etc.
[0049] A more detailed description of these and other features of non-relational database system 102 is provided further below. Additionally, a description of the software components of non-relational database system 102 is provided further below in conjunction with FIG. 3, and a description of the hardware configuration of non-relational database system 102 is provided further below in conjunction with FIG. 4.
[0050] System 100 is not limited in scope to any one particular network architecture. System 100 may include any number of AI applications 101, non-relational database systems 102, storage systems 103, hybrid cloud environments 104, disk volumes 105, and paths 106.
[0051] A discussion of the software components used by the non-relational database system 102 to utilize multiple input / output connections 106 is provided below in conjunction with FIG. 3, where query urgency (the urgency of a query issued by the AI application 101) is propagated along one of these input / output connections 106 to the storage system 103. As explained in more detail below, such urgency is propagated to the storage system 103 based on an assignment of an appropriate level of urgency to a request issued by the non-relational database system 102 to the storage system 103.
[0052] FIG. 3 is a diagram of software components of non-relational database system 102 used to select one of the input / output connections 106 between non-relational database system 102 and storage system 103 for transmitting a request issued by non-relational database system 102 to storage system 103 with an appropriate level of urgency, in accordance with an embodiment of the present disclosure.
[0053] As shown in FIG. 3, in conjunction with FIGS. 1-2, the non-relational database system 102 includes a monitor engine 301 configured to collect input / output statistics from each of the paths 106 between the non-relational database system 102 and the storage system 103 to evaluate the input / output workload and latency of each path 106. As used herein, "input / output workload" refers to the amount of input collected by an input / output connection 106 and the amount of output generated by an input / output connection 106 over a particular length of time. As used herein, "latency" refers to time delay. Input / output statistics include, but are not limited to, input / output latency, bandwidth, response time, packet drops, congestion, etc.
[0054] In one embodiment, monitor engine 301 evaluates the input / output workload by identifying input / output access patterns, such as the number of read and write requests, on input / output connections 106. Examples of software tools utilized by monitor engine 301 to evaluate the input / output workload by identifying input / output access patterns on input / output connections 106 include, but are not limited to, Iometer, Condusiv® I / O Assessment Tool, and the like.
[0055] In one embodiment, the monitor engine 301 evaluates the input / output latency of the input / output connections 106 by measuring the time it takes for a request to travel from one point to another and for a response to be sent back to the source (e.g., the non-relational database system 102). Such a measurement is referred to as "round trip time." In another embodiment, the monitor engine 301 records the time it takes for a request to reach its destination from the time it leaves a point. Such a measurement is referred to as "time to first byte." In such an embodiment, the data collection software is installed at the destination point (e.g., the storage system 103).
[0056] Examples of software tools utilized by the monitor engine 301 to collect input / output statistics, such as input / output latency, from each of the paths 106 between the non-relational database system 102 and the storage system 103 to evaluate the input / output workload and latency of each path 106 include, but are not limited to, SolarWinds® Network Performance Monitor, SolarWinds® NetFlow Traffic Analyzer, Angry IP Scanner, SolarWinds® Engineer's Toolset®, Paessler® PRTG Network Monitor, NetScanTools®, Amazon® CloudWatch®, and the like.
[0057] In one embodiment, the monitor engine 301 measures the bandwidth of the input / output connection 106 (the maximum rate of data transfer over a given path).
[0058] Examples of software tools that may be utilized by the monitor engine 301 to measure the bandwidth of the input / output connections 106 include, but are not limited to, SolarWinds® Network Performance Monitor, SolarWinds® NetFlow Traffic Analyzer, Paessler® PRTG Network Monitor, N-able® Remote Monitoring & Management, and the like.
[0059] In one embodiment, the monitor engine 301 measures the response time of the input / output connections 106. As used herein, "response time" refers to the length of time it takes to complete an input / output operation. Examples of software tools that may be utilized by the monitor engine 301 to measure the response time of the input / output connections 106 include, but are not limited to, SolarWinds® Engineer's Toolset®, Amazon® CloudWatch®, Dynatrace®, ManageEngine® Applications Manager, and the like.
[0060] In one embodiment, the monitor engine 301 measures packet drops across the input / output connections 106. As used herein, "packet drops" refers to delayed or misplaced packets. Examples of software tools utilized by the monitor engine 301 to measure packet drops across the input / output connections 106 include, but are not limited to, SolarWinds® Network Quality Manager, SolarWinds® Network Performance Monitor, Paessler® PRTG Network Monitor, Packet Loss Test®, and the like.
[0061] In one embodiment, the monitor engine 301 measures congestion on the input / output connections 106. As used herein, "congestion" refers to a reduction in quality of service that occurs when a connection is carrying more data than it can handle. Examples of software tools utilized by the monitor engine 301 to measure congestion across the input / output connections 106 include, but are not limited to, SolarWinds® NetFlow Traffic Analyzer, Wireshark®, Cacti®, LogicMonitor®, Datadog®, Dynatrace®, and the like.
[0062] The non-relational database system 102 further includes a machine learning engine 302 configured to build a pattern of input / output access characteristics for each path 106 using the collected input / output statistics from the monitor engine 301. In one embodiment, the machine learning engine 302 utilizes machine learning algorithms to build a pattern of input / output access characteristics through each path 106 using the collected input / output statistics from the monitor engine 301.
[0063] As used herein, a "pattern" of input / output access characteristics over a path 106 refers to input / output access statistics typically exhibited by a path 106, based on the input / output workload being served by the path 106, a particular time of day, etc. Such a pattern is based on input / output statistics (used to evaluate the input / output workload and latency of each path 106) collected from the monitor engine 301, which is used as "training data" to train a mathematical model to predict the input / output access characteristics of a path 106, such as based on the input / output workload being processed, etc. In one embodiment, such a pattern of input / output characteristics corresponds to values corresponding to different fields of the input / output access characteristics. For example, in a pattern of 0.3 ms, 15 KHz, 5 ms, 1 and 0, 0.3 ms corresponds to input / output latency, 15 KHz corresponds to bandwidth, 5 ms corresponds to response time, 1 corresponds to packet drops over a one hour period, and 0 corresponds to no congestion.
[0064] In one embodiment, the machine learning engine 302 uses a machine learning algorithm (e.g., supervised learning) to build a mathematical model based on sample data consisting of input / output statistics collected from the monitor engine 301 (used to evaluate the input / output workload and latency of each path 106). Such a data set is referred to herein as "training data" and is used by the machine learning algorithm to make predictions or decisions about the input / output access characteristics of the paths 106 without being explicitly programmed to perform the task. In one embodiment, the training data consists of input / output statistics based on the input / output workload processed, time of day, type of query processed, etc. The algorithm iteratively makes predictions on the training data about the input / output access characteristics over each path 106. Examples of such supervised learning algorithms include nearest neighbor, naive Bayes, decision trees, linear regression, support vector machines, and neural networks.
[0065] In one embodiment, the mathematical model (machine learning model) corresponds to a partitioning model trained to predict input / output access characteristics through each path 106.
[0066] The non-relational database system 102 further includes a priority identification module 303 configured to determine a type of multi-level urgency (type of input / output level priority) indicated by a query received by the non-relational database system 102 from the AI application 101 to retrieve an object from the storage system 103. An "object" as used herein refers to data stored in the storage system 103, where data in the form of an "object" is stored on a flat address space based on its content and other attributes, rather than file name and location.
[0067] Such a level of urgency in the received query is reflected in the urgency of the request issued by the non-relational database system 102 to read the requested object from the storage system 103 .
[0068] As used herein, a "type of multi-level urgency" refers to one of the levels of urgency of a request (e.g., a read request) issued by the non-relational database system 102 to read the requested object from the storage system 103. For example, in one embodiment, the levels of urgency of a request (e.g., a read request) issued by the non-relational database system 102 include urgent, critical, and super-critical, where the critical classification is assigned to a request that is more important to be processed than a request assigned to the urgent classification, and where the super-critical classification is assigned to a request that is more important to be processed than a request assigned to the critical classification. In one embodiment, such types of multi-level urgency are determined based on obtaining urgency information about a query (requesting retrieval of an object from the storage system 103), such as an object category of the object requested to be retrieved, a type of application requesting the object to be retrieved, etc.
[0069] In one embodiment, the priority identification module 303 obtains urgency information for queries received by the non-relational database system 102. In one embodiment, such urgency information includes object categories of objects requested to be retrieved. For example, in one embodiment, the priority identification module 303 may analyze the query to determine the type of object to be retrieved, such as the type of data (e.g., metadata, supervised data, analytical data, visual data, textual data, numerical data, etc.). For example, in one embodiment, the query may include metadata describing the type of object (data) being requested. Such description is then used to identify an "object category" from a data structure (e.g., a table) that stores a list of object types and their associated object categories. In one embodiment, such a data structure is pre-configured by an expert. In one embodiment, such a data structure is stored in a storage device (e.g., memory, disk unit) of the non-relational database system 102. In one embodiment, the priority identification module 303 utilizes natural language processing to identify matching types of objects in the data structure and locate their associated object categories.
[0070] Upon identifying the object category, in one embodiment, the priority identification module 303 identifies a type of multi-level urgency in a request (a request to retrieve an object) issued by the non-relational database system 102 based on the identification of the object category in a data structure (e.g., a table) that stores a list of object categories (e.g., metadata) and their associated multi-level urgency (e.g., super-critical). For example, upon identifying the object category in such a data structure, the associated multi-level urgency in a request issued by the non-relational database system 102 may then be obtained. In one embodiment, such a data structure is pre-configured by an expert. In one embodiment, such a data structure is stored in a storage device (e.g., memory, disk unit) of the non-relational database system 102. In one embodiment, the priority identification module 303 utilizes natural language processing to identify a matching object category in the data structure to determine its associated multi-level urgency in a request issued by the non-relational database system 102.
[0071] In one embodiment, the priority identification module 303 identifies a type of multi-level urgency in a request (a request to retrieve an object) issued by the non-relational database system 102 based on an identification of a type of the AI application 101 issuing the query. For example, the AI application 101 may involve the application of AI in various aspects, such as e-commerce, navigation, robotics, human resources, healthcare, agriculture, gaming, automotive, social media, marketing, and the like. In one embodiment, the type of the AI application (e.g., gaming) is determined from its identifier (e.g., name). In one embodiment, the type of the AI application 101 is used to identify a type of multi-level urgency in a request (a request to retrieve an object) issued by the non-relational database system 102 using a data structure (e.g., table) that stores a list of the types of the AI applications 101 (e.g., gaming) and their associated multi-level urgency (e.g., critical). For example, upon identifying the type of the AI application 101 in such a data structure, the associated multi-level urgency in a request issued by the non-relational database system 102 may then be obtained. In one embodiment, such a data structure is pre-configured by an expert. In one embodiment, such data structures are stored in a storage device (e.g., memory, disk unit) of the non-relational database system 102. In one embodiment, the priority identification module 303 utilizes natural language processing to identify matching types of AI applications 101 in the data structures and determine their associated multi-level urgency in requests issued by the non-relational database system 102.
[0072] The non-relational database system 102 further includes a disk volume identification module 304 configured to identify a disk volume 105 from a record (e.g., object dictionary record) of a requested object, such as an identifier (e.g., label) associated with such disk volume 105. As used herein, a "requested object" refers to an object requested to be retrieved by the AI application 101. In one embodiment, a data structure (e.g., a table) stores a record associated with such an object that indicates its storage location within the storage system 103, such as a particular disk volume 105 of the storage system 103. Such a record is referred to herein as an "object dictionary record." In one embodiment, such a data structure is stored in a storage device (e.g., memory, disk unit) of the non-relational database system 102.
[0073] The non-relational database system 102 further includes a core speed identification module 305 configured to identify a CPU core speed of a CPU core 202 of the storage system 103 at a particular point in time, such as when a path 106 (e.g., a logical or physical input / output connection) is selected to send a request (e.g., a read request) from the non-relational database system 102 to the storage system 103. As used herein, "CPU core speed" refers to the clock speed (operating speed) of the CPU core 202. In one embodiment, the CPU core speed is obtained by the core speed identification module 305 at the time of initializing the input / output queue 201. Examples of software tools utilized by the core speed identification module 305 to measure the CPU core speed of the CPU core 202 include, but are not limited to, CPUID HWMonitor, SolarWinds® Server & Application Monitor, Paessler® PRTG Network Monitor, SysGauge, etc.
[0074] Further, the non-relational database system 102 includes path selection logic 306 configured to select a path 106 (e.g., a logical or physical input / output connection) to be used for sending a request (e.g., a read request) from the non-relational database system 102 to the storage system 103, where the query urgency is propagated along such selected path 106 to the storage system 103.
[0075] In one embodiment, the path selection logic 306 is configured to identify a logical or physical connection 106 extending from the non-relational database system 102 to an identified disk volume 105 of the storage system 103 (as identified by the disk volume identification module 304).
[0076] In one embodiment, the path selection logic 306 identifies logical and / or physical connections 106 extending from the non-relational database system 102 to an identified disk volume 105 of the storage system 103 based on identifying such connections 106 in a data structure (e.g., a table) that stores a list of logical and / or physical connections 106 connected to a particular disk volume 105 of the storage system 103. In one embodiment, such disk volumes 105 are identified by identifiers (e.g., labels). As a result, after obtaining identifiers for disk volumes 105 identified by the disk volume identification module 304, the path selection logic 306 can identify logical and / or physical connections 106 connected to such disk volumes 105 based on the determination of the identified disk volumes 105 in the data structure described above. In one embodiment, such data structure is pre-configured by an expert. In one embodiment, such data structure is stored in a storage device (e.g., memory, disk unit) of the non-relational database system 102. In one embodiment, the path selection logic 306 utilizes natural language processing to identify matching disk volume identifiers (e.g., labels) in the data structures to determine the logical and / or physical connections 106 connected to such disk volumes 105.
[0077] In one embodiment, the path selection logic 306 is configured to select a path 106 (one of the logical and / or physical connections identified as connected to the identified disk volume 105 of the storage system 103) based on a pattern of input / output access characteristics, a CPU core speed of the CPU core 202, and a determined level of urgency for retrieving the object. As described above, the pattern of input / output access characteristics is generated by the machine learning engine 302. Further, as described above, the CPU core speed for the CPU core 202 is determined by the core speed identification module 305. Additionally, as described above, the determined level of urgency for retrieving the object is determined by the priority identification module 303. Based on such information, the path selection logic 306 selects a path 106 from the non-relational database system 102 to the identified disk volume 105 with appropriate input / output access characteristics that meet the requirements of the level of urgency for retrieving the object.
[0078] In one embodiment, a data structure (e.g., a table) stores a mapping of levels of urgency (types of multi-level urgency) to required patterns of input / output access characteristics that need to be maintained by the selected input / output connection 106, such as range of input / output latency, bandwidth, response time, number of packet drops, presence of congestion, etc. For example, for a "critical" type of urgency, the following patterns of input / output access characteristics (in terms of values) are mapped to such levels of urgency: 0.2-1.5 ms (range of acceptable input / output latency); 15-20 KHz (range of acceptable bandwidth); 5-10 ms (range of acceptable response time); 1 (number of acceptable packet drops over a period of 1 hour) and 0 (no congestion present). In one embodiment, such data structure is pre-configured by an expert. In one embodiment, such data structure is stored in a storage device (e.g., memory, disk unit) of the non-relational database system 102.
[0079] Further, in one embodiment, a data structure (e.g., a table) stores a mapping of levels of urgency (types of multi-level urgency) to ranges of CPU core speeds for CPU cores 202. For example, for a "critical" type of urgency, the range of CPU core speeds for CPU cores 202 is 3.5 GHz to 4.0 GHz. In one embodiment, such a data structure is pre-configured by an expert. In one embodiment, such a data structure is stored in a storage device (e.g., memory, disk unit) of non-relational database system 102.
[0080] Based on the level of urgency for retrieving the object (type of multi-level urgency) determined by the priority identification module 303, the path selection logic 306 identifies patterns of input / output access characteristics and further identifies ranges of CPU core speeds for the CPU cores 202 that match such levels of urgency in the data structure described above.
[0081] The path selection logic 306 then identifies paths 106 (e.g., logical or physical connections) from the identified logical and / or physical connections connected to the identified disk volumes 105 with input / output access characteristics (obtained from the machine learning engine 302) that match or most closely match the input / output access characteristics obtained from the data structures described above, where such identified paths are tagged to CPU cores 202 with core speeds (obtained from the core speed identification module 305) that satisfy the range of CPU core speeds obtained from the data structures described above. For example, path 106B (one of the paths from the identified logical and / or physical connections connected to the identified disk volumes 105) may exhibit a pattern of input / output access characteristics (obtained from the machine learning engine 302) that satisfy the input / output access requirements for a specified level of urgency (e.g., critical) obtained from the data structures described above. Further, such a path (path 106B) may be tagged to a CPU core 202 (e.g., CPU core 202B) with a core speed (obtained from core speed identification module 305) that meets a required range of CPU core speeds for a specified level of urgency (e.g., critical), obtained from the data structure described above. As a result, in such an example, path 106B is selected by path selection logic 306 to be used to send a request (e.g., a read request) from non-relational database system 102 to storage system 103, where the urgency of the query is propagated along such selected path 106 to storage system 103.
[0082] In one embodiment, in a scenario where no path 106 is identified that meets the input / output access requirements for the specified level of urgency (e.g., critical), the path selection logic 306 selects a path that is tagged to a CPU core 202 that most closely meets the input / output access requirements for the specified level of urgency and meets or most closely meets the required range of CPU core speeds for the specified level of urgency (e.g., critical).
[0083] Further description of these and other features is provided below in connection with a discussion of a method for managing queries against a non-relational database.
[0084] Prior to discussing the method for managing queries against a non-relational database, a description of the hardware configuration of the non-relational database system 102 (FIG. 1) is provided below in conjunction with FIG.
[0085] Reference is now made to FIG. 4, which illustrates an embodiment of the present disclosure of a hardware configuration for non-relational database 102 (FIG. 1) that represents a hardware environment for implementing the present disclosure.
[0086] The non-relational database system 102 has a processor 401 connected to various other components by a system bus 402. An operating system 403 executes on the processor 401 and provides control of and coordinates the functions of the various components of FIG. 4. Applications 404 according to the principles of the present disclosure execute with the operating system 403 and provide calls to the operating system 403, where the calls implement various functions or services to be performed by the applications 404. The applications 404 may include, for example, a monitor engine 301 (FIG. 3), a machine learning engine 302 (FIG. 3), a priority identification module 303 (FIG. 3), a disk volume identification module 304 (FIG. 3), a core speed identification module 305 (FIG. 3), and a path selection logic 306 (FIG. 3). Additionally, the applications 404 may include, for example, programs for managing queries to the non-relational database system, which are further described below in connection with FIGS. 5-6.
[0087] Referring again to FIG. 4, a read-only memory (ROM) 405 is connected to the system bus 402 and includes a basic input / output system (BIOS) that controls certain basic functions of the non-relational database system 102. A random access memory ("RAM") 406 and a disk adapter 407 are also connected to the system bus 402. It should be noted that software components including the operating system 403 and the applications 404 may be loaded into the RAM 406, which may be the main memory of the non-relational database system 102, for execution. The disk adapter 407 may be an integrated drive electronics ("IDE") adapter that communicates with a disk unit 408, such as a disk drive. It should be noted that programs for managing queries to the non-relational database system, as further described below in connection with FIGS. 5-6, may reside in the disk unit 408 or the applications 404.
[0088] The non-relational database system 102 may further include a communications adapter 409 coupled to the bus 402. The communications adapter 409 interconnects the bus 402 with an external network (e.g., the hybrid cloud environment 104) for communicating with other devices, such as the storage system 103 (FIG. 1).
[0089] In one embodiment, the application 404 of the non-relational database system 102 includes the following software components: a monitor engine 301, a machine learning engine 302, a priority identification module 303, a disk volume identification module 304, a core speed identification module 305, and a path selection logic 306. In one embodiment, such components may be implemented in hardware, in which case such hardware components would be connected to the bus 402. The functions described above performed by such components are not comprehensive computer functions. As a result, the non-relational database system 102 is a specific machine that is the result of implementing certain non-general purpose computer functions.
[0090] In one embodiment, the functionality of such software components of the non-relational database system 102, including functionality for managing queries (e.g., monitor engine 301, machine learning engine 302, priority identification module 303, disk volume identification module 304, core speed identification module 305, and path selection logic 306), may be embodied in application specific integrated circuits.
[0091] The present invention may be a system, method and / or computer program product at any possible level of technical detail integration. The computer program product may include a computer readable storage medium or media having computer readable program instructions for causing a processor to carry out aspects of the present invention.
[0092] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but 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 above. A non-exhaustive list of more specific examples of computer-readable storage media includes the following: portable computer diskettes, hard disks, random access memories (RAMs), read-only memories (ROMs), erasable programmable read-only memories (EPROMs or flash memories), static random access memories (SRAMs), portable compact disk read-only memories (CD-ROMs), digital versatile disks (DVDs), memory sticks, floppy disks, punch cards, or mechanically encoded devices such as ridge structures in grooves with instructions recorded thereon, and any suitable combination of the above. As used herein, a computer-readable storage medium should not be construed as a transitory signal per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., light pulses passing through a fiber optic cable), or electrical signals transmitted over wires.
[0093] The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to each computing / processing device or to an external computer or external storage device via a network, such as, 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 fiber, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and transfers the computer-readable program instructions to a computer-readable storage medium in the respective computing / processing device for storage.
[0094] The computer readable program instructions for carrying out the 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, configuration data for an integrated circuit, or may be source or object code written in any combination of one or more programming languages, including object oriented programming languages such as Smalltalk® or C++, and 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, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a 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 to an external computer (e.g., through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA) may execute computer readable program instructions to personalize the electronic circuitry by utilizing state information of the computer readable program instructions to perform aspects of the invention.
[0095] 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.
[0096] These computer readable program instructions may be provided to a processor of a computer, or other programmable data processing apparatus, to produce a machine whereby the instructions, executed via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams. These computer readable program instructions may also be stored in a computer readable storage medium that may direct a computer, programmable data processing apparatus, and / or other device to function in a particular manner, such that the computer readable storage medium on which the instructions are stored has an article of manufacture including instructions that implement aspects of the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams.
[0097] The computer readable program instructions may also be loaded into a computer, other programmable data processing apparatus, or other device to cause a sequence of operational steps to be executed on the computer, other programmable apparatus, or other device to generate a computer-implemented process, whereby the instructions executing on the computer, other programmable apparatus, or other device implement the functions / operations specified in one or more blocks of the flowcharts and / or block diagrams.
[0098] The flowcharts 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 flowcharts or block diagrams may represent a module, segment, or portion of instructions comprising one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions noted in the blocks may occur in a different order than that noted in the figures. For example, two blocks shown in succession may in fact be realized as one step, and may be executed simultaneously, substantially simultaneously, partially or fully in a time-overlapping manner, or the blocks may possibly be executed in reverse order depending on the functionality involved. It should also be noted that each block in the block diagrams and / or flowchart diagrams, and combinations of blocks in the block diagrams and / or flowchart diagrams, may be implemented by a special-purpose hardware-based system that executes the specified functions or operations, or executes a combination of special-purpose hardware and computer instructions.
[0099] As described above, transmission protocols such as NVMe® (Non-Volatile Memory Express) may be utilized to access non-volatile storage media, such as non-volatile storage media in a storage system connected to a non-relational database, such as a NoSQL database. As a result of using such technology, many input / output connections may be created through a single physical connection, gaining the benefits of parallelizing the input / output connections. As a result, a NoSQL disk volume may have multiple paths ("multipath"), with each path having one or more input / output queues tagged to dissimilar CPU cores in the storage system. In such a scenario, there may be clock speed differences between CPU cores that may affect input / output performance when requested on a particular path. Unfortunately, NVMe-based standards do not have a multipath policy. As a result, NoSQL databases cannot obtain information about multiple input / output connections generated for the same disk volume. Furthermore, when an application, such as an AI application, issues a query that desires to urgently retrieve an object (e.g., a JSON object) from a storage system (requiring immediate retrieval), there is currently no means for propagating such query urgency (e.g., retrieval urgency) to the storage system, such as through one of these input / output connections, due to differences in behavior between the NoSQL database and the storage system. Thus, there is currently no means for a NoSQL database to take advantage of the multiple input / output connections generated in a multi-connection input / output transmission protocol (e.g., NVMe) and propagate the query urgency to the storage system, such as through one of these input / output connections.
[0100] As described below in connection with Figures 5 and 6, embodiments of the present disclosure provide a means for a non-relational database (e.g., a NoSQL database) to utilize multiple input / output connections created in a multi-connection input / output transmission protocol (e.g., NVMe), where query urgency is propagated to a storage system along one of these input / output connections. Figure 5 is a flowchart of a method for building a pattern of input / output access characteristics through each path between a non-relational database system and its storage system. Figure 6 is a flowchart of a method for managing queries to a non-relational database system by utilizing multiple input / output connections to a storage system, where query urgency is propagated to the storage system along one of these input / output connections.
[0101] As described above, FIG. 5 is a flowchart of a method 500 for establishing a pattern of input / output access characteristics through each path between a non-relational database system 102 (FIGS. 1 and 2) and its storage system 103 (FIGS. 1 and 2) in accordance with an embodiment of the present disclosure.
[0102] Now referring to FIG. 5 in conjunction with FIGS. 1-4, in operation 501, the monitor engine 301 of the non-relational database system 102 collects input / output statistics from each of the available paths 106 extending from the non-relational database system 102 to the virtual disks 105 of the storage system 103 via the hybrid cloud environment 104, and evaluates the input / output workload and latency of each path 106.
[0103] As explained above, "input / output workload" as used herein refers to the amount of input collected by and the amount of output generated by an input / output connection 106 over a particular length of time. "Latency" as used herein refers to time delay. Input / output statistics include, but are not limited to, input / output latency, bandwidth, response time, packet drops, congestion, etc.
[0104] In one embodiment, monitor engine 301 evaluates the input / output workload by identifying input / output access patterns, such as the number of read and write requests, on input / output connections 106. Examples of software tools utilized by monitor engine 301 to evaluate the input / output workload by identifying input / output access patterns on input / output connections 106 include, but are not limited to, Iometer, Condusiv® I / O Assessment Tool, and the like.
[0105] In one embodiment, the monitor engine 301 evaluates the input / output latency of the input / output connections 106 by measuring the time it takes for a request to travel from one point to another and for a response to be sent back to the source (e.g., the non-relational database system 102). Such a measurement is referred to as "round trip time." In another embodiment, the monitor engine 301 records the time it takes for a request to reach its destination from the time it leaves a point. Such a measurement is referred to as "time to first byte." In such an embodiment, the data collection software is installed at the destination point (e.g., the storage system 103).
[0106] Examples of software tools utilized by the monitor engine 301 to collect input / output statistics, such as input / output latency, from each of the paths 106 between the non-relational database system 102 and the storage system 103 to evaluate the input / output workload and latency of each path 106 include, but are not limited to, SolarWinds® Network Performance Monitor, SolarWinds® NetFlow Traffic Analyzer, Angry IP Scanner, SolarWinds® Engineer's Toolset®, Paessler® PRTG Network Monitor, NetScanTools®, Amazon® CloudWatch®, and the like.
[0107] In one embodiment, the monitor engine 301 measures the bandwidth of the input / output connection 106 (the maximum rate of data transfer over a given path).
[0108] Examples of software tools that may be utilized by the monitor engine 301 to measure the bandwidth of the input / output connections 106 include, but are not limited to, SolarWinds® Network Performance Monitor, SolarWinds® NetFlow Traffic Analyzer, Paessler® PRTG Network Monitor, N-able® Remote Monitoring & Management, and the like.
[0109] In one embodiment, the monitor engine 301 measures the response time of the input / output connections 106. As used herein, "response time" refers to the length of time it takes to complete an input / output operation. Examples of software tools that may be utilized by the monitor engine 301 to measure the response time of the input / output connections 106 include, but are not limited to, SolarWinds® Engineer's Toolset®, Amazon® CloudWatch®, Dynatrace®, ManageEngine® Applications Manager, and the like.
[0110] In one embodiment, the monitor engine 301 measures packet drops across the input / output connections 106. As used herein, "packet drops" refers to delayed or misplaced packets. Examples of software tools utilized by the monitor engine 301 to measure packet drops across the input / output connections 106 include, but are not limited to, SolarWinds® Network Quality Manager, SolarWinds® Network Performance Monitor, Paessler® PRTG Network Monitor, Packet Loss Test®, and the like.
[0111] In one embodiment, the monitor engine 301 measures congestion on the input / output connections 106. As used herein, "congestion" refers to a reduction in quality of service that occurs when a connection is carrying more data than it can handle. Examples of software tools utilized by the monitor engine 301 to measure congestion across the input / output connections 106 include, but are not limited to, SolarWinds® NetFlow Traffic Analyzer, Wireshark®, Cacti®, LogicMonitor®, Datadog®, Dynatrace®, and the like.
[0112] In operation 502 , the machine learning engine 302 of the non-relational database system 102 uses the collected input / output statistics to build a pattern of input / output access characteristics for each path 106 .
[0113] As explained above, as used herein, a "pattern" of input / output access characteristics through a path 106 refers to input / output access statistics typically exhibited by a path 106, based on the input / output workload being served by the path 106, a particular time of day, etc. Such a pattern is based on input / output statistics (used to evaluate the input / output workload and latency of each path 106) collected from the monitor engine 301, which are used as "training data" to train a mathematical model to predict the input / output access characteristics of a path 106, such as based on the input / output workload being processed, etc. In one embodiment, such a pattern of input / output characteristics corresponds to values corresponding to different fields of the input / output access characteristics. For example, in a pattern of 0.3 ms, 15 KHz, 5 ms, 1 and 0, 0.3 ms corresponds to input / output latency, 15 KHz corresponds to bandwidth, 5 ms corresponds to response time, 1 corresponds to packet drops over a one hour period, and 0 corresponds to no congestion.
[0114] In one embodiment, the machine learning engine 302 uses a machine learning algorithm (e.g., supervised learning) to build a mathematical model based on sample data consisting of input / output statistics collected from the monitor engine 301 (used to evaluate the input / output workload and latency of each path 106). Such a data set is referred to herein as "training data" and is used by the machine learning algorithm to make predictions or decisions about the input / output access characteristics of the paths 106 without being explicitly programmed to perform the task. In one embodiment, the training data consists of input / output statistics based on the input / output workload processed, time of day, type of query processed, etc. The algorithm iteratively makes predictions on the training data about the input / output access characteristics over each path 106. Examples of such supervised learning algorithms include nearest neighbor, naive Bayes, decision trees, linear regression, support vector machines, and neural networks.
[0115] In one embodiment, the mathematical model (machine learning model) corresponds to a partitioning model trained to predict input / output access characteristics through each path 106.
[0116] Based on determining the pattern of input / output access characteristics for each path 106, the non-relational database system 102 selects an appropriate path 106 (input / output connection) for sending a request (e.g., a read request) to the storage system 103, where the query urgency (query urgency) is propagated to the storage system 103 along the selected path 106 (input / output connection) described below in connection with FIG. 6.
[0117] FIG. 6 is a flowchart of a method 600 for managing queries for a non-relational database system 102 (FIGS. 1 and 2) by utilizing multiple input / output connections 106 (FIGS. 1 and 2) to a storage system 103 (FIGS. 1 and 2), according to an embodiment of the present disclosure, where query urgency is propagated along one of these input / output connections 106 to the storage system 103.
[0118] Referring to FIG. 6 in conjunction with FIGS. 1-5, in operation 601 , the non-relational database system 102 receives a query from the AI application 101 to retrieve an object from the storage system 103 .
[0119] As described above, in one embodiment, storage system 103 is an object-based storage system, where data is stored in the form of "objects" within storage system 103 based on its content and other attributes, rather than on file name and location, over a flat address space. In one embodiment, each object stored in storage system 103 is identified by a unique identifier called an "object ID." The object ID allows easy access to the object without having to specify a storage location.
[0120] At operation 602, the priority identification module 303 of the non-relational database system 102 obtains urgency information for the query. In one embodiment, such urgency information includes the object category of the object requested to be retrieved and the type of application 101 requesting to retrieve the object.
[0121] In operation 603, the priority identification module 303 of the non-relational database system 102 determines a level of urgency for retrieving the object based on the acquired urgency information. Such “level of urgency” refers to a multi-level urgency type (input / output level priority type) indicated by a query received by the non-relational database system 102 from the AI application 101 to retrieve the object from the storage system 103.
[0122] As described above, such a level of urgency in the received query is reflected in the urgency of the request issued by the non-relational database system 102 to read the requested object from the storage system 103.
[0123] As used herein, a "type of multi-level urgency" refers to one of the levels of urgency of a request (e.g., a read request) issued by the non-relational database system 102 to read the requested object from the storage system 103. For example, in one embodiment, the levels of urgency of a request (e.g., a read request) issued by the non-relational database system 102 include urgent, critical, and super-critical, where the critical classification is assigned to a request that is more important to be processed than a request assigned to the urgent classification, and where the super-critical classification is assigned to a request that is more important to be processed than a request assigned to the critical classification. In one embodiment, such types of multi-level urgency are determined based on obtaining urgency information about a query (requesting retrieval of an object from the storage system 103), such as an object category of the object requested to be retrieved, a type of application requesting the object to be retrieved, etc.
[0124] In one embodiment, the priority identification module 303 obtains urgency information for queries received by the non-relational database system 102. In one embodiment, such urgency information includes object categories of objects requested to be retrieved. For example, in one embodiment, the priority identification module 303 may analyze the query to determine the type of object to be retrieved, such as the type of data (e.g., metadata, supervised data, analytical data, visual data, textual data, numerical data, etc.). For example, in one embodiment, the query may include metadata describing the type of object (data) being requested. Such description is then used to identify an "object category" from a data structure (e.g., a table) that stores a list of object types and their associated object categories. In one embodiment, such a data structure is pre-configured by an expert. In one embodiment, such a data structure is stored in a storage device (e.g., memory 405, disk unit 408) of the non-relational database system 102. In one embodiment, the priority identification module 303 utilizes natural language processing to identify matching types of objects in the data structure and locate their associated object categories.
[0125] Upon identifying the object category, in one embodiment, the priority identification module 303 identifies a type of multi-level urgency in a request (a request to retrieve an object) issued by the non-relational database system 102 based on the identification of the object category in a data structure (e.g., a table) that stores a list of object categories (e.g., metadata) and their associated multi-level urgency (e.g., super-critical). For example, upon identifying the object category in such a data structure, the associated multi-level urgency in a request issued by the non-relational database system 102 may then be obtained. In one embodiment, such a data structure is pre-configured by an expert. In one embodiment, such a data structure is stored in a storage device (e.g., memory 405, disk unit 408) of the non-relational database system 102. In one embodiment, the priority identification module 303 utilizes natural language processing to identify a matching object category in the data structure to determine its associated multi-level urgency in a request issued by the non-relational database system 102.
[0126] In one embodiment, the priority identification module 303 identifies a type of multi-level urgency in a request (a request to retrieve an object) issued by the non-relational database system 102 based on an identification of a type of the AI application 101 issuing the query. For example, the AI application 101 may involve the application of AI in various aspects, such as e-commerce, navigation, robotics, human resources, healthcare, agriculture, gaming, automotive, social media, marketing, and the like. In one embodiment, the type of the AI application (e.g., gaming) is determined from its identifier (e.g., name). In one embodiment, the type of the AI application 101 is used to identify a type of multi-level urgency in a request (a request to retrieve an object) issued by the non-relational database system 102 using a data structure (e.g., table) that stores a list of the types of the AI applications 101 (e.g., gaming) and their associated multi-level urgency (e.g., critical). For example, upon identifying the type of the AI application 101 in such a data structure, the associated multi-level urgency in a request issued by the non-relational database system 102 may then be obtained. In one embodiment, such a data structure is pre-configured by an expert. In one embodiment, such data structures are stored in a storage device (e.g., memory 405, disk unit 408) of the non-relational database system 102. In one embodiment, the priority identification module 303 utilizes natural language processing to identify matching types of AI applications 101 in the data structures and determine their associated multi-level urgency in requests issued by the non-relational database system 102.
[0127] In operation 604, the disk volume identification module 304 of the non-relational database system 102 identifies a disk volume from the record of the requested object, such as an identifier (eg, a label) associated with such disk volume.
[0128] As described above, the disk volume identification module 304 identifies a disk volume 105 from a record (e.g., object dictionary record) of the requested object, such as an identifier (e.g., label) associated with such disk volume 105. As used herein, a "requested object" refers to an object requested to be retrieved by the AI application 101. In one embodiment, a data structure (e.g., a table) stores a record associated with such an object that indicates its storage location within the storage system 103, such as a particular disk volume 105 of the storage system 103. Such a record is referred to herein as an "object dictionary record." In one embodiment, such a data structure is stored in a storage device (e.g., memory 405, disk unit 408) of the non-relational database system 102.
[0129] In operation 605 , the path selection logic 306 of the non-relational database system 102 identifies logical and / or physical connections 105 that extend from the non-relational database system 102 to an identified disk volume 105 of the storage system 103 .
[0130] As described above, in one embodiment, the path selection logic 306 identifies logical and / or physical connections 106 extending to identified disk volumes 105 of the storage system 103 (identified in operation 604) from the non-relational database system 102 based on identifying such connections 106 in a data structure (e.g., a table) that stores a list of logical and / or physical connections 106 connected to a particular disk volume 105 of the storage system 103. In one embodiment, such disk volumes 105 are identified by identifiers (e.g., labels). As a result, after obtaining identifiers for the disk volumes 105 identified by the disk volume identification module 304 in operation 604, the path selection logic 306 can identify logical and / or physical connections 106 connected to such disk volumes 105 based on the determination of the identified disk volumes 105 in the data structure described above. In one embodiment, such data structure is pre-configured by an expert. In one embodiment, such data structures are stored in storage devices (e.g., memory 405, disk units 408) of the non-relational database system 102. In one embodiment, the path selection logic 306 utilizes natural language processing to identify matching disk volume identifiers (e.g., labels) in the data structures to determine the logical and / or physical connections 106 connected to such disk volumes 105.
[0131] In operation 606, the core speed identification module 305 of the non-relational database system 102 identifies the CPU core speed of the CPU core 202 of the storage system 103 at a particular point in time, such as when a path 106 (e.g., a logical or physical input / output connection) is selected to send a request (e.g., a read request) from the non-relational database system 102 to the storage system 103.
[0132] As described above, "CPU core speed" as used herein refers to the clock speed (operating speed) of CPU core 202. In one embodiment, the CPU core speed is obtained by core speed identification module 305 at the time of initializing input / output queue 201. Examples of software tools utilized by core speed identification module 305 to measure the CPU core speed of CPU core 202 include, but are not limited to, CPUID HWMonitor, SolarWinds® Server & Application Monitor, Paessler® PRTG Network Monitor, SysGauge, etc.
[0133] In operation 607, the path selection logic 306 of the non-relational database system 102 selects one of the identified logical and / or physical input / output connections 106 (identified in operation 605) to be used to send a request (e.g., a read request) from the non-relational database system 102 to the storage system 103 across the hybrid cloud environment 104 based on the pattern of input / output access characteristics of the identified logical and / or physical input / output connections 106 (obtained in operation 502), the CPU core speed for the CPU core 202 (obtained in operation 606), and the determined type of multi-level urgency (obtained in operation 603).
[0134] As described above, the pattern of input / output access characteristics is generated by the machine learning engine 302. Further, as described above, the CPU core speed for the CPU core 202 is determined by the core speed identification module 305. Additionally, as described above, the determined level of urgency for the retrieval of the object is determined by the priority identification module 303. Based on such information, the path selection logic 306 selects a path 106 from the non-relational database system 102 to the identified disk volume 105 with appropriate input / output access characteristics that meet the requirements of the level of urgency for the retrieval of the object.
[0135] In one embodiment, a data structure (e.g., a table) stores a mapping of levels of urgency (types of multi-level urgency) to required patterns of input / output access characteristics that need to be maintained by the selected input / output connection 106, such as range of input / output latency, bandwidth, response time, number of packet drops, presence of congestion, etc. For example, for a "critical" type of urgency, the following patterns of input / output access characteristics (in terms of values) are mapped to such levels of urgency: 0.2-1.5 ms (range of acceptable input / output latency); 15-20 KHz (range of acceptable bandwidth); 5-10 ms (range of acceptable response time); 1 (number of acceptable packet drops over a period of 1 hour) and 0 (no congestion present). In one embodiment, such data structure is pre-configured by an expert. In one embodiment, such data structure is stored in a storage device (e.g., memory 405, disk unit 408) of the non-relational database system 102.
[0136] Further, in one embodiment, a data structure (e.g., a table) stores a mapping of levels of urgency (types of multi-level urgency) to ranges of CPU core speeds for CPU cores 202. For example, for a "critical" type of urgency, the range of CPU core speeds for CPU cores 202 is 3.5 GHz to 4.0 GHz. In one embodiment, such a data structure is pre-configured by an expert. In one embodiment, such a data structure is stored in a storage device (e.g., memory 405, disk unit 408) of non-relational database system 102.
[0137] Based on the level of urgency for retrieving the object (type of multi-level urgency) determined by the priority identification module 303, the path selection logic 306 identifies patterns of input / output access characteristics and further identifies ranges of CPU core speeds for the CPU cores 202 that match such levels of urgency in the data structure described above.
[0138] The path selection logic 306 then identifies paths 106 (e.g., logical or physical connections) from the identified logical and / or physical connections connected to the identified disk volume 105 (obtained in operation 605) with input / output access characteristics obtained from the data structure described above (that match or most closely match the input / output access characteristics obtained from the machine learning engine 302), where such identified paths are tagged to CPU cores 202 having a core speed (obtained from the core speed identification module 305 in operation 606) that meets the range of CPU core speeds obtained from the data structure described above. For example, path 106B (one of the paths from the identified logical and / or physical connections connected to the identified disk volume 105) may exhibit a pattern of input / output access characteristics (obtained from the machine learning engine 302) that meet the input / output access requirements for a specified level of urgency (e.g., critical) obtained from the data structure described above. Further, such a path (path 106B) may be tagged to a CPU core 202 (e.g., CPU core 202B) with a core speed (obtained from core speed identification module 305 in operation 606) that meets the required range of CPU core speeds for a specified level of urgency (e.g., critical), obtained from the data structure described above. As a result, in such an example, path 106B is selected by path selection logic 306 used to send a request (e.g., a read request) from non-relational database system 102 to storage system 103 (e.g., disk volume 105A), where the urgency of the query is propagated along such selected path 106 to storage system 103.
[0139] In one embodiment, in a scenario where no path 106 is identified that meets the input / output access requirements for the specified level of urgency (e.g., critical), the path selection logic 306 selects a path that is tagged to a CPU core 202 that most closely meets the input / output access requirements for the specified level of urgency and meets or most closely meets the required range of CPU core speeds for the specified level of urgency (e.g., critical).
[0140] In operation 608, the non-relational database system 102 sends the request (e.g., a read request) to the storage system 103 through the selected logical or physical input / output connection 106. That is, the non-relational database system 102 sends the request through the selected logical or physical input / output connection 106 that is connected to the appropriate disk volume 105 (the disk volume 105 identified from the record of the requested object).
[0141] In this manner, embodiments of the present disclosure provide a means for a non-relational database (e.g., a NoSQL database) to utilize multiple input / output connections created in a multi-connection input / output transmission protocol (e.g., NVMe), where query urgency is propagated along one of these input / output connections to a storage system.
[0142] Furthermore, the principles of the present disclosure improve upon techniques or technical fields involving non-relational databases. As described above, a transmission protocol such as NVMe® (Non-Volatile Memory Express) may be utilized to access non-volatile storage media, such as non-volatile storage media in a storage system connected to a non-relational database, such as a NoSQL database. As a result of using such a technique, many input / output connections may be created through a single physical connection, obtaining the benefits of parallelizing the input / output connections. As a result, a NoSQL disk volume may have multiple paths ("multipath"), and each path may have one or more input / output queues tagged to dissimilar CPU cores in the storage system. In such a scenario, there may be clock speed differences between CPU cores that may affect input / output performance when requested on a particular path. Unfortunately, the NVMe-based standard does not have a multipath policy. As a result, the NoSQL database cannot obtain information about multiple input / output connections created for the same disk volume. Furthermore, when an application, such as an AI application, issues a query that desires to urgently retrieve an object (e.g., a JSON object) from a storage system (requiring immediate retrieval), due to differences in behavior between NoSQL databases and storage systems, there is currently no means to propagate such query urgency (e.g., retrieval urgency) to the storage system, such as via one of their input / output connections. Thus, there is currently no means for a NoSQL database to take advantage of the multiple input / output connections created in a multi-connection input / output transmission protocol (e.g., NVMe) and propagate query urgency to the storage system, such as via one of these input / output connections.
[0143] An embodiment of the present disclosure improves such techniques by receiving a query from an application, such as an AI application, to retrieve objects from a storage system of a non-relational database system (e.g., a NoSQL database system), where the storage system is connected to the non-relational database system via a hybrid cloud environment. In one embodiment, the storage system is an object-based storage system, where data is stored in the form of "objects" in the storage system on a flat address space based on its content and other attributes. Disk volumes of the storage system are then identified from records of the requested objects, such as identifiers (e.g., labels) associated with such disk volumes. Upon identifying the disk volumes, logical and / or physical input / output connections to the identified disk volumes tagged to dissimilar CPU cores are identified, such as via a data structure that stores a list of logical and / or physical input / output connections connected to various disk volumes of the storage system. In one embodiment, each of the logical and / or physical input / output connections includes one or more input / output queues tagged to a central processing unit (CPU) core of the storage system. After the CPU core speed (e.g., clock speed) for the CPU cores of the storage system is obtained, one of the identified logical and / or physical input / output connections connected to the identified disk volume is selected based on the input / output access characteristics of the identified logical and / or physical input / output connections, the CPU core speed for the CPU core, and the determined level of urgency for retrieving the object. In one embodiment, such input / output access characteristics (e.g., input / output latency, bandwidth, response time, packet drops, congestion, etc.) and the CPU core speed for the CPU core are obtained from a data structure (e.g., a table).In one embodiment, a level of urgency for retrieving an object is determined based on an object category of the object requested to be retrieved and / or a type of application requesting to retrieve the object. Based on the determined level of urgency for retrieving the object (e.g., critical), a required input / output access characteristic for the input / output connection and a required CPU core speed to be utilized to send a request to the storage system to retrieve the object are determined, such as via a data structure that lists such requirements associated with various levels of urgency. After identifying one of the input / output connections from the identified input / output connections tagged to a CPU core that both meets or most closely meets such requirements, the non-relational database system sends a request (e.g., a read request) to the storage system in a hybrid cloud environment through the selected input / output connection. In this manner, the non-relational database system can utilize multiple input / output connections established by a multi-connection input / output transmission protocol (e.g., NVMe) where the urgency of the query is propagated to the storage system along one of these input / output connections. Furthermore, in this manner, there is an improvement in the art involving non-relational databases.
[0144] The technical solutions provided by the present disclosure cannot be implemented in the human mind or by a human using pen and paper, i.e., the technical solutions provided by the present disclosure cannot be realized in the human mind or by a human using pen and paper, in any reasonable amount of time, and with any reasonable expectation of accuracy, without the use of a computer.
[0145] The description of various embodiments of the present disclosure is presented for illustrative purposes, but is not intended to be exhaustive or limited to the disclosed embodiments. Many modifications and variations that do not depart from the scope and spirit of the described embodiments will be apparent to those skilled in the art. The terminology used in this specification has been selected to best explain the principles of the embodiments, practical applications, or technical improvements to the technology found in the market, or to enable other skilled in the art to understand the embodiments disclosed herein.
Claims
1. 1. A computer-implemented method for managing queries against a non-relational database, the computer-implemented method comprising: receiving a query to retrieve objects from a storage system of the non-relational database system; identifying a disk volume of said storage system from said object record; identifying logical and / or physical input / output connections to the disk volumes of the storage system, where each of the logical and / or physical input / output connections corresponds to a path from the non-relational database to the disk volumes of the storage system, where each of the logical and / or physical input / output connections includes one or more input / output queues tagged to dissimilar central processing unit (CPU) cores of the storage system; obtaining a CPU core speed for a CPU core of the storage system; selecting one of the identified logical and / or physical input / output connections to be used to send a request to the storage system to retrieve the object based on input / output access characteristics of the identified logical and / or physical input / output connections, the CPU core speed for the CPU core, and a determined level of urgency for retrieving the object; and transmitting the request to the storage system through the selected logical or physical input / output connection. A computer-implemented method comprising:
2. 2. The computer-implemented method of claim 1, further comprising: collecting input / output statistics for each of a plurality of paths from the non-relational database to the storage system to evaluate an input / output workload and latency for each path.
3. The computer-implemented method of claim 2 , further comprising using the collected input / output statistics to construct a pattern of input / output access characteristics through each of the plurality of paths.
4. The computer-implemented method of claim 2 or 3, wherein the multiple paths occur through a hybrid network environment connected between the non-relational database system and the storage system.
5. obtaining urgency information regarding the query; and determining the level of urgency for retrieval of the object based on the obtained urgency information. The computer-implemented method of claim 1 , further comprising:
6. The computer-implemented method of claim 5 , wherein the obtained urgency information is selected from a group including an object category of the object requested to be retrieved and a type of application requesting retrieval of the object.
7. The computer-implemented method of claim 1 , wherein the query to retrieve the objects is received from an artificial intelligence application.
8. 1. A computer program product for managing queries against a non-relational database, the computer program product including one or more computer readable storage media having program code embodied therein, the program code comprising: receiving a query to retrieve objects from a storage system of the non-relational database system; identifying a disk volume of the storage system from a record of the object; identifying logical and / or physical input / output connections to the disk volumes of the storage system, where each of the logical and / or physical input / output connections corresponds to a path from the non-relational database to the disk volumes of the storage system, where each of the logical and / or physical input / output connections includes one or more input / output queues tagged to dissimilar central processing unit (CPU) cores of the storage system; obtaining a CPU core speed for a CPU core of the storage system; selecting one of the identified logical and / or physical input / output connections to be used to send a request to the storage system to retrieve the object based on input / output access characteristics of the identified logical and / or physical input / output connections, the CPU core speed for the CPU core, and a determined level of urgency for retrieving the object; and sending the request to the storage system through the selected logical or physical input / output connection.
4. A computer program product comprising programming instructions for:
9. The program code further comprises: collecting input / output statistics for each of a plurality of paths from the non-relational database to the storage system to evaluate the input / output workload and latency of each path; 9. The computer program product of claim 8, comprising the programming instructions for:
10. The program code further comprises: a step of: using the collected input / output statistics to construct a pattern of input / output access characteristics through each of the plurality of paths.
10. The computer program product of claim 9, further comprising the programming instructions for:
11. 11. The computer program product of claim 9 or 10, wherein the multiple paths occur through a hybrid network environment connected between the non-relational database system and the storage system.
12. The program code further comprises: obtaining urgency information regarding the query; and determining the level of urgency for retrieval of the object based on the obtained urgency information.
12. A computer program product according to claim 8, comprising the programming instructions for:
13. 13. The computer program product of claim 12, wherein the obtained urgency information is selected from a group comprising an object category of the object requested to be retrieved and a type of application requesting retrieval of the object.
14. 14. The computer program product of claim 8, wherein the query for retrieving the objects is received from an artificial intelligence application.
15. memory for storing a computer program for managing queries against a non-relational database; and A processor connected to the memory a processor for detecting a plurality of inputs of a signal from the plurality of inputs; receiving a query to retrieve objects from a storage system of the non-relational database system; identifying a disk volume of the storage system from a record of the object; identifying logical and / or physical input / output connections to the disk volumes of the storage system, where each of the logical and / or physical input / output connections corresponds to a path from the non-relational database to the disk volumes of the storage system, where each of the logical and / or physical input / output connections includes one or more input / output queues tagged to dissimilar central processing unit (CPU) cores of the storage system; obtaining a CPU core speed for a CPU core of the storage system; selecting one of the identified logical and / or physical input / output connections to be used to send a request to the storage system to retrieve the object based on input / output access characteristics of the identified logical and / or physical input / output connections, the CPU core speed for the CPU core, and a determined level of urgency for retrieving the object; and sending the request to the storage system through the selected logical or physical input / output connection. A system configured to execute program instructions of the computer program comprising:
16. The program instructions of the computer program further include: collecting input / output statistics for each of a plurality of paths from the non-relational database to the storage system to evaluate the input / output workload and latency of each path; The system of claim 15 , comprising:
17. The program instructions of the computer program further include: using said collected input / output statistics to construct a pattern of input / output access characteristics through each of said plurality of paths. The system of claim 16 , comprising:
18. 18. The system of claim 16 or 17, wherein the multiple paths occur through a hybrid network environment connected between the non-relational database system and the storage system.
19. The program instructions of the computer program further include: obtaining urgency information regarding the query; and determining the level of urgency for retrieval of the object based on the obtained urgency information.
19. The system of claim 15, comprising:
20. 20. The system of claim 19, wherein the obtained urgency information is selected from a group including an object category of the object requested to be retrieved and a type of application requesting retrieval of the object.
21. A computer program comprising program code means adapted to carry out a computer implemented method according to any one of claims 1 to 7, when the program is run on a computer.
Citation Information
Patent Citations
System-wide query optimization
JP2016500454A
Cooperative Admission Control for Network-Accessible Block Storage
JP2017514243A
Systems and Methods for the Simultaneous Optimization of Source Selection and Traffic Engineering
JP2018501732A
Method for accessing data records of a master data management system
US20200320153A1
Computer system and server
WO2017187582A1
