IBM Cloud Docs
SAP HANA database design considerations

SAP HANA database design considerations

It's important to carefully consider the design of your SAP HANA configuration and deployment to ensure the SAP Business Applications use the full capabilities available with SAP HANA database server.

There are many decisions for SAP HANA design, which are taken to support the business requirements for the SAP Business Application. These design decisions for SAP HANA will influence your infrastructure decisions. Subsequently, see some sample decisions for these SAP HANA design considerations in the high-level overview breakdown table which are explained with more detail in the sections of this document.

High-level overview breakdown of SAP HANA design considerations and example decisions:

Table 1. High-level overview breakdown of SAP HANA design considerations and example decisions
Design item Example decision
Sizing Type Standard sizing
Deployment Method Appliance deployment
Deployment Type MDC
System Type Distributed, scale-out
Processing Type OLAP, scale-out
Storage Type Network File Storage (NFS)
Storage Filesystem NFS mount points
High Availability fencing mechanism STONITH
High Availability replication mode SAP HANA System Replication, Full Synchronous replication within same Availability Zone / Data center
Disaster Recovery fencing mechanism STONITH
Disaster Recovery replication mode SAP HANA System Replication, Asynchronous replication to different Region
Backups Backint native, daily complete backup + incremental backup every 30 minutes
SAP HANA Components Live Cache Apps (LCAPPS), Extended Application Services Advanced (XSA - Cloud Foundry)

SAP HANA performance indicators and sizing

There are various performance indicators which guide the design decisions for sizing and planning an SAP HANA deployment onto Cloud IaaS. Each of these performance indicators defined with consideration to meeting the business requirements, determine whether the infrastructure is suitable. These considerations include compute capacity, storage capacity and latency, network throughput and latency in addition to the design decisions for SAP HANA database server.

Examples of these performance indicators for SAP HANA include:

Table 2. Example performance indicators for SAP HANA
Indicator Description
Memory
  • Leading factor for SAP Sizing (and cost of landscape + licenses)
  • Determined by data footprint (business and metadata in the column and row store) after compression, and by additional SAP HANA Components used (such as cache store)
CPU
  • Compared to SAP AnyDB options, more CPU power is required to fully benefit from the parallel processing capabilities of SAP HANA for optimal response times
  • The large parallelization in analytical scenarios influence on Response Times. Therefore, CPU requirement are more important for analytical scenarios
  • Mixed transactional and analytic workloads are supported with SAP HANA but compete for shared resources
Disk capacity size
Disk throughput (I/O)
  • Disk capacity that is required for data persistence and logging/cache data
  • Disk capacity sizing depends on type of database store usage (such as row and column)
  • Sufficient I/O performance is required to enable processes to run with acceptable data throughput and storage system latency (i.e. read/write from/to disk)
Network Load
  • Network throughput bandwidth in gigabits per second (Gbps):
    • Amount of data transferred between SAP Application Servers and Database Servers
    • Amount of data transferred between SAP Application and End User
  • Network latency roundtrip in milliseconds (ms):
    • Time between SAP Application Servers and Database Servers
    • Time between hosts and any network-attached storage
    • Time between SAP Application and End User

SAP HANA Sizing Type and Deployment Method

Sizing type refers to the exercise of sizing SAP HANA, using either pre-defined or custom configurations.

Whereas the deployment method (sometimes referred as delivery model) refers to running IaaS certified for SAP HANA, which is either pre-defined or custom configurations.

The below table is a summary of the Appliance and TDI deployment methods:

Table 3. Appliance vs. TDI deployment methods
Appliance TDI
Application Application
Database Custom Database sizing (including CPU:DRAM ratios)
Linux Operating System Select from defined range of supported Linux® Operating System versions
Virtualization (optional) Virtualization (optional)
Server Server
Storage Custom Storage

The following subsections describe the appliance deployment method for Standard Sizing type, and the TDI deployment method for Expert Sizing. These sections are an overview of the detailed documentation regarding these methods and types that are shown in SAP documentation that is listed below:

Appliance deployment method for Standard sizing type

Standard sizing type

This term refers to a sizing exercise where pre-defined configuration sizes are defined based on hardware testing and t-shirt sizing for meeting specific benchmarks to arrive at a sizing result for the hardware requirements of an SAP application (such as network, CPU, Memory, Storage).

Appliance deployment method

Supported hardware for SAP HANA depends on the deployment method. The appliance deployment method uses pre-defined validated SAP-optimized hardware by SAP-certified hardware partners that are running a specific operating system. These hardware options are offered in various configuration sizes.

Partners (such as Cloud Service Providers) offer appliances with multiple layers of redundant hardware, software and network components, which do not interrupt SAP HANA operations and defend against system outage. These components include:

  • Redundant power supplies and fans and uninterrupted power supply (UPS)
  • Enterprise grade error-correcting memories
  • Fully redundant network switches and routers
  • Disk storage systems that use batteries to guarantee writing even in the presence of power failure
  • Disk storage systems that use striping and mirroring for redundancy and recovery from disk failures

In collaboration with SAP, a Cloud Service Provider defines the correct sizing when designing SAP-certified IaaS for SAP HANA with the appliance deployment method:

  • Ensures maximum performance with the hardware capable of meeting specified workloads; providing dedicated memory for SAP HANA after the resident memory of OS and other programs is accounted for and with swapping to disk disabled.
  • To maximize performance and throughput, SAP recommends that you scale up as far as possible (acquire the configuration with the highest processor and memory specification for the application workload) before scaling out (for deployments with greater data volume requirements).
  • You can copy a database to machines from different SAP HANA appliance vendors with different hardware configurations, if both the source and target machines are compliant with the SAP HANA appliance specifications.

TDI deployment method for Expert sizing

Expert sizing type

Expert sizing type refers to a sizing exercise where customer-specific data is analyzed and used to put more detail on the sizing result for the hardware requirements of an SAP application (such as network, CPU, Memory, Storage).

According to SAP, expert sizing typically includes "exploring some business processes in more detail, both on functional and technical level" (quotation source: Sizing Types - Expert Sizing).

Therefore, with expert sizing, there are no standardized tools used to conduct the sizing it will often require significant effort and SAP expertise. Projects that use expert sizing often use an external consulting and system implementations business partner to assist the internal SAP team.

For expert sizing, the following steps are likely to be performed (source: Sizing Types - Expert Sizing):

  • Identify the most important queries/apps/scenarios
  • Identify, how they are used, for example, filter criteria, authorizations
  • Run these queries/apps/scenarios on representative test data (quality of test data and quantity of test data). Ideally, on a recent copy of the production data
  • Measure resource consumption (CPU/memory) and response times
  • Perform a forecast calculation based on the expected usage of the queries/apps/scenarios

TDI deployment method

Supported hardware for SAP HANA depends on the deployment method. The TDI deployment method uses custom-defined hardware by SAP-certified hardware partners that use flexible OS or SAP HANA versions; these can be configured to any size (under the maximum configuration tested by SAP).

Partners (such as Cloud Service Providers) offer TDI with various configuration options and redundancy options. Thes options depend on whether you select scale-up or scale-out sizing, and must be installed by an appointed SAP HANA certified administrator. These may include:

  • Redundant power supplies and fans and uninterrupted power supply (UPS)
  • Enterprise grade error-correcting memories
  • Fully redundant network switches and routers
  • Disk storage systems use batteries to guarantee writing even in the presence of power failure
  • Disk storage systems that use striping and mirroring for redundancy and recovery from disk failures

SAP and a cloud service provider agree to support the customer for a selected scale-up or scale-out sizing by using SAP-certified IaaS for SAP HANA with the TDI deployment method:

  • This provides different system design options regarding scale-up and scale-out variations; the SAP HANA database must then be validated before use in Production systems that use the SAP HANA Hardware Configuration Check Tool for TDI testing when requested by the SAP Support organization.
  • To maximize performance and throughput, SAP recommends that you scale up as far as possible (acquire the configuration with the highest processor and memory specification for the application workload) before scaling out (for deployments with greater data volume requirements)

SAP HANA Deployment Types

SAP HANA can be deployed in various layouts, with various configurations of abstraction and logical separation of database schemas. Different deployment types are designed for different use cases, and SAP defines those which are approved (with/without restrictions) for production SAP Systems and those which are not approved. See detailed information here on SAP HANA Deployment Types - SAP HANA Server Installation and Update Guide and a summary of this information below:

Multi-SID hosted with the same physical host, requires significant attention to detailed tasks related to system administration and performance management. For more information, see SAP Note 1681092 - Multiple SAP HANA systems (SIDs) on the same underlying servers

SAP HANA System Type

System Types are listed by SAP on SAP HANA System Types as:

  • Single-host system - one SAP HANA instance on one host server
  • Multi-node / distributed / scale-out cluster

A single-host system is the simplest system installation type. It is possible to run an SAP HANA system entirely on one host server and then scale the system up as needed.

A multi-node / distributed / scale-out cluster is a system installation across multiple host servers with a limit on the CPU/RAM for each host node and a limit on the number of host nodes that can be used. Information on the maximum scale-out configurations, is listed in the SAP HANA Hardware Directory - Certified IaaS Platforms.

SAP HANA scale-out cluster

Use of scale-out is primarily designed for SAP BW/4HANA or SAP BW on HANA. The Scale-up and Scale-out for SAP BW/4HANA considerations at the application-layer is covered separately. These consideratios are in addition to database-layer considerations described in the following sections.

It is important to note that if your SAP HANA database server nodes or SAP NetWeaver application server components are distributed across multiple availability zones and data centers, SAP will not support your SAP HANA scale-out cluster (aka. SAP HANA multi-node system).

IBM Power Virtual Servers does not support scale-out for either OLAP or OLTP processing types.

Networking

SAP HANA multi-node requires certain networks be in place to function. Before you order other components of your system, these networks must be set up correctly and together with the database nodes. Separation of the network flows/traffic can improve performance (i.e. keeping high storage traffic separate from the user traffic) when additional network interfaces are attached to the server.

As a summary of the network separation, you need in SAP HANA scale-out cluster to have:

  • A client-side network, which connects the SAP Advanced Business Application Programming (SAP ABAP) application servers, SAP HANA Studio clients, and any other network client to the multi-node system. The network throughput and availability options depend on the environment and usage scenario of your SAP HANA multi-node system. Consider the amount of data transferred from and to the SAP HANA database, and the availability key performance indicators (KPIs), required for your application.
  • A storage network, which connects to the Network Storage (File/NFS or Block/iSCSI dependant on infrastructure selection). The network throughput and availability options depend on the environment and usage scenario of your SAP HANA multi-node system. Consider the throughput and latency required to provide 10,000 IOPS is available to each SAP HANA node.
  • An internode network for SAP HANA internal communication that is set up equivalent to the storage network. The internode network is only used for communication between nodes and the data transfer that might be required between the nodes during operations.

Within each environment is a separate networking design. The classic infrastructure environment network is the forerunner and is the most robust option of many traditional and physical networking concepts. The VPC Infrastructure environment network is a software-defined network. The IBM Power environment network (as a complementary offering from IBM Power Systems) is designed with networking principles for enterprise-grade performance.

Given these environment networks are different, configuring additional NIC throughput changes for the different infrastructure options:

  • Bare Metal, on Classic Infrastructure network: To maximize performance and redundancy, the physical network interfaces (NIC) are provided with 10 Gbps and then provisioned with bonding using Link Aggregation Control Protocol (LACP). The switches are configured automatically when ordering redundancy on the physical NIC. Additional NIC cards might be added, depending on the physical machine specificiation and physical switch availability of ports.
  • Intel Virtual Server, on VPC Infrastructure network: To maximize performance and redundancy, up to 5 network interfaces (vNIC) on multiple Subnets can be added.
  • IBM Power Virtual Server, on IBM Power Infrastructure network: To maximize performance redundancy, multiple network interfaces (vNIC) attached to different VLANs (and their respective Subnets) can be added.
  • VMware for SAP, on Classic Infrastructure network....
    • IBM Cloud for VMware Solutions, on Classic Infrastructure network: redundant adapters for VMware are set up by the VMware vSphere Distributed Switch (VDS) using either VDS on NSX-V or VDS on NSX-T, in accordance with current VMware best practices for SDDC. While subject to change, redundancy is configured by setting every distributed switch with the Route Based on Originating Virtual Port load balancing algorithm. All port groups used by the algorithm should be configured to use use teaming across 2 uplinks (Active: 0,1).
    • IBM Cloud Bare Metal with VMware vSphere (manual configuration), on Classic Infrastructure network: adapters are suggested to utilise the best practices, however the vSwitch could use LACP bonding of the physical NIC adapters

Scale-out storage

Data is distributed across the multiple SAP HANA nodes, which are hosting the single database.

Follow the guidelines in Sizing SAP HANA - SAP HANA Master Guide to determine the required total storage capacity size for your target SAP HANA system.

The SAP HANA shared volume, and each of the data and log volumes, must be accessible to all nodes (which may be easier to allow network storage access to all nodes within the Subnet used for storage connectivity). There are specific performance criteria that must be met by the attached Network File System (NFS) volumes:

  • /hana/data/ and /hana/log volumes, individual volumes are required for each node with a minimum of 10 IOPS/GB
  • /hana/shared volume, required to be shared across all nodes with a minimum of 10 IOPS/GB and recommended to increment further to 12 IOPS/GB

For Classic Infrastructure:

  • Read SAP HANA on NetApp FAS Systems with NFS) to assist configuration of your SAP HANA multi-node system.
  • Use the following Network File System (NFS) mount options in /etc/fstab for each volume to mount - rw,bg,hard,timeo=600,intr,noatime,vers=4,minorversion=1,lock,rsize=1048576,wsize=1048576.

After you mount all of your volumes to all the nodes, your multi-node servers are configured and ready to install the SAP HANA multi-node database. Follow the steps in the SAP HANA Server Installation and Update Guide) to install an SAP HANA database of your required version.

SAP HANA performance

After an SAP HANA database server is operational, it is important to inspect the performance to ensure it will meet your business application requirements. This is particularly important for any deployments using the TDI deployment method.

SAP HANA performance validation

The SAP HANA Hardware and Cloud Measurement Tools (HCMT) replaces the previous SAP HANA HW Configuration Check Tool (HWCCT). The HCMT binary executable is run before an SAP HANA installation (commonly), and performs a series of automated tests which analyses the system performance.

The output of the HCMT execution, is a result archive file - hcmtresult-[timestamp].zip.

This HCMT result archive file is then uploaded to the SAP HANA Hardware and Cloud Measurement Analysis (HCMA) for detailed analysis.

For information about downloading, installing, and configuring the HCMT tool, see SAP Note 2493172 - SAP HANA Hardware and Cloud Measurement Tools.

SAP HANA overheads impact on available memory

Every SAP HANA database server reserves a small allocation of memory for the operating system and other services required to operate.

SAP provide a rule of thumb for these overheads:

  • Reserved for OS = 10% of the first 64GB + 3% of all remaining memory
  • Reserved for SAP HANA services and caches = 50GB

The example below demonstrates the net capacity for SAP HANA when using 4TB Memory (DRAM) after the memory reservation overheads have been taken into consideration:

Table 1. Example of SAP HANA net capacity
Physical Memory 4096 GB DRAM
Reserved for OS 127 GB
Available for SAP HANA 3969 GB
Reserved for SAP HANA services and caches 50 GB
Net capacity available for SAP HANA data + temporary disk space 3919 GB

This is shown in more detail on SAP Note 2296290 - New Sizing Report for SAP BW/4HANA under attachment SAPBW4HANA_Sizing_V2.6.4.pdf

SAP HANA High Availability and Disaster Recovery (HA/DR)

The first requirement for SAP HANA High Availability (HA) and Disaster Recovery (DR), is to use the correct Operating System (OS) add-ons for SAP High Availability. Be sure to discuss OS for SAP HA details with IBM Cloud Support before your deployment.

The OS supported and deployed by IBM Cloud for running SAP HANA with HA/DR are:

  • Red Hat Enterprise Linux (RHEL)
  • SUSE Enterprise Linux Server (SLES)

The IBM Cloud environment does not support any preconfigured high availability (HA) scenarios. It does, however, let you implement HA solutions for SAP HANA through Red Hat Enterprise Linux HA extensions, in a similar manner to existing deployments using Traditional On-Premises data centers.

SAP HANA System Replication (HSR) is configured with an automated fail-over from one server to a replica, using various replication modes designed by SAP to fit:

  • Different SAP Business Applications
  • Different business risk acceptance of unplanned downtime
  • Different infrastructure resiliency cost profiles

Refer to SAP documentation on SAP HANA System Replication (HSR) and OS vendor documentation on SAP HANA HA/DR; or consult SAP for recommendations on your landscape design for further clarity.

For more information on system replication, and network throughput and latency, see

For more information on setting up the HA cluster extensions of the OS, view the Linux vendor documentation below.

SUSE Linux Enterprise Server for SAP:

Red Hat Enterprise Linux for SAP: