Quantcast
Channel: SCN : Document List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 1183

Analysing Stats in HANA for Audit or ROI perspective

$
0
0

CREDIT:

Abani Pattanayak, abani.pattanayak@sap.com, SAP HANA Center of Excellence

Tony Cheung, tony.cheung@sap.com, Business Analytics Services

Jody Hesch, jody.hesch@sap.com, Business Analytic Services


 

 

Background:

 

So you have implemented an HANA solution (be in HANA Agile data mart or BW on HANA or HANA Live). During the course of the implementation, the project team (or multiple project team) may have created and/ replicated few hundreds of tables and created quite a few HANA models (attribute view, analytic view, calculation views etc..).

 

So as an IT manager or an curious administrator, you may want to know, if the business users are actually using these these HANA models. For that matter, how's is the performance of these models. Is there any patterns in performance of these models. Of if it slower or better at a given point of time.

 

So in summary, many time a customer would like to know from return of investment (ROI) or pure audit perspective.

 

 

Scope:

 

In a series of post, I'll explore how we can use the technical/statistics data available in a HANA installation to answer these questions. In particular, I'll cover how we can build HANA models to report on the following topics

 

HANA Models:

  • List of Active & Inactive HANA models: Search acorss attribute, analytic & calculation views
  • Details of HANA models : Search attributes, measures, variables, input parameter & hierarchies
  • Where Used: What are the dependancies of attribute, analytic & calculation views.
  • Last Access: Last access of a HANA model

 

Queries:

  • List of Queries: List of queries (What) executed on a model by list of users (Who)
  • Performance: Trend of Query performance (if same query is being over period of time)

 

Catalog Objects:

  • Ownership of the Tables & Where used (of Tables, Views, Procedures etc.)

 

By any means, this is not a comprehensive list. You can certainly extend as you explore further.

 

 

Source:

 

To build solution we need to dig the data in HANA system tables or statistics tables. In particular explore the Tables/Views under SYS, _SYS_BI, _SYS_REPO schema.

 

There are also tons of useful information in the tables/views of other standard schemas.

 

 

1. HANA Models: List of Active & Inactive HANA Models:

 

To report on Active and Inactive HANA models, we need to explore the following two tables under _SYS_REPO schema. As the name suggests, these tables stores the list of active and inactive objects in HANA repository.

 

  • _SYS_REPO.ACTIVE_OBJECTS:
  • _SYS_REPO.INACTIVE_OBJECTS


You can get some additional information on the activated objects (attribute, analytic and calculation views) from the following table

 

  • "_SYS_BI"."BIMC_ALL_CUBES


Using these tables, you can easily build model to report on the all active and inactive HANA models.


Active-Inactive.PNG


I'll cover the other topics..one by one.. please stay tuned.

 

Update:


Analysing Stats in HANA for Audit or ROI perspective - Part 2


Viewing all articles
Browse latest Browse all 1183

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>