Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
SYSTEM AND METHOD FOR QUERY ACCELERATION FOR USE WITH DATA ANALYTICS ENVIRONMENTS
Document Type and Number:
WIPO Patent Application WO/2023/028330
Kind Code:
A1
Abstract:
In accordance with an embodiment, described herein is a system and method for providing query acceleration with a computing environment such as, for example, a business intelligence environment, database, data warehouse, or other type of environment that supports data analytics. A middle layer is provided as a long-term table data storage format; and one more acceleration formats, or acceleration tables, can be periodically regenerated from the middle layer, wherein a determination can be made as to whether an accelerated table exists for a dataset table, and if so, then the accelerated table is used to process the query.

Inventors:
MITTAL ASHISH (US)
ENG KENNETH (US)
MASCARENHAS ALEXTAIR (US)
WONG DAVID (US)
HEBBAR PRAFUL (US)
GE YI (US)
RAJAGOPALAN MAHADEVAN (US)
BOLSIUS ROGER (US)
RANGANATHAN VIJAYAKUMAR (US)
LOTIA SAMAR (US)
Application Number:
PCT/US2022/041715
Publication Date:
March 02, 2023
Filing Date:
August 26, 2022
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ORACLE INT CORP (US)
International Classes:
G06F16/22; G06F16/2453; G06F16/2455; G06F16/2458; G06F16/25; G06F16/27
Foreign References:
US20210089550A12021-03-25
US196362632379P
US202217895665A2022-08-25
Other References:
LI ET AL: "Load balancing and data placement for multi-tiered database systems", DATA & KNOWLEDGE ENGINEERING, ELSEVIER BV, NL, vol. 62, no. 3, 14 May 2007 (2007-05-14), pages 523 - 546, XP022077998, ISSN: 0169-023X, DOI: 10.1016/J.DATAK.2006.11.002
WESLEY LEONARD ET AL: "Cross Engine Database Joining", SOFTWARE ENGINEERING RESEARCH, MANAGEMENT AND APPLICATIONS (SERA), 2010 EIGHTH ACIS INTERNATIONAL CONFERENCE ON, IEEE, PISCATAWAY, NJ, USA, 24 May 2010 (2010-05-24), pages 19 - 26, XP031692454, ISBN: 978-0-7695-4075-7
MEHMET ALTINEL ET AL: "Cache tables", PROCEEDINGS OF THE TWENTY-NINTH INTERNATIONAL CONFERENCE ON VERY LARGE DATABASES : BERLIN, GERMANY, 9 - 12 SEPTEMBER, 2003, MORGAN KAUFMAN, ORLANDO, FLA, 9 September 2003 (2003-09-09), pages 718 - 729, XP058151670, ISBN: 978-0-12-722442-8
C BORNHÖVD ET AL: "Adaptive Database Caching with DBCache", BULLETIN OF THE TECHNICAL COMMITTEE ON DATA ENGINEERING, vol. 27, no. 2, 1 June 2004 (2004-06-01), pages 11 - 18, XP055356469
PERAKELARSONJONATHANGOLDSTEIN ET AL: "MTCache: Mid-Tier Database Caching for SQL Server", 30 April 2004 (2004-04-30), XP055121022, Retrieved from the Internet [retrieved on 20140602]
LARSON P-A ET AL: "MTCache: transparent mid-tier database caching in SQL server", PROCEEDINGS. 20TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING - 30 MARCH-2 APRIL 2004 - BOSTON, MA, USA, IEEE COMPUT. SOC, LOS ALAMITOS, CA, USA, 30 March 2004 (2004-03-30), pages 177 - 188, XP010713763, ISBN: 978-0-7695-2065-0, DOI: 10.1109/ICDE.2004.1319994
ANONYMOUS: "IBM Information Integrator joins the IBM WebSphere brand", 1 March 2005 (2005-03-01), pages 1 - 37, XP093008508, Retrieved from the Internet [retrieved on 20221215]
Attorney, Agent or Firm:
KENNA, Karl et al. (US)
Download PDF:
Claims:
Claims:

What is claimed is:

1. A system for providing query acceleration with a computing environment that supports data analytics, comprising a computer having a processor and memory, and a data analytics environment operating thereon, including a server that provides access to data available for query, and receives and processes incoming queries; wherein data associated with datasets is stored: at a middle layer as a long-term table data storage format; and as one more acceleration formats or accelerated tables that are periodically regenerated from the middle layer; wherein the system provides query acceleration, in association with the use of reports, analyses, projects, and/or dashboards, for use in examining data sets, to be displayed in graphical formats, including the use of a dataset lifecycle and one or more query flows; and wherein in response to a query a determination is made as to whether an accelerated table exists for a dataset table, and if so then the accelerated table is used to process the query.

2. The system of claim 1 , wherein the system determines that an accelerated table does not exist, then a determination is made as to whether a local native table exists, and if so the query is processed.

3. The system of claim 2, wherein the system determines that no local native table exists, then a determination is made as to whether a remote native table exists, and if so the remote native table is downloaded, and the query is processed.

4. The system of claim 3, wherein the system determines that no remote native table exists, then a determination is made as to whether the dataset is enriched, and if so a prepared format is downloaded, output expressions applied, and the dataset converted to a remote native table, to process the query.

5. The system of claim 1 , wherein the system is provided within a cloud environment.

6. A method for providing query acceleration with a computing environment that supports data analytics, comprising providing, at a computer having a processor and memory, a data analytics environment operating thereon, including a server that provides access to data available for query, and receives and processes incoming queries; storing data associated with datasets: at a middle layer as a long-term table data storage format, and as one more acceleration formats or accelerated tables that are periodically regenerated from the middle layer; and performing query acceleration, in association with the use of reports, analyses, projects, and/or dashboards, for use in examining data sets, to be displayed in graphical formats, including the use of a dataset lifecycle and one or more query flows, wherein in response to a query a determination is made as to whether an accelerated table exists for a dataset table, and if so then the accelerated table is used to process the query.

7. The method of claim 6, wherein a determination is made that an accelerated table does not exist, then a determination is made as to whether a local native table exists, and if so the query is processed.

8. The method of claim 7, wherein a determination is made that no local native table exists, then a determination is made as to whether a remote native table exists, and if so the remote native table is downloaded, and the query is processed.

9. The method of claim 8, wherein a determination is made that no remote native table exists, then a determination is made as to whether the dataset is enriched, and if so a prepared format is downloaded, output expressions applied, and the dataset converted to a remote native table, to process the query.

10. The method of claim 6, wherein the method is provided within a cloud environment.

11. A non-transitory computer readable storage medium having instructions thereon, which when read and executed by a computer including one or more processors cause the computer to perform a method comprising: providing a data analytics environment operating thereon, including a server that provides access to data available for query, and receives and processes incoming queries; storing data associated with datasets: at a middle layer as a long-term table data storage format, and as one more acceleration formats or accelerated tables that are periodically regenerated from the middle layer; and performing query acceleration, in association with the use of reports, analyses, projects, and/or dashboards, for use in examining data sets, to be displayed in graphical formats, including the use of a dataset lifecycle and one or more query flows, wherein in response to a query a determination is made as to whether an accelerated table exists for a dataset table, and if so then the accelerated table is used to process the query.

12. The non-transitory computer readable medium of claim 11 , wherein a determination is made that an accelerated table does not exist, then a determination is made as to whether a local native table exists, and if so the query is processed.

13. The non-transitory computer readable medium of claim 12, wherein a determination is made that no local native table exists, then a determination is made as to whether a remote native table exists, and if so the remote native table is downloaded, and the query is processed.

14. The non-transitory computer readable medium of claim 13, wherein a determination is made that no remote native table exists, then a determination is made as to whether the dataset is enriched, and if so a prepared format is downloaded, output expressions applied, and the dataset converted to a remote native table, to process the query.

15. The non-transitory computer readable medium of claim 11 , wherein the method is provided within a cloud environment.

Description:
SYSTEM AND METHOD FOR QUERY ACCELERATION FOR USE WITH DATA ANALYTICS ENVIRONMENTS

COPYRIGHT NOTICE

A portion of the disclosure of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.

Claim of Priority:

[0001] This application claims the benefit of priority to U.S. Provisional Patent Application titled “SYSTEM AND METHOD FOR Bl QUERY ACCELERATION FOR USE WITH DATA ANALYTICS ENVIRONMENTS”, Application No. 63/237,963, filed August 27, 2021 ; and U.S. Patent Application titled “SYSTEM AND METHOD FOR QUERY ACCELERATION FOR USE WITH DATA ANALYTICS ENVIRONMENTS”, Application No. 17/895,665, filed August 25, 2022; each of which above applications and the contents thereof are herein incorporated by reference.

Technical Field:

[0002] Embodiments described herein are generally related to computer data analytics, and computer-based methods of providing business intelligence or other data, and are particularly related to a system and method for providing query acceleration for use with such environments.

Background:

[0003] Data analytics enables computer-based examination of large amounts of data, for example to derive conclusions or other information from the data. For example, business intelligence tools can be used to provide users with business intelligence describing their enterprise data, in a format that enables the users to make strategic business decisions.

Summary:

[0004] In accordance with an embodiment, described herein is a system and method for providing query acceleration with a computing environment such as, for example, a business intelligence environment, database, data warehouse, or other type of environment that supports data analytics. A middle layer is provided as a long-term table data storage format; and one more acceleration formats, or acceleration tables, can be periodically regenerated from the middle layer, wherein a determination can be made as to whether an accelerated table exists for a dataset table, and if so, then the accelerated table is used to process the query.

Brief Description of the Drawings:

[0005] Figure 1 illustrates an example data analytics environment, in accordance with an embodiment.

[0006] Figure 2 further illustrates an example data analytics environment, in accordance with an embodiment.

[0007] Figure 3 further illustrates an example data analytics environment, in accordance with an embodiment.

[0008] Figure 4 further illustrates an example data analytics environment, accordance with an embodiment.

[0009] Figure 5 further illustrates an example data analytics environment, accordance with an embodiment.

[00010] Figure 6 illustrates a use of the system to transform, analyze, or visualize data, in accordance with an embodiment.

[00011] Figure 7 illustrates various examples of user interfaces for use with a data analytics environment, in accordance with an embodiment.

[00012] Figure 8 illustrates various examples of user interfaces for use with a data analytics environment, in accordance with an embodiment.

[00013] Figure 9 illustrates various examples of user interfaces for use with a data analytics environment, in accordance with an embodiment.

[00014] Figure 10 illustrates various examples of user interfaces for use with a data analytics environment, in accordance with an embodiment.

[00015] Figure 11 illustrates various examples of user interfaces for use with a data analytics environment, in accordance with an embodiment.

[00016] Figure 12 illustrates various examples of user interfaces for use with a data analytics environment, in accordance with an embodiment.

[00017] Figure 13 illustrates various examples of user interfaces for use with a data analytics environment, in accordance with an embodiment.

[00018] Figure 14 illustrates various examples of user interfaces for use with a data analytics environment, in accordance with an embodiment.

[00019] Figure 15 illustrates various examples of user interfaces for use with a data analytics environment, in accordance with an embodiment.

[00020] Figure 16 illustrates various examples of user interfaces for use with a data analytics environment, in accordance with an embodiment.

[00021] Figure 17 illustrates various examples of user interfaces for use with a data analytics environment, in accordance with an embodiment.

[00022] Figure 18 illustrates various examples of user interfaces for use with a data analytics environment, in accordance with an embodiment.

[00023] Figure 19 illustrates the use of query acceleration with a data analytics environment, in accordance with an embodiment.

[00024] Figure 20 further illustrates the use of query acceleration, in accordance with an embodiment.

[00025] Figure 21 further illustrates the use of query acceleration, in accordance with an embodiment.

[00026] Figure 22 illustrates a dataset lifecycle or state diagram for use in providing query acceleration, in accordance with an embodiment.

[00027] Figure 23 illustrates query processing, including the use of query acceleration, in accordance with an embodiment.

[00028] Figure 24 further illustrates query processing for various types of datasets, including the use of query acceleration, in accordance with an embodiment.

[00029] Figure 25 further illustrates query processing for various types of datasets, including the use of query acceleration, in accordance with an embodiment.

[00030] Figure 26 further illustrates query processing for various types of datasets, including the use of query acceleration, in accordance with an embodiment.

[00031] Figure 27 illustrates a method for providing query acceleration with a data analytics environment, in accordance with an embodiment.

[00032] Figure 28 further illustrates a method for providing query acceleration with a data analytics environment, in accordance with an embodiment.

Detailed Description:

[00033] Generally described, within an organization, data analytics enables computer-based examination of large amounts of data, for example to derive conclusions or other information from the data. For example, business intelligence (Bl) tools can be used to provide users with business intelligence describing their enterprise data, in a format that enables the users to make strategic business decisions.

[00034] Examples of such business intelligence tools/servers include Oracle Business Intelligence Applications (OBIA), Oracle Business Intelligence Enterprise Edition (OBIEE), or Oracle Business Intelligence Server (OBIS), which provide a query, reporting, and analysis server that can operate with a database to support features such as data mining or analytics, and analytic applications.

[00035] Increasingly, data analytics can be provided within the context of enterprise software application environments, such as, for example, an Oracle Fusion Applications environment; or within the context of software-as-a-service (SaaS) or cloud environments, such as, for example, an Oracle Analytics Cloud or Oracle Cloud Infrastructure environment; or other types of analytics application or cloud environments.

Introduction

[00036] In accordance with an embodiment, a data warehouse environment or component, such as, for example, an Oracle Autonomous Data Warehouse (ADW), Oracle Autonomous Data Warehouse Cloud (ADWC), or other type of data warehouse environment or component adapted to store large amounts of data, can provide a central repository for storage of data collected by one or more business applications.

[00037] For example, in accordance with an embodiment, the data warehouse environment or component can be provided as a multi-dimensional database that employs online analytical processing (OLAP) or other techniques to generate business-related data from multiple different sources of data. An organization can extract such business-related data from one or more vertical and/or horizontal business applications, and inject the extracted data into a data warehouse instance that is associated with that organization, [00038] Examples of horizontal business applications can include ERP, HCM, CX, SCM, and EPM, as described above, and provide a broad scope of functionality across various enterprise organizations.

[00039] Vertical business applications are generally narrower in scope that horizontal business applications, but provide access to data that is further up or down a chain of data within a defined scope or industry. Examples of vertical business applications can include medical software, or banking software, for use within a particular organization. [00040] Although software vendors increasingly offer enterprise software products or components as SaaS or cloud-oriented offerings, such as, for example, Oracle Fusion Applications; while other enterprise software products or components, such as, for example, Oracle ADWC, can be offered as one or more of SaaS, platform-as-a-service (PaaS), or hybrid subscriptions; enterprise users of conventional business intelligence applications and processes generally face the task of extracting data from their horizontal and vertical business applications, and introducing the extracted data into a data warehouse - a process which can be both time and resource intensive.

[00041] In accordance with an embodiment, the analytic applications environment allows customers (tenants) to develop computer-executable software analytic applications for use with a Bl component, such as, for example, an OBIS environment, or other type of Bl component adapted to examine large amounts of data sourced either by the customer (tenant) itself, or from multiple third-party entities.

[00042] As another example, in accordance with an embodiment, the analytic applications environment can be used to pre-populate a reporting interface of a data warehouse instance with relevant metadata describing business-related data objects in the context of various business productivity software applications, for example, to include predefined dashboards, key performance indicators (KPIs), or other types of reports.

Data Analytics

[00043] Generally described, data analytics enables the computer-based examination or analysis of large amounts of data, in order to derive conclusions or other information from that data; while business intelligence tools (Bl) provide an organization’s business users with information describing their enterprise data in a format that enables those business users to make strategic business decisions.

[00044] Examples of data analytics environments and business intelligence tools/servers include Oracle Business Intelligence Server (OBIS), Oracle Analytics Cloud (OAC), and Fusion Analytics Warehouse (FAW), which support features such as data mining or analytics, and analytic applications.

[00045] Figure 1 illustrates an example data analytics environment, in accordance with an embodiment.

[00046] The example embodiment illustrated in Figure 1 is provided for purposes of illustrating an example of a data analytics environment in association with which various embodiments described herein can be used. In accordance with other embodiments and examples, the approach described herein can be used with other types of data analytics, database, or data warehouse environments. The components and processes illustrated in Figure 1 , and as further described herein with regard to various other embodiments, can be provided as software or program code executable by, for example, a cloud computing system, or other suitably-programmed computer system.

[00047] As illustrated in Figure 1 , in accordance with an embodiment, a data analytics environment 100 can be provided by, or otherwise operate at, a computer system having a computer hardware (e.g., processor, memory) 101 , and including one or more software components operating as a control plane 102, and a data plane 104, and providing access to a data warehouse, data warehouse instance 160 (database 161 , or other type of data source).

[00048] In accordance with an embodiment, the control plane operates to provide control for cloud or other software products offered within the context of a SaaS or cloud environment, such as, for example, an Oracle Analytics Cloud environment, or other type of cloud environment. For example, in accordance with an embodiment, the control plane can include a console interface 110 that enables access by a customer (tenant) and/or a cloud environment having a provisioning component 111.

[00049] In accordance with an embodiment, the console interface can enable access by a customer (tenant) operating a graphical user interface (GUI) and/or a command-line interface (CLI) or other interface; and/or can include interfaces for use by providers of the SaaS or cloud environment and its customers (tenants). For example, in accordance with an embodiment, the console interface can provide interfaces that allow customers to provision services for use within their SaaS environment, and to configure those services that have been provisioned.

[00050] In accordance with an embodiment, a customer (tenant) can request the provisioning of a customer schema within the data warehouse. The customer can also supply, via the console interface, a number of attributes associated with the data warehouse instance, including required attributes (e.g., login credentials), and optional attributes (e.g., size, or speed). The provisioning component can then provision the requested data warehouse instance, including a customer schema of the data warehouse; and populate the data warehouse instance with the appropriate information supplied by the customer.

[00051] In accordance with an embodiment, the provisioning component can also be used to update or edit a data warehouse instance, and/or an ETL process that operates at the data plane, for example, by altering or updating a requested frequency of ETL process runs, for a particular customer (tenant).

[00052] In accordance with an embodiment, the data plane can include a data pipeline or process layer 120 and a data transformation layer 134, that together process operational or transactional data from an organization’s enterprise software application or data environment, such as, for example, business productivity software applications provisioned in a customer’s (tenant’s) SaaS environment. The data pipeline or process can include various functionality that extracts transactional data from business applications and databases that are provisioned in the SaaS environment, and then load a transformed data into the data warehouse.

[00053] In accordance with an embodiment, the data transformation layer can include a data model, such as, for example, a knowledge model (KM), or other type of data model, that the system uses to transform the transactional data received from business applications and corresponding transactional databases provisioned in the SaaS environment, into a model format understood by the data analytics environment. The model format can be provided in any data format suited for storage in a data warehouse. In accordance with an embodiment, the data plane can also include a data and configuration user interface, and mapping and configuration database.

[00054] In accordance with an embodiment, the data plane is responsible for performing extract, transform, and load (ETL) operations, including extracting transactional data from an organization’s enterprise software application or data environment, such as, for example, business productivity software applications and corresponding transactional databases offered in a SaaS environment, transforming the extracted data into a model format, and loading the transformed data into a customer schema of the data warehouse.

[00055] For example, in accordance with an embodiment, each customer (tenant) of the environment can be associated with their own customer tenancy within the data warehouse, that is associated with their own customer schema; and can be additionally provided with read-only access to the data analytics schema, which can be updated by a data pipeline or process, for example, an ETL process, on a periodic or other basis.

[00056] In accordance with an embodiment, a data pipeline or process can be scheduled to execute at intervals (e.g., hourly/daily/weekly) to extract transactional data from an enterprise software application or data environment, such as, for example, business productivity software applications and corresponding transactional databases 106 that are provisioned in the SaaS environment.

[00057] In accordance with an embodiment, an extract process 108 can extract the transactional data, whereupon extraction the data pipeline or process can insert extracted data into a data staging area, which can act as a temporary staging area for the extracted data. The data quality component and data protection component can be used to ensure the integrity of the extracted data. For example, in accordance with an embodiment, the data quality component can perform validations on the extracted data while the data is temporarily held in the data staging area.

[00058] In accordance with an embodiment, when the extract process has completed its extraction, the data transformation layer can be used to begin the transform process, to transform the extracted data into a model format to be loaded into the customer schema of the data warehouse.

[00059] In accordance with an embodiment, the data pipeline or process can operate in combination with the data transformation layer to transform data into the model format. The mapping and configuration database can store metadata and data mappings that define the data model used by data transformation. The data and configuration user interface (III) can facilitate access and changes to the mapping and configuration database. [00060] In accordance with an embodiment, the data transformation layer can transform extracted data into a format suitable for loading into a customer schema of data warehouse, for example according to the data model. During the transformation, the data transformation can perform dimension generation, fact generation, and aggregate generation, as appropriate. Dimension generation can include generating dimensions or fields for loading into the data warehouse instance.

[00061] In accordance with an embodiment, after transformation of the extracted data, the data pipeline or process can execute a warehouse load procedure 150, to load the transformed data into the customer schema of the data warehouse instance. Subsequent to the loading of the transformed data into customer schema, the transformed data can be analyzed and used in a variety of additional business intelligence processes.

[00062] Different customers of a data analytics environment may have different requirements with regard to how their data is classified, aggregated, or transformed, for purposes of providing data analytics or business intelligence data, or developing software analytic applications. In accordance with an embodiment, to support such different requirements, a semantic layer 180 can include data defining a semantic model of a customer’s data; which is useful in assisting users in understanding and accessing that data using commonly-understood business terms; and provide custom content to a presentation layer 190.

[00063] In accordance with an embodiment, a semantic model can be defined, for example, in an Oracle environment, as a Bl Repository (RPD) file, having metadata that defines logical schemas, physical schemas, physical-to-logical mappings, aggregate table navigation, and/or other constructs that implement the various physical layer, business model and mapping layer, and presentation layer aspects of the semantic model.

[00064] In accordance with an embodiment, a customer may perform modifications to their data source model, to support their particular requirements, for example by adding custom facts or dimensions associated with the data stored in their data warehouse instance; and the system can extend the semantic model accordingly.

[00065] In accordance with an embodiment, the presentation layer can enable access to the data content using, for example, a software analytic application, user interface, dashboard, key performance indicators (KPI’s); or other type of report or interface as may be provided by products such as, for example, Oracle Analytics Cloud, or Oracle Analytics for Applications.

Business Intelligence Server

[00066] In accordance with an embodiment, a query engine 18 (e.g., an OBIS instance) operates in the manner of a federated query engine to serve analytical queries or requests from clients within, e.g., an Oracle Analytics Cloud environment, directed to data stored at a database.

[00067] In accordance with an embodiment, the OBIS instance can push down operations to supported databases, in accordance with a query execution plan 56, wherein a logical query can include Structured Query Language (SQL) statements received from the clients; while a physical query includes database-specific statements that the query engine sends to the database to retrieve data when processing the logical query. In this way the OBIS instance translates business user queries into appropriate database-specific query languages (e.g., Oracle SQL, SQL Server SQL, DB2 SQL, or Essbase MDX). The query engine (e.g., OBIS) can also support internal execution of SQL operators that cannot be pushed down to the databases.

[00068] In accordance with an embodiment, a user/developer can interact with a client computer device 10 that includes a computer hardware 11 (e.g., processor, storage, memory), user interface 12, and application 14. A query engine or business intelligence server such as OBIS generally operates to process inbound, e.g., SQL, requests against a database model, build and execute one or more physical database queries, process the data appropriately, and then return the data in response to the request.

[00069] To accomplish this, in accordance with an embodiment, the query engine or business intelligence server can include various components or features, such as a logical or business model or metadata that describes the data available as subject areas for queries; a request generator that takes incoming queries and turns them into physical queries for use with a connected data source; and a navigator that takes the incoming query, navigates the logical model and generates those physical queries that best return the data required for a particular query.

[00070] For example, in accordance with an embodiment, a query engine or business intelligence server may employ a logical model mapped to data in a data warehouse, by creating a simplified star schema business model over various data sources so that the user can query data as if it originated at a single source. The information can then be returned to the presentation layer as subject areas, according to business model layer mapping rules.

[00071] In accordance with an embodiment, the query engine (e.g., OBIS) can process queries against a database according to a query execution plan, that can include various child (leaf) nodes, generally referred to herein in various embodiments as RqLists, for example:

Execution plan : [ [ RqList «191986» [for database 0 : 0 , 0 ] D102 . C1 as cl [for database 0 : 0 , 0 ] , sum (D102 . c2 by [ D102 . C1 ] ) as c2 [for database 0 : 0 , 0 ] Child Nodes (RqJoinSpec) : «192970» [for database 0 : 0 , 0 ]

-9-

SUBSTITUTE SHEET ( RULE 26) RqJoinNode «192969» []

RqList «193062» [for database 0:0,0] D2. c2 as cl [for database 0:0,0] , Dl.c2 as c2 [for database 0:0,0] Child Nodes (RqJoinSpec) : «193065» [for database 0:0,0] RqJoinNode «193061» [] ( RqList «192414» [for database 0:0,118] T1000003. Customer_ID as cl [for database 0:0,118] , T1000003. TARGET as c2 [for database 0:0,118] Child Nodes (RqJoinSpec) : «192424» [for database 0:0,118] RqJoinNode «192423» [] [users/administrator/dv joins/multihub/input : : ##dataTarget] as T1000003 ) as DI LeftOuter Join (Eager) «192381» On DI. cl = D2. cl ; actual join vectors: [ 0 ] = [ 0 ] ( RqList «192443» [for database 0:0,0] D104.C1 as cl [for database 0:0,0] , nullifnotunique (D104. c2 by [ D104.C1] ) as c2 [for database 0:0,0] Child Nodes (RqJoinSpec) : «192928» [for database 0:0,0] RqJoinNode «192927» [] ( RqList «192852» [for database 0:0,118]

T1000006. Customer_ID as cl [for database 0:0,118] , T1000006. Customer_City as c2 [for database 0:0,118] Child Nodes (RqJoinSpec) : «192862» [for database 0:0,118] RqJoinNode «192861» [] [users/administrator/dv joins/my customers/input: : data] as T1000006 ) as D104 GroupBy: [ D104. cl] [for database 0:0,0] sort OrderBy: cl, Aggs : [ nullifnotunique (D104. c2 by [ D104.C1] ) ] [for database 0:0,0] ) as D2 ) as D102 GroupBy: [ D102.C1] [for database 0:0,0] sort OrderBy: cl asc , Aggs: [ sum(D102.c2 by [ D102.C1] ) ] [for database 0:0,0]

[00072] Within a query execution plan, each execution plan component (RqList) represents a block of query in the query execution plan, and generally translates to a SELECT statement. An RqList may have nested child RqLists, similar to how a SELECT statement can select from nested SELECT statements.

-10-

SUBSTITUTE SHEET (RULE 26) [00073] In accordance with an embodiment, a query engine can talk to different databases, and for each of these use data-source-specific code generators. A typical strategy is to ship as much SQL execution to the database, by sending it as part of the physical query - this reduces the amount of information being returned to the OBIS server. [00074] In accordance with an embodiment, during operation the query engine or business intelligence server can create a query execution plan which can then be further optimized, for example to perform aggregations of data necessary to respond to a request. Data can be combined together and further calculations applied, before the results are returned to the calling application, for example via the ODBC interface.

[00075] In accordance with an embodiment, a complex, multi-pass request that requires multiple data sources may require the query engine or business intelligence server to break the query down, determine which sources, multi-pass calculations, and aggregates can be used, and generate the logical query execution plan spanning multiple databases and physical SQL statements, wherein the results can then be passed back, and further joined or aggregated by the query engine or business intelligence server.

[00076] Figure 2 further illustrates an example data analytics environment, in accordance with an embodiment.

[00077] As illustrated in Figure 2, in accordance with an embodiment, the provisioning component can also comprise a provisioning application programming interface (API) 112, a number of workers 115, a metering manager 116, and a data plane AP1 118, as further described below. The console interface can communicate, for example, by making API calls, with the provisioning API when commands, instructions, or other inputs are received at the console interface to provision services within the SaaS environment, or to make configuration changes to provisioned services.

[00078] In accordance with an embodiment, the data plane API can communicate with the data plane. For example, in accordance with an embodiment, provisioning and configuration changes directed to services provided by the data plane can be communicated to the data plane via the data plane API.

[00079] In accordance with an embodiment, the metering manager can include various functionality that meters services and usage of services provisioned through control plane. For example, in accordance with an embodiment, the metering manager can record a usage over time of processors provisioned via the control plane, for particular customers (tenants), for billing purposes. Likewise, the metering manager can record an amount of storage space of data warehouse partitioned for use by a customer of the SaaS environment, for billing purposes.

[00080] In accordance with an embodiment, the data pipeline or process, provided by the data plane, can including a monitoring component 122, a data staging component 124, a data quality component 126, and a data projection component 128, as further described below.

[00081] In accordance with an embodiment, the data transformation layer can include a dimension generation component 136, fact generation component 138, and aggregate generation component 140, as further described below. The data plane can also include a data and configuration user interface 130, and mapping and configuration database 132.

[00082] In accordance with an embodiment, the data warehouse can include a default data analytics schema (referred to herein in accordance with some embodiments as an analytic warehouse schema) 162 and, for each customer (tenant) of the system, a customer schema 164.

[00083] In accordance with an embodiment, to support multiple tenants, the system can enable the use of multiple data warehouses or data warehouse instances. For example, in accordance with an embodiment, a first warehouse customer tenancy for a first tenant can comprise a first database instance, a first staging area, and a first data warehouse instance of a plurality of data warehouses or data warehouse instances; while a second customer tenancy for a second tenant can comprise a second database instance, a second staging area, and a second data warehouse instance of the plurality of data warehouses or data warehouse instances.

[00084] In accordance with an embodiment, based on the data model defined in the mapping and configuration database, the monitoring component can determine dependencies of several different datasets (data sets) to be transformed. Based on the determined dependencies, the monitoring component can determine which of several different datasets should be transformed to the model format first.

[00085] For example, in accordance with an embodiment, if a first model dataset incudes no dependencies on any other model dataset; and a second model dataset includes dependencies to the first model dataset; then the monitoring component can determine to transform the first dataset before the second dataset, to accommodate the second dataset’s dependencies on the first dataset.

[00086] For example, in accordance with an embodiment, dimensions can include categories of data such as, for example, “name,” “address,” or “age”. Fact generation includes the generation of values that data can take, or “measures.” Facts can be associated with appropriate dimensions in the data warehouse instance. Aggregate generation includes creation of data mappings which compute aggregations of the transformed data to existing data in the customer schema of data warehouse instance.

[00087] In accordance with an embodiment, once any transformations are in place (as defined by the data model), the data pipeline or process can read the source data, apply the transformation, and then push the data to the data warehouse instance.

[00088] In accordance with an embodiment, data transformations can be expressed in rules, and once the transformations take place, values can be held intermediately at the staging area, where the data quality component and data projection components can verify and check the integrity of the transformed data, prior to the data being uploaded to the customer schema at the data warehouse instance. Monitoring can be provided as the extract, transform, load process runs, for example, at a number of compute instances or virtual machines. Dependencies can also be maintained during the extract, transform, load process, and the data pipeline or process can attend to such ordering decisions.

[00089] In accordance with an embodiment, after transformation of the extracted data, the data pipeline or process can execute a warehouse load procedure, to load the transformed data into the customer schema of the data warehouse instance. Subsequent to the loading of the transformed data into customer schema, the transformed data can be analyzed and used in a variety of additional business intelligence processes.

[00090] Figure 3 further illustrates an example data analytics environment, in accordance with an embodiment.

[00091] As illustrated in Figure 3, in accordance with an embodiment, data can be sourced, e.g., from a customer’s (tenant’s) enterprise software application or data environment (106), using the data pipeline process; or as custom data 109 sourced from one or more customer-specific applications 107; and loaded to a data warehouse instance, including in some examples the use of an object storage 105 for storage of the data.

[00092] In accordance with embodiments of analytics environments such as, for example, Oracle Analytics Cloud (OAC), a user can create a dataset that uses tables from different connections and schemas. The system uses the relationships defined between these tables to create relationships or joins in the dataset.

[00093] In accordance with an embodiment, for each customer (tenant), the system uses the data analytics schema that is maintained and updated by the system, within a system/cloud tenancy 114, to pre-populate a data warehouse instance for the customer, based on an analysis of the data within that customer’s enterprise applications environment, and within a customer tenancy 117. As such, the data analytics schema maintained by the system enables data to be retrieved, by the data pipeline or process, from the customer’s environment, and loaded to the customer’s data warehouse instance. [00094] In accordance with an embodiment, the system also provides, for each customer of the environment, a customer schema that is readily modifiable by the customer, and which allows the customer to supplement and utilize the data within their own data warehouse instance. For each customer, their resultant data warehouse instance operates as a database whose contents are partly-controlled by the customer; and partly-controlled by the environment (system).

[00095] For example, in accordance with an embodiment, a data warehouse (e.g., ADW) can include a data analytics schema and, for each customer/tenant, a customer schema sourced from their enterprise software application or data environment. The data provisioned in a data warehouse tenancy (e.g., an ADW cloud tenancy) is accessible only to that tenant; while at the same time allowing access to various, e.g., ETL-related or other features of the shared environment.

[00096] In accordance with an embodiment, to support multiple customers/tenants, the system enables the use of multiple data warehouse instances; wherein for example, a first customer tenancy can comprise a first database instance, a first staging area, and a first data warehouse instance; and a second customer tenancy can comprise a second database instance, a second staging area, and a second data warehouse instance.

[00097] In accordance with an embodiment, for a particular customer/tenant, upon extraction of their data, the data pipeline or process can insert the extracted data into a data staging area for the tenant, which can act as a temporary staging area for the extracted data. A data quality component and data protection component can be used to ensure the integrity of the extracted data; for example by performing validations on the extracted data while the data is temporarily held in the data staging area. When the extract process has completed its extraction, the data transformation layer can be used to begin the transformation process, to transform the extracted data into a model format to be loaded into the customer schema of the data warehouse.

[00098] Figure 4 further illustrates an example data analytics environment, in accordance with an embodiment.

[00099] As illustrated in Figure 4, in accordance with an embodiment, the process of extracting data, e.g., from a customer’s (tenant’s) enterprise software application or data environment, using the data pipeline process as described above; or as custom data sourced from one or more customer-specific applications; and loading the data to a data warehouse instance, or refreshing the data in a data warehouse, generally involves three broad stages, performed by an ETP service 160 or process, including one or more extraction service 163; transformation service 165; and load/publish service 167, executed by one or more compute instance(s) 170.

[000100] For example, in accordance with an embodiment, a list of view objects for extractions can be submitted, for example, to an Oracle Bl Cloud Connector (BICC) component via a REST call. The extracted files can be uploaded to an object storage component, such as, for example, an Oracle Storage Service (OSS) component, for storage of the data. The transformation process takes the data files from object storage component (e.g., OSS), and applies a business logic while loading them to a target data warehouse, e.g., an ADW database, which is internal to the data pipeline or process, and is not exposed to the customer (tenant). A load/publish service or process takes the data from the, e.g., ADW database or warehouse, and publishes it to a data warehouse instance that is accessible to the customer (tenant).

[000101] Figure 5 further illustrates an example data analytics environment, in accordance with an embodiment.

[000102] As illustrated in Figure 5, which illustrates the operation of the system with a plurality of tenants (customers) in accordance with an embodiment, data can be sourced, e.g., from each of a plurality of customer’s (tenant’s) enterprise software application or data environment, using the data pipeline process as described above; and loaded to a data warehouse instance.

[000103] In accordance with an embodiment, the data pipeline or process maintains, for each of a plurality of customers (tenants), for example customer A 180, customer B 182, a data analytics schema that is updated on a periodic basis, by the system in accordance with best practices for a particular analytics use case.

[000104] In accordance with an embodiment, for each of a plurality of customers (e.g., customers A, B), the system uses the data analytics schema 162A, 162B, that is maintained and updated by the system, to pre-populate a data warehouse instance for the customer, based on an analysis of the data within that customer’s enterprise applications environment 106A, 106B, and within each customer’s tenancy (e.g., customer A tenancy 181 , customer B tenancy 183); so that data is retrieved, by the data pipeline or process, from the customer’s environment, and loaded to the customer’s data warehouse instance 160A, 160B.

[000105] In accordance with an embodiment, the data analytics environment also provides, for each of a plurality of customers of the environment, a customer schema (e.g., customer A schema 164A, customer B schema 164B) that is readily modifiable by the customer, and which allows the customer to supplement and utilize the data within their own data warehouse instance.

[000106] As described above, in accordance with an embodiment, for each of a plurality of customers of the data analytics environment, their resultant data warehouse instance operates as a database whose contents are partly-controlled by the customer; and partly-controlled by the data analytics environment (system); including that their database appears pre-populated with appropriate data that has been retrieved from their enterprise applications environment to address various analytics use cases. When the extract process 108A, 108B for a particular customer has completed its extraction, the data transformation layer can be used to begin the transformation process, to transform the extracted data into a model format to be loaded into the customer schema of the data warehouse.

[000107] In accordance with an embodiment, activation plans 186 can be used to control the operation of the data pipeline or process services for a customer, for a particular functional area, to address that customer’s (tenant’s) particular needs.

[000108] For example, in accordance with an embodiment, an activation plan can define a number of extract, transform, and load (publish) services or steps to be run in a certain order, at a certain time of day, and within a certain window of time.

[000109] In accordance with an embodiment, each customer can be associated with their own activation plan(s). For example, an activation plan for a first Customer A can determine the tables to be retrieved from that customer’s enterprise software application environment (e.g., their Fusion Applications environment), or determine how the services and their processes are to run in a sequence; while an activation plan for a second Customer B can likewise determine the tables to be retrieved from that customer’s enterprise software application environment, or determine how the services and their processes are to run in a sequence.

[000110] Figure 6 illustrates a use of the system to transform, analyze, or visualize data, in accordance with an embodiment.

[000111] As illustrated in Figure 6, in accordance with an embodiment, the systems and methods disclosed herein can be used to provide a data visualization environment 192 that enables insights for users of an analytics environment with regard to analytic artifacts and relationships among the same. A model can then be used to visualize relationships between such analytic artifacts via, e.g., a user interface, as a network chart or visualization of relationships and lineage between artifacts (e.g., User, Role, DV Project, Dataset, Connection, Dataflow, Sequence, ML Model, ML Script).

[000112] In accordance with an embodiment, a client application can be implemented as software or computer-readable program code executable by a computer system or processing device, and having a user interface, such as, for example, a software application user interface or a web browser interface. The client application can retrieve or access data via an Internet/HTTP or other type of network connection to the analytics system, or in the example of a cloud environment via a cloud service provided by the environment.

[000113] In accordance with an embodiment, the user interface can include or provide access to various dataflow action types, as described in further detail below, that enable self-service text analytics, including allowing a user to display a dataset, or interact with the user interface to transform, analyze, or visualize the data, for example to generate graphs, charts, or other types of data analytics or visualizations of dataflows.

[000114] In accordance with an embodiment, the analytics system enables a dataset to be retrieved, received, or prepared from one or more data source(s), for example via one or more data source connections. Examples of the types of data that can be transformed, analyzed, or visualized using the systems and methods described herein include HCM, HR, or ERP data, e-mail or text messages, or other of free-form or unstructured textual data provided at one or more of a database, data storage service, or other type of data repository or data source.

[000115] For example, in accordance with an embodiment, a request for data analytics or visualization information can be received via a client application and user interface as described above, and communicated to the analytics system (in the example of a cloud environment, via a cloud service). The system can retrieve an appropriate dataset to address the user/business context, for use in generating and returning the requested data analytics or visualization information to the client. For example, the data analytics system can retrieve a dataset using, e.g., SELECT statements or Logical SQL instructions.

[000116] In accordance with an embodiment, the system can create a model or dataflow that reflects an understanding of the dataflow or set of input data, by applying various algorithmic processes, to generate visualizations or other types of useful information associated with the data. The model or dataflow can be further modified within a dataset editor 193 by applying various processing or techniques to the dataflow or set of input data, including for example one or more dataflow actions 194, 195 or steps that operate on the dataflow or set of input data. A user can interact with the system via a user interface, to control the use of dataflow actions to generate data analytics, data visualizations 196, or other types of useful information associated with the data.

[000117] In accordance with an embodiment, datasets are self-service data models that a user can build for data visualization and analysis requirements. A dataset contains data source connection information, tables, and columns, data enrichments and transformations. A user can use a dataset in multiple workbooks and in dataflows.

[000118] In accordance with an embodiment, when a user creates and builds a dataset, they can, for example: choose between many types of connections or spreadsheets; create datasets based on data from multiple tables in a database connection, an Oracle data source, or a local subject area; or create datasets based on data from tables in different connections and subject areas.

[000119] For example, in accordance with an embodiment, a user can build a dataset that includes tables from an Autonomous Data Warehouse connection, tables from a Spark connection, and tables from a local subject area; specify joins between tables; and transform and enrich the columns in the dataset.

[000120] In accordance with an embodiment, additional artifacts, features, and operations associated with datasets can include, for example: [000121] View available connections: a dataset uses one or more connections to data sources to access and supply data for analysis and visualization. A user list of connections contains the connections that they built and the connections that they have permission to access and use.

[000122] Create a dataset from a connection: when a user creates a dataset, they can add tables from one or more data source connections, add joins, and enrich data.

[000123] Add multiple connections to a dataset: a dataset can include more than one connection. Adding more connections allows a user to access and join all of the tables and data that they need to build the dataset. The user can add more connections to datasets that support multiple tables.

[000124] Create dataset table joins: joins indicate relationships between a dataset's tables. If the user is creating a dataset based on facts and dimensions and if joins already exist in the source tables, then joins are automatically created in the dataset. If the user is creating a dataset from multiple connections and schemas, then they can manually define the joins between tables.

[000125] In accordance with an embodiment, a user can use dataflows to create datasets by combining, organizing, and integrating data. Dataflows enable the user to organize and integrate data to produce curated datasets that either they or other users can visualize.

[000126] For example, in accordance with an embodiment, a user might use a dataflow to: create a dataset; combine data from different source; aggregate data; and train a machine learning model or apply a predictive machine learning model to their data.

[000127] In accordance with an embodiment, a dataset editor as described above allows a user to add actions or steps, wherein each step performs a specific function, for example, add data, join tables, merge columns, transform data, or save the data. Each step is validated when the user adds or changes it. When they have configured the dataflow, they can execute it to produce or update a dataset.

[000128] In accordance with an embodiment, a user can curate data from datasets, subject areas, or database connections. The user can execute dataflows individually or in a sequence. The user can include multiple data sources in a dataflow and specify how to join them. The user can save the output data from a dataflow in either a dataset or in a supported database type.

[000129] In accordance with an embodiment, additional artifacts, features, and operations associated with dataflows can include, for example:

[000130] Add columns: add custom columns to a target dataset.

[000131] Add data: add data sources to a dataflow. For example, if the user is merging two datasets, they add both datasets to the dataflow. [000132] Aggregate: create group totals by applying aggregate functions; for example, count, sum, or average.

[000133] Branch: creates multiple outputs from a dataflow.

[000134] Filter: select only the data that the user is interested in.

[000135] Join: combine data from multiple data sources using a database join based on a common column.

[000136] Graph Analytics: perform geo-spatial analysis, such as calculating the distance or the number of hops between two vertices.

[000137] The above are provided by way of example; in accordance with an embodiment other types of steps can be added to a dataflow to transform a dataset or provide data analytics or visualizations.

Dataset Analyses and Visualizations

[000138] In accordance with an embodiment, the system provides functionality that allows a user to generate datasets, analyses, or visualizations for display within a user interface, for example to explore datasets or data sourced from multiple data sources.

[000139] Figures 7-18 illustrate various examples of user interfaces for use with a data analytics environment, in accordance with an embodiment.

[000140] The user interfaces and features shown in Figures 7-18 are provided by way of example, for purposes of illustration of the various features described herein; in accordance with various embodiments, alternative examples of user interfaces and features can be provided.

[000141] As illustrated in Figures 7-8, in accordance with an embodiment, the user can access the data analytics environment, for example to submit analyses or queries against an organization's data.

[000142] For example, in accordance with an embodiment, the user can choose between various types of connections to create datasets based on data from tables in, e.g., a database connection, an Oracle subject area, an Oracle ADW connection, or a spreadsheet, file, or other type of data source. In this manner, a dataset operates as a self- service data model from which the user can build a data analysis or visualization.

[000143] As illustrated in Figures 9-10, in accordance with an embodiment, a dataset editor can display a list of connections which the user has permission to access, and allow the user to create or edit a dataset that includes tables, joins, and/or enriched data. The editor can display the data source connection's schemas and tables, from which the user can drag and drop to a dataset diagram. If a particular connection does not itself provide a schema and table listing the user can use a manual query for appropriate tables. Adding connections provide the ability to access and join their associated tables and data, to build the dataset.

[000144] As illustrated in Figures 11-12, in accordance with an embodiment, within the dataset editor a join diagram displays the tables and joins in a dataset. Joins that are defined in the data source can be automatically created between tables in the dataset, for example, by creating joins based on column name matches found between the tables.

[000145] In accordance with an embodiment, when the user selects a table, a preview data area displays a sample of the table's data. Displayed join links and icons indicate which tables are joined and the type of join used. The user can create a join by dragging and dropping one table onto another; click on a join to view or update its configuration; or click a column's type attribute to change its type, for example from a measure to an attribute.

[000146] In accordance with an embodiment, the system can generate sourcespecific optimized queries for a visualization, wherein a dataset is treated as a data model and only those tables needed to satisfy a visualization are used in the query.

[000147] By default a dataset's grain is determined by the table with the lowest grain. The user can create a measure in any table in a dataset; however, this can cause the measure on one side of a one-to-many or many-to-many relationship to be duplicated. In accordance with an embodiment illustrated in Figure 13, to address this, the user can set the table on one side of a cardinality to preserve grain, to keep its level of detail.

[000148] As illustrated in Figure 14, in accordance with an embodiment, dataset tables can be associated with a data access setting that determines if the system will load the table into cache, or alternatively if the table will receive its data directly from the data source.

[000149] In accordance with an embodiment, when automatic caching mode is selected for a table, the system loads or reloads the table data into cache, which provides faster performance when the table's data is refreshed, e.g., from a workbook, and causes the reload menu option to display at the table and dataset level.

[000150] In accordance with an embodiment, when live mode is selected for a table, the system retrieves the table data directly from the data source; and the source system manages the table's data source queries. This option is useful when the data is stored in a high-performance data warehouse such as, for example, Oracle ADW; and also ensures that the most-current data is used.

[000151] In accordance with an embodiment, when a dataset uses multiple tables, some tables can use automatic caching, while others can include live data. During reload of multiple tables using the same connection, if the reloading of data on one table fails, then any tables presently set to use automatic caching are switched to using live mode to retrieve their data. [000152] In accordance with an embodiment, the system allows a user to enrich and transform their data before it is made available for analysis. When a workbook is created and a dataset added to it, the system performs column level profiling on a representative sample of the data. After profiling the data, the user can implement transformation and enrichment recommendations provided for recognizable columns in the dataset; such as, for example, GPS enrichments such as latitude and longitude for cities or zip codes.

[000153] In accordance with an embodiment, the data transformation and enrichment changes applied to a dataset affect the workbooks and dataflows that use the dataset. For example, when the user opens a workbook that shares the dataset, they receive a message indicating that the workbook uses updated or refreshed data.

[000154] In accordance with an embodiment, dataflows provide a means of organizing and integrating data to produce curated datasets that your users can visualize. For example, the user might use a dataflow to create a dataset, combine data from different sources, aggregate data, or train machine learning models or apply a predictive machine learning model to their data.

[000155] As illustrated in Figure 15, in accordance with an embodiment, within a dataflow each step performs a specific function, for example to add data, join tables, merge columns, transform data, or save data. Once configured, the dataflow can be executed to perform operations to produce or update a dataset, including for example the use of SQL operators, such as BETWEEN, LIKE, IN), conditional expressions, or functions.

[000156] In accordance with an embodiment, dataflows can be use merge datasets, cleanse data, and output the results to a new dataset. Dataflows can be executed individually or in a sequence. If any dataflow within a sequence fails, then all the changes made in the sequence are rolled back.

[000157] As illustrated in Figures 16-18, in accordance with an embodiment, visualizations can be displayed within a user interface, for example to explore datasets or data sourced from multiple data sources, and to add insights.

[000158] For example, in accordance with an embodiment, the user can create a workbook, add a dataset, and then drag and drop its columns onto a canvas to create visualizations. The system can automatically generate a visualization based on the contents of the canvas, with one or more visualization types automatically selected for selection by the user. For example, if the user adds a revenue measure to the canvas, the data element may be placed in a values area of a grammar panel, and a Tile visualization type selected. The user can continue adding data elements directly to the canvas to build the visualization.

[000159] In accordance with an embodiment, the system can provide automatically generated data visualizations (automatically-generated insights, auto-insights), by suggesting visualizations which are expected to provide the best insights for a particular dataset. The user can review an insight's automatically generated summary, for example by hovering over the associated visualization in the workbook canvas.

Query Acceleration

[000160] In accordance with an embodiment, described herein is a system and method for providing query acceleration with a computing environment such as, for example, a business intelligence environment, database, data warehouse, or other type of environment that supports data analytics. A middle layer is provided as a long-term table data storage format; and one more acceleration formats, or acceleration tables, can be periodically regenerated from the middle layer, wherein a determination can be made as to whether an accelerated table exists for a dataset table, and if so, then the accelerated table is used to process the query.

[000161] In accordance with an embodiment, data intended for use as tables within the data analytics environment and dataset editor can be derived from various sources, such as for example accessing or receiving data from relational databases, data sources based on ODBC/JDBC connections such as SaaS data sources, or cloud service environments such as Oracle Service Cloud.

[000162] When defining a data set, a user can add one or more tables from these various sources that will then form a base for analyses or queries, or generating data visualizations. For example, a user may select initially a first set of tables from Sales, Customers, and Products data sources; and then select additional related tables from these or other sources as desired.

[000163] In environments which do not use query acceleration or accelerated tables for query processing, a typical approach to processing a query directed to one or more datasets may include, for example, receiving the original query from a user; accessing a data source; retrieving the dataset, and applying any business rules as transformations - each time the system processes that query (or function-ships the query to the data source). [000164] However, this approach generally requires a substantial amount of data accessing, retrieving, and processing, coupled with increased resource usage and a longer time to generate data analytics.

[000165] In accordance with an embodiment, when query acceleration or accelerated tables are provided for use with a dataset, the system can apply transformations or enrichments to the query sent to the data source (for example, an ADW environment), such that required transformations or enrichments are incorporated into the query.

[000166] The information received from the data source can then be stored or cached in an interim format, for example in memory, and includes not only the underlying data, but additionally the transformed/enriched dataset required for an analysis or responding to the query.

[000167] Figure 19 illustrates the use of query acceleration with a data analytics environment, in accordance with an embodiment.

[000168] As illustrated in Figure 19, in accordance with an embodiment, a query engine (e.g., a Bl instance, for example an OBIS instance) comprises a data storage framework 210, for example an Apache Parquet component, and operates in association with a cache (memory) 212, to store one or more accelerated tables 214, for use with accessing or receiving datasets and responding to analyses or queries against an organization's data.

[000169] In accordance with an embodiment, the system can operate in combination with, e.g., RPD data models, as described above. Additionally/alternatively the user can upload other types of datasets, e.g., to an OAC environment, as an Excel spreadsheet, CSV file, or other type of data input, for use with query acceleration.

[000170] A dataset lifecycle (for example as illustrated in Figure 22 and further described below) operates to access or receive the dataset, provided by the user/customer, and cache the dataset at a high-performance external query engine or external query accelerator (XQA) which provides access to the accelerated tables.

[000171] In accordance with an embodiment that uses ADW as a component of the data analytics environment, the ADW component itself provides a query engine that can be used as the query accelerator, with the datasets stored as accelerated tables either in flash memory, or as in-memory representation.

[000172] In accordance with an embodiment, a dataflow can be used to populate a dataset into the query accelerator as accelerated tables. For example in an OAC/ADW environment, the user can use a reload functionality provided within OAC and its dataset editor, to cause the system to access/receive the latest dataset, load the data into ADW in an acceleration format, and update a metadata associated therewith to indicate that the dataset has been stored, in effect cached, as accelerated tables.

[000173] In accordance with an embodiment, the query generation process can then automatically modify a request/query from a user, for example to generate a data visualization, to instead use an accelerated table (Accelerated_table) for queries on that dataset.

[000174] For example, if an accelerated table is present within the cache/memory, the system can send the query to the external query accelerator (e.g., Bl engine) which can perform various data transforms or processing steps. If there is no accelerated table present within the cache/memory (or it cannot be accessed for some reason), then the system can fall back to using a native table (XSANative table (local)), e.g., using a columnar or file-based query process.

[000175] In this manner, the acceleration process operates to push the dataset query to a relatively-faster engine (using an accelerated table) where available, and then fallback to its native capabilities (using a native table) when necessary. Situations requiring such fallback may arise due to, for example, a system failure or timeout, or any other reason that the external query accelerator cannot handle the query.

[000176] Figure 20 further illustrates the use of query acceleration, in accordance with an embodiment.

[000177] As illustrated in Figure 20, in accordance with an embodiment, a query engine (e.g., a Bl instance, OBIS instance) may comprise several nodes (e.g., OBIS nodes), some of which may be referencing the same table, in order to respond to analyses or queries.

[000178] In accordance with an embodiment, to provide consistency in data access, the system can manage or coordinate the use of those tables by the various nodes. For example, tables may have to be manually pinned and unpinned in memory, as a distributed form of least-recently-used (LRU) process. If a particular table is not being used across the cluster, it is a candidate for removal, but if any of the nodes are using the table then it should be retained in cache/memory for the present time.

[000179] Figure 21 further illustrates the use of query acceleration, in accordance with an embodiment.

[000180] As illustrated in Figure 21 , in accordance with an embodiment and the example illustrated therein, a plurality of query engine or Bl instances (e.g., a multitenant Bl environment) share a single endpoint, e.g., a RAPID endpoint.

[000181] For example, as illustrated in Figure 21 , a plurality of query engine or Bl instances 1 , 2, 3 share one endpoint A; while another plurality of query engine or Bl instances 4, 5 share another endpoint B. The sharing can be determined by various factors, such as for example, service level or available capacity. In an OAC environment, a plurality of OAC or Bl nodes can be mapped to e.g. RAPID endpoints.

[000182] In accordance with an embodiment of an LRU process, when a first query engine or Bl instance (user) acquires a lock on a particular table, other Bl instances (users) may attempt to acquire a lock but fail. The first Bl instance/user can determine whether to promote the table to memory or release the lock.

[000183] For example, as illustrated in Figure 21 , each of the Load B, Load D, and Load F accesses represent different datasets that can be loaded into memory. An LRU process daemon lock operates as a global lock to evict the least recently used table, or the one that has not been used in the most time.

[000184] In accordance with an embodiment, an advantage of using an environment such as OAC/ADW includes the availability of additional, e.g., machine learning (ML) libraries, provided by those environments. For example, additional machine learning features provided by OAC/ADW can be used to detect anomalies in data, for example attrition, clustering, or regression.

[000185] In accordance with various embodiments, additional features of the LRU process can include:

[000186] The XSA caching is “global”. Cohort nodes can hit previously cached dataset by other nodes. The LRU process is agnostic as to the external engine used.

[000187] There is no single LRU manager; instead the responsibility of management is distributed across the query engine nodes (e.g., OBIS instances) sharing an endpoint. Each Bl node or instance runs a daemon thread that periodically attempts to load and unload dataset depending on current outstanding requests. When a Bl node connects to multiple endpoints it can run multiple daemon threads, one for each endpoint.

[000188] There is only one active daemon at a time. The LRU state and concurrency is managed via a set of bookkeeping tables (e.g., maintained in MySQL), including for example:

[000189] Request queue - a list of outstanding request and their arrival time. The daemons process this table starting with the oldest requests.

[000190] ln_memory_tables - the list of tables that are currently in memory along with their in-memory size and last accessed time

[000191] Daemon lock - the currently executing daemon alone with its last-alive time. Only one entry (i.e. daemon) is permitted at a particular time. The last-alive time is used to track daemons that may have crashed etc.

[000192] Loads are idempotent - if a table is already loaded into memory this results in a no-op. If it is desired to force re-load a table (e.g. data changes) the user can explicitly unload and (re) load that table.

[000193] If multiple Bl nodes request the same table, those multiple request will be queued in the request queue table. Since the above applies; only one daemon can perform loads and unloads - this guarantees there is no contention during LRU management.

[000194] Figure 22 illustrates a dataset lifecycle or state diagram for use in providing query acceleration, in accordance with an embodiment.

[000195] As illustrated in Figure 22, in accordance with an embodiment, a dataset lifecycle or state diagram describes, using a layered approach, the various form factors a single dataset proceeds through while processing a query.

[000196] The initial state (indicated here as a circle) represents the state when the dataset does not exist; and the labels on the arcs represent the operation, process, or module that acts on the dataset, e.g., when a dataflow creates a new dataset in a Parquet format, from several other datasets.

[000197] In accordance with an embodiment, as illustrated in Figure 22:

[000198] A top layer (220, 222, 224) operates as the "canonical" data format for the dataset, the particular format of which may depend on the dataset usage or how it is queried, for example file-based, query-based, or database table.

[000199] A data storage framework 210 (e.g., Parquet) operates as a middle layer that provides a long-term table data storage format for the dataset. Components such as Parquet may provide advantages over other formats in being relatively stable.

[000200] A bottom layer (226, 228, 230) holds one or more acceleration formats for the dataset. For purposes of acceleration, the acceleration formats are assumed or treated as being unreliable for use as long-term formats, and so are periodically regenerated from the middle layer, for example during disaster recovery, when the XSA Native format changes, or when the external acceleration engine is switched.

[000201] In accordance with an embodiment, the primary query acceleration can be provided via an external query or other type of data analytics query engine.

[000202] The XSA Native format is provided as a fallback for use in situations when the primary query engine fails, for example due to connectivity, stability, maintenance, or performance reasons.

[000203] The XSA Native (local) is provided for use at times when the XSA Native (object storage) file is not yet ready. To provide concurrency, a data synchronization component (DataSync) can be provided to convert and deposit XSA Native files into object storage.

[000204] In accordance with various embodiments, the LRU process may operate differently for different external query or other type of data analytics engines. For example, for an in-memory analytics engine such as Oracle RAPID, eviction may be only from inmemory; while for an InnoDB engine the tables on disk in MySQL may be preserved; while a MonetDB may completely remove the table from its catalog.

[000205] Figure 23-26 illustrate query flows for various types of datasets, for use in providing query acceleration, in accordance with an embodiment.

[000206] As illustrated in Figure 23, in accordance with an embodiment, in processing a dataset query, the system is adapted to first determine (240) live mode is selected for a dataset table (LIVE) or if automatic caching mode is selected (AUTO/EXTRACTED).

[000207] As illustrated in Figure 24, in accordance with an embodiment, if the mode is determined to be LIVE, then the system can determine (242) if the dataset is enriched, and if so NULL out any enrichment columns (244); apply transforms (246); apply output expressions (248); and process the query (250).

[000208] As illustrated in Figure 25, in accordance with an embodiment, if the mode is determined to be AUTO/EXTRACTED, then a determination (252) can be made as to whether an accelerated table exists. If so, then the accelerated table can be used (254); and depending on whether the dataset is enriched (256), the system can apply transforms (258) and/or output expressions (260); and process the query.

[000209] As illustrated in Figure 26, in accordance with an embodiment, if the system determines that an accelerated table does not exist, then it can fallback to using XSA Native. A determination (262) is made as to whether a local XSA Native exists, and if so, the query is processed

[000210] In accordance with an embodiment, if the system determines that no local XSA Native exists, then a determination (264) can be made as to whether a remote (object storage) XSA Native exists, and if so the (remote) XSA Native is downloaded (266), and the query is processed.

[000211] In accordance with an embodiment, if the system determines that no remote (object storage) XSA Native exists, then a determination (268) can be made as to whether the dataset is enriched. If so, then a prepared format (e.g., prep_parquet) is downloaded (270), the system can apply output expressions (272), convert to (local) XSA Native (274), and process the query.

[000212] In accordance with an embodiment, if the system determines that the dataset is not enriched, then a determination (276) can be made as to whether a source format (e.g., src-parquet) exists. If so, then the src-parquet is downloaded (278), the system can apply transforms (280) and/or output expressions, convert to (local) XSA Native, and process the query.

[000213] In accordance with an embodiment, if the system determines that no source format (e.g., src-parquet) exists (282), then depending on the mode (e.g., AUTO/EXTRACTED), the system can respectively: read (284) from a CSV if file-based, or from a connection if external sources; or read (286) from CSV if file-base, or provide an error if external source; and then apply transforms (288) and/or output expressions, convert to (local) XSA Native, and process the query.

[000214] The examples shown and described in Figures 23-26 are provided for purposes of illustrating an example dataset lifecycle and query flow. In accordance with other embodiments and examples, the approach described herein can be used to support other types of dataset lifecycles and query flows.

[000215] Figure 27 illustrates a method for providing query acceleration with a data analytics environment, in accordance with an embodiment.

[000216] As illustrated in Figure 27, in accordance with an embodiment, at step 302, an analytics environment is provided, wherein a user can create a data set that uses tables from different connections, wherein the system uses relationships defined between the tables to create joins in the data set, for use in providing data analytics or visualizations.

[000217] At step 304, a middle layer (e.g., Parquet) is provided as a long-term table data storage format; and one more acceleration formats, or acceleration tables, can be periodically regenerated from the middle layer.

[000218] At step 306, if the present mode is determined to be AUTO/EXTRACTED, then a determination can be made as to whether an accelerated table exists.

[000219] At step 308, if so, then the accelerated table can be used; and depending on whether the dataset is enriched, the system can apply transforms and/or output expressions, and process the query.

[000220] Figure 28 further illustrates a method for providing query acceleration with a data analytics environment, in accordance with an embodiment.

[000221] As illustrated in Figure 28, in accordance with an embodiment, at step 312, if the system determines that an accelerated table does not exist, then it can fallback to using XSA Native; a determination is made as to whether a local XSA Native exists, and if so the query is processed.

[000222] At step 314, if the system determines that no local XSA Native exists, then a determination can be made as to whether a remote (object storage) XSA Native exists, and if so the (remote) XSA Native is downloaded, and the query is processed.

[000223] At step 316, If the system determines that no remote (object storage) XSA Native exists, then a determination can be made as to whether the dataset is enriched; if so, then a prepared format (e.g., prep_parquet) is downloaded, the system can apply output expressions, convert to (local) XSA Native, and process the query.

[000224] At step 318, if the system determines that no source format (e.g., src- parquet) exists, then depending on the mode (e.g., AUTO/EXTRACTED), the system can respectively: read from, e.g., a CSV if file-based, or from a connection if external source; and then apply transforms and/or output expressions, convert to (local) XSA Native, and process the query.

[000225] In accordance with various embodiments, the teachings herein may be conveniently implemented using one or more conventional general purpose or specialized computer, computing device, machine, or microprocessor, including one or more processors, memory and/or computer readable storage media programmed according to the teachings of the present disclosure. Appropriate software coding can readily be prepared by skilled programmers based on the teachings of the present disclosure, as will be apparent to those skilled in the software art.

[000226] In some embodiments, the teachings herein can include a computer program product which is a non-transitory computer readable storage medium (media) having instructions stored thereon/in which can be used to program a computer to perform any of the processes of the present teachings. Examples of such storage mediums can include, but are not limited to, hard disk drives, hard disks, hard drives, fixed disks, or other electromechanical data storage devices, floppy disks, optical discs, DVD, CD-ROMs, microdrive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems, or other types of storage media or devices suitable for non-transitory storage of instructions and/or data.

[000227] The foregoing description has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the scope of protection to the precise forms disclosed. Many modifications and variations will be apparent to the practitioner skilled in the art.

[000228] For example, although several of the examples provided herein illustrate operation of an analytic applications environment with an enterprise software application or data environment such as, for example, an Oracle Fusion Applications environment; or within the context of a software-as-a-service (SaaS) or cloud environment such as, for example, an Oracle Analytics Cloud or Oracle Cloud Infrastructure environment; in accordance with various embodiments, the systems and methods described herein can be used with other types of enterprise software application or data environments, cloud environments, cloud services, cloud computing, or other computing environments.

[000229] The embodiments were chosen and described in order to best explain the principles of the present teachings and their practical application, thereby enabling others skilled in the art to understand the various embodiments and with various modifications that are suited to the particular use contemplated. It is intended that the scope be defined by the following claims and their equivalents.