## 6.1 Sizing SAP HANA
The SAP HANA database can be deployed as an SAP In-Memory Appliance (SAP HANA) or deployed following the SAP HANA Tailored Datacenter Integration (TDI) approach, on premise or on Cloud IaaS.
## Memory Sizing
Every SAP HANA customer should perform a memory sizing to size an SAP HANA deployment:
- For new (greenfield) SAP HANA implementations, it is necessary to size the memory for an SAP HANA system using the SAP HANA Quick Sizer.
- For systems that are migrating to SAP HANA, we recommend the following:
- Using a sizing report on the source database if the migration is from an SAP NetWeaver-based system
- Applying a sizing SAP Note, if the migration is from a non-SAP NetWeaver data source
Any system that is large or complex requires sizing from an SAP sizing expert.
For more information about memory sizing, we recommend the following information:
| Starting Point                   | Sizing forBWonSAP HANA, BW/4HANA              | Sizing for Suite on SAP HANA, S/4HANA            | Sizing non-NetWeaver                                                     |
|----------------------------------|-----------------------------------------------|--------------------------------------------------|--------------------------------------------------------------------------|
| Greenfield / new implemen­ tation | SAP HANAQuick Sizer                           | SAP HANAQuick Sizer                              | Sizing guide as available http:/ /www.sap.com/sizing → Sizing Guidelines |
| Migration                        | SAP Note 2296290 - Siz­ ing Report forBW4/HANA | SAP Note 1872170 - Sizing Report for SAP S/4HANA | SAP Note 1514966 - SAP HANA: Sizing SAP In-Mem­ ory Database              |
## CPU Sizing
In a first step, a more exact and customer-specific sizing is offered for S/4HANA systems based on SAPS .
<!-- image -->
Any system that is very large or complex requires sizing from an SAP sizing expert.
For more information about CPU sizing, we recommend the following related information:
<!-- image -->
| Starting Point                   | Sizing forBWonSAP HANA, BW/4HANA              | Sizing for Suite on SAP HANA, S/4HANA          | Sizing non-NetWeaver                                                     |
|----------------------------------|-----------------------------------------------|------------------------------------------------|--------------------------------------------------------------------------|
| Greenfield / new implemen­ tation | SAP HANAQuick Sizer                           | SAP HANAQuick Sizer                            | Sizing guide as available http:/ /www.sap.com/sizing → Sizing Guidelines |
| Migration                        | SAP Note 2296290 - Siz­ ing Report forBW4/HANA | SAP Note 1793345 - Siz­ ing for SAP SuiteonHANA | SAP Note 1514966 - SAP HANA: Sizing SAP In-Mem­ ory Database              |
For more information about the SAP sizing approach, see www.sap.com/sizing .
## SAP HANA Tailored Datacenter Integration (TDI) Approach
TDI follows the approach of SAP sizing and mapping to certified servers, network, and storage components. Depending on the chosen vendor, various configurations can be deployed to ensure valid mapping. Contact your vendor for information about the options available. If you decide to build the SAP HANA system based on the SAP HANA TDI approach, you must become TDI certified.
For storage sizing recommendations, see the SAP HANA Storage Requirements Whitepaper .
With TDI phase 5, which was introduced in 2017, the SAPS requirements for the specific customer workload are used to determine the type and number of the processors required. The SAP sizing tools (Quick Sizer and SAP HANA sizing reports) have been enhanced to provide separate CPU results in SAPS and RAM sizing results. Customers share the sizing results with their preferred hardware partner to jointly determine the processor type and optimal number of cores needed to run their specific application workload on SAP HANA.
For more information on TDI, see TDI Overview .
## Sizing Recommendations for SAP HANA Deployment Infrastructure (HDI)
The table below lists the requirements for main memory and disk space and provides an indication of the execution time for the following HDI operations:
- Create an empty container (including configuring libraries and granting rights)
- Write data into an empty container
- Make container data, that is, deploy artifacts in the SAP HANA database
- Drop a container, which contains data
The values in the table below have been measured using the well-known SHINE scenario, which is a demo scenario with the content of a real EPM business scenario (data models, tables, views, dashboards, and so on). Consequently, all values in the table are valid for the SHINE scenario or similar scenarios but may vary for other business scenarios.
##  Note
The artifact data for the SHINE scenario has a size of 970 KB in 73 files and 9 folders.
| Operation                                         | Execution Time     | Main Memory         | Disk Space                                                |
|---------------------------------------------------|--------------------|---------------------|-----------------------------------------------------------|
| Create empty container                            | 550 ms/Container   | 4.300 KB/Container  | 1.900 KB/Container (#DI schema)                           |
| Write data into empty con­ tainer (SHINE scenario) | 230 ms/Container   | 7.600 KB/Container  | 2.900 KB/Container (#DI schema)                           |
| Make container data (SHINE scenario)              | 1.800 ms/Container | 40.500 KB/Container | 5.400 KB/Container plus 4.500 KB/Container for #DI schema |
| Drop container, which con­ tains data              | 2.200 ms/Container | Not applicable      | Not applicable                                            |
Peak memory usage during Make: 122.5 MB/Container
This additional main memory is used during a Make for temporary data structures, which are removed at the end of the Make.
## Related Information
<!-- image -->
<!-- image -->
<!-- image -->
SAP Quick Sizer
Quick Sizer for Beginners Guide
SAP Note 2296290
SAP Note 1872170
SAP Note 1793345
SAP Note 1514966
SAP Note 2055470
SAP HANA TDI - Storage Requirements
SAP HANA Tailored Data Center Integration - Overview
SAP Certified Enterprise Storage Hardware for SAP HANA
Blog: TDI Phase 5: New Opportunities for Cost Optimization of SAP HANA Hardware
<!-- image -->
<!-- image -->
<!-- image -->