Beruflich Dokumente
Kultur Dokumente
Sizing Guideline
Version 1.4 August 2013
Note that HANA is constantly being optimized. This might have impact on
sizing recommendations, which will be reflected in this document. Therefore,
check for the latest version of this document and the note.
Note that the sizing guideline in this document refers to SAP HANA In-
Memory Database only. Additional applications running on top of HANA (e.g.
Business Information Warehouse, etc.) are not covered in this document (see
note 1637145 for details on sizing BW on HANA).
2012 SAP AG. All rights reserved. SAP & SAP Customer Internal 2
SAP HANA In-Memory Database Sizing Elements
Disk Sizing
CPU Sizing
2012 SAP AG. All rights reserved. SAP & SAP Customer Internal 3
SAP HANA In-Memory Database Sizing: Summary
1. RAM
RAM = Source data footprint * 2 / 7 * c1)
2. Disk
DISKpersistence = 1 * RAM2)
DISKlog = 1 * RAM
3. CPU
CPU: 300 SAPS / active user3)
1)
c = source database specific compression factor (where applicable see page 7)
2)
Additional disk space required for backups, exports, shared volumes - see pp. 8f
3)
Based on a sample query scenario in a side-by-side scenario with moderate size.
Scenarios with higher complexity require scenario specific CPU sizing see pp. 10f
2012 SAP AG. All rights reserved. SAP & SAP Customer Internal 4
Memory Sizing: Static Data
Memory requirements for static data is derived from the database footprint of
the corresponding tabes of the source database system
RAMdynamic = RAMstatic
1)
c = source database specific compression factor (where applicable see page 7)
2012 SAP AG. All rights reserved. SAP & SAP Customer Internal 6
Memory Sizing: Remarks
The sizing scripts attached to note 1514966 do NOT take into account reduced sizes of the
source data due to database intrinsic compression except the one for DB6, where
compression factors for each table are contained in the database dictionary. This script
delivers correct results also for a compressed database.
If the source database other than DB6 is compressed, you have to adjust the results of the
scripts by a database compression factor. Your DB administrator should be able to help
obtaining this factor.
Migration to HANA is only possible from a unicode system, so the sizing scripts assume a
unicode enabled source database. If the scripts are executed on a non-unicode database,
we recommend to add an uplift (usually, a disk space uplift for Unicode migration of 50% is
assumed).
2012 SAP AG. All rights reserved. SAP & SAP Customer Internal 7
Disk Sizing
DISKpersistence = 1 * RAM
DISKlog = 1 * RAM
Note that this only covers disk requirements for the database files. As with
any database system, additional space must be reserved for
Backup
Exports
Executables
We recommend reserving approximately another 2-3 times the RAM value for
these purposes.
2012 SAP AG. All rights reserved. SAP & SAP Customer Internal 8
Additional Disk Sizing - Details
Space for at least one process image in case of software failure (1x)
Space for one data export (1x)
Shared volume (across multiple nodes) for Executables, other
data visible for all nodes (up to 1x)
Note that any backup data must NOT be stored in this space, but should
rather be moved to external storage media.
2012 SAP AG. All rights reserved. SAP & SAP Customer Internal 9
CPU Sizing Based on moderate side-by-side Scenario
Assumptions:
- three different query complexity classes
- three different user profiles (click rate, query complexity)
- same distribution of user classes and query complexities as in BW
Normalization to query throughput per core resp. active user per core
Note that the CPU sizing has to be adjusted so that the server load does not
exceed 65% in average (i.e. to obtain the maximum number of users per
server, the absolute server SAPS capacitiy has to be multiplied by .65).
2012 SAP AG. All rights reserved. SAP & SAP Customer Internal 10
CPU Sizing Complex Scenarios
2012 SAP AG. All rights reserved. SAP & SAP Customer Internal 11
Example
2012 SAP AG. All rights reserved. SAP & SAP Customer Internal 12