Source: http://www.google.com/patents/US20040193576?dq=6,654,957
Timestamp: 2015-05-04 04:54:07
Document Index: 215604941

Matched Legal Cases: ['arts 102', 'arts 1202', 'arts 1302', 'arts 1502', 'arts 1602', 'arts 1702']

Patent US20040193576 - Systems and methods for proactive caching utilizing OLAP variants - Google PatentsSearch Images Maps Play YouTube News Gmail Drive More »Sign inAdvanced Patent SearchPatentsThe present invention leverages MOLAP performance for ROLAP objects (dimensions, partitions and aggregations) by building, in a background process, a MOLAP equivalent of that object. When the background processing completes, queries are switched from ROLAP queries to MOLAP queries. When changes occur...http://www.google.com/patents/US20040193576?utm_source=gb-gplus-sharePatent US20040193576 - Systems and methods for proactive caching utilizing OLAP variantsAdvanced Patent SearchPublication numberUS20040193576 A1Publication typeApplicationApplication numberUS 10/402,000Publication dateSep 30, 2004Filing dateMar 28, 2003Priority dateMar 28, 2003Also published asCN1551014A, CN100440205C, EP1477912A2, EP1477912A3, US7269581, US7680776, US7689605, US20060112137, US20060129597, US20060184518Publication number10402000, 402000, US 2004/0193576 A1, US 2004/193576 A1, US 20040193576 A1, US 20040193576A1, US 2004193576 A1, US 2004193576A1, US-A1-20040193576, US-A1-2004193576, US2004/0193576A1, US2004/193576A1, US20040193576 A1, US20040193576A1, US2004193576 A1, US2004193576A1InventorsCristian Petculescu, Amir Netz, Thomas ConlonOriginal AssigneeCristian Petculescu, Amir Netz, Conlon Thomas P.Export CitationBiBTeX, EndNote, RefManReferenced by (15), Classifications (12), Legal Events (5) External Links: USPTO, USPTO Assignment, EspacenetSystems and methods for proactive caching utilizing OLAP variants
DETAILED DESCRIPTION OF THE INVENTION [0032] The present invention is now described with reference to the drawings, wherein like reference numerals are used to refer to like elements throughout. In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It may be evident, however, that the present invention may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form in order to facilitate describing the present invention. [0033] As used in this application, the term �component� is intended to refer to a computer-related entity, either hardware, a combination of hardware and software, software, or software in execution. For example, a component may be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a server and the server can be a computer component. One or more components may reside within a process and/or thread of execution and a component may be localized on one computer and/or distributed between two or more computers. A �thread� is the entity within a process that the operating system kernel schedules for execution. As is well known in the art, each thread has an associated �context� which is the volatile data associated with the execution of the thread. A thread's context includes the contents of system registers and the virtual address belonging to the thread's process. Thus, the actual data comprising a thread's context varies as it executes. [0034] Since no single OLAP variant can provide both low latency and real-time data, the present invention leverages MOLAP performance for ROLAP objects (dimensions, partitions and aggregations) by building, as a background process, a MOLAP equivalent of that object. When the background processing is completed, object usage is switched to MOLAP queries, enabling much faster query response times. As changes occur to relevant relational objects (such as tables that define a content of the OLAP objects), the OLAP object is switched back to a ROLAP mode, and all the relevant caches are dropped while, in the background, a new MOLAP equivalent is created. Thus, the MOLAP equivalent is employed to provide a cache which is proactively controlled depending upon the mode being utilized to process the queries. This allows a user to get the benefit of immediate browsing of data (and/or to always reflect the most up-to-date picture of a relational database) without paying the typical performance price of querying ROLAP objects. This permits the user to perceive the present invention as a shim layer of metadata around a database, such as a relational database and the like, always providing the most up-to-date data as quickly as possible. In order to achieve maximum global performance users have various options by which they can fine tune proactive caching and influence its behavior vis-a-vis of changes in a relational database (these options are detailed infra). [0035] If a user is interested in viewing the most recent data (real-time OLAP), but doesn't want the delay inherent in browsing ROLAP data, the user can instruct a system to build, in a background transaction, an equivalent MOLAP object and to �switch� the queries to use a MOLAP �image� instead. When changes occur to underlying relational objects, the system automatically responds to them as soon as they occur and opens a short transaction that reverts an object back to a ROLAP mode. Then, the system will reopen the background transaction and rebuild the MOLAP image. Should an update happen while the background transaction is in progress, MOLAP processing is canceled and the background transaction is restarted. These background transactions are somewhat �second class citizens� in the sense that they can be canceled in case a user initiated transaction needs to lock an object in a mode incompatible with a current locking mode of an object, due to a background transaction. [0036] In FIG. 1, an exemplary proactive caching process 100 in accordance with an aspect of the present invention is illustrated. The proactive caching process 100 starts 102 and a ROLAP object is processed into a MOLAP cache 104. The process 100 is completed 106, unless a cancel is received, invoking a check on whether a database has changed 108. If the database has no changes 108, the process 100 is completed 106. However, if the database has changes 108, the process 100 is rescheduled and starts again 102. In a typical instance of the present invention, actions are generated by a user 110. These actions 110 can include committing of processing of a ROLAP object 112 which initiates the process 100. Another action generated by the user 110 can include starting another transaction on the ROLAP object 114, canceling an existing ROLAP object to MOLAP cache process 104. A system can also automatically detect conditions 116 such as, for example, a database change 118 and the like. Once a database change 118 has occurred, an existing ROLAP object to MOLAP cache process 104 is canceled. [0037] A user can also specify a minimum duration of �quiet time� via a �quiet time delay� feature before starting a background transaction of building a new MOLAP image. This allows multiple cross-transaction insert/updates into an OLTP (On-Line Transaction Processing) (many OLTP applications update transactional data this way, by individual inserts at a certain moment in time). This reduces the query stress that an OLAP server puts on an OLTP system by repetitive queries. The quiet time delay is accomplished by a component that keeps track of a �last updated� time of any involved tables. [0038] Similar to the quiet time delay feature, an optional �delayed� triggering feature specifies that all changes are tracked in a background thread that treats accumulated changes every designated time period (a configurable interval). In the logical scheme, this feature is implemented by a queue implementation in between the two threads, all of the invocations being handled through this queue. This feature permits a notification mechanism that can be presented by certain providers to prevent overloading an OLTP with queries that ask whether the tables were updated or not. Generally, this is accomplished on a per server basis (not per object) because it describes a notification behavior of a whole proactive caching subsystem. [0039] Another feature allows for �manual� changes to be made via a means for a user to mark certain tables/views/ROLAP objects as being �dirty�, triggering the above process manually. This is typically done by a DDL (Data Definition Language) statement that can be sent to a server through a regular mechanism, e.g., XML/A (extensible Markup Language/Analysis) and the like. In one aspect of the present invention, there can be two categories of marking: relational object marking (potentially can affect multiple ROLAP objects) and/or ROLAP object marking (basically bootstrapping a relational layer as far as dependencies are concerned). [0040] Yet another feature permits a means for creating a list of tracking tables. A user can label tables that affect a certain ROLAP object. The advantages of doing this include the following. One advantage of this feature is that if a certain table on which an object is based upon is not a real table but a view or a DSV (Data Set Viewer) view (named query), it would be hard to track events on whether a view changed (typical notification mechanisms�SQL (Structured Query Language) notification and triggers operate on tables and materialized views, not regular views and named queries). In the absence of this feature, the only reasonable way of tracking changes to a view is to parse its SQL definition (but, again, it might be based on other views by itself and parsing SQL is not a reasonable approach). Another advantage is related to the �manual� change feature. Often, it is desirable to mark an object as dirty even if it doesn't have bindings to a certain table but that table changed. [0041] In one aspect of the present invention, the means has a capability for listing tables in at least one of two places: 1) Within a DSV, a list of alternate tables is provided for proactive caching tracking. Thus, for proactive caching purposes, when a ROLAP object depends on this table, it registers itself as actually depending on alternate tables. It is desirable that the alternate tables are trackable relational objects (tables and/or materialized views, not views). 2) Within a ROLAP object, a list of alternate/additional tables is provided by which to track the object. This is often needed for objects that do not have necessary bindings to relational objects within a DSV (partitions). It is desirable that these tables are trackable objects as well (tables and/or materialized views). [0042] Still yet another feature provides a means for a �Limited latency�. This feature specifies a duration between a start of a new MOLAP image creation and a cancellation of an old MOLAP image and reverting to ROLAP (if any). In one aspect of the present invention, by default, this duration is zero (basically, two transactions�one that rolls back an object to ROLAP and one that starts building a MOLAP engine�start in parallel). Advantages of this feature include having a duration in which queries go to a ROLAP store drops to a minimum and providing analysis at the end of building a MOLAP image of a ROLAP proactive cached dimension (in case an expiration interval didn't pass yet). If a change was truly incremental, a proactive cached partition is not affected. If a change affected non-granularity attributes, it can drop (revert to ROLAP and reschedule) flexible aggregations and leave everything else untouched. Otherwise, the means reverts dependent partitions/aggregations to ROLAP. [0043] A �quiet time override� feature provides a means to specify that if this amount of time after an initial notification is reached, MOLAP imaging kicks in unconditionally. However, it should be noted that, in one aspect of the present invention, if a MOLAP imaging has been started due to an override and if another notification comes while this is in building, that notification does not cancel the MOLAP imaging that is in progress. It is recorded for normal treatment (while if a processing has been started using a �normal� path, a notification results in the canceling of a MOLAP imaging if the current storage mode is ROLAP). [0044] A �force rebuild� feature specifies that a MOLAP imaging starts unconditionally at this time after a fresh image has been built. In one aspect of the present invention, if notifications come while this is in progress, they are queued for normal treatment. [0045] Turning to FIG. 2, a block diagram of a database serving system 200 in accordance with an aspect of the present invention is shown. The database serving system 200 is comprised of a proactive caching system 202, multidimensional objects 208, such as �OLAP objects� and the like, with a multidimensional objects subset 232, and a database 210 with a capability of accepting updates 218. The proactive caching system 202 is comprised of an analysis component 204 and at least one cache 206 with a cache subset 230. This system 200 provides query analysis and response to users via the proactive caching system 202. The proactive caching system 202 leverages multidimensional objects 208 based on the database 210 to provide a system for providing low latency responses and/or real-time responses while remaining seemingly transparent to a user. [0046] In this aspect of the present invention, the analysis component 204 has inputs comprising a query input 220, a user input 212, a system input 214, and a database input 216 for update notifications and the like. In other instances of the present invention, the database input 216 is part of the system input 214. The analysis component 204 has a cache interface 222 and a multidimensional objects interface 224. These interfaces 222, 224 provide access from the analysis component 204 to the cache 206 and/or the multidimensional objects 208, dependent upon a desired query response (i.e., proactively seeking an appropriate cache for an appropriate response). In other aspects of the present invention, the analysis component has a cache subset interface 226 to the cache subset 230 and a multidimensional objects subset interface 228 to the multidimensional objects subset 232. The subset interfaces 226, 228 provide access to subsets of the cache 206 and the multidimensional objects 208 while other parts of the cache 206 and/or the multidimensional objects 208 are being updated. The cache 206 is comprised of information derived from the multidimensional objects 208. The multidimensional objects 208 are based on the database 210. [0047] In one instance of the present invention, a system for caching information is comprised of at least one multidimensional object 208 providing dynamic multidimensional analysis data derived from a database 210, at least one cache 206 providing dynamic multidimensional analysis data from at least one multidimensional object 208 and at least one analysis component 204 coupled to the multidimensional object 208 and the cache 206 for proactively controlling access to the multidimensional object 208 and the cache 206. In other instances of the present invention, the multidimensional object 208 is comprised of OLAP objects, such as ROLAP objects and the like. In yet another instance of the present invention, the analysis component 204 is comprised of a UDM (Unified Dimensional Model). In still yet another instance of the present invention, the cache 206 is comprised of a MOLAP cache and the like. Other instances of the present invention include, but are not limited to, the multidimensional object 208 comprising real-time access analysis data and the cache 206 comprising quick access analysis data. Even other instances of the present invention include a database 210 being comprised of a relational database. [0048] Additional instances of the present invention also include a proactive caching system 202 that is comprised of an analysis component 204, a cache 206, and a multidimensional objects interface 224 that allows for accessing at least one multidimensional object 208. The analysis component having capabilities to control access to the multidimensional objects 208 and to the cache 206. Thus, it is not necessary for the multidimensional objects 208 to be part of the proactive caching system 202. The multidimensional objects 208 can be part of a database management system. The present invention, therefore, allows flexibility in its employment by having a capability to be utilized with existing database management systems. This enhances existing systems, maximizing their usefulness while increasing their performance. [0049] Further instances of the present invention additionally include a proactive caching system 202 that is comprised of an analysis component 204, a cache interface 222 that allows for accessing and controlling a cache 206, and a multidimensional objects interface 224 that allows for accessing at least one multidimensional object 208. Thus, the cache 206 can reside external to the proactive caching system 202. This allows even greater flexibility in implementing the present invention to existing platforms with caching resources already available. [0050] Referring to FIG. 3, another block diagram of a database serving system 300 in accordance with an aspect of the present invention is depicted. The database serving system 300 is comprised of a proactive caching system 302, multidimensional objects 308, such as OLAP objects and the like, and a database 310 with a capability of accepting updates 318. The proactive caching system 302 is comprised of an analysis component 304 and a cache 306. In this aspect of the present invention, the analysis component 304 has inputs comprising a query input 320, a user input 312, a system input 314, and a database input 316 for update notifications and the like. In other instances of the present invention, the database input 316 is part of the system input 314. The analysis component 304 has a multidimensional objects interface 322. In this aspect of the present invention, the cache 306 is being built in a background operation based on the multidimensional objects 308. Therefore, the analysis component 304 is not actively interfacing to respond to queries with the cache 306 at this particular time. Thus, the analysis component 304 responds to query inputs 320 by accessing the multidimensional objects 308 only. [0051] Moving on to FIG. 4, yet another block diagram of a database serving system 400 in accordance with an aspect of the present invention is illustrated. The database serving system 400 is comprised of a proactive caching system 402, multidimensional objects 408, such as OLAP objects and the like, and a database 410 with a capability of accepting updates 418 to a database table 426. The proactive caching system 402 is comprised of an analysis component 404 and a new cache 406. In this aspect of the present invention, the analysis component 404 has inputs comprising a query input 420, a user input 412, a system input 414, and a database input 416 for update notifications and the like. In other instances of the present invention, the database input 416 is part of the system input 414. The analysis component 404 has a multidimensional objects interface 422. In this aspect of the present invention, the new cache 406 is being built in a background operation from the multidimensional objects 408. Therefore, the analysis component 404 is not actively interfacing to respond to queries with the new cache 406 at this particular time. Thus, the analysis component 404 responds to query inputs 420 by accessing the multidimensional objects 408 only. Additionally, an update 418 is received that affects the database table 426. In this example of one aspect of the present invention, the change in the database table 426 also affects the multidimensional objects 408 from which the query input 420 relies upon for a response. Thus, an old cache 424, based on database data prior to the update 418, is removed and the new cache 406 is built in a background process of the proactive caching system 402 in order to reflect the latest database data update. In other instances of the present invention, the removal of the old cache 424 can be caused by a user input 412 and/or a system input 414. [0052] Turning to FIG. 5, a block diagram of a cache development structure 500 in accordance with an aspect of the present invention is shown. The structure 500 is comprised of a database 502 containing a database table 510, a metadata set 504, a dimensional model (multidimensional objects such as �OLAP objects� and the like) 506, and a cache 508. Typically, information about data from the database 502 is compiled into the metadata set 504. Metadata objects are constructed from the metadata set 504 to form the dimensional model 506. The dimensional model 506 usually includes dimensions, cubes, and measures and the like. This allows an OLAP management tree to access the metadata objects in the dimensional model 506. In this manner, a cache 508 with dynamic multidimensional analysis data derived from a multidimensional object based on a relevant database can be constructed from the dimensional model 506. [0053] Continuing on with FIG. 6, another block diagram of a cache development structure 600 in accordance with an aspect of the present invention is shown. In this instance of the present invention, the structure 600 is comprised of a relational database 602 containing a relational database table 610, a metadata set 604, ROLAP objects 606, and a MOLAP cache 608. In this example, the MOLAP cache 608 is constructed from ROLAP objects derived from the metadata set 604 and the relational database 610. Having two different OLAP data set variants available (e.g., ROLAP and MOLAP variants and the like), allows for proactively accessing an appropriate data set to transparently deliver a query response in a fashion desired by a user and/or a system. [0054] In FIG. 7, a block diagram of a proactive caching system 700 in accordance with an aspect of the present invention is illustrated. The proactive caching system 700 is comprised of an analysis component 702, a cache 704 with a cache subset 720, and multidimensional objects 706, such as OLAP objects and the like, with a multidimensional objects subset 722. In one aspect of the present invention, the analysis component 702 comprises a query interpreter 710, a low latency terminal 714, and a real-time terminal 712. The analysis component 702 can accept inputs such as a user input 716, a system input 718, and a query input 708 and the like. In one aspect of the present invention, the query interpreter 710 can parse or resolve a complex query into �parts� and proactively decide which terminal 712, 714 is appropriate based upon content of the query input 708. For example, Part #1 can be labeled �time sensitive data� and be directed to the low latency terminal 714 in order to access the cache 704 and, specifically, the cache subset 720. Likewise, Part #2 can be labeled �latest data� and be directed to the real-time terminal 712 in order to access the multidimensional objects 706 and, specifically, the multidimensional objects subset 722. In a similar fashion, Part #n (where �n� represents an integer from 1 to infinity) can be labeled as either of the above categories and be directed to either the cache 706 and/or the multidimensional objects 708. In yet another aspect of the present invention, parsing of the query input 708 can be based on the user input 716 and/or the system input 718 (including database statuses and the like). Although �low latency� and �real-time� are described as �terminals,� they are in fact part of the analysis component and do not need to be separate entities as depicted in FIG. 7. Thus, these can be included as part of the query interpreter 710, as part of the cache 706 and/or the multidimensional objects 704 as an embedded filter that controls incoming data, and/or as part of an external filter. [0055] Referring to FIG. 8, another block diagram of a proactive caching system 800 in accordance with an aspect of the present invention is shown. The proactive caching system 800 is comprised of an analysis component 802, a cache 804, and multidimensional objects 806, such as OLAP objects and the like. In one aspect of the present invention, the analysis component 802 comprises a query interpreter 816, a low latency terminal 818, and a real-time terminal 820. The query interpreter 816 handles multiple query inputs 808. This can include any number of inputs, but for the sake of a brief illustration, three inputs are shown. These inputs include User #1 input 810, User #2 input 812, and User #3 input 814. Each user input constitutes at least one query which the query interpreter 816 analyzes. For example, if the first User #1 input contains Query #1 with a dimension of �product info� and database status relative to that information of �database stable�, the query interpreter 816 can direct that access to the low latency terminal 818 for accessing the cache 804. The cache 804 can be a multidimensional OLAP cache with fast response time and the like. If the second User #2 input contains Query #2 with a dimension of �demographics� and database status relative to that information of �database updating�, the query interpreter 816 can direct that access to the real-time terminal 820 for accessing the multidimensional objects 806. The multidimensional objects' characteristics can include real-time data access and the like. Likewise, if the third User #3 input has a dimension of �financial data� and a database status relative to that information of �database updating�, the query interpreter 8-16 can direct that access to the real-time terminal 820 for accessing the multidimensional objects 806. In this fashion, the proactive caching system 800 provides a user with desired responses without having active user input as to which cache is to be utilized. However, the present invention does not preclude utilizing user and/or system inputs to determine how and/or when to proactively cache. [0056] Turning to FIG. 9, a block diagram of proactive caching system inputs 900 in accordance with an aspect of the present invention is illustrated. As described supra, an analysis component 902 can have multiple inputs. These include, but are not limited to, query inputs 904, user inputs 906, and system inputs 908. User inputs 906 include, but are not limited to, quiet time delay 910, quiet time delay override 912, forced refresh time 914, user initiated partial cache rebuild 916, and user input �n� 918 (where �n� represents any unlimited number and/or types of inputs), and the like. System inputs 908 include, but are not limited to, last database update tracker 920, tables affecting OLAP objects 922, dependent OLAP objects data source tracker 924, and system input �n� 926 (where �n� represents any unlimited number and/or types of inputs), and the like. [0057] Quiet time delay 910 is comprised of a means to keep track of how much time has passed since a database has been updated relative to some pertinent information. That pertinent information can be an actual data table entry and/or an OLAP object. Quiet time override 912 is comprised of a means determined by a system and/or a user to override and rebuild a cache even though the quiet time delay 910 has not been met. This prevents a cache from never being updated due to sporadic but frequent updates to a database, always occurring just before the quiet time delay 910 is reached. Forced refresh time 914 is comprised of a means to force a refresh of the cache at a given interval. This prevents a cache from containing stale data in spite of the fact that a database has not reported any updates within the forced refresh time 914. This also ensures that even in a case where the database is unable to send status data, the cache can be updated. User initiated partial cache rebuild 916 is comprised of a means to allow a user to control what portion and/or when that portion of the cache is to be rebuilt. This allows a user to selectively decide if a particular subset, for example, should be rebuilt while retaining other data for quick accessibility. User input �n� 918 is comprised of any means for aiding in proactive caching by the analysis component 902. One skilled in the art can appreciate that many different timing parameters and/or data parameters can be input by a user to aid in more effectively utilizing proactive caching. One such means, for example, includes allowing a user to input manual changes to mark certain tables/views/OLAP objects as requiring an update. [0058] Last database update tracker 920 is comprised of a means to track when the database was last updated. This input can be utilizes along with other inputs to determine the staleness of cache data and the like. Tables affecting OLAP objects 922 is comprised of a means to track/list database table data that is related to an OLAP object that a cache is based upon. This allows filtering of caching updates to prevent updating the cache when a database has an unrelated table update. Dependent OLAP objects data source tracker 924 is comprised of a means to track a dependency of cache data to a particular OLAP object. This also allows filtering of caching updates to prevent updating a cache when an unrelated OLAP object changes. System input �n� 926 is comprised of any means for aiding in proactive caching by the analysis component 902. One skilled in the art can appreciate that many different timing parameters and/or data parameters can be input by a system to aid in more effectively utilizing proactive caching. This includes, but is not limited to, database update notifications and the like also. [0059] It is important to note that although the above input parameters are illustrated as going to the analysis component 902, the analysis component 902 itself can include subcomponents that provide functionality to perform the functions necessary to utilize the inputs described above. It is also possible for external components to the analysis component 920 to provide some and/or all of the functionality required. [0060] In FIG. 10, a block diagram of proactive caching system parameters 1000 in accordance with an aspect of the present invention are shown. In one instance of the present invention, the proactive caching system parameters 1000 are comprised of operational modes 1002 and triggers 1010 and the like. The operational modes are comprised of ROLAP Mode 1004, MOLAP mode 1006, and MOLAP/ROLAP mode 1008 and the like. The triggers 1010 for ROLAP Mode 1004 are comprised of quiet time delay met 1012, quiet time delay override met 1014, forced refresh time met 1016, and database update 1018 and the like. The triggers 1010 for MOLAP Mode 1006 are comprised of an equivalent MOLAP and ROLAP data set 1020 and a user demand for quick query response 1022 over a need for real-time data and the like. The triggers 1010 for MOLAP/ROLAP Mode are comprised of when low latency and real-time queries are both required 1024 and when partial rebuilding of a MOLAP cache is required 1026. [0061] ROLAP Mode 1004 allows only ROLAP data to be accessed for queries. This is typically a slower mode with real-time data access. MOLAP Mode 1006 only allows MOLAP data to be accessed for queries and is typically a default mode due to its quick performance. To ensure data integrity and increased performance, MOLAP Mode can be employed anytime MOLAP data equals ROLAP data. This insures that no data accuracy is lost by utilizing the faster means. It can also be employed by a user demanding quick access over a need for real-time data and the like (other user inputs). MOLAP/ROLAP Mode 1008 is a hybrid mode that allows access to both MOLAP and ROLAP data. This permits a user and/or system to retrieve any type of data desired at any type of latency desired. It also permits partial rebuilding of the MOLAP cache with ROLAP objects providing information for that portion of the MOLAP cache under construction. [0062] One skilled in the art can appreciate that the aforementioned triggers and operational modes are in no way exhaustive lists. FIG. 10 represents an example only of one aspect of the present invention. Additional modes and triggers can also be employed within the scope of the present invention as well. [0063] Looking at FIG. 11, yet another block diagram of proactive caching system 1100 in accordance with an aspect of the present invention is illustrated. The proactive caching system comprising an analysis component 1102, a MOLAP cache 1104, and OLAP objects 1106. The analysis component 1102 comprising an adaptive tuning component 1110, a first session 1114, and a second session 1116. The adaptive tuning component 1110 comprising a query interpreter 1112, a performance optimizer 118, and a result comparator 1120. A typical query 108 is input into the query interpreter 1112. In this aspect of the present invention, the query interpreter 1112 is part of the adaptive tuning component 1110. Therefore, for performance tuning, the query interpreter 1112 establishes a dual session with the same query 1108. Thus, the query 1108 is sent via session #1 1114 to the MOLAP cache 1104 and via session #2 1116 to the OLAP objects 1106. Each session 1114, 1116 produces a response that is sent to the result comparator 1120. The result comparator 1120, in turn, determines any differences between the two sessions 1114, 1116. These differences, if any, are reported to the performance optimizer 1118. The performance optimizer 1118 tracks the differences and adaptively alters how the query interpreter 1112 reacts to future queries. One skilled in the art will recognize that not all queries need to be continuously processed via the two sessions 1114, 1116. Once a particular query has been optimized, an occasional sampling is all that is required. �Occasional� can be per minute, hourly, daily, monthly and/or yearly and the like depending on the frequency that data is queried. For example, previous sales records from a year ago can result in identical results whether via session #1 1114 or session #2 1116. Thus, when queried about sales records for the same time period, the performance optimizer 118 instructs the query interpreter 1112 to only utilize the MOLAP cache 1104 for a quick response. The performance optimizer 1118 can track data, usage, and associated parameters to provide adaptive tuning even to user settings, possibly providing a user with performance suggestions. [0064] In view of the exemplary systems shown and described above, methodologies that may be implemented in accordance with the present invention will be better appreciated with reference to the flow charts of FIGS. 12-17. While, for purposes of simplicity of explanation, the methodologies are shown and described as a series of blocks, it is to be understood and appreciated that the present invention is not limited by the order of the blocks, as some blocks may, in accordance with the present invention, occur in different orders and/or concurrently with other blocks from that shown and described herein. Moreover, not all illustrated blocks may be required to implement the methodologies in accordance with the present invention. [0065] The invention may be described in the general context of computer-executable instructions, such as program modules, executed by one or more components. Generally, program modules include routines, programs, objects, data structures, etc. that perform particular tasks or implement particular abstract data types. Typically the functionality of the program modules may be combined or distributed as desired in various embodiments. [0066] Turning to FIG. 12, a flow diagram illustrating a method 1200 of proactive caching in accordance with an aspect of the present invention is depicted. The method 1200 starts 1202 by beginning to build a MOLAP cache equivalent of ROLAP objects in a background process 1204. A determination is then made to detect when the MOLAP cache is completed 1206. When completed, operational mode is switched to utilizing the MOLAP mode 1208. Queries are then processed employing the MOLAP cache 1210. A determination is then made as to whether there has been any relevant change to the ROLAP objects 1212. This can include any relevant changes to any underlying data also. If no relevant changes have been made, queries are continued to be processed utilizing the MOLAP cache 1210. However, if changes are present, the operational mode is switched to ROLAP mode 1214. All relevant caches are then dropped 1216, ending the flow 1218. This cycle can be repeated indefinitely in order to keep the MOLAP cache fresh in spite of any relevant database changes. [0067] Moving on to FIG. 13, another flow diagram illustrating a method 1300 of proactive caching in accordance with an aspect of the present invention is shown. The method 1300 starts 1302 by providing a user input 1304. A determination is made as to whether a MOLAP mode request was made 1306. If not, queries are continued to be processed utilizing ROLAP mode 1322, ending the flow 1316. However, if a MOLAP mode request is made, a MOLAP equivalent of ROLAP objects are built as a background process 1308. A determination is then made as to whether changes relevant to the ROLAP objects have occurred 1310. If changes have occurred, the MOLAP equivalent build is canceled 1318, the operational mode is switched to ROLAP mode 1320, and a MOLAP equivalent of the ROLAP objects is again constructed 1308. However, if no relevant changes have occurred after completing the build of the MOLAP cache, the operational mode is switched to MOLAP mode 1312 and query processing utilizes the MOLAP cache 1314, ending the flow 1316. [0068] Referring to FIG. 14, yet another flow diagram illustrating a method 1400 of proactive caching in accordance with an aspect of the present invention is illustrated. The method 1400 begins 1402 with a quiet time delay user input provided 1404. A MOLAP equivalent of ROLAP objects is constructed in a background process 1406. A determination is then made as to whether any relevant changes have occurred to the ROLAP objects 1408. If no changes have occurred, queries are processed utilizing the MOLAP cache 1410, ending the flow 1412. However, if changes have occurred to the ROLAP objects, a determination is made as to whether the quiet time delay has been met 1414. If not, a determination is made as to whether a quiet time delay override has been met 1418. If the quiet time delay override has not been met, the queries are processed using the MOLAP cache 1410, ending the flow 1412. However, if the quiet time delay override has been met, an operational mode is switched to ROLAP mode and a MOLAP cache is once again constructed 1406. If, however, the quiet time delay has been met after detecting relevant changes to the ROLAP objects, the operational mode is switched to ROLAP mode 1416 and the MOLAP cache is built in a back ground process 1406, continuing the cycle. [0069] Turning to FIG. 15, still yet another flow diagram illustrating a method 1500 of proactive caching in accordance with an aspect of the present invention is shown. The method 1500 starts 1502 by providing a manual user input 1504. The manual user input contains parameters that allow a user to designate certain tables/views/objects and the like as �dirty� (i.e., in need of updating if they are required to be accessed). A determination 1506 is made as to whether any relevant changes have occurred to ROLAP objects 1506. This takes into account that dirty inputs may change data relevant to cached data. If no relevant changes have occurred, queries are processed employing a MOLAP cache 1514, ending the flow 1516. Typically, due to a higher performance gain, utilizing MOLAP cache is a default condition for a proactive caching system and is performed unless directed otherwise by a user and/or a system. However, if relevant changes have occurred to the ROLAP objects 1506 (due to the dirty inputs and/or database updates and the like), operational mode is switched to ROLAP mode 1508. The MOLAP cache is then rebuilt in a background process 1510, and the operational mode is switched to MOLAP mode once again 1512 when the cache is completed. Query processing then continues to employ the MOLAP cache 1514, ending the flow 1516. [0070] In FIG. 16, still yet another flow diagram illustrating a method 1600 of proactive caching in accordance with an aspect of the present invention is shown. The method 1600 starts 1602 by a user providing relative ROLAP object data inputs 1604. The input data is then linked to appropriate ROLAP objects as being pertinent 1606. In this manner, a user can tag data as being relative to cached data even though it was not derived specifically from this data. A determination is then made as to whether any relevant changes have occurred to ROLAP objects. This checks to see if the new data links have established links from the ROLAP objects to data that has changed. If no changes are found, queries are processed employing a MOLAP cache 1616, ending the flow 1618. Due to performance gains, MOLAP mode is considered the default mode. However if changes have been made to relevant ROLAP objects 1608, operational mode is switched to ROLAP mode 1610. A MOLAP cache is then rebuilt from the ROLAP objects in a background process 1612. Once completed, the operational mode is switched to MOLAP mode 1614 and queries are once again processed utilizing the MOLAP cache 1616, ending the flow 1618. [0071] Looking at FIG. 17, still yet another flow diagram illustrating a method 1700 of proactive caching in accordance with an aspect of the present invention is depicted. The method 1700 starts 1702 with a user providing a forced refresh rate input 1704. A determination is then made as to whether this input has been met 1706. If not, queries are processed utilizing a MOLAP cache 1714, ending the flow 1716. Due to performance gains, MOLAP mode is considered the default mode. However, if the forced refreshed rate input has been met 1706, operational mode is switched to ROLAP mode 1708. The MOLAP cache is then rebuilt as a background process 1710. Once completed, the operation mode is then switched back to MOLAP mode 1712 and queries are processed employing the MOLAP cache 1714, ending the flow 1716. [0072] The aforementioned flows are meant to be representative flows of various methods of the present invention. They in no way encompass every iteration and variance within the scope of the present invention. Those skilled in the art can appreciate that a method can incorporate modifications and still remain within the purview of the present invention. [0073] In order to provide additional context for implementing various aspects of the present invention, FIG. 18 and the following discussion are intended to provide a brief, general description of a suitable computing environment 1800 in which the various aspects of the present invention may be implemented. While the invention has been described above in the general context of computer-executable instructions of a computer program that runs on a local computer and/or remote computer, those skilled in the art will recognize that the invention also may be implemented in combination with other program modules. Generally, program modules include routines, programs, components, data structures, etc. that perform particular tasks and/or implement particular abstract data types. Moreover, those skilled in the art will appreciate that the inventive methods may be practiced with other computer system configurations, including single-processor or multi-processor computer systems, minicomputers, mainframe computers, as well as personal computers, hand-held computing devices, microprocessor-based and/or programmable consumer electronics, and the like, each of which may operatively communicate with one or more associated devices. The illustrated aspects of the invention may also be practiced in distributed computing environments where certain tasks are performed by remote processing devices that are linked through a communications network. However, some, if not all, aspects of the invention may be practiced on stand-alone computers. In a distributed computing environment, program modules may be located in local and/or remote memory storage devices. [0074] As used in this application, the term �component� is intended to refer to a computer-related entity, either hardware, a combination of hardware and software, software, or software in execution. For example, a component may be, but is not limited to, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and a computer. By way of illustration, an application running on a server and/or the server can be a component. In addition, a component may include one or more subcomponents. [0075] With reference to FIG. 18, an exemplary system environment 1800 for implementing the various aspects of the invention includes a conventional computer 1802, including a processing unit 1804, a system memory 1806, and a system bus 1808 that couples various system components, including the system memory, to the processing unit 1804. The processing unit 1804 may be any commercially available or proprietary processor. In addition, the processing unit may be implemented as multi-processor formed of more than one processor, such as may be connected in parallel. [0076] The system bus 1808 may be any of several types of bus structure including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of conventional bus architectures such as PCI, VESA, Microchannel, ISA, and EISA, to name a few. The system memory 1806 includes read only memory (ROM) 1810 and random access memory (RAM) 1812. A basic input/output system (BIOS) 1814, containing the basic routines that help to transfer information between elements within the computer 1802, such as during start-up, is stored in ROM 1810. [0077] The computer 1802 also may include, for example, a hard disk drive 1816, a magnetic disk drive 1818, e.g., to read from or write to a removable disk 1820, and an optical disk drive 1822, e.g., for reading from or writing to a CD-ROM disk 1824 or other optical media. The hard disk drive 1816, magnetic disk drive 1818, and optical disk drive 1822 are connected to the system bus 1808 by a hard disk drive interface 1826, a magnetic disk drive interface 1828, and an optical drive interface 1830, respectively. The drives 1816-1822 and their associated computer-readable media provide nonvolatile storage of data, data structures, computer-executable instructions, etc. for the computer 1802. Although the description of computer-readable media above refers to a hard disk, a removable magnetic disk and a CD, it should be appreciated by those skilled in the art that other types of media which are readable by a computer, such as magnetic cassettes, flash memory cards, digital video disks, Bernoulli cartridges, and the like, can also be used in the exemplary operating environment 1800, and further that any such media may contain computer-executable instructions for performing the methods of the present invention. [0078] A number of program modules may be stored in the drives 1816-1822 and RAM 1812, including an operating system 1832, one or more application programs 1834, other program modules 1836, and program data 1838. The operating system 1832 may be any suitable operating system or combination of operating systems. By way of example, the application programs 1834 and program modules 1836 can include a database serving system and/or a proactive caching system that utilizes data in accordance with an aspect of the present invention. Additionally, the program data 1838 can include input data for controlling and/or biasing a proactive caching system in accordance with an aspect of the present invention. [0079] A user can enter commands and information into the computer 1802 through one or more user input devices, such as a keyboard 1840 and a pointing device (e.g., a mouse 1842). Other input devices (not shown) may include a microphone, a joystick, a game pad, a satellite dish, wireless remote, a scanner, or the like. These and other input devices are often connected to the processing unit 1804 through a serial port interface 1844 that is coupled to the system bus 1808, but may be connected by other interfaces, such as a parallel port, a game port or a universal serial bus (USB). A monitor 1846 or other type of display device is also connected to the system bus 1808 via an interface, such as a video adapter 1848. In addition to the monitor 1846, the computer 1802 may include other peripheral output devices (not shown), such as speakers, printers, etc. [0080] It is to be appreciated that the computer 1802 can operate in a networked environment using logical connections to one or more remote computers 1860. The remote computer 1860 may be a workstation, a server computer, a router, a peer device or other common network node, and typically includes many or all of the elements described relative to the computer 1802, although, for purposes of brevity, only a memory storage device 1862 is illustrated in FIG. 18. The logical connections depicted in FIG. 18 can include a local area network (LAN) 1864 and a wide area network (WAN) 1866. Such networking environments are commonplace in offices, enterprise-wide computer networks, intranets and the Internet. [0081] When used in a LAN networking environment, for example, the computer 1802 is connected to the local network 1864 through a network interface or adapter 1868. When used in a WAN networking environment, the computer 1802 typically includes a modem (e.g., telephone, DSL, cable, etc.) 1870, or is connected to a communications server on the LAN, or has other means for establishing communications over the WAN 1866, such as the Internet. The modem 1870, which can be internal or external relative to the computer 1802, is connected to the system bus 1808 via the serial port interface 1844. In a networked environment, program modules (including application programs 1834) and/or program data 1838 can be stored in the remote memory storage device 1862. It will be appreciated that the network connections shown are exemplary and other means (e.g., wired or wireless) of establishing a communications link between the computers 1802 and 1860 can be used when carrying out an aspect of the present invention. [0082] In accordance with the practices of persons skilled in the art of computer programming, the present invention has been described with reference to acts and symbolic representations of operations that are performed by a computer, such as the computer 1802 or remote computer 1860, unless otherwise indicated. Such acts and operations are sometimes referred to as being computer-executed. It will be appreciated that the acts and symbolically represented operations include the manipulation by the processing unit 1804 of electrical signals representing data bits which causes a resulting transformation or reduction of the electrical signal representation, and the maintenance of data bits at memory locations in the memory system (including the system memory 1806, hard drive 1816, floppy disks 1820, CD-ROM 1824, and remote memory 1862) to thereby reconfigure or otherwise alter the computer system's operation, as well as other processing of signals. The memory locations where such data bits are maintained are physical locations that have particular electrical, magnetic, or optical properties corresponding to the data bits. [0083]FIG. 19 is another block diagram of a sample computing environment 1900 with which the present invention can interact. The system 1900 further illustrates a system that includes one or more client(s) 1902. The client(s) 1902 can be hardware and/or software (e.g., threads, processes, computing devices). The system 1900 also includes one or more server(s) 1904. The server(s) 1904 can also be hardware and/or software (e.g., threads, processes, computing devices). The servers 1904 can house threads to perform transformations by employing the present invention, for example. One possible communication between a client 1902 and a server 1904 may be in the form of a data packet adapted to be transmitted between two or more computer processes. The system 1900 includes a communication framework 1908 that can be employed to facilitate communications between the client(s) 1902 and the server(s) 1904. The client(s) 1902 are operably connected to one or more client data store(s) 1910 that can be employed to store information local to the client(s) 1902. Similarly, the server(s) 1904 are operably connected to one or more server data store(s) 1906 that can be employed to store information local to the servers 1904. [0084] Turning to FIG. 20, an example operating environment 2000 in which the present invention can function is shown. This typical environment 2000 comprises an analysis services component 2002 linked to a data source 2010 and user interfaces 2012. The user interfaces 2012 are comprised of OLAP browsers, reporting tools, and other BI (Business Intelligence) applications and the like. The analysis services component 2002 typically has an interface 2014 with the user interfaces 2012 via interfaces 2008 like XML/A (eXtensible Markup Language/Analysis) and MDX (Multidimensional Exchange Language) and the like. The analysis services component 2002 is comprised of a UDM (Unified Dimensional Model) component 2004 and a cache 2006. In this example, the present invention is employed within the analysis services component 2002 via the UDM component 2004 and the cache 2006. The UDM component can proactively access the cache 2006 and/or the data directly. [0085] What has been described above includes examples of the present invention. It is, of course, not possible to describe every conceivable combination of components or methodologies for purposes of describing the present invention, but one of ordinary skill in the art may recognize that many further combinations and permutations of the present invention are possible. Accordingly, the present invention is intended to embrace all such alterations, modifications and variations that fall within the spirit and scope of the appended claims. Furthermore, to the extent that the term �includes� is used in either the detailed description or the claims, such term is intended to be inclusive in a manner similar to the term �comprising� as �comprising� is interpreted when employed as a transitional word in a claim. Referenced byCiting PatentFiling datePublication dateApplicantTitleUS7447718Apr 26, 2005Nov 4, 2008Right90, Inc.Real-time operating plan data aggregationUS7475093 *Jul 20, 2005Jan 6, 2009Microsoft CorporationMemory cache management in XML/relational data mappingUS7558784 *Apr 26, 2005Jul 7, 2009Right90, Inc.Operating plan data aggregation system with real-time updatesUS7730024 *Mar 20, 2006Jun 1, 2010Microsoft CorporationDistributed data mining using analysis services serversUS7765216Jun 15, 2007Jul 27, 2010Microsoft CorporationMultidimensional analysis tool for high dimensional dataUS7774295Nov 17, 2004Aug 10, 2010Targit A/SDatabase track historyUS7779018 *May 17, 2004Aug 17, 2010Targit A/SPresentation of data using meta-morphingUS7783628May 29, 2003Aug 24, 2010Targit A/SMethod and user interface for making a presentation of data using meta-morphingUS7870114Jun 15, 2007Jan 11, 2011Microsoft CorporationEfficient data infrastructure for high dimensional data analysisUS7949674Aug 24, 2006May 24, 2011Targit A/SIntegration of documents with OLAP using searchUS8086607Apr 26, 2005Dec 27, 2011Right90, Inc.Annotation of data in an operating plan data aggregation systemUS8468444Mar 17, 2004Jun 18, 2013Targit A/SHyper related OLAPUS8533280 *May 2, 2008Sep 10, 2013BitGravity, Inc.Distributed origin content delivery networkUS20140039952 *Aug 8, 2013Feb 6, 2014International Business Machines CorporationMethod for providing a real time view of heterogeneous enterprise dataCN102411598A *Jul 29, 2011Apr 11, 2012株洲南车时代电气股份有限公司Method and system for realizing data consistency* Cited by examinerClassifications U.S. Classification1/1, 707/999.003International ClassificationG06F12/00, G06F17/30, G06F7/00Cooperative ClassificationY10S707/99931, Y10S707/954, Y10S707/99933, Y10S707/957, G06F17/30592European ClassificationG06F17/30S8R, G06F17/30S8MLegal EventsDateCodeEventDescriptionFeb 25, 2015FPAYFee paymentYear of fee payment: 8Dec 9, 2014ASAssignmentOwner name: MICROSOFT TECHNOLOGY LICENSING, LLC, WASHINGTONFree format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:MICROSOFT CORPORATION;REEL/FRAME:034541/0477Effective date: 20141014Feb 10, 2011FPAYFee paymentYear of fee payment: 4Apr 4, 2006ASAssignmentOwner name: MICROSOFT CORPORATION, WASHINGTONFree format text: CORRECTIVE ASSIGNMENT TO CORRECT THE 3RD ASSIGNOR S NAME PREVIOUSLY RECORDED ON REEL 013956 FRAME 0925;ASSIGNORS:PETCULESCU, CRISTIAN;NETZ, AMIR;CONLON, THOMAS P.;REEL/FRAME:017418/0825Effective date: 20030328Free format text: CORRECTIVE ASSIGNMENT TO CORRECT THE 3RD ASSIGNOR S NAME PREVIOUSLY RECORDED ON REEL 013956 FRAME 0925. ASSIGNOR(S) HEREBY CONFIRMS THE CORRECTIVE ASSIGNMENT.;ASSIGNORS:PETCULESCU, CRISTIAN;NETZ, AMIR;CONLON, THOMAS P.;REEL/FRAME:017418/0825Owner name: MICROSOFT CORPORATION, WASHINGTONFree format text: CORRECTIVE ASSIGNMENT TO CORRECT THE 3RD ASSIGNOR S NAME PREVIOUSLY RECORDED ON REEL 013956 FRAME 0925. ASSIGNOR(S) HEREBY CONFIRMS THE CORRECTIVE ASSIGNMENT.;ASSIGNORS:PETCULESCU, CRISTIAN;NETZ, AMIR;CONLON, THOMAS P.;REEL/FRAME:017418/0825Effective date: 20030328Mar 28, 2003ASAssignmentOwner name: MICROSOFT CORPORATION, WASHINGTONFree format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:PETCULESCU, CRISTIAN;NETZ, AMIR;CONLON, TOM;REEL/FRAME:013956/0925Effective date: 20030328RotateOriginal ImageGoogle Home - Sitemap - USPTO Bulk Downloads - Privacy Policy - Terms of Service - About Google Patents - Send FeedbackData provided by IFI CLAIMS Patent Services