Book Image

Real Time Analytics with SAP Hana

By : Vinay Singh
Book Image

Real Time Analytics with SAP Hana

By: Vinay Singh

Overview of this book

SAP HANA is an in-memory database created by SAP. SAP HANA breaks traditional database barriers to simplify IT landscapes, eliminating data preparation, pre-aggregation, and tuning. SAP HANA and in-memory computing allow you to instantly access huge volumes of structured and unstructured data, including text data, from different sources. Starting with data modeling, this fast-paced guide shows you how to add a system to SAP HANA Studio, create a schema, packages, and delivery unit. Moving on, you’ll get an understanding of real-time replication via SLT and learn how to use SAP HANA Studio to perform this. We’ll also have a quick look at SAP Business Object DATA service and SAP Direct Extractor for Data Load. After that, you will learn to create HANA artifacts—Analytical Privileges and Calculation View. At the end of the book, we will explore the SMART DATA access option and AFL library, and finally deliver pre-packaged functionality that can be used to build information models faster and easier.
Table of Contents (16 chapters)
Real Time Analytics with SAP HANA
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating filters


The first question that comes to our mind is why do we need filters? As discussed in Chapter 2, SAP HANA Data Modeling Approach, Modeling Principles section—consideration to make in Chapter 1, Kickoff – Before We Start: The idea is to filter the data at the lowest layer and only bring the data that is actually required by the query. (Quoting it from Chapter 1, Kickoff – Before We Start).That is, we should try to reduce data transfer between the engines. This can be achieved using the following steps:

  1. Creating client dependent views: The data is automatically filtered to one client.

  2. Using domain fix values: This can be used for several fields.

  3. Creating filters: This is defined during design time.

  4. Creating and using the WHERE clauses in queries: This is defined at the runtime of the SQL query.

Using the preceding steps not only ensures that we minimize data transfer between the engines, but also helps to reduce the larger result sets between the HANA database and the client/application...