Вы находитесь на странице: 1из 12

SAP HANA DATABASE

User’s Guide to Measurement


Version 1.3
TABLE OF CONTENTS
INTRODUCTION ............................................................................................................................................... 3
SAP HANA Measurement ................................................................................................................................ 3
SAP HANA Multi-Database Container (MDC) ................................................................................................ 3
Process SAP HANA Measurement ................................................................................................................. 3
SAP HANA Cockpit: Create Measurement Report ....................................................................................... 4
SAP HANA Studio: Create Measurement Report ......................................................................................... 5
Appendix 1: Sample HANA Measurement Report from MDC...................................................................... 6
Appendix 2: Abbreviation ............................................................................................................................. 11
Document History .......................................................................................................................................... 11

2
INTRODUCTION

This document provides technical information on SAP HANA Measurement.

All explanations in the following pages do not replace, extend or overrule the specific licensing definitions of
SAP’s Software Use Rights, Terms & Conditions nor any part of an individual contract. For questions
regarding your specific licensing terms as an SAP customer, please contact your responsible sales contact
or distributor.

SAP HANA Measurement


The SAP HANA database measures hourly usage of the database and persists the results.
The measurement covers the Main Memory usage of the SAP HANA database itself and the
specific usage of the various HANA Options and products that are available and can be utilized
with the SAP HANA database, such as SAP HANA Predictive Option, or Dynamic Tiering.
The SAP HANA database supports automatic generation of a measurement report from the
historical measurement values. Thereby, the maximum amount of usage overall and the maximum
amount of usage over individual months (up to last 12 months) for the different options and
products are determined. The maximum values and related metadata are then exported into an
XML file.
• Generate the productive HANA measurement report when requested
• Submit the XML file to SAP Global License Audit & Compliance (GLAC).

Prerequisite to generate the HANA measurement report is the system privilege LICENSE ADMIN.

SAP HANA Multi-Database Container (MDC)


In an Multi-Database Container (MDC) system the measurement report needs to be obtained from
the System Database (SystemDB), which will contain measurement values for the SystemDB
itself and for all other Tenant databases.
• In a MDC System generate the productive HANA measurement report from the SystemDB
• Submit the XML file to SAP Global License Audit & Compliance (GLAC). Consolidation on
Tenant level with the SAP License Administration Workbench (LAW) is currently not
supported.

Process SAP HANA Measurement


SAP HANA measurement can be processed either from the HANA Cockpit or from the HANA
Studio.
• See SAP Note 1704499 for more details on the SAP HANA license measurement.
• Find details on the relevant customer information sheets regarding the licensed and audit
relevant SAP HANA metric IDs in the SAP Support Portal, Engine Measurement
• Find the latest information about SAP System Measurement in the SAP Support Portal at
System Measurement

3
SAP HANA Cockpit: Create Measurement Report
• Open the System Overview page of the database to be audited.
• For HANA MDC system choose the System Overview page of the SystemDB
• In the Database Administration tile select Manage system licenses (see below)

• In the SAP HANA Licensing application open the menu for Additional Functionalities (see
below)
• Select Export System Measurement to create and export the HANA measurement report to
your local computer

4
SAP HANA Studio: Create Measurement Report

• In the SAP HANA Studio System explorer select the entry for the database to be measured.
o For SAP HANA without MDC, select the system node.
o For SAP HANA MDC select the entry for the SYSTEMDB@SID
• Mark the system and use right mouse button to open the Properties menu (see below)

• On the Properties page choose License from the list shown on the left (see above)
• In the System Measurement section, find the Peak Memory Usage amount of used memory
over the last 12 months or since the installation of the SAP HANA database (if it is less than
12 months old) and the licensed amount as specified by the permanent license key.
• Select Export System Measurement to generate the HANA measurement report for this
database.
Note that the latter is only displayed if you have installed a permanent license key in the
database and this key is still valid.
• Send the data directly to SAP as per the license audit request.

5
Appendix 1: Sample HANA Measurement Report from MDC

In the example below, the measurement report was obtained on SystemDB of a system with
System ID (SID) HD1.
Beside system identification data the measurement report contains multiple parts identified by their
<PartId>, such as the SystemDB (PartId 1) and the individual tenants HD1 (PartId 2), TESTDB1
(PartId 3).

SAP SID Database Name Description


HD1 SystemDB System DB

HD1 HD1 Tenant DB Part 1

HD1 TESTDB1 Tenant DB Part 2

Note that you can also perform measurement export for a tenant, which will only contain the
measurement values for this particular tenant.

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE Measurement SYSTEM "GLasXML1.0.dtd">


<Measurement>
<Header>
<Transfer>
<Version>GXML1.0</Version>
<Program>SAPHANA1.0</Program>
<Name>SYSTEM</Name>
</Transfer>
<Sender/>
<Receiver/>
</Header>
<Systems>
<System>
<SystemNo>000000000310474601</SystemNo>
<InstallationNo>0110008649</InstallationNo>
<HardwareKey>K4150485960</HardwareKey>
<SAP_SID>HD1</SAP_SID>
<Release>2.50.000.01</Release>
</System>
</Systems>
<Parts>
<Part>
<PartId>1</PartId>
<GenericID>PRTM</GenericID>
<SystemNo>000000000310474601</SystemNo>
<Date>20180724</Date>
<DatabaseName>SYSTEMDB</DatabaseName>
<Global_Allocation_Limit>121602368</Global_Allocation_Limit>
</Part>
<Part>
<PartId>2</PartId>
<GenericID>PRTM</GenericID>
<SystemNo>000000000310474601</SystemNo>
<Date>20180724</Date>
<DatabaseName>HD1</DatabaseName>
<Global_Allocation_Limit>121602368</Global_Allocation_Limit>
</Part>
<Part>
<PartId>3</PartId>
<GenericID>PRTM</GenericID>
<SystemNo>000000000310474601</SystemNo>
<Date>20180724</Date>
<DatabaseName>TESTDB1</DatabaseName>
<Global_Allocation_Limit>121602368</Global_Allocation_Limit>
</Part>

6
</Parts>
<Results>
<PartResult>
<PartId>1</PartId>
<Result>
<GenericID>ENGS0000000673</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H001</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H002</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H003</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H012</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H013</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H040</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H070</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H073</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H074</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H076</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H077</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H078</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H079</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGC0000000672</GenericID>
<Unit>UNT0000672</Unit>
<Counter>43</Counter>
</Result>
<Result>
<GenericID>ENGC000000H002</GenericID>
<Unit>UNT000H002</Unit>
<Counter>1</Counter>
</Result>
<Result>
<GenericID>ENGC0000000673</GenericID>
<Unit>UNT0000673</Unit>
<Counter>42</Counter>

7
<Attribute1>2.50.000.01.0000000000</Attribute1>
<PerStart>20180601</PerStart>
<PerEnd>20180630</PerEnd>
</Result>
<Result>
<GenericID>ENGC0000000673</GenericID>
<Unit>UNT0000673</Unit>
<Counter>43</Counter>
<Attribute1>2.50.000.01.0000000000</Attribute1>
<PerStart>20180701</PerStart>
<PerEnd>20180724</PerEnd>
</Result>
</PartResult>
<PartResult>
<PartId>2</PartId>
<Result>
<GenericID>ENGS0000000673</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H001</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H002</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H003</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H012</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H013</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H040</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H070</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H073</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H074</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H076</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H077</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H078</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H079</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGC0000000672</GenericID>
<Unit>UNT0000672</Unit>

8
<Counter>20</Counter>
</Result>
<Result>
<GenericID>ENGC000000H002</GenericID>
<Unit>UNT000H002</Unit>
<Counter>1</Counter>
</Result>
<Result>
<GenericID>ENGC0000000673</GenericID>
<Unit>UNT0000673</Unit>
<Counter>20</Counter>
<Attribute1>2.50.000.01.0000000000</Attribute1>
<PerStart>20180601</PerStart>
<PerEnd>20180630</PerEnd>
</Result>
<Result>
<GenericID>ENGC0000000673</GenericID>
<Unit>UNT0000673</Unit>
<Counter>20</Counter>
<Attribute1>2.50.000.01.0000000000</Attribute1>
<PerStart>20180701</PerStart>
<PerEnd>20180724</PerEnd>
</Result>
</PartResult>
<PartResult>
<PartId>3</PartId>
<Result>
<GenericID>ENGS0000000673</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H001</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H002</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H003</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H012</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H013</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H040</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H070</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H073</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H074</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H076</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H077</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>

9
<Result>
<GenericID>ENGS000000H078</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGS000000H079</GenericID>
<Attribute1>COMPLETE</Attribute1>
</Result>
<Result>
<GenericID>ENGC0000000672</GenericID>
<Unit>UNT0000672</Unit>
<Counter>19</Counter>
</Result>
<Result>
<GenericID>ENGC000000H002</GenericID>
<Unit>UNT000H002</Unit>
<Counter>1</Counter>
</Result>
<Result>
<GenericID>ENGC0000000673</GenericID>
<Unit>UNT0000673</Unit>
<Counter>19</Counter>
<Attribute1>2.50.000.01.0000000000</Attribute1>
<PerStart>20180601</PerStart>
<PerEnd>20180630</PerEnd>
</Result>
<Result>
<GenericID>ENGC0000000673</GenericID>
<Unit>UNT0000673</Unit>
<Counter>19</Counter>
<Attribute1>2.50.000.01.0000000000</Attribute1>
<PerStart>20180701</PerStart>
<PerEnd>20180724</PerEnd>
</Result>
</PartResult>
</Results>
</Measurement>

10
Appendix 2: Abbreviation
SAP GLAC SAP Global License Audit & Compliance
MDC Multi-Database Container
SystemDB The System database in an MDC system
TenantDB A Tenant database in an MDC system

Document History

Version Date Change

1.3 August 14, 2018 Including SAP HANA Cockpit and Multi-Database
Container (MDC) system Measurement

11
www.sap.com/contactsap

© 2018 SAP SE or an SAP affiliate company. All rights reserved.


No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.

The information contained herein may be changed without prior notice. Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.
National product specifications may vary.

These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP or its affiliated companies shall not be liable
for errors or omissions with respect to the materials. The only warranties for SAP or SAP affiliate company products and services are those that are set forth in the express warranty statements
accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.

In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality
mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/or platform directions and functionality are
all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The information in this document is not a commitment, promise, or legal obligation
to deliver any material, code, or functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are
cautioned not to place undue reliance on these forward-looking statements, and they should not be relied upon in making purchasing decisions.

SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other
countries. All other product and service names mentioned are the trademarks of their respective companies. See http://www.sap.com/corporate-en/legal/copyright/index.epx for additional trademark
information and notices.

Вам также может понравиться