In This video blog we look at five steps that helps you automate many of the tasks of moving SAP BW to HANA, including sizing, pre-checks, cleanup, ETL automated checks and HANA migration options. By Dr. Berg
Many organizations that are currently using SAP BW and BI on relational databases are struggeling with the first steps in planning and executing their BW to HANA migration efforts.
In this video blog we look at what is new in the 2nd edition of the SAP HANA book from SAP Press, and also dives into the new automated programs that can assist you in your migration project with practical advice and examples.
5 key steps on How to Execute your BW to SAP HANA Move
(select high resolution if you are using a big-screen and turn on sound).
Meanwhile, I am preparing a demo with 420+ million rows with 3 dashboards, WebI, Analysis, Crystal Report and more that I will be sharing on this blog later this week after Sapphire.. Stay tuned :-)
Many experienced developers are not aware that moving BW to HANA can in some cases result in slower transformations during data loads. Thankfully, SAP is providing a tool to identify areas in your ABAP code that may benefit from an optimization. In this blog we take a quick look at this valuable tool.
By Dr. Berg
During development of SAP BW Extract Transforms and data Load (ETL) there are many options to create transformations in DTPs in BW 7.x and in older Update and Transfer rules in BW 3.x. Unfortunately, depending on your developers, some of the custom transforms may have sub-optimal ABAP coding can have impacts on how SAP BW ETL performs after the migration to HANA.
Thankfully, SAP’s talented developer Marc Bernard provides an automated tool to help you identify potential coding issues. This program is called the “SAP NetWeaver BW ABAP Routine Analyzer”, or technically ZBW_ABAP_ANALYZER.
Figure 1: Input Screen for SAP NetWeaver BW ABAP Routine Analyzer
Overall, the tool looks for and suggests the following fixes:
a. Select for all entries (SFAE) statements without HANA DB hints --> add hints
b. Select * --> specify fields to select
c. Database access in the field routines --> move to start routine
d. Loops which do not assign field symbols --> use field symbols
e. Selects from master data tables --> Use the read master data rule
f. Selects from DSOs --> Use the read DSO rule
g. Direct updates to BW object tables --> Do not update tables directly
h. and many more areas...
You can run this program either as on-line, or as a background job. If you run the program on-line (only recommended for a small selection), you can click a link in the output to edit the transformation, transfer rule or update rule.
Figure 2: On-Line Output for SAP NetWeaver BW ABAP Routine Analyzer
If you run in the background, you can save a log to SLG1 and also create a spool list for further analysis.
Figure 3: SAP NetWeaver BW ABAP Routine Analyzer - On-Line Spool list
For organizations that have slow data loads where most of the time is used on transforms and loads, this is a key program that should be run as part of the BW HANA migration planning. The tool should be available for general access in April this year.
The last six weeks in this HANA blog series we have looked at many of the HANA migration tools that Marc and SAP has provided, and I continue to be amazed at both the quality and the speed at which SAP is rolling out tools to make any HANA migration as easy as possible.
In the next blog we will look an in-depth look at some of the ways you can balance the load on the nodes in a HANA system when working with a scale out environment.
SAP has released an ABAP based tool that generates a report significantly better for sizing than using just the SAP QuickSizer. This program takes into consideration existing database compression, different table types, and also includes the effects of non-active data in the SAP HANA system. In this blog we take a quick look at this valuable tool.
- By Dr. Berg
Sizing Tool Background and Settings
This program is attached to SAP Note 1736976 and can be downloaded from SAP Marketplace and run on a production system to get very accurate sizing information.
This includes sizing for RAM and dynamic runtime memory, log space and disk space. It even provides details on items such as data sizes with corresponding dynamic runtime memory for row store and column stores, as well as the calculated size and the estimated size in HANA memory for each table in your BW system. Technically, the program uses sampling of the database for sizing, so you should refresh the database statistics before running the program.
Figure 1: HANA Sizing Program for SAP NetWeaver BW
The higher precision you run the estimate at (selected by radio buttons in Figure 1), the longer the program is going to run. With 14 parallel processors and 8Tb data warehouse, it is not unusual to see 45-75 minutes run time. To increase speed, you can also suppress analysis tables with less than 1 MB size.
In addition, since timeouts are common when running this sizing program, you should temporarily change the parameter in rdisp/max_wprun_time to 0. You can do this in BW Transaction RZ11. Finally, you estimate the growth for the system over a time period. This can be done as a percentage, or as absolute growth in GB.
After all this is done, you have downloaded and installed the program, and selected the parameters above, you can go to Transaction SE38 and run SDF/HANA_BW_SIZING as a background job.
Figure 2: SAP HANA Sizing Results
The output is stored in the file you specified and the file can now be emailed to to hardware vendors for sizing input and hardware selection.
Need more Information?
If you have any questions, just stop by my sessions at SAP BI 2013 Conference in Las Vaegs next week (March 19-22); Amsterdam (June 11-13) or inSingapore in September where I will cover more on these timely topics and also do a HANA book signining event with SAP Press...
There are many tasks and technical requirements to migrate a BW system to HANA. This includes BW technical settings and software levels required to start the process. Thankfully, SAP has provided a checklist tool for SAP NetWeaver BW powered by HANA. In this Blog we take a quick look at the key features. By Dr. Berg
Automated HANA Readiness Tool
In version 2.x of this tool available since December 2012, hundreds of checks are done automatically in the BW system. This includes platform checks on database and application and system information.
There are even basis checks for support packs, ABAP/JAVA stacks, Unicode, BW releases, and add-ons to your system. The program is found in SAP Note 1729988, and the tool provided automatic check programs for both the 3.5 version and the 7.x version of BW
FIGURE 1: INPUT FOR SELECTING READINESS CHECKS FOR BW TO HANA MIGRATION
First you enter the checks you want to perform to see if your system is ready for a HANA Migration. This should include most of the options seen in the figure above, such as basis and database, but you also can choose to ignore customer objects or checks you are planning to run at a later time.
The idea of the checklist tool from SAP is that you run it several times throughout the project. Once before you start, then periodically as you resolve issues and upgrade requirements, and then finally when the system has been migrated to HANA. This last step is important, since the checklist tool also has specific checks for the HANA system that can help you identify any issues before turning over the system to end users. If the tool shows a ‘red’ flag, you should resolve this before starting your HANA migration, or if a new red flag shows up, fix it before completing the migration.
FIGURE 2: BW READNIESS RESULTS FOR HANA MIGRATION
The output results in a list of actions that should be undertaken before the migration starts. In our example, we can see that for our system database patch 110 should be applied as part of our preparation steps.
If you want to try this program in your system, simply install the latest version from SAP Marketplace in note 1729988 and then execute the program using ZBW_HANA_CHECKLIST for those on a BW 7.x system, or ZBW_HANA_CHECKLIST_3X for those on older BW 3.x systems. The tool even allows you to download any recommended SAP notes to fix issues found in the check through the automated transaction call of SNOTE. This program should be executed by anyone who is in the planning stages of a BW to HANA migration.
More Information at SAP BI 2013 in Las Vegas
Next month at BI 2013 in Las Vegas, I will be showing more tools and give a detailed presentation on how to create “Strategies for budgeting, planning, and sizing your SAP NetWeaver BW on SAP HANA project”. The session will be at the MGM on Tuesday, March 19, from 12:00 to 1:15 pm.
During the conference I will also be signing copies of the SAP HANA Book I wrote for SAP press with Penny Silvia and you can stop by to see me at the ‘meet-the-expert’ session and get your HANA questions answered…
Many do not know that there is a SAP NetWeaver DBA Cockpit for HANA that is integrated and which provides performance and system information in the BW interface. In this blog we take a quick look at some of the basic capabilities. By Dr. Berg
Inside SAP’s data warehouse solution Business Warehouse (BW), you find the Database Administration Cockpit. This is used to manage and monitoring the underlying relational or HANA based database and is available for organizations with NW 7.3 SP5 and higher.
The cockpit is available under the transaction code DBACOCKPIT, but requires that the security authorizations S_TCODE and S_RZL_ADM are assigned to your role. In the DBA interface you can pass basic transaction calls to the HANA system and get an overview of how it is performing without going to the HANA Studio interface. Some of the transactions supported include:
Figure 1: Transactions supported in BW DBA Cockpit for HANA
Figure 2: HANA features in the DBA Cockpit in SAP BW
In the DB Performance monitor (DB13) and SAP DB Assistant (DB50) you will find information such as the current status of the system. This shows the status of available disk space and physical memory. The bar is colored black if the usage is upto 97% of available disk and red if it is over 98%. If the operational state is flagged as 'green' it means that all services are running, while 'yellow' means that one or more services has not started or is not currently running.
Other information included in these transactions include the start time of the first and last started service. If you have a distributed system, you will see the start time of the first and last server here. You will also find when the HANA database software was compiled under the ‘build time’ tag.
Furthermore, you can see any alterts that has been triggered in HANA and notifications of a critical events if a disk is full. If you click the 'full disk event' message, and select the event, you can also handle selected events. In addition, you can display the CPU consumption, memory allocations and number of CPUs available, as well as data volume, log and trace files sizes, compread to the size of the disk(s).
Finally, you can monitor the host physical memory, CPU and virtual memory and see the disks containing data, log and trace files on a specific host. All of these featrues makes the DBA Cockpit in SAP BW a very valuable tool for the BW administrators who are using HANA as their BW database.
You can also use the performance warehouse features in the DBA cockpit to see how your system is performing overall. To access it, select performance -> performance warehouse in the DBA cockpit. However, to use this you must have the Solution Manager Diagnostics (SMD) enabled. If you don’t have it enabled, you can use the SMD Setup Wizard to install it.
So for those planning to use SAP BW on a HANA system, these DBA cockpit fetures should make your life quite a bit easier. It is actually great to see how SAP is bringing more and more of the platfoms together as integrated solutions. I work on this every day, and I am frankly amazed at the speed SAP is now operating....