Data access through external cloud-based analytics systems
By transforming metadata from the first format to an interoperable format, the DB-based analysis engine can access the data in the data warehouse system, solving the performance problems in traditional technology and achieving efficient data access and analysis processing.
Patent Information
- Application Number
- CN202110167923.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-05-20
- Filing Date
- 2021-02-07
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2041-02-07
AI Technical Summary
Existing traditional techniques for connecting data warehouse systems to DB-based analytical engines suffer from performance issues, especially access performance degradation due to complexity and missing metadata.
By transforming metadata from the first format to an interoperable format, the DB-based analysis engine can access and process data in the enterprise database system, and use the intermediate format for data access and analysis processing.
It achieves more efficient data access and analysis processing, avoids performance bottlenecks in traditional technologies, and provides more complex and resource-efficient analysis capabilities.
Smart Images

Figure CN113722346B_ABST
Abstract
Description
Background Art
[0001] An enterprise may use multiple systems to store and process data. For example, an enterprise may use a system that stores data in a database system and provides metadata that defines how the data is stored and how the data is accessed. Analysis systems that provide advanced analytical capabilities and improved data processing performance have been introduced compared to the performance provided by other systems (such as systems in which an enterprise stores and maintains its data). Such analysis systems may include cloud-based analysis systems that include analysis engines that execute directly within the underlying database system. Such analysis engines may be referred to as database (DB) analysis engines (DB-based analysis engines).
[0002] In order to provide enterprises with a unified user experience, it is desirable to connect the system in which the enterprise data is stored to a DB-based analysis engine. In this way, enterprises can take advantage of more complex and resource-efficient analysis provided by the analysis system through a DB-based analysis engine. Traditional techniques for achieving this goal include, for example, using an online analytical processing (OLAP) processor to provide a so-called real-time connection, and using so-called calculation views to provide such a connection through a DB-based analysis engine. However, such traditional techniques have disadvantages. For example, calculation views used in database system access can cause serious performance issues due to complexity and missing metadata, as well as other disadvantages. Summary of the invention
[0003] The implementation of the present disclosure is intended to enable the analysis engine of the second system to access and process the data provided in the first system. More specifically, the implementation of the present disclosure transforms metadata (used by the first system to store and access data) from a first format to a second format through an intermediate format, so that the analysis engine of the second system can access the data for analysis and processing.
[0004] In some implementations, the actions include retrieving metadata associated with data stored in a database system of an enterprise, the metadata provided in a first format and used by the first system to store and access the data; providing a document including the metadata provided in an interoperable format; processing the document by a deployer to provide analysis engine metadata in a second format, the analysis metadata stored in a second system and capable of being consumed by a DB-based analysis engine to access data from the database system of the enterprise; and retrieving data from the database system of the enterprise based on the analysis metadata by the DB-based analysis engine to provide analysis data based on the data. Other implementations of this aspect include corresponding systems, apparatus, and computer programs configured to perform the actions of the method encoded on a computer storage device.
[0005] These and other implementations may each optionally include one or more of the following features: retrieving metadata in response to marking data as accessible to a DB-based analytics engine; retrieving metadata in response to determining that a change to the metadata has occurred; the DB-based analytics engine executes within the enterprise's database system; the DB-based analytics engine executes within a cloud-based database system that accesses the enterprise's database system; a deployer is provided within the enterprise's database system; and the interoperable format includes Core Schema Notation (CSN).
[0006] The present disclosure also provides a computer-readable storage medium that is coupled to one or more processors and stores instructions thereon, which when executed by the one or more processors cause the one or more processors to perform operations according to an implementation of the method provided herein.
[0007] The present disclosure also provides a system for implementing the method provided herein. The system includes one or more processors; and a computer-readable storage medium, which is coupled to the one or more processors and stores instructions thereon, which, when executed by the one or more processors, cause the one or more processors to perform operations according to the implementation of the method provided herein.
[0008] It should be understood that the method according to the present disclosure may include any combination of aspects and features described herein. That is, the method according to the present disclosure is not limited to the combination of aspects and features specifically described herein, but also includes any combination of aspects and features provided.
[0009] The details of one or more implementations of the present disclosure are described in the accompanying drawings and the following detailed description. Other features and advantages of the present disclosure will be apparent from the detailed description and the accompanying drawings, as well as from the claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 An exemplary architecture is depicted that can be used to perform implementations of the present disclosure.
[0011] Figure 2 An exemplary conceptual architecture for implementations according to the present disclosure is depicted.
[0012] Figure 3 Another exemplary conceptual architecture according to implementations of the present disclosure is depicted.
[0013] FIG. 4A to FIG. 4C An exemplary screen shot depicting query design time within a data warehouse (DW) system.
[0014] Figure 5 Depicted are exemplary processes that may be performed in accordance with implementations of the present disclosure.
[0015] Figure 6 is a schematic diagram of an exemplary computer system that can be used to perform implementations of the present disclosure.
[0016] Like reference symbols in the various drawings indicate like elements. DETAILED DESCRIPTION
[0017] The implementation of the present disclosure is intended to enable the analysis engine of the second system to access and process the data provided in the first system. More specifically, the implementation of the present disclosure transforms metadata (used by the first system to store and access data) from a first format to a second format through an intermediate format, so that the analysis engine of the second system can access the data for analysis and processing.
[0018] Each implementation may include the following actions: retrieving metadata associated with data stored in a database system of an enterprise, the metadata being provided in a first format and being used by the first system to store and access the data; providing a document including the metadata provided in an interoperable format; processing the document by a deployer to provide analysis engine metadata in a second format, the analysis metadata being stored in a second system and being consumable by a DB-based analysis engine to access data from the database system of the enterprise; and retrieving data from the database system of the enterprise based on the analysis metadata by the DB-based analysis engine to provide analysis data based on the data.
[0019] Implementations of the present disclosure are described in further detail herein with reference to products, services, and infrastructure provided by SAP SE of Walldorf, Germany. However, it is contemplated that implementations of the present disclosure may be implemented using any suitable products, services, and / or infrastructure provided by one or more providers.
[0020] To provide further context for implementation of the present disclosure, and as described above, an enterprise may use multiple systems to store and process data. For example, an enterprise may use a system that stores data in a database system and provides metadata that defines how data is stored and how data is accessed. Exemplary systems include, but are not limited to, a data warehouse (DW), which may be described as a system for storing data, generating reports, and performing data analysis. A DW may be viewed as a central data repository integrated by different sources, and includes metadata that defines how data is stored and how data is accessed. For example, data may be stored in a specific mode (e.g., a star schema discussed below). A DW may store large amounts of data (e.g., several terabytes of data). In some cases, a DW is provided as a pre-set system so that the DW is managed at least in part by the enterprise for which the DW is established.
[0021] As a non-limiting example, an exemplary DW includes SAP Business Warehouse (BW) provided by SAP SE of Walldorf, Germany. SAP BW can be described as a model-driven data warehouse product based on the SAP NetWeaver ABAP platform. SAP BW collects, transforms and stores data generated in SAP and non-SAP applications, and makes the data accessible through built-in reporting, business intelligence and analysis tools. In SAP BW, data is accessed using so-called InfoCubes, each of which consists of a set of InfoObjects, which include features (e.g., master data with its attributes and text descriptions) and key indicators. An InfoObject can be described as an InfoProvider, which is a data object created and used to run queries. InfoCubes are structured using a star schema that includes a fact table containing the key indicators of the InfoCube, and several dimension tables around the fact table. Both the fact table and the dimension table are relational database tables stored in the underlying database system.
[0022] In some examples, a DW (such as SAP BW) includes an analysis engine that enables data to be retrieved from an underlying database system, performs analysis on the retrieved data, and provides the analysis results to a client. For example, an analysis engine (also referred to herein as a DW analysis engine, or a server-based analysis engine) is executed within an application server. In some examples, an application server receives a request from a client (e.g., a computing device that communicates with the application server) and interprets the request based on metadata to determine which data to retrieve from the database. The application server queries the database system using a query language (e.g., (SQL)) and receives data (e.g., hundreds or thousands of records) in response to the query from the database system. The application server processes the received data using a server-based analysis engine and provides the analysis data to the client. This process can be referred to as a 3-tier approach, in which most of the processing is performed within the application server.
[0023] Analysis systems that provide advanced analysis capabilities and improved data processing performance, for example, compared to the performance provided by DW, have been introduced. Such analysis systems may include cloud-based analysis systems that include an analysis engine that executes directly within the underlying database system (e.g., as opposed to a DW analysis engine that executes within an application server). Such an analysis engine is referred to herein as a database (DB) analysis engine (DB-based analysis engine). Therefore, in response to a request from a client, the request is processed by the DB analysis engine within the database system. Therefore, the DB-based analysis engine directly accesses the data stored within the database system so as to perform analysis processing within the database system, thereby avoiding the transmission of data from the database system for analysis processing (e.g., transmitting data from the database system to the application server).
[0024] As a non-limiting example, an exemplary cloud-based analysis system includes SAP Analytics Cloud (SAC) provided by SAP SE of Walldorf, Germany. SAC can be described as an all-in-one platform for business intelligence, planning, and predictive analysis to support enterprise operations. In some examples, SAP SAC uses Multidimensional Services (MDS), which provides a DB-based analysis engine. SAP SAC provides requests to MDS in a specific protocol (e.g., Information Access (InA) protocol), which enables the formulation and execution of more complex data analysis requests (e.g., compared to data analysis requests submitted through DW).
[0025] In order to provide a unified user experience for enterprises using DW, it is desirable to connect DW to DB-based analysis engines. In this way, enterprises using DW can take advantage of more complex and resource-efficient analysis provided by the analysis system through DB-based analysis engines. Traditional techniques for achieving this goal include, for example, using online analytical processing (OLAP) processors to provide so-called real-time connections, and using so-called calculation views created through DW to provide such connections through DB-based analysis engines. However, such traditional techniques have disadvantages. For example, calculation views used in database system access can cause serious performance issues due to complexity and missing metadata.
[0026] Regarding complexity, view creation is designed to be used by SQL-based tools. Therefore, calculation views contain many parts that represent the characteristics of DW that can be used. Usually, calculation views contain complex calculation engine scenarios with thousands of nodes. For example, expensive (in terms of resources required for calculation) external joints include available hierarchies, currency conversions are built-in, etc. This leads to a lot of instantiation, optimization and runtime. On the other hand, DW uses simpler views and even uses SIDs instead of values, and can access data faster.
[0027] Regarding the missing metadata, many details inside the view cannot be used as calculation view metadata, but must be used by the DB-based analytical engine. This leads to performance issues. For example, measures that use the same currency or unit column or constant in the DW model are displayed as different currency / unit columns in the view. The DB-based analytical engine cannot combine them in a single aggregation, as this may lead to incorrect results. The runtime increases with the number of measures used. As another example, all available hierarchies are included in the created view. Without the appropriate metadata, the hierarchies requested in the analytical system cannot be used. As another example, the view can contain restricted key figures with additional filters. However, the calculation view metadata only contains simple basic measures. Because the restricted key figure filter is not applied, the count aggregation of the measure that is not explicitly requested may return unexpected results. In addition to the above disadvantages, the traditional technology of connecting DW to DB-based analytical engines has other disadvantages.
[0028] In view of the above circumstances, the implementation of the present disclosure enables the analysis engine of the second system to access and process the data provided in the first system. More specifically, and as described in further detail herein, the implementation of the present disclosure transforms metadata (used by the first system to store and access data) from a first format to a second format through an intermediate format (referred to herein as an interoperable format) to enable the analysis engine of the second system to access the data for analysis processing.
[0029] Implementations of the present disclosure are described in further detail herein with reference to a DW system. However, it is contemplated that implementations of the present disclosure may be implemented using any suitable system that stores data that is accessed by another system.
[0030] Figure 1 An exemplary architecture 100 according to an implementation of the present disclosure is depicted. In the depicted example, the exemplary architecture 100 includes a client device 102, a network 106, and server systems 104, 105. The server systems 104, 105 each include one or more server devices and a database 108 (e.g., processor, memory). In the depicted example, a user 112 interacts with the client device 102.
[0031] In some examples, the client device 102 can communicate with the server systems 104, 105 via the network 106. In some examples, the client device 102 includes any suitable type of computing device, such as a desktop computer, a laptop computer, a handheld computer, a tablet computer, a personal digital assistant (PDA), a cellular phone, a network appliance, a camera, a smart phone, an enhanced general packet radio service (EGPRS) mobile phone, a media player, a navigation device, an email device, a game console, or a suitable combination of any two or more of these devices or other data processing devices. In some implementations, the network 106 may include a large computer network, such as a local area network (LAN), a wide area network (WAN), the Internet, a cellular network, a telephone network (e.g., PSTN), or a suitable combination thereof connecting any number of communication devices, mobile computing devices, fixed computing devices, and server systems.
[0032] In some implementations, server systems 104, 105 each include at least one server and at least one data storage area (store). Figure 1 In the example of , server systems 104, 105 are intended to represent various forms of servers, including but not limited to web servers, application servers, proxy servers, network servers and / or server pools. In general, server systems accept requests for application services and provide such services to any number of client devices (e.g., client device 102 on network 106).
[0033] According to an implementation of the present disclosure, server system 104 can host a DW system operated for an enterprise, and server system 105 can be operated by a software provider (e.g., SAP SE) to provide services to one or more enterprises. In some examples, server system 104 and / or server system 105 host a database system in which enterprise data is stored. Exemplary database systems include, but are not limited to, SAP HANA provided by SAP SE of Waldorf, Germany. SAP HANA can be described as a data platform that simultaneously processes transactions and analysis of any data type using built-in advanced analytics and multi-model data processing engines. As further described in detail herein, an implementation of the present disclosure enables the use of a cloud-based analysis system to access and process data from a DW system for analysis.
[0034] Figure 2 An exemplary conceptual architecture 200 is depicted according to an implementation of the present disclosure. In the depicted example, the exemplary conceptual architecture 200 includes a front-end system 202, a back-end system 204, and a cloud service system 206. In general, the exemplary conceptual architecture 200 depicts a provisioning method in which a server system (e.g., Figure 1In other words, for example, the backend system 204 is the backend system of the enterprise. In some examples, the cloud service system 206 is provided by the server system (for example, Figure 1 provided by a software provider (e.g., SAP SE) on a server system 105).
[0035] In some examples, the front-end system 202 can be composed of one or more client-side devices (e.g., Figure 1 The cloud service system 206 may be executed by a client device 102 and include a DW administrator user interface (UI) 210 and an analysis application 212 (e.g., provided as part of SAP SAC). Figure 1 206) is executed by the server system 105 of the backend 204. According to an implementation of the present disclosure, the cloud service system 206 includes integration services 214, which include metadata handlers 216 and deployers 218. Although the integration services 214 are depicted within the cloud service 206, it is contemplated that the integration services 214 can be provided directly within the backend 204. For example, in some implementations, the metadata handler 216 and the deployer 218 can be provided within the backend 204 (e.g., pre-set).
[0036] In the depicted example, the backend 204 includes a DW system 220, an integration service 222, an application service 224, and a database system 226. As a non-limiting example, the DW system 220 may be provided as at least a portion of the SAP BW described above, and the application service 224 may be provided as SAP Extended Application Services (XS) provided by SAP SE of Walldorf, Germany. Also as a non-limiting example, the database system 226 may be provided as SAP HANA.
[0037] exist Figure 2 In the example of , DW system 220 includes view generator 230, data authorization provider 232, metadata invalidator 234, and metadata provider 236. Integration service 222 includes data provision agent 238, and application service 224 includes protocol adapter 240 (e.g., for InA protocol). In some examples, data provision agent 238 is provided to enable communication (e.g., using HTTP) between cloud service 206 provided by a software provider and backend system 204 of an enterprise provided as an on-premise system.
[0038] exist Figure 2In the example of , the database system 226 includes an authorization store 250, a DW metadata store 252, a fact store 254, a master data store 256, one or more information provider views 258, and one or more information object views 260 for each information provider view 258. The DW metadata store 252 stores metadata that describes how data in the database system 226 is stored and accessed (e.g., metadata that describes columns, views, and the relationships between them).
[0039] Fact store 254 stores fact data, which can be described as data that changes relatively frequently. Exemplary fact data includes, but is not limited to, sales, revenue, cost, net worth, keys (e.g., keys that identify a particular customer), etc. Master data store 256 stores master data, which can be described as data that changes less frequently (e.g., compared to fact data). Examples of master data include, but are not limited to, customer data (e.g., name, address, phone number).
[0040] The database system 226 also includes an analysis engine 270 (e.g., provided as an MDS), an analysis engine data access component 272, an analysis engine metadata 274, a view cache manager 276, and a view cache 278. In some examples, the view cache manager 276 monitors views (e.g., information provider views 258, information object views 260) generated within the database system 226 and caches the views in the view cache 278. Thus, the first time a view is requested, the view can be generated and stored in the view cache 278, and the second time a view is requested, the view can be provided from the view cache 278 (if it is still available in the view cache 278). In this way, computing resources of the backend system 204 can be preserved because the view does not need to be (re)generated in each request.
[0041] As described in further detail herein, implementations of the present disclosure enable the DB-based analysis engine 270 to directly access data stored within the database system 226 by the DW system 220. That is, the DB-based analysis engine 270 is able to directly access facts stored in the fact store 254 and master data stored in the master data store 256. For example, the analysis engine 270 receives a request for analysis processing from the analysis application 212 and through the application service 224. The analysis engine 270 uses the analysis engine metadata 274 to provide data access requests to access one or more information provider views 258 and one or more information object views 260. In some examples, the data access request is received by the analysis engine data access component 272, which processes the data access request to retrieve data related to the request to be analyzed.
[0042] According to an implementation of the present disclosure, the DW metadata stored in the DW metadata storage area 252 is transformed into analysis engine metadata, which has a format that can be consumed by the DB-based analysis engine 270 and is stored in the analysis engine metadata storage area 274. In some implementations, the metadata provider 236 retrieves the metadata required to access a specific view from the DW metadata storage area 252. The metadata provider 236 transforms the metadata from a first format to an interoperable format. In some examples, the first format is specific to the analysis processing of the DW system (e.g., by a server-based analysis engine executed on an application server), and the interoperable format is not bound to any analysis engine. The interoperable format includes metadata and expresses the semantics and intent of the metadata. In some examples, the interoperable format includes a core schema notation (CSN) and provides metadata in a metadata document (e.g., a Javascript Object Notation (JSON) document). A non-limiting exemplary CSN representation is provided in Listing 1 below. In the example of Listing 1, there are two references to "MAX_PLUS_MIN", one in the "element" segment and one in the "query" segment, which contains design-time information in terms of standardized / interoperable "annotations", such as "@EndUserText.label", "@Aggregation.default".
[0043] In some implementations, the integration service 214 receives a metadata document from the DW system 220 (e.g., in response to an HTTP request issued by the integration service 214 to the DW system 220). The metadata handler 216 interprets the metadata document received from the DW system 220 and provides the metadata document to the deployer 218. In some examples, the metadata stored in the DW system 220 can be described as a single entity definition and its relationship with other entities. One task of the metadata handler 216 is to collect all metadata from the metadata provider starting from a single entity (e.g., the central entity of a star schema), which is required by the deployer 218 to create AE / runtime optimized metadata. For example, this will include all related dimensional entities, (language-dependent) texts, and hierarchical structures of competing star schemas. To do this, the metadata handler must have knowledge about the scope of the deployer's functionality. The deployer 218 transforms the metadata from an interoperable format into a second format dedicated to the analysis engine 270 to provide analysis metadata. In some examples, the analysis metadata includes data definition language (DDL) statements (e.g., for creating or deleting objects within the database system 226) and / or data modification language (DML) statements (e.g., for inserting, updating, or deleting data within the database system 226). The analysis metadata is stored in the analysis metadata storage area 274 by the data supply agent 238. In this way, the DW metadata from the DW metadata storage area 252 is transformed to provide analysis engine data stored in the analysis engine metadata storage area 274, and the analysis engine 270 can consume the analysis metadata to retrieve data (e.g., facts, master data) within the database system 226 for analysis processing within the database system 226.
[0044] Listing 2 below provides a non-limiting exemplary DW representation. In the example of Listing 2, there are two sub-segments "MAX_PLUS_MIN", one in the "DataSourceFields" segment, referencing a deployed database runtime artifact (e.g., SQL view), and the other in the "Measures" segment (analysis-specific metadata for the MDS runtime).
[0045] Figure 3 Another exemplary conceptual architecture 300 according to implementations of the present disclosure is depicted. The exemplary conceptual architecture 300 depicts a hybrid approach in which an enterprise uses a cloud-based data warehouse system that accesses data stored in the enterprise's on-premise systems. In this manner, cloud-based functionality is provided while maintaining on-premise data. Exemplary cloud-based data warehouse systems include, but are not limited to, SAP Data Warehouse Cloud (DWC) provided by SAP SE of Walldorf, Germany.
[0046] exist Figure 3In the example of FIG. 3 , the exemplary conceptual architecture 300 includes a front end 202, a cloud-based DW (e.g., SAP DWC) 302, and a back end system 204' (i.e., an enterprise's on-premise system). The back end system 204' includes a DW system 220', an integration service 222, and a database system 226'. The DW system 220' includes a view generator 230, a data authorization provider 232, a metadata invalidator 234, and a metadata provider 236. The integration service 222 includes a provisioning agent 238. The database system 226' includes an authorization store 250, a DW metadata store 252, a fact store 254, a master data store 256, one or more information provider views 258, and one or more information object views 260.
[0047] The cloud-based DW includes a space 304, a repository 306, an integration service 214', and a database system 226". The integration service 214' includes a metadata handler 216, a deployer 218, an adapter 240, and an authorization and data privacy component 310. The database system 226" includes authorization 312 provided as a remote table, one or more information provider views 258' provided as corresponding remote tables, and one or more information object views 260' provided as corresponding remote tables (also called virtual tables). In some examples, a remote table is a technical artifact in a (local) database system that appears to be a table in all use cases, but actually points to a table or view in another database system, which can be called a remote source. The database system 226" also includes an analysis engine 270, an analysis engine data access component 272, an analysis engine metadata 274, a view cache manager 276, and a view cache 278.
[0048] As above reference Figure 2As described, the DW metadata stored in the DW metadata storage area 252 is transformed into analysis engine metadata, which has a format that can be consumed by the DB-based analysis engine 270 and is stored in the analysis engine metadata storage area 274. In some implementations, the metadata provider 236 retrieves the metadata required to access a specific view from the DW metadata storage area 252. The metadata provider 236 transforms the metadata from a first format to an interoperable format. In some implementations, the integration service 214' receives a metadata document from the DW system 220 (e.g., in response to an HTTP request issued by the integration service 214 to the DW system 220'). The metadata handler 216 interprets the metadata document received from the DW system 220' and provides the metadata document to the deployer 218. The deployer 218 transforms the metadata from the interoperable format to a second format dedicated to the analysis engine 270 to provide analysis metadata, which is stored in the analysis metadata storage area 274. In this manner, DW metadata from DW metadata store 252 is transformed to provide analytical engine metadata stored in analytical engine metadata store 274, which analytical engine 270 is able to consume to retrieve data (e.g., facts, master data) within database system 226' for analytical processing within database system 226".
[0049] In some implementations, in order to trigger the transformation of metadata to provide analysis engine metadata, data within the database system 226, 226' can be identified as accessible to the analysis engine 270. For example, a user (e.g., an administrator) can access the DW system 220, 220' through the DW administrator UI 210, and can mark data (e.g., information providers) that can be accessed by the analysis engine 270. For example, a user can set a tag associated with the data, which indicates that the data is accessible to the analysis engine 270. In some examples, for each information provider marked as accessible to the analysis engine 270, a SQL view is generated with all dimensions related to the information provider and including navigation properties and measure fields from the information provider. In some examples, only fields of the information provider (e.g., dimension-key, measure) are included. In response to the data being marked as accessible to the analysis engine 270, the metadata provider 236 can retrieve the corresponding metadata from the DW metadata storage area 252 to transform the metadata and provide the analysis engine metadata, as described herein.
[0050] In some implementations, it may be determined that metadata underlying data accessible to the analysis engine 270 has changed. For example, an update to the database system 226, 226' may result in a data structure being changed, which may also result in corresponding metadata being changed. In some examples, a metadata invalidator 234 may be provided as a listener that detects changes in metadata of data accessible to the analysis engine 270. If a change has occurred, the metadata invalidator 234 triggers redeployment of the metadata as analysis engine metadata. That is, for example, the metadata provider 236 may retrieve corresponding metadata from the DW metadata store 252 to transform the metadata and provide the analysis engine metadata, as described herein.
[0051] To illustrate the implementation of the present disclosure, but not limited to, a brief description and example of the analysis engine 270 processing a request from an analysis application is provided, and the example includes how to use analysis metadata to identify and access data (i.e., an end-to-end workflow starting from the analysis application issuing a request to the MDS). In more detail, the analysis application requests metadata in order to, for example, provide a user with a selection of dimensions and measures (e.g., in the "Edit Chart" dialog box). In some examples, the MDS reads its proprietary representation and converts the measure segments into a format specified for client / server exchange metadata (which is close to the MDS internal format). This is part of the runtime optimization: it uses only relatively few and cheap (in terms of resources consumed by execution) transformations to prepare responses for metadata requests. The analysis application has a chart definition, for example, with a dimension of "Fiscal Year" and a measure of "Max+Min", and sends a corresponding data request to the MDS. The MDS reads the metadata of the requested fields in order to prepare a response to the data request. The MDS determines that "Fiscal Year" is a dimension and has a corresponding column in the data source / underlying SQL view, and "Min+Max" is a measure. In some examples, "min+max" can be provided as a formula (e.g., a non-SQL default aggregation formula) that refers to other metrics "min" (with default aggregation MIN) and "max" (with default aggregation MAX). For these metrics, there are corresponding columns in the data source.
[0052] In some examples, the MDS prepares an execution plan. An exemplary execution plan based on the above example may include: first reading the MIN (Min) and MAX (max) groups of FISCAL_YEAR from the underlying (SQL) data source, and then calculating the formula MAX_PLUS_MIN for each row of the result set. In some examples, the MDS executes the execution plan (e.g., by creating a complex SQL request or temporary DB runtime artifact ("calculation scenario") for this plan and executing the request). The MDS returns the query results based on metadata (e.g., the value of the metric MIN_PLUS_MAX).
[0053] FIG. 4A to FIG. 4C An exemplary screen shot depicting query design time within a DW system. FIG. 4A to FIG. 4C In the example of , an exemplary metric MAX_PLUS_MIN is defined, which is used in the examples of Listing 1 and Listing 2 provided in this document.
[0054] Figure 5 An exemplary process 500 is depicted that may be performed in accordance with implementations of the present disclosure. In some examples, the exemplary process 500 is provided using one or more computer-executable programs executed by one or more computing devices.
[0055] A trigger item is received (502). For example, a user may mark data stored in a database system 226, 226' as accessible to the analysis engine 270, the trigger item being the marking of the data. As another example, it may be determined that metadata associated with data accessible to the analysis engine 270 stored in the database system 226, 226' has changed, the trigger item being the change in metadata. DW metadata is accessed (504), and a document including DW metadata provided in an interoperable format is provided (506). For example, in response to the trigger item, DW metadata associated with data accessible to the analysis engine 270 is accessed by a metadata provider 236, and the metadata provider converts the DW metadata into an interoperable format. In some examples, the interoperable format includes a CSN.
[0056] The document is processed to provide analytical metadata (508). For example, the metadata processing program 216 receives the document from the DW system 220, 220', and the deployer 218 processes the document to provide analytical metadata in a second format so that the analytical metadata can be consumed by the analysis engine 270 to access data from the database system 226, 226'. The analytical metadata is stored in an analytical metadata storage area (510). Data is retrieved from the database system of the enterprise based on the analytical metadata (512).
[0057] Reference now Figure 6, a schematic diagram of an exemplary computing system 600 is provided. System 600 can be used for operations described in association with the implementations described herein. For example, system 600 can be included in any or all of the server components discussed herein. System 600 includes a processor 610, a memory 620, a storage device 630, and an input / output device 640. Components 610, 620, 630, 640 are interconnected using a system bus 650. Processor 610 is capable of processing instructions to be executed within system 600. In some implementations, processor 610 is a single-threaded processor. In some implementations, processor 610 is a multi-threaded processor. Processor 610 is capable of processing instructions stored in memory 620 or on storage device 630 to display graphical information for a user interface on input / output device 640.
[0058] The memory 620 stores information within the system 600. In some implementations, the memory 620 is a computer-readable medium. In some implementations, the memory 620 is a volatile memory unit. In some implementations, the memory 620 is a non-volatile memory unit. The storage device 630 can provide large-capacity storage for the system 600. In some implementations, the storage device 630 is a computer-readable medium. In some implementations, the storage device 630 can be a floppy disk device, a hard disk device, an optical disk device, or a tape device. The input / output device 640 can provide input / output operations for the system 600. In some implementations, the input / output device 640 includes a keyboard and / or a pointing device. In some implementations, the input / output device 640 includes a display unit for displaying a graphical user interface.
[0059] The features described may be implemented in digital electronic circuitry or in computer hardware, firmware, software, or a combination thereof. The apparatus may be implemented in a computer program product tangibly embodied in an information carrier (e.g., in a machine-readable storage device to be executed by a programmable processor), and the method steps may be performed by a programmable processor executing a program of instructions to perform the functions of the described implementation by operating on input data and generating output. The features described may be advantageously implemented in one or more computer programs executable on a programmable system, the programmable system comprising at least one programmable processor coupled to receive data and instructions from and transmit data and instructions to a data storage system, at least one input device, and at least one output device. A computer program is a set of instructions that can be used directly or indirectly in a computer to perform a specific activity or bring about a certain result. A computer program may be written in any form of programming language, including compiled or interpreted languages, and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0060] Suitable processors for executing instruction programs include, for example, general and special purpose microprocessors, and a single processor or one of multiple processors of any type of computer. Generally speaking, the processor will receive instructions and data from a read-only memory or a random access memory or both. The elements of a computer may include a processor for executing instructions and one or more memories for storing instructions and data. Generally speaking, a computer may also include or be operably coupled to one or more mass storage devices for storing data files; such devices include disks, such as internal hard disks and removable disks; magneto-optical disks; and optical disks. Storage devices suitable for tangibly embodying computer program instructions and data include all forms of non-volatile memory, including, for example, semiconductor memory devices (such as EPROM, EEPROM, and flash memory devices); disks (such as internal hard disks and removable disks), magneto-optical disks, and CD-ROM and DVD-ROM disks. The processor and memory may be supplemented by or incorporated into an ASIC (Application Specific Integrated Circuit).
[0061] To provide interaction with a user, the features may be implemented on a computer having a display device (such as a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) and a keyboard for displaying information to the user, and a pointing device (such as a mouse or trackball) through which the user can provide input to the computer.
[0062] The features may be implemented in a computer system that includes a back-end component (such as a data server), or includes a middleware component (such as an application server or an Internet server), or includes a front-end component (such as a client computer with a graphical user interface or an Internet browser), or any combination of these items. The components of the system may be connected by digital data communication of any form or medium, such as a communication network. Examples of communication networks include, for example, LANs, WANs, and the computers and networks that form the Internet.
[0063] A computer system may include clients and servers. Clients and servers are generally remote from each other and generally interact via a network (such as the network described herein). The relationship of client and server arises through computer programs running on respective computers and having a client-server relationship to each other.
[0064] In addition, the logic flows depicted in the accompanying drawings do not necessarily require the particular order or sequential order shown to achieve the desired results. In addition, other steps can be provided from the described flows, or steps can be omitted, and other components can be added to or removed from the described systems. Accordingly, other implementations are within the scope of the following claims.
[0065] A number of implementations of the present disclosure have been described. However, it should be understood that various modifications may be made without departing from the spirit and scope of the present disclosure. Accordingly, other implementations are within the scope of the following claims.
[0066] Listing 1: Example CSN representation
[0067]
[0068]
[0069]
[0070]
[0071]
[0072]
[0073]
[0074]
[0075]
[0076]
[0077]
[0078]
[0079]
[0080]
[0081]
[0082]
[0083]
[0084]
[0085]
[0086]
[0087]
[0088]
[0089]
[0090]
[0091]
[0092]
[0093]
[0094]
[0095]
[0096]
[0097]
[0098] Listing 2: Example DW representation
[0099]
[0100]
[0101]
[0102]
[0103]
[0104]
[0105]
[0106]
[0107]
[0108]
[0109]
[0110]
[0111]
[0112]
[0113]
Claims
1. A computer-implemented method for accessing data provided in a first system by an analysis engine based on a database DB of a second system, the method being executed by one or more processors and comprising: retrieving metadata associated with data stored in a database system of the enterprise, the metadata being provided in a first format and used by the first system to store and access the data, the metadata describing how the data is stored in the first system and including entity definitions and relationships between entities; providing a document including metadata provided in an interoperable format that is not tied to any analysis engine; Receiving the metadata document by the integration service executed in the cloud service in response to a request issued by the integration service to the first system; Processing the document by a deployer to provide analytical metadata in a second format, the analytical metadata comprising one or more of data definition language (DDL) statements and data modification language (DML) statements, the analytical metadata being stored in the second system and being consumable by a DB-based analytical engine to access the data from a database system of the enterprise; as well as The data is retrieved from a database system of the enterprise based on the analysis metadata by the DB-based analysis engine to provide analysis data based on the data. 2 . The method of claim 1 , wherein the metadata is retrieved in response to marking the data as accessible to the DB-based analytics engine. The method of claim 1 , wherein the metadata is retrieved in response to determining that a change to the metadata has occurred.
4. The method of claim 1, wherein the DB-based analytical engine is executed within the database system of the enterprise. 5 . The method of claim 1 , wherein the DB-based analytical engine is executed within a cloud-based database system that accesses a database system of the enterprise. The method according to claim 1 , wherein the deployer is provided within a database system of the enterprise.
7. The method of claim 1, wherein the interoperable format comprises Core Mode Notation (CSN).
8. A non-transitory computer-readable storage medium coupled to one or more processors and storing thereon instructions, which, when executed by the one or more processors, cause the one or more processors to perform operations for accessing data provided in a first system through an analysis engine based on a database DB of a second system, the operations comprising: retrieving metadata associated with data stored in a database system of the enterprise, the metadata being provided in a first format and used by the first system to store and access the data, the metadata describing how the data is stored in the first system and including entity definitions and relationships between entities; providing a document including metadata provided in an interoperable format that is not tied to any analysis engine; Receiving the metadata document by the integration service executed in the cloud service in response to a request issued by the integration service to the first system; Processing the document by a deployer to provide analytical metadata in a second format, the analytical metadata comprising one or more of data definition language (DDL) statements and data modification language (DML) statements, the analytical metadata being stored in the second system and being consumable by a DB-based analytical engine to access the data from a database system of the enterprise; as well as The data is retrieved from a database system of the enterprise based on the analysis metadata by the DB-based analysis engine to provide analysis data based on the data.
9. The computer-readable storage medium of claim 8, wherein the metadata is retrieved in response to marking the data as accessible to the DB-based analytics engine.
10. The computer-readable storage medium of claim 8, wherein the metadata is retrieved in response to determining that a change to the metadata has occurred.
11. The computer-readable storage medium of claim 8, wherein the DB-based analytical engine is executed within a database system of the enterprise.
12. The computer-readable storage medium of claim 8, wherein the DB-based analytical engine executes within a cloud-based database system that accesses a database system of the enterprise.
13. The computer-readable storage medium of claim 8, wherein the deployer is provided within a database system of the enterprise.
14. The computer-readable storage medium of claim 8, wherein the interoperable format comprises Core Mode Notation (CSN).
15. A system comprising: Computing equipment; as well as A computer-readable storage device coupled to the computing device and storing thereon instructions, which, when executed by the computing device, cause the computing device to perform operations for accessing data provided in the first system through an analysis engine based on a database DB of the second system, the operations comprising: retrieving metadata associated with data stored in a database system of the enterprise, the metadata being provided in a first format and used by the first system to store and access the data, the metadata describing how the data is stored in the first system and including entity definitions and relationships between entities; providing a document including metadata provided in an interoperable format that is not tied to any analysis engine; Receiving the metadata document by the integration service executed in the cloud service in response to a request issued by the integration service to the first system; Processing the document by a deployer to provide analytical metadata in a second format, the analytical metadata including one or more of data definition language (DDL) statements and data modification language (DML) statements, the analytical metadata being stored in the second system and being consumable by a DB-based analytical engine to access the data from a database system of the enterprise; and The data is retrieved from a database system of the enterprise based on the analysis metadata by the DB-based analysis engine to provide analysis data based on the data.
16. The system of claim 15, wherein the metadata is retrieved in response to marking the data as accessible to the DB-based analytics engine.
17. The system of claim 15, wherein the metadata is retrieved in response to determining that a change to the metadata has occurred.
18. The system of claim 15, wherein the DB-based analytical engine executes within a database system of the enterprise.
19. The system of claim 15, wherein the DB-based analytical engine executes within a cloud-based database system that accesses a database system of the enterprise.
20. The system of claim 15, wherein the deployer is provided within a database system of the enterprise.
Citation Information
Patent Citations
Method and system of database table format conversion based on user data access patterns
CN103678442A
Analysis engine for automatic analysis and error log linking
CN104239158A
Accessing information content in a database platform using metadata
CN104750776A
Optimizing data access based on data aging
CN108205582A
Local data repository generation
US20050256896A1
