System and methods for performing updated query requests in a system of multiple database engine

Information

  • Patent Grant
  • 11698911
  • Patent Number
    11,698,911
  • Date Filed
    Monday, November 9, 2020
    4 years ago
  • Date Issued
    Tuesday, July 11, 2023
    a year ago
  • CPC
    • G06F16/2471
    • G06F16/214
    • G06F16/22
    • G06F16/221
    • G06F16/2379
    • G06F16/24553
    • G06F16/27
  • Field of Search
    • CPC
    • G06F16/221
    • G06F16/2379
    • G06F16/24553
  • International Classifications
    • G06F16/2458
    • G06F16/21
    • G06F16/27
    • G06F16/22
    • G06F16/23
    • G06F16/2455
Abstract
A processor may receive a request with a column-oriented operation. The query request may be related to updates to a row-oriented database based on the query request previously performed on the row-oriented database. The processor may determine the amount of time for replicating the updates to a column-oriented database. If the amount of time for replicating the updates to the column-oriented database is greater than a threshold amount of time, then the processor may create a transient file with the updates. The transient file may be in a format that is recognized by the column-oriented database. The processor may query the column-oriented database based on the query request and the transient file.
Description
BACKGROUND

The present disclosure relates generally to systems and methods, for querying and updating databases. More specifically, the present disclosure is related to systems and methods for querying an appropriate database in response to receiving a particular query request.


This section is intended to introduce the reader to various aspects of art that may be related to various aspects of the present disclosure, which are described and/or claimed below. This discussion is believed to be helpful in providing the reader with background information to facilitate a better understanding of the various aspects of the present disclosure. Accordingly, it should be understood that these statements are to be read in this light, and not as admissions of prior art.


Organizations, regardless of size, rely upon access to information technology (IT) and data and services for their continued operation and success. A respective organization's IT infrastructure may have associated hardware resources (e.g. computing devices, load balancers, firewalls, switches, etc.) and software resources (e.g. productivity software, database applications, custom applications, and so forth). These resources may be provided and provisioned by one or more different providers with different settings or values.


Various types of data may be organized and stored in databases that are created, stored, and maintained on different types of computer-based systems. Examples of such databases include row-oriented databases and column-oriented databases. Such databases may be used to store data ranging from personal information or data developed in large-scale industrial, commercial, and governmental contexts. Thus, such stored data sets may range from the trivially small in size to those that may encompass tens of millions of records and data points, or more. As the number of records and the number of defined fields within a database grow in number, however, the limitations of a given database architecture may impact the capability of a given database to be used efficiently.


BACKGROUND

A summary of certain embodiments disclosed herein is set forth below. It should be understood that these aspects are presented merely to provide the reader with a brief summary of these certain embodiments and that these aspects are not intended to limit the scope of this disclosure. Indeed, this disclosure may encompass a variety of aspects that may not be set forth below.


In one embodiment, a system, comprising, a row-oriented database comprising a first set of data entries; a column-oriented database comprising a second set of data entries; a storage component comprising information associated with one or more changes made to the first set of data entries, and a computing device comprising a processor configured to execute computer-executable instructions stored on a non-transitory computer-readable medium. The computer-executable instructions, when executed by the processing component, cause the processing component to perform actions that include at least: receiving a query request configured to identify one or more entries in the first set of data entries, the second set of data entries, or both; determining whether the query request comprises performing a row-oriented operation, a column-oriented operation, or both; and executing the query request via the column-oriented database in response to the query request comprising the column-oriented operation. Executing the query request via the column-oriented database includes at least: determining whether the column-oriented operation is associated with the one or more changes based on the information; creating a transient file associated with the one or more changes in response to the column-oriented operation being associated with the one or more changes; and querying the column-oriented database based on the query request and the transient file.


In a further embodiment, a non-transitory computer-readable medium, comprising computer-executable instructions are provided. The computer-executable instructions, when executed by a processor, cause the processor to perform actions that include at least: receiving a query request configured to identify one or entries in a first set of data entries associated with a row-oriented database, a second set of data entries associated with a column-oriented database, or both; determining whether the query request comprises performing a row-oriented operation, a column-oriented operation, or both; and executing the query request via the column-oriented database in response to the query request comprising the column-oriented operation. Executing the query request via the column-oriented database includes at least: determining whether the column-oriented operation is associated with one or more changes made to the first set of data entries; creating a transient file associated with the one or more changes in response to the column-oriented operation being associated with the one or more changes; and querying the column-oriented database based on the query request and the transient file.


In an additional embodiment, a method for performing up-to-date queries in a multi-database engine is provided. In accordance with this method, a processor receives a query request that identifies one or entries in a first set of data entries associated with a row-oriented database, a second set of data entries associated with a column-oriented database, or both. The processor determines whether the query request comprises performing a row-oriented operation, a column-oriented operation, or both. The processor executes the query request via the column-oriented database in response to the query request comprising the column-oriented operation. Executing, via the processor, the query request via the column-oriented database includes at least: determining whether the column-oriented operation is associated with one or more changes made to the first set of data entries; creating a transient file associated with the one or more changes in response to the column-oriented operation being associated with the one or more changes; and querying the column-oriented database based on the query request and the transient file.


Various refinements of the features noted above may exist in relation to various aspects of the present disclosure. Further features may also be incorporated in these various aspects as well. These refinements and additional features may exist individually or in any combination. For instance, various features discussed below in relation to one or more of the illustrated embodiments may be incorporated into any of the above-described aspects of the present disclosure alone or in any combination. The brief summary presented above is intended only to familiarize the reader with certain aspects and contexts of embodiments of the present disclosure without limitation to the claimed subject matter.





BRIEF DESCRIPTION OF THE DRAWINGS

Various aspects of this disclosure may be better understood upon reading the following detailed description and upon reference to the drawings in which:



FIG. 1 is a block diagram of an embodiment of a cloud architecture in which embodiments of the present disclosure may operate;



FIG. 2 is a block diagram of a computing device utilized in a computing system that may be present in FIG. 1, in accordance with aspects of the present disclosure;



FIG. 3 is a flow chart of a process used to determine a database engine for performing a query request, in accordance with aspects of the present disclosure;



FIG. 4 is a flow chart of a process used to update a column-oriented database, in accordance with aspects of the present disclosure;



FIG. 5 is a flow chart of a process used to assess the validity of a query request, in accordance with aspects of the present disclosure;



FIG. 6 is a block diagram that depicts a multi-database engine for performing up-to-date query requests, in accordance with aspects of the present disclosure;



FIG. 7 is a flow chart of a process for performing up-to-date query requests on a column-oriented database using a transient file, in accordance with aspects of the present disclosure; and



FIG. 8 is a flow chart of a process for creating a transient file based on whether an amount time for replicating changes to a column-oriented database is greater than a threshold amount of time, in accordance with aspects of the present disclosure.





DETAILED DESCRIPTION

One or more specific embodiments will be described below. In an effort to provide a concise description of these embodiments, not all features of an actual implementation are described in the specification. It should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and enterprise-related constraints, which may vary from one implementation to another. Moreover, it should be appreciated that such a development effort might be complex and time consuming, but would nevertheless be a routine undertaking of design, fabrication, and manufacture for those of ordinary skill having the benefit of this disclosure.


As used herein, the term “computing system” refers to an electronic computing device such as, but not limited to, a single computer, virtual machine, virtual container, host, server, laptop, and/or mobile device, or to a plurality of electronic computing devices working together to perform the function described as being performed on or by the computing system. As used herein, the term “medium” refers to one or more non-transitory, computer-readable physical media that together store the contents described as being stored thereon. Embodiments may include non-volatile secondary storage, read-only memory (ROM), and/or random-access memory (RAM). As used herein, the term “application” refers to one or more computing modules, programs, processes, workloads, threads and/or a set of computing instructions executed by a computing system. Example embodiments of an application include software modules, software objects, software instances and/or other types of executable code.


Querying and Updating Databases


As discussed in greater detail below, the present embodiments described herein improve efficiencies in performing queries on a database. Due to the growing amount of data, executing and responding to query requests continue to increase in time and complexity. As a result, directing query requests to appropriate database engines may provide efficiency in response times to query requests and may provide more useful analytical use cases. In one example, both a row-oriented database and a column-oriented database may contain a set of data entries. After a query request is received, a processor may determine whether the query request contains an analysis operation. If the query request contains an analysis operation, the processor may determine whether the column-oriented database has data entries related to the query request. If the column-oriented database does indeed contain data entries related to the query request, then the processor may send the query request to the column-oriented database for querying. If the column-oriented database does not contain data entries related to the query request, a replicator component may copy the relevant data entries from the row-oriented database to the column-oriented database before the processor sends the query request to the column-oriented database. On the other hand, if the query request does not contain an analysis operation, then the processor may send the query request to the row-oriented database.


Query requests that do not contain analysis operations may be sent to row-oriented databases due to how data is stored in a memory component (e.g. memory blocks) of the row-oriented database. Data blocks stored in the memory component of row-oriented databases include multiple types of data with respect to a column for one particular entity. With this in mind, updates to data blocks from a row-oriented database are relatively easier to implement compared to a column-oriented database. On the other hand, the processor may perform analysis operation more efficiently in column-oriented databases compared to row-oriented databases due to how data is stored in memory component of the column-oriented database. Data blocks stored in the memory component of column-oriented databases include multiple values for multiple entities, such that the multiple values are related to the same data type. As a result, since the data type of each column may be similar, performing analysis operations such as aggregating data within particular columns or queries involving executing certain algorithms on data stored in each column may be performed more efficiently, as compared to performing the same algorithms in data stored in different rows.


With this in mind, updating data entries in column-oriented databases may be relatively more difficult compared to row-oriented databases. For instance, when performing updates, which may be received as row-oriented cells, the processor may read through a certain number of rows in a row-oriented database to make the update. However, due to its column-oriented nature, to make the same update in a column-oriented database, the processor may read through a larger amount of columns as compared to the minimum number of rows before it may make the same row-oriented update as performed on row-oriented database. As such, updating column-oriented databases may be especially time consuming if the column-oriented database contains a large volume of data entries. To address the issue of updating a column-oriented database, the row with data entries to be updated may be deleted after receiving an indication that a modification to the data entries has been received. In place of the deleted row, a new row with the updated data entries may be inserted. Deleting the row forms separate delete data structures with the data that was previously stored in the deleted row. Within a first reserve section of the column-oriented database, these separate delete data structures are joined together with data entries associated with previously executed query requests (e.g., updates, modifications). The separate delete data structures of the first reserve section may be permanently deleted on a periodic basis (e.g., daily, monthly), such that the first reserve section no longer includes the separate delete data structures after the delete operation is performed. After the separate delete data structures are deleted, new query requests may be directed to a second reserve section of the column-oriented database. In this way, the separate delete data structures are maintained in such a manner that reserve sections of the column-oriented database are efficiently utilized and additional sections of the column-oriented database are available for data storage and query operations.


With the preceding in mind, the following figures relate to various types of generalized system architectures or configurations that may be employed to provide services to an organization in a multi-instance framework and on which the present approaches may be employed. Correspondingly, these system and platform examples may also relate to systems and platforms on which the techniques discussed herein may be implemented or otherwise utilized. Turning now to FIG. 1, a schematic diagram of an embodiment of a cloud computing system 10 where embodiments of the present disclosure may operate, is illustrated. The cloud computing system 10 may include a client network 12, a network 14 (e.g., the Internet), and a cloud-based platform 16. In some implementations, the cloud-based platform 16 may be a configuration management database (CMDB) platform. In one embodiment, the client network 12 may be a local private network, such as local area network (LAN) having a variety of network devices that include, but are not limited to, switches, servers, and routers. In another embodiment, the client network 12 represents an enterprise network that could include one or more LANs, virtual networks, data centers 18, and/or other remote networks. As shown in FIG. 1, the client network 12 is able to connect to one or more client devices 20A, 20B, and 20C so that the client devices are able to communicate with each other and/or with the network hosting the platform 16. The client devices 20A, 20B, and 20C may be computing systems and/or other types of computing devices generally referred to as Internet of Things (IoT) devices that access cloud computing services, for example, via a web browser application or via an edge device 22 that may act as a gateway between the client devices 20A, 20B, and 20C and the platform 16. FIG. 1 also illustrates that the client network 12 includes an administration or managerial device, agent, or server, such as a management, instrumentation, and discovery (MID) server 24 that facilitates communication of data between the network hosting the platform 16, other external applications, data sources, and services, and the client network 12. Although not specifically illustrated in FIG. 1, the client network 12 may also include a connecting network device (e.g., a gateway or router) or a combination of devices that implement a customer firewall or intrusion protection system.


For the illustrated embodiment, FIG. 1 illustrates that client network 12 is coupled to a network 14. The network 14 may include one or more computing networks, such as other LANs, wide area networks (WAN), the Internet, and/or other remote networks, to transfer data between the client devices 20A, 20B, and 20C and the network hosting the platform 16. Each of the computing networks within network 14 may contain wired and/or wireless programmable devices that operate in the electrical and/or optical domain. For example, network 14 may include wireless networks, such as cellular networks (e.g., Global System for Mobile Communications (GSM) based cellular network), IEEE 802.11 networks, and/or other suitable radio-based networks. The network 14 may also employ any number of network communication protocols, such as Transmission Control Protocol (TCP) and Internet Protocol (IP). Although not explicitly shown in FIG. 1, network 14 may include a variety of network devices, such as servers, routers, network switches, and/or other network hardware devices configured to transport data over the network 14.


In FIG. 1, the network hosting the platform 16 may be a remote network (e.g., a cloud network) that is able to communicate with the client devices 20A, 20B, and 20C via the client network 12 and network 14. The network hosting the platform 16 provides additional computing resources to the client devices 20A, 20B, and 20C and/or the client network 12. For example, by utilizing the network hosting the platform 16, users of the client devices 20A, 20B, and 20C are able to build and execute applications for various enterprise, IT, and/or other organization-related functions. In one embodiment, the network hosting the platform 16 is implemented on the one or more data centers 18, where each data center 18 could correspond to a different geographic location. Each of the data centers 18 includes a plurality of virtual servers 26 (also referred to herein as application nodes, application servers, virtual server instances, application instances, or application server instances), where each virtual server 26 can be implemented on a physical computing system, such as a single electronic computing device (e.g., a single physical hardware server) or across multiple-computing devices (e.g., multiple physical hardware servers). Examples of virtual servers 26 include but are not limited to a web server (e.g., a unitary Apache installation), an application server (e.g., unitary JAVA Virtual Machine), and/or a database server (e.g., a unitary relational database management system (RDBMS) catalog).


To utilize computing resources within the platform 16, network operators may choose to configure the data centers 18 using a variety of computing infrastructures. In one embodiment, one or more of the data centers 18 are configured using a multi-tenant cloud architecture, such that one of the server instances 26 handles requests from and serves multiple customers. Data centers 18 with multi-tenant cloud architecture commingle and store data from multiple customers, where multiple customer instances are assigned to one of the virtual servers 26. In a multi-tenant cloud architecture, the particular virtual server 26 distinguishes between and segregates data and other information of the various customers. For example, a multi-tenant cloud architecture could assign a particular identifier for each customer in order to identify and segregate the data from each customer. Generally, implementing a multi-tenant cloud architecture may suffer from various drawbacks, such as a failure of a particular one of the server instances 26 causing outages for all customers allocated to the particular server instance.


In another embodiment, one or more of the data centers 18 are configured using a multi-instance cloud architecture to provide every customer its own unique customer instance or instances. For example, a multi-instance cloud architecture could provide each customer instance with its own dedicated application server(s) and dedicated database server(s). In other examples, the multi-instance cloud architecture could deploy a single physical or virtual server 26 and/or other combinations of physical and/or virtual servers 26, such as one or more dedicated web servers, one or more dedicated application servers, and one or more database servers, for each customer instance. In a multi-instance cloud architecture, multiple customer instances could be installed on one or more respective hardware servers, where each customer instance is allocated certain portions of the physical server resources, such as computing memory, storage, and processing power. By doing so, each customer instance has its own unique software stack that provides the benefit of data isolation, relatively less downtime for customers to access the platform 16, and customer-driven upgrade schedules.


Although FIG. 1 illustrates specific embodiments of a cloud computing system 10, the disclosure is not limited to the specific embodiments illustrated in FIG. 1. For instance, although FIG. 1 illustrates that the platform 16 is implemented using data centers, other embodiments of the platform 16 are not limited to data centers and can utilize other types of remote network infrastructures. The use and discussion of FIG. 1 are only examples to facilitate ease of description and explanation and are not intended to limit the disclosure to the specific examples illustrated therein.


As may be appreciated, the respective architectures and frameworks discussed with respect to FIG. 1 incorporate computing systems of various types (e.g., servers, workstations, client devices, laptops, tablet computers, cellular telephones, and so forth) throughout. For the sake of completeness, a brief, high level overview of components typically found in such systems is provided. As may be appreciated, the present overview is intended to merely provide a high-level, generalized view of components typical in such computing systems and should not be viewed as limiting in terms of components discussed or omitted from discussion.


By way of background, it may be appreciated that the present approach may be implemented using one or more processor-based systems such as shown in FIG. 2. Likewise, applications and/or databases utilized in the present approach may be stored, employed, and/or maintained on such processor-based systems. As may be appreciated, such systems as shown in FIG. 2 may be present in a distributed computing environment, a networked environment, or other multi-computer platform or architecture. Likewise, systems such as that shown in FIG. 2, may be used in supporting or communicating with one or more virtual environments or computational instances on which the present approach may be implemented.


With this in mind, an example computer system may include some or all of the computer components depicted in FIG. 2, which generally illustrates a block diagram of example components of a computing system 200 and their potential interconnections or communication paths, such as along one or more busses. As illustrated, the computing system 200 may include various hardware components such as, but not limited to, one or more processors 202, one or more busses 204, memory 206, input devices 208, a power source 210, a network interface 212, a user interface 214, and/or other computer components useful in performing the functions described herein.


The one or more processors 202 may include one or more microprocessors capable of performing instructions stored in the memory 206. In some embodiments, the instructions may be pipelined from execution stacks of each process in the memory 206 and stored in an instruction cache of the one or more processors 202 to be processed more quickly and efficiently. Additionally or alternatively, the one or more processors 202 may include application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), and/or other devices designed to perform some or all of the functions discussed herein without calling instructions from the memory 206.


With respect to other components, the one or more busses 204 include suitable electrical channels to provide data and/or power between the various components of the computing system 200. The memory 206 may include any tangible, non-transitory, and computer-readable storage media. Although shown as a single block in FIG. 1, the memory 206 can be implemented using multiple physical units of the same or different types in one or more physical locations. The input devices 208 correspond to structures to input data and/or commands to the one or more processors 202. For example, the input devices 208 may include a mouse, touchpad, touchscreen, keyboard and the like. The power source 210 can be any suitable source for power of the various components of the computing system 200, such as line power and/or a battery source. The network interface 212 includes one or more transceivers capable of communicating with other devices over one or more networks (e.g., a communication channel). The network interface 212 may provide a wired network interface or a wireless network interface. A user interface 214 may include a display that is configured to display text or images transferred to it from the one or more processors 202. In addition and/or alternative to the display, the user interface 214 may include other devices for interfacing with a user, such as lights (e.g., LEDs), speakers, and the like.


With this in mind, to improve efficiency in responding to query requests, the computing system 200, as discussed in FIG. 2, may perform a query request on a particular database based on a type of operation being performed by the query request. Hence, FIG. 3 is a flow chart of a process 300 by which the computing system 200 may select a particular database for performing a query request. Before proceeding, it should be noted that the process 300 serves as a non-limiting example associated with routing query requests based on the type of operation being performed by the query request. That is, the process 300 may be an example of a default routing method when limited knowledge associated with performing the query request on an optimal database may be available. On a periodic basis, after the computing system 200 performs the query request on a particular database (e.g., the row-oriented database) based on the process 300, the computing system 200 may perform the same query request on an alternative database (e.g., the column-oriented database) to gain information about performing the query request on more than one database engines. Based on analyzing information regarding performing query requests on different database engines, the computing system 200 may perform subsequent query requests on a particular database based on the determining the optimal database (e.g., time efficient, quickest results, computationally efficient) for performing the query requests.


The process 300 begins as the computing system 200 receives a query request from a client server (block 302). Operations of query requests may vary in complexity and response time (i.e., the amount of time it takes for query requests to be performed). Response time for queries may also vary depending on different types of databases. Examples query requests may include, but are not limited to, aggregating data in a table format, analyzing data to render a report, or filtering data in an ad-hoc manner to identify a data entry and a corresponding line. Query requests may be received periodically from the client server or any other suitable computing device.


As query requests are received by the computing system 200, the computing system 200 may determine a type of operation of the query request may be determined. For instance, at block 304, the computing system 200 determines whether the query request includes an operation requesting column data for a particular row (block 304). If the query request includes an operation requesting column data for a particular row, the computing system 200 may proceed to block 306 and send the query request to a row-oriented database, in which data entries are organized and stored in a row format (block 306). In some embodiments, a row-oriented database may store data according to each row in adjacent memory block. As a result, read and write operations may be performed efficiently for records stored in a row-oriented database due to the organization of the data corresponding to data stored in the memory blocks. In some embodiments, row-oriented databases may be used to perform a filtering operation, which allows for identifying records or data entries that match particular criteria. As such, if the query request includes a filtering operation, the computing system 200 may send the query request to the row-oriented database. In one embodiment, a filtering operation may include reading through rows to identify a value associated with a particular data entry in the row-oriented database. In another embodiment, a filtering operation may include replacing the value of a data entry with another value.


Referring back to block 304, if the query request does not include an operation requesting column data for a particular row, then the computing system 200 may proceed to block 308. At block 308, the computing system 200 may determine if the query request includes an analysis operation. If the query request includes the analysis operation, the computing system 200 may proceed to block 310. At block 310, the computing system 200 may determine if the column-oriented database includes data related to the query request. If the column-oriented database includes the requested data, the computing system 200 may, at block 312, may send, the query request to the column-oriented database to perform the operation indicated by the query request. The column-oriented database may include data entries organized and stored in a column format. In some embodiments, the column-oriented database may organize store data according to their arrangement or order in a column in adjacent memory blocks. As such, certain types of analytical processing may be performed more efficiently as compared to using a row-oriented database. Although read and write operations may be slower in a column-oriented database compared to a row-oriented database, the column-oriented database may be well-suited for performing operations applicable to entire datasets, such as analysis operations. For example, analysis operations may involve aggregation over a number of rows and columns. Examples of analysis operations may include aggregating data entries into a list, a table, or a group, rending a report from the data entries and the line.


Referring back to block 310, if the column-oriented database does not include the data related to the query request, the computing system 200 may proceed to block 314 and send the query request to a replicator component. In some embodiments, the replicator component may be deployed as a service on the same server where the column-oriented database is deployed. The replicator component may have access via a source credential to an initial database and a target credential to a target database. In one embodiment, the initial database may be a row-oriented database while the target database may be a column-oriented database. By way of example, the replicator component may have permission to read the query request and data entries from the initial database and copy the data entries to the target database in a column-oriented format. After relevant data entries related to the query request has been copied from the initial to the target database, the query request may be sent to the target database (e.g. the column-oriented database).


As discussed above, after the computing system 200 receives a query request, the computing system 200 may determine the type of operation of the query request. If the query request involves updating a column-oriented database, then the computing system 200 perform process 400. FIG. 4, a flowchart of process 400, illustrates in greater detail how the computing system 200 updates the column-oriented database. The process 400 begins as the computing system 200 receives an indication of a modification to one or more data entries of a column-oriented database (block 402). The modification may entail an update or a change in value or line to the one or more data entries of the column-oriented database. Based on the indication of the modification to the values of the one or more data entries, the computing system 200 may identify particular data entries of the column-oriented database that are to be updated (block 404). In some embodiments, the modification may be related to an insert, delete, or update operation performed on the one or more data entries. Examples of modifications may include causing updates to different tables, automatically generating or transforming values or the line for the data entries to be updated or invoking functions to perform tasks such as issuing alerts.


After the one or more data entries that are to be updated are identified, the computing system 200 may delete the row with the data entries to be updated via batching after receiving an indication that a modification to the data entries has been received (block 406). Batching may include a process that includes collecting and storing data for processing at a scheduled time, when a threshold amount of data has been accumulated rather than processing each data entry one at a time. In an embodiment, a series of query requests or jobs may be executed on a computer with minimal manual intervention as a result of batching techniques. Additionally, batching may allow for query requests or jobs to be processed at a scheduled time when computing resources are expected to be used less frequently or have a low amount of jobs to process compared to an average amount of jobs that the database is expected to process over a period of time. By way of example, batch processing may involve report generation and data format conversion.


As mentioned above, column-oriented databases may not efficiently perform read and write operations. However, due to its column-oriented nature, to perform a read or write operation, the column-oriented database, the computing system 200 may read through a number of memory blocks before it may make an equivalent row-oriented update. This process can be especially time consuming if the column-oriented database contains a large volume of data entries. Instead, to implement updates more efficiently, the computing system 200 may delete the row of memory block associated with data entries that are to be updated from the memory blocks, and the computing system 200 may, at block 406, replace the memory blocks with a new row consisting of the updated data entries.


After performing a delete operation to delete the row with the data entries to be updated, the computing system 200 may form one or more separate delete data structures (block 408). These separate delete data structures may represent data that was previously stored in the deleted row and may be located in a first reserve section of a memory component (e.g. memory blocks) of the column-oriented database. In place of the deleted row, the computing system 200 may insert a new row with the updated data entries or data entries that have changed in value via batching (block 410). Afterwards, within the first reserve section, the computing system 200 may join the separate delete data structures together with data entries associated with previously executed query requests (e.g., updates, modifications) (block 412).


At block 414, the computing system 200 may permanently delete the separate delete data structures of the first reserve section on a periodic basis (e.g., monthly, daily), such that the first reserve section no longer includes the separate delete data structures after the delete operation is performed. After the separate delete data structures are deleted, the computing system 200 may direct query requests to a second reserve section of the column-oriented database (block 416). Henceforth, the computing system 200 may direct data entries of new query requests to the second reserve section while the computing system 200 permanently removes the first reserve section from the memory component (block 418). In this way, the separate delete data structures are maintained in such a manner that reserve sections of the column-oriented database are efficiently utilized and additional sections of the column-oriented database are available for data storage and query operations.


As described above, query requests containing analysis operations may be directed towards a column-oriented database. However, in some instances, query requests directed for the column-oriented database may be re-routed to a row-oriented database or may be blacklisted. If the query request is a part of a predefined list of blacklist requests, then the query request may be sent to a row-oriented database. The predefined list of blacklist requests may include date trend requests, time trend requests, point queries, large field projections, or any combination thereof. If a response time of the query request in a row-oriented database is not less than a threshold amount of time X, the query may be performed on the column-oriented database. However, if the query fails on the column-oriented database due to problems such as syntax error or timeout, then it may be blacklisted or re-routed to the row-oriented database. Blacklisting a query request or re-routing the query request to the row-oriented database may also involve determining that a response time of the query request performed on the column-oriented database is greater than a threshold amount of time Y. Another example of blacklisting a query request or re-routing the query request to the row-oriented database may involve the response time of the query request performed on the column-oriented database plus a threshold amount of time Z being greater that the response time of the query request performed on the row-oriented database. Blacklisted query requests may also be re-evaluated again periodically. If the blacklisting is not valid, the blacklisted query request may be unblacklisted.


The process by which the computing system 200 may blacklist a query request intended to be performed on a column-oriented database is illustrated in FIG. 5. By way of example, FIG. 5 is a flowchart of process 500 that the computing system 200 may employ to determine whether a column-oriented query request may be blacklisted and thus ignored or re-routed to a row-oriented database. The process 500 begins as the computing system 200 receives a column-oriented query request (block 502). As mentioned in FIG. 3, column-oriented query requests may include analysis operations, which may involve aggregating or grouping data.


The computing system 200 may follow the steps within process 530 to determine whether the query request will be transmitted to a row-oriented database (block 516) and whether the query request will be blacklisted (block 518). Blacklisting is a mechanism that controls which elements (e.g. query requests) are allowed access to a computing entity (e.g. database). For instance, certain query requests that the computing system 200 deems for blacklisting may be denied access to particular databases. At block 504, the computing system 200 may determine whether the query request is a part of a predefined list of blacklist requests (block 504). The predefined list of blacklist request may include date trend requests, time trend requests, point queries, large field projections, or any combination thereof. In one embodiment, performing a point query may provide analysis for a single data entry in a database, while a large field projection may control which fields of the database may be displayed in response to the query request. If the query request is a part of the predefined list of blacklist requests, the computing system 200 may send the query request the row-oriented database (block 516), which may be better suited for the operations that are a part of the predefined list.


If the query request is not a part of the predefined list, the computing system 200 may then determines if the response time for performing the query request in a row-oriented database is less than a threshold amount of time X (block 506). In some embodiments, the threshold amount of time X may be configurable and set to 100 milliseconds, 1 second, 10 seconds, or any suitable time periods. If the response time for performing the query request in the row-oriented database is expected to be greater than the threshold amount of time X, then the computing system 200 may blacklist the query request (block 518) by updating the predefined list of query requests to include the query request in response to the expected response time being less than the threshold amount of time X. In another instance, the computing system 200 may query the row-oriented database (block 516) based on the expected response time of the query request being less than the threshold amount of time X.


Otherwise, if the response time for performing the query request in the row-oriented database is expected to be less than the threshold amount of time X, the computing system 200 may proceed to block 508 and perform the query request on the column-oriented database. As a result, the computing system 200 may check whether the query request fails on the column-oriented database (block 510). If the query request indeed fails on the column-oriented database, the computing system 200 may blacklist the query request (block 518) by updating the predefined list of query requests to include the query request in response to the query request failing on the column-oriented database. In another embodiment, the computing system 200 may query the row-oriented database (block 516) based on the query request failing on the column-oriented database. In one embodiment, a query request may fail on a column-oriented database due to a syntax error or a timeout. For example, incorrectly placing a character in an operation may result in a syntax error, thereby preventing the query request from executing. In another example, a server may timeout waiting for the query request to execute.


If the query request does not fail on a column-oriented database at block 510, the computing system 200 may determine whether the query request meets the conditions of block 512 and block 514. At block 512, if an expected response time of the query request in the column-oriented database is greater than a threshold amount of time Y, the computing system 200 may blacklist the query request (block 518) by updating the predefined list of query requests to include the query request in response to the expected response time of the query request being greater than the threshold amount of time Y. For instance, the computing system 200 may query the row-oriented database (block 516) based on the expected response time of the query request being greater than the threshold amount of time Y.


If the expected response time of the query request in the column-oriented database is less than the threshold amount of time Y, the computing system 200 proceeds to block 514. At block 514, if the expected response time of the query request on the column-oriented database is greater than the response time of the query request on the row-oriented database by a threshold amount of time Z, then the computing system 200 blacklists the query request (block 518) by updating the predefined list of query requests to include the query request in response to the expected response time plus the threshold amount of time Z being greater than the response time of the query request in the row-oriented database. In another instance, the computing system 200 may query the row-oriented database (block 516) based on the expected response time plus the threshold amount of time Z being greater than the response time of the query request in the row-oriented database. As such, it should be noted that in some embodiments, if the expected response time of the query request on the column-oriented database is greater than the response time of the query request on the row-oriented database by a threshold amount of time Z, then the computing system 200 may not perform an operation.


Both threshold amounts of time Y and Z may be configurable, and set to 2 seconds, 5 seconds, or any suitable time period. The expected response time of the query request in the column-oriented database may be calculated based on a model or simulation of query requests implemented on the column-oriented database. An average response time calculated based on the simulation may be set as the expected response time. Similarly, the expected response time of the query request in a row-oriented database may be calculated based on a model or simulation of query requests implemented on the row-oriented database.


In one example, if the computing system 200 has not executed the query request on a row-oriented database, and the processor lacks data associated with the query request performed on the row-oriented database, the query request may be blacklisted. Afterwards, the computing system 200 may send the now blacklisted query request to the row-oriented database to retrieve relevant data before performing process 530.


Otherwise, if the expected response time of the query request on the column-oriented database is less than the response time of the query request in the row-oriented database by the threshold amount of time Z, the computing system 200 may wait a threshold amount of time W (block 520). The threshold amount of time W may be configurable and set to 24 hours or any suitable time period. After waiting the threshold amount of time W, the computing system 200 may retrieve the blacklisted query requests (block 522) to re-evaluate the blacklisted query requests. In some instances, the computing system 200 may retrieve the most recently blacklisted query request to re-evaluate. In another example, the computing system 200 may retrieve the query requests that have been blacklisted twice or at least more than once to re-evaluate. The computing system 200 may even retrieve a query request that is a combination of having been most recently blacklisted and having been blacklisted more than once. The computing system 200 may re-evaluate the blacklisted query request based on the steps within process 530 (block 524). At block 526, the computing system 200 determines whether the decision to blacklist the query request was valid. If the blacklisting is not valid, then the blacklisted query request may be unblacklisted (block 528). Otherwise, if the blacklisting is valid, the blacklisted query request may be ignored and remain blacklisted (block 518). In some examples, if a blip, error, or bug in the backend of computing system 200 results in an unintended blacklisting, the computing system 200 may unblacklist the blacklisted query request.


Performing Up-to-Date Queries in a Multi-Database Engine


In addition to the techniques described above, the present embodiments described herein improve efficiencies in updating query requests sent to column-oriented databases. Due to the growing amount of data stored on databases, executing and responding to query requests continue to increase in time and complexity. As a result, a processor may direct query requests to appropriate database engines to improve efficiency in response times and performance of query requests. For example, in some embodiments, query requests that contain filtering operations (e.g., updating row-oriented cells) may be sent to a row-oriented database in view of how data is stored in a memory component (e.g. memory blocks) of the row-oriented database. That is, data blocks stored in the memory component of the row-oriented database may include multiple types of data that corresponds to different columns for a particular entity. Since the memory component of the row-oriented database is organized in this manner, updates to data blocks in the row-oriented database are relatively easier to implement as compared to being performed in a column-oriented database.


On the other hand, when performing analysis operations (e.g., aggregating data), the processor may perform these types of operations more efficiently via the column-oriented database as compared to the row-oriented database due to how data is stored in a memory component of the column-oriented database. That is, data blocks stored in the memory component of column-oriented databases may include multiple values for multiple entities in a single column, such that the multiple values are related to the same data type. As a result, since the data type of each column may be similar, performing analysis operations, such as aggregating data within particular columns or performing queries involving executing certain algorithms on data stored in each column, may be performed more efficiently in a column-oriented database, as compared to performing the same algorithms in data stored in different rows.


Keeping the foregoing in mind, in some embodiments described above, updates performed on row-oriented databases may be replicated into column-oriented databases. In these cases, query requests directed to the column-oriented database regarding recent updates performed in a row-oriented database may not include the updated entries due to a time delay or inefficiencies involved in performing updates in column-oriented databases. For example, after a particular data entry has been updated within a row-oriented database, a user may select to view the updated data entries in an aggregated format (e.g., list, table). While updating a particular data entry may be directed towards a row-oriented operation, presenting the updated data entries may be directed towards a column-oriented operation. As mentioned above, when an update is performed in the row-oriented database, the update may not be performed simultaneously in the column-oriented database. Instead, updates in the column-oriented database may experience a time delay (e.g., 5 seconds, 10 seconds, or any other period of time) before being executed due to how data entries from the row-oriented database are replicated to the column-oriented database.


By way of example, the processor may determine that the query request recently updated via the row-oriented database may be directed towards the column-oriented database. Before the processor sends the query request to the column-oriented database, data entries from the row-oriented database may be replicated in the column-oriented database via a replicator component separate from the row-oriented and the column-oriented databases. However, performing the query request on the column-oriented database may not yield accurate or up-to-date results if the data entries that correspond to the updates made via the row-oriented database are not yet replicated in the column-oriented database. With this in mind, the following disclosure presents various systems and method to ensure that queries being performed on the column-oriented database retrieve accurate data entries that include updates that were recently made via the row-oriented database.


With the preceding in mind, FIG. 6 illustrates a block diagram of a server system 600 associated with performing a query request on a column-oriented database (e.g., Column DB) 602 while accounting for updates performed via the row-oriented database. That is, the server system 600 illustrates components and processes that may be undertaken by the computing system 200 to efficiently query the column-oriented database 602 after updates are made to the row-oriented database 604. In one embodiment, queries received by the computing system 200 that involve updates or writes may be directed to the row-oriented database (e.g., Row DB) 604 via a router 616 of the server system 600. In addition to directing these queries to the row-oriented database 604, the server system 600 may track or populate a list (e.g., redo log) of entries updated in the row-oriented database 604, such that the list may be used to replicate the changes made to the row-oriented database 604 into the column-oriented database 602. That is, as updates are made to the row-oriented database 604, the list is updated to include details regarding the respective change. As such, entry changes or updates to the row-oriented database 604 that have not been replicated in the column-oriented database 602 may be tracked through the course of performing various row-oriented operations or column-oriented operations. These changes may be referred to as deltas (e.g., Δ). Each delta may include a set of elements associated with inserts (e.g., creates, Δ C), deletes (e.g., Δ D), or updates (e.g., Δ U), such that the list 606 may detail each delta as an insert, delete, or update. In some embodiments, the list may be stored in a storage component 606.


With this in mind, in some embodiments, prior to performing a query, the computing system 200 may first determine whether queries directed to the column-oriented database 602 reference entries that are listed in the list (e.g., in memory delta store) 606. If these queries are related to an updated entry, the computing system 200 may send the query to the column-oriented database 602 via the router 616 along with a command or primitive (e.g., insert bat, delete list) that details the update made to the respective entry, as determined based on the list. In this way, the computing system 200 may provide the column-oriented database 602 with the updated entry, such that the resulting query may include the updated entries. By employing the computing system 200 described above, queries performed on the row-oriented database 604 and the column-oriented database 602 may be embedded into a single process, such that the computing system 200 may facilitate queries to both databases. That is, along with their routing logic, both the row-oriented database 604 and the column-oriented database 602 may be disposed within a single server device or within the same process space. Additionally, the row-oriented database 604 and the column-oriented database 602 may have access to each other's up-to-date data entries and databases.


Keeping the foregoing in mind and referring to FIG. 6, in some embodiments, queries requests may be received by a parser component 612, which may be a compiler or interpreter component that may break down queries into a parse tree 614 that represents different elements of the query and relationships between each of the elements of the query. The query request may enter the parser component 612 as an input in the form of a sequence of tokens or program instructions 610 and may be outputted from the parser as the parse tree 614.


After parsing the query request, the computing system 200 may determine a type of operation associated with the query request and may identify a database in which the query request may be directed via the router 616. For instance, if the query request contains operations that are performed more efficiently using the row-oriented database 604, the router 616 of the computing system 200 may direct the query request to the row-oriented database 604. In addition to performing the query request using the row-oriented database 604, the computing system 200 may log updates or changes associated with the query request to a storage component (e.g., in-memory delta storage) 606. The storage component 606 may store a list, log, or record to track changes, such as updates, insertions, and deletions associated with query requests performed over a period of time. While these changes are added to the storage component 606, the computing system 200 may simultaneously create temporary, transient files containing the changes. The changes within the temporary, transient files are in a format that is recognized by or native to the column-oriented database 602.


Before sending a query request to the column-oriented database 602, the computing system 200 may determine whether the storage component 606 includes information that indicates that changes relevant to the query request were previously performed on the row-oriented database 604. For instance, if updating an entry associated with the query request was previously performed on the row-oriented database 604, the storage component 606 may include a record of that change (e.g., update). As a result, along with the query request, the computing system 200 may send a temporary, transient file containing the change associated with the query request to the column-oriented database 602, such that the column-oriented database 602 may include the updated entry when executing the query.


In sum, by coordinating the query operations of the row-oriented database 604 and the column-oriented database 602 using the process space described above, the computing system 200 provides improved efficiency in performing query request on the column-oriented database 602 regardless of how recent data entries have been updated on a corresponding row-oriented database 604. Along with having both databases accessible be the computing system 200, the in-memory delta storage 606 reduces the response time of query requests by creating temporary, transient files, which contain previous changes to the query request, recognized by the column-oriented database 602. Moreover, by coordinating the process for performing a query on a column-oriented database 602 with log data concerning updates made to the row-oriented database 604, the present embodiments may avoid employing a separate replicator component to periodically update the column-oriented database 602. By not having to replicate the changes associated with the query request performed on the row-oriented database 604 to the column-oriented database 602, queries performed on the column-oriented database 602 that do not include updated entries due to the time delay associated with replicating data entries from the row-oriented database 604 to the column-oriented database 602 may be avoided. Instead, the column-oriented database 602 may be able to directly access updates, insertions, deletions, or other changes performed on the query request via the temporary, transient files, and up-to-date and accurate data may be acquired in an efficient manner.


As discussed above, query requests that include column-oriented operations may have previously been executed on row-oriented databases 604, resulting in updated data entries associated with the query request. Rather than waiting for a period of time until the updated data entries are replicated in column-oriented databases 602, the computing system 200 may perform the query requests on the column-oriented databases 602 by generating transient files associated with the updated data entries. FIG. 7, a flowchart of process 700, illustrates in greater detail how the computing system 200 performs up-to-date query requests on the column-oriented databases 602 using transient files.


By way of example, the computing system 200 may receive a query request that includes a column-oriented operation for execution on a column-oriented database 602 (block 702). The column-oriented operation may include an analysis operation such as aggregating data within particular columns in the column-oriented database 602 or executing certain algorithms on data stored in each column of the column-oriented database 602.


After receiving the query request, the computing system 200 may determine the presence of any previous updates to the row-oriented database 604 based on the query request being executed on the row-oriented database 604 (block 704). As mentioned above, entry changes or updates to the row-oriented database 604 that have not been replicated in the column-oriented database 602 may be present at any given point in time. If the computing system 200 determines that no changes or updates have been made to the row-oriented database 604, then the computing system 200 performs the query request on the column-oriented database 602 (block 706). However, if the computing system 200 determines that changes or updates have been made to the row-oriented database 604, then the computing system 200 creates a transient file with the changes that capture the updates made to the row-oriented database (block 708). The changes or updates within the transient files are in a format that is recognized by or native to the column-oriented database 602. The transient files may be formatted in a column-oriented manner such that the updates are quickly inserted into the column-oriented database 602. The transient files may serve as temporary storage (e.g., memory, disk) for storing the changes or updated to the row-oriented database.


Rather than having to wait until the changes or updates are replicated to the column-oriented database 602 to perform the query request on the column-oriented database, the computing system 200 queries the column-oriented database based on the query request and the transient file with the changes or updates (block 710).


For example, a row-oriented database 604 and a column-oriented database 602 may include 1 million rows. Performing a query request on the row-oriented database 604 may include changes to the row-oriented database such that 10,000 rows of the row-oriented database include data entry changes. As mentioned above, row-oriented operations or updates may not be performed simultaneously in the column-oriented database 602. Instead, row-oriented updates in the column-oriented database 602 may experience a time delay (e.g., 5 seconds, 10 seconds, or any other period of time) before being executed due to how data entries from the row-oriented database 604 are replicated to the column-oriented database 602. That is, data blocks stored in the memory component of the row-oriented database 604 may include multiple types of data that corresponds to different columns for a particular entity. Since the memory component of the row-oriented database 604 is organized in this manner, updates to data blocks in the row-oriented database 604 are relatively easier to implement as compared to being performed in a column-oriented database 602.


As such, rather than experiencing inefficiencies caused by the time delay in replicating the row-oriented updates to the column-oriented database 602 to perform the query request on the column-oriented database, the computing system 200 may create a transient file with the updates (e.g., delta logs) to the 10,000 rows. Because the updated 10,000 rows have not been replicated to the column-oriented database, the computing system 200 may query the column-oriented database based on the query request and the transient file indicative of the updated 10,000 rows.


In additional and/or alternative embodiments, creating a transient file may depend of whether the amount of time for replicating changes to the column-oriented database 602 is greater that a threshold amount of time. In some embodiments, it may be effective to perform the query request on the column-oriented database 602 after any row-oriented changes have been replicated to the column-oriented database 602 rather than creating a transient file. As such, FIG. 8 is a flowchart of a process 800 associated with creating a transient file based on whether an amount time for replicating changes to the column-oriented database 602 is greater than a threshold amount of time.


By way of example, the computing system 200 may receive a query request that includes a column-oriented operation for execution on a column-oriented database 602 (block 802). After receiving the query request, the computing system 200 may determine the presence of any previous updates to a row-oriented database 604 based on the query request being executed on the row-oriented database 604 (block 804).


The computing system 200 may identify particular columns associated with data entries in the column-oriented database 602 (block 806). After determining the particular columns in the column-oriented database 602, the computing system 200 may determine whether the updates affect or are associated with the particular columns in the column-oriented database. If the computing system 200 determines that the updates are associated with the columns (block 808) in the column oriented database 602, the computing system may determine whether the time delay or amount of time for replicating the updates from the row-oriented database 604 to the column-oriented database 602 is greater than a threshold amount of time W (block 810). The threshold amount of time W may be 30 milliseconds, 1 second, 5 seconds, or any suitable amount of time.


If replicating the updates from the row-oriented database 604 to the column-oriented database 602 is less than (or equal to) the threshold amount of time W, in some embodiments, it may be effective for the computing system 200 to experience the time delay (e.g., threshold amount of time W) before performing the query request on the column-oriented database 602 (block 812) rather than creating a transient file with the updates. Processing power, resources, and expenses for creating the transient file may be saved by waiting for the updates to be replicated on the column-oriented database 602 instead.


However, if replicating the updates from the row-oriented database 604 to the column-oriented database 602 is greater or takes longer than the threshold amount of time W, then it may be efficient for the computing system 200 to create a transient file to save time in performing an up-to-date query request on the column-oriented database (block 814). The transient includes the updates to the row-oriented database 604 but is in a format that is recognizable or native to the column-oriented database 602. In turn, the computing 200 may query the column-oriented database based on the query request and the transient file (block 816).


In some embodiments, varying granularities associated with the query request may affect how the computing system 200 performs up-to-date query requests on the column-oriented database 602. For example, replicating every row-oriented update to the column-oriented database 602 may take 3 seconds, which may be greater than the threshold amount of time W. As such, the computing system 200 may create a transient file with each row-oriented update and subsequently query the column-oriented database 602 based on the query request and the transient file to save time in performing the up-to-date query request.


In some embodiments, the computing system 200 may determine a particular table is associated with the row-oriented updates based on the query request. Rather than replicating each row-oriented update to the column-oriented database 602, the computing system 200 may determine the amount of time for replicating the row-oriented updates of the particular table to the column-oriented database 602. For example, replicating the row-oriented updates of the particular table to the column-oriented database 602 may take 30 milliseconds, which may be lower than threshold amount of time W. Thus, rather than creating a transient file with the row-oriented updates of the particular table, the computing system 200 may save time, processing power, resources, and/or cost by waiting 30 milliseconds for the row-oriented updates to be replicated to the column-oriented database 602 before performing the query request on the column-oriented database 602.


Further, in some instances, the computing system 200 may determine relevant row-oriented updates have not been made to particular columns of the column-oriented database 602. Thus, rather waiting for each row-oriented update to be replicated to the column-oriented database 602, the computing system 200 may immediately perform the query request on the column-oriented database 602 based on identifying the particular columns associated with the query request. As such, taking into consideration varying granularities of query requests may save the computing system 200 time, processing power, cost, and resources in performing up-to-date query requests on column-oriented databases.


While only certain features of disclosed embodiments have been illustrated and described herein, many modifications and changes will occur to those skilled in the art. It is, therefore, to be understood that the appended claims are intended to cover all such modifications and changes as fall within the true spirit of the present disclosure.

Claims
  • 1. A system, comprising: a row-oriented database comprising a first set of data entries;a column-oriented database comprising a second set of data entries, wherein the column-oriented database and the row-oriented database are different databases;a storage component comprising information associated with one or more changes made to the first set of data entries; anda processor configured to execute computer-executable instructions stored on a non-transitory computer-readable medium, wherein the computer-executable instructions, when executed, cause the processor to: receive a query request configured to identify one or more entries in the first set of data entries, the second set of data entries, or both;determine whether the query request comprises performing a row-oriented operation, a column-oriented operation, or both;execute the query request via the column-oriented database in response to the query request comprising the column-oriented operation, wherein executing the query request via the column-oriented database comprises:determining whether the column-oriented operation is associated with the one or more changes based on the information;comparing an amount of time associated with replicating the one or more changes to the column-oriented database to a threshold amount of time;based on the amount of time exceeding the threshold amount of time:creating a transient file associated with the one or more changes in response to the column-oriented operation being associated with the one or more changes, wherein the transient file corresponds to a format recognized by the column-oriented database;transmitting the transient file and the query request to the column-oriented database; andquerying the column-oriented database based on the query request and the transient file;based on the amount of time being less than or equal to the threshold amount of time: replicating the one or more changes to the column-orientated database in response to the column-oriented operation being associated with the one or more changes; andquerying the column-oriented database based on the query request.
  • 2. The system of claim 1, wherein the one or more changes comprises an update, insert, or delete operation.
  • 3. The system of claim 1, wherein the row-oriented database and the column-oriented database are part of a single server device.
  • 4. The system of claim 1, wherein the row-oriented operation comprises a filtering operation, and wherein the filtering operation comprises retrieving one or more values associated with the one or more entries within the row-oriented database.
  • 5. The system of claim 1, wherein the column-oriented operation comprises an analysis operation, and wherein the analysis operation comprises aggregating one or more values associated with the one or more entries.
  • 6. The system of claim 1, wherein the processor is configured to: execute the query request via the row-oriented database in response to the query request comprising the row-oriented operation; andupdate the information based on the row-oriented operation.
  • 7. A non-transitory computer-readable medium, comprising computer-executable instructions that, when executed by one or more processors, cause the one or more processors to: receive a query request configured to identify one or more entries in a first set of data entries associated with a row-oriented database, a second set of data entries associated with a column-oriented database, or both, wherein the column-oriented database and the row-oriented database are different databases;determine whether the query request comprises performing a row-oriented operation, a column-oriented operation, or both;execute the query request via the column-oriented database in response to the query request comprising the column-oriented operation, wherein executing the query request via the column-oriented database comprises: determining whether the column-oriented operation is associated with one or more changes made to the first set of data entries;comparing an amount of time associated with replicating the one or more changes to the column-oriented database to a threshold amount of time;based on the amount of time exceeding the threshold amount of time: creating a transient file associated with the one or more changes in response to the column-oriented operation being associated with the one or more changes, wherein the transient file corresponds to a format recognized by the column-oriented database;transmitting the transient file and the query request to the column-oriented database; andquerying the column-oriented database based on the query request and the transient file;based on the amount of time being less than or equal to the threshold amount of time: replicating the one or more changes to the column-orientated database in response to the column-oriented operation being associated with the one or more changes; andquerying the column-oriented database based on the query request.
  • 8. The non-transitory computer-readable medium of claim 7, wherein the one or more changes comprises an update, insert, or delete operation.
  • 9. The non-transitory computer-readable medium of claim 7, wherein the row-oriented database and the column-oriented database are part of a single server device.
  • 10. The non-transitory computer-readable medium of claim 7, wherein the row-oriented operation comprises a filtering operation, and wherein the filtering operation comprises retrieving one or more values associated with the one or more entries within the row-oriented database.
  • 11. The non-transitory computer-readable medium of claim 7, wherein the column-oriented operation comprises an analysis operation, and wherein the analysis operation comprises aggregating one or more values associated with the one or more entries.
  • 12. A method, comprising: receiving, via a processor, a query request that identifies one or entries in a first set of data entries associated with a row-oriented database, a second set of data entries associated with a column-oriented database, or both, wherein the column-oriented database and the row-oriented database are different databases;determining, via the processor, whether the query request comprises performing a row-oriented operation, a column-oriented operation, or both;executing, via the processor, the query request via the column-oriented database in response to the query request comprising the column-oriented operation, wherein executing, via the processor, the query request via the column-oriented database comprises:determining whether the column-oriented operation is associated with one or more changes made to the first set of data entries;comparing an amount of time associated with replicating the one or more changes to the column-oriented database to a threshold amount of time;based on the amount of time exceeding the threshold amount of time: creating a transient file associated with the one or more changes in response to the column-oriented operation being associated with the one or more changes, wherein the transient file corresponds to a format recognized by the column-oriented database;transmitting the transient file and the query request to the column-oriented database; andquerying the column-oriented database based on the query request and the transient file;based on the amount of time being less than or equal to the threshold amount of time: replicating the one or more changes to the column-orientated database in response to the column-oriented operation being associated with the one or more changes; andquerying the column-oriented database based on the query request.
  • 13. The method of claim 12, comprising: executing, via the processor, the query request via the row-oriented database in response to the query request comprising the row-oriented operation; andupdating, via the processor, information associated with the one or more changes made to the first set of data entries based on the row-oriented operation.
  • 14. The method of claim 12, wherein the row-oriented database and the column-oriented database are part of a single server device.
  • 15. The method of claim 12, wherein the row-oriented operation comprises a filtering operation, and wherein the filtering operation comprises retrieving one or more values associated with the one or more entries within the row-oriented database.
  • 16. The method of claim 12, wherein the column-oriented operation comprises an analysis operation, and wherein the analysis operation comprises aggregating one or more values associated with the one or more entries.
CROSS-REFERENCE TO RELATED APPLICATION

This application claims priority from and the benefit of U.S. Provisional Application Ser. No. 62/932,931, entitled “SYSTEM AND METHODS FOR QUERYING AND UPDATING DATABASES,” filed Nov. 8, 2019; and U.S. Provisional Application Ser. No. 62/960,567, entitled “SYSTEMS AND METHODS FOR PERFORMING UPDATED QUERY REQUESTS IN A SYSTEM OF MULTIPLE DATABASE ENGINE,” filed Jan. 13, 2020, each of which is hereby incorporated by reference in its entirety for all purposes.

US Referenced Citations (68)
Number Name Date Kind
6321229 Goldman Nov 2001 B1
6799189 Huxoll Sep 2004 B2
6816898 Scarpelli Nov 2004 B1
6895586 Brasher May 2005 B1
7020706 Cates Mar 2006 B2
7027411 Pulsipher Apr 2006 B1
7392300 Ananharangachar Jun 2008 B2
7519620 Yokouchi Apr 2009 B2
7617073 Trinon Nov 2009 B2
7685167 Mueller Mar 2010 B2
7716353 Golovinsky May 2010 B2
7769718 Murley Aug 2010 B2
7853561 Holenstein Dec 2010 B2
7925981 Pourheidari Apr 2011 B2
7933927 Dee Apr 2011 B2
7945860 Vambenepe May 2011 B2
8082222 Rangarajan Dec 2011 B2
8380645 Kowalski Feb 2013 B2
8402127 Solin Mar 2013 B2
8554750 Rangaranjan Oct 2013 B2
8583692 Ganesh Nov 2013 B2
8612408 Trinon Dec 2013 B2
8646093 Myers Feb 2014 B2
8745040 Kowalski Jun 2014 B2
8751445 Takeuchi Jun 2014 B2
8812539 Milousheff Aug 2014 B2
8818994 Kowalski Aug 2014 B2
8832652 Mueller Sep 2014 B2
8972337 Gupta Mar 2015 B1
8996456 Naidu Mar 2015 B2
9015188 Behne Apr 2015 B2
9037536 Vos Apr 2015 B2
9065783 Ding Jun 2015 B2
9098322 Apte Aug 2015 B2
9122552 Whitney Sep 2015 B2
9137115 Mayfield Sep 2015 B2
9195657 Oks Nov 2015 B2
9317327 Apte Apr 2016 B2
9323801 Morozov Apr 2016 B2
9363252 Mueller Jun 2016 B2
9412084 Kowalski Sep 2016 B2
9467344 Gere Oct 2016 B2
9507842 Knoll Nov 2016 B2
9535737 Joy Jan 2017 B2
9576013 Legler Feb 2017 B2
9613070 Kumar Apr 2017 B2
9619502 Klauke Apr 2017 B2
9659051 Hutchins Apr 2017 B2
9645833 Mueller May 2017 B2
9654473 Miller May 2017 B2
9766935 Kelkar Sep 2017 B2
9792387 George Oct 2017 B2
9805322 Kelkar Oct 2017 B2
9852165 Morozov Dec 2017 B2
10002203 George Jun 2018 B2
10713253 Plattner Jul 2020 B2
20050027692 Shyam Feb 2005 A1
20080281784 Zane Nov 2008 A1
20110264667 Harizopoulos Oct 2011 A1
20120179723 Lin Jul 2012 A1
20120323867 He Dec 2012 A1
20140172776 Liu Jun 2014 A1
20140229437 Takeuchi Aug 2014 A1
20150026154 Jeong Jan 2015 A1
20150370826 Mraz et al. Dec 2015 A1
20160078085 Hu Mar 2016 A1
20170212934 Plattner Jul 2017 A1
20190311051 Legler et al. Oct 2019 A1
Non-Patent Literature Citations (1)
Entry
International Search Report and Written Opinion for PCT Application No. PCT/US2021/013102 dated May 6, 2021; 11 pgs.
Related Publications (1)
Number Date Country
20210141796 A1 May 2021 US
Provisional Applications (2)
Number Date Country
62932931 Nov 2019 US
62960567 Jan 2020 US