HANA Overview and Capabilities Dr. Bjarne Berg
Why In-Memory Processing? Technology Focus 1990 2012 Improvement 0.05 MIPS/$ 304.17 MIPS/$ 6083x CPU 0.02 MB/$ 52.27 MB/$ 2614x Memory 216 264 248x Addressable Memory 100 Mbps 100 Gbps 1000 x Network Speed 5 MBPS 620 MBPS 124x Disk Data Transfer Source: 1990 numbers SAP AG, 2012 numbers, Dr. Berg Source: BI Survey of 534 BI professionals, InformationWeek, 2010 Disk speed is growing slower than all other hardware components, while the need for speed is increasing.
In Memory Processing — General Highlights — BWA BWA = SAP BW Accelerator
SAP HANA — In Memory Options SAP HANA is sold as an in-memory appliance. This means that both Software and Hardware are included from the vendors Currently you can buy SAP HANA solutions from Cisco, Dell, Fujitsu, IBM, and Hewlett-Packard SAP HANA currently indexes the data from a variety of sources, including ERP and BW and store the result on a dedicated server The future of SAP HANA is to replace the databases of ERP and BW and run these on the in-memory platform Source SAP AG,2011 SAP HANA has the potential to radically change the way databases operate and make systems dramatically faster.
The Different Editions of HANA
Looking Inside SAP HANA — In-Memory Computing Engine (IMCE) AAAA Metadata Manager Authorization Manager Transaction Manager Persistence Layer Disk Storage Relational Engine -Row Store -Column Store SQL Script SQL Parser Data Volumes Page Mgmt. Session Manager Calculation Engine MDX Logger Log Volumes Load Controller Replication Server BusinessObjects Data Services Inside the Computing Engine of SAP HANA we have many different components that manage the access and storage of the data. This include MDX and SQL access, as well as Load Controller (LC) and the Replication Server.
Row based index
Row- vs. Column-Based Indexing (cont.) As we can see, there are only 7 unique states and 3 unique customer classes in the data. This allows SAP HANA to compress this data set significantly By including the Row ID in the column-based index in SAP HANA, the “ownership” of the values in the index can still be mapped back to the record Column-based indexes on fields with repeated values often leads to better compression ratios and thereby lower size of the indexes (as we can see, there are few values repeated in the rows).
SAP HANA — Virtual Marts and Applications Virtual data marts and new applications were built that run on SAP NetWeaver BW, which is again enabled by SAP HANA in-memory processing Applications developed by SAP Planning & consolidation Customer revenue performance mgmt Predictive segmentation & targeting Trade promotion management Merchandise & assortment planning Sales & operations planning (SOP) Demand signal repository Profitability analysis Dynamic cash management Strategic workforce planning Smart meter analytics (power companies) Enterprise Data Warehouse – SAP BW HANA (in-the works) BI Solutions ERP Virtual Data Marts Virtual Data Marts Database Applications Virtual Data Marts Virtual Data Marts Databases Files This provides much tighter integration with the source system (less data latency) and much faster query response time for high-volume analysis
The Hardware – IBM Example
Client Demo
SAP HANA — Loading the Application and Performance You can load the application based on the logs in the source system, ETL-based (Extract Transform and Load) loads, and SAP trigger-based replication Tool Purpose BusinessObjects Data Services 4.0 – ETL-based replication Sybase replication server & Load Controller – Log-based replication SAP Landscape Transformation (LT) – Trigger-based replication Log based replication is possible on IBM DB 2 LUW/UDB, MSFT SQL Server Enterprise Edition, Oracle Enterprise Edition, and Sybase ASE
Opening HANA Admin
Adding New System in HANA
Adding New System in HANA
Creating HANA system connection
Setup HANA Security Authentication
Changing a HANA password
Creating HANA Security questions
Creating HANA Security questions
Your HANA System in the Navigator
Searching for a table in HANA
The table definition inside HANA
All HANA tables
Open a HANA table
Browsing data in a HANA table
Opening HANA Admin
HANA memory usage
Creating a New HANA Table
Creating a New HANA Table
Creating a New Products HANA Table
Defining a new Sales HANA table
Accessing Data Services to Load data to HANA
Accessing Data Services to Load data to HANA
Linking Data Services to HANA datastores
Linking Data Services to HANA datastores
Linking Data Services to HANA datastores
Our new Data Services HANA repository
Data Services HANA repository objects
Importing HANA table definitions
Importing HANA Customer table definition
Importing HANA Sales table definition
Linking data files to load to HANA
Linking data files to load to HANA
Defining file format for loading data to HANA
Defining data file format for HANA data load
Saving file formats
Customer file for HANA data load
Replicating Product file for HANA data load
Product file for HANA dataload Replicated Product file for HANA dataload
Sales file for HANA data load Replicating Sales file for HANA data load
Replicated Sales file format loading data to HANA
Create a Project for Data Services
Create a Project for Data Services
Create a Batch job for HANA data loads
The new batch job for a HANA data load
A new dataflow for HANA data load
Making HANA tables the data target
Creating data mapping to load data to HANA
Creating data mapping to load data to HANA
Detailed data mapping to load data to HANA
Detailed data mapping to load data to HANA
Execute a HANA data load
Execute a HANA data load
Execute a HANA data load
HANA data load log
Opening HANA Studio
Opening HANA Studio
Opening our Customer table in HANA
Our Customer table in HANA
What can you do with HANA and BO Explorer? The system looks at the data and formats it based on implied hierarchies (i.e., time, geography, customer) as well as measures. Users may navigate and change measures, graphs, and tables.
Measures used on any graph can be calculated “on-the-fly.” New Calculations Any data panel can be sorted in many ways We can also add our own measures In our example we are adding the measure “Margin Per Unit” as total margin divided by “quantity sold” Measures used on any graph can be calculated “on-the-fly.”
HANA Optimized InfoCubes
Data Store Objects (DSO) In HANA The DSO in HANA is a ‘closed’ object where you can do: Index reads (snapshots) Delta reads for updates Activate data Querying Read delta, between snapshot 1 and 2 Index Read Delta Index Main Index Activation Insert Only Index History Index PS! a table, an analytic or calculation view in a HANA schema can be accessed via a BW DataSource. This is based on ‘DB connect’ using a second DB connection to the underlying HANA DBMS. Source: T. Zurek, SAP AG Data Load
SAP HANA — Test Drive You can see demos and do a test drive at: https://www.experiencesaphana.com This site contains a lot of great information and you can also try the Information Composer and see recorded demos.
Register and Take a Free BI Test Drive with SAP HANA You can register for a free test drive at: https://bi.ondemand.com/session/new You can also upload your own data and try the tool to see if it is something for your organization. There is even quick guides, videos, and wizards to get you started.
Questions and Answers Dr. Berg Bberg@Comerit.com