IBM Cloud Docs
SAP HANA with Intel Optane Persistent Memory (PMEM)

SAP HANA with Intel Optane Persistent Memory (PMEM)

SAP HANA now has a non-volatile in-memory option on Bare Metal servers. Intel Optane™ persistent memory (PMEM) retains its contents like traditional storage options but with speeds similar to main memory.

Figure 1. SAP HANA Intel Optane PMem{: caption="Figure 1. SAP HANA Intel Optane PMem[1] overview" caption-side="bottom"}

Many systems with large data storage and retrieval needs use DRAM for fast data retrieval. DRAM is costly and data does not persist when the server is rebooted or shutdown. On startup, data must be reloaded from storage.

With Intel Optane PMEM, data is retained in memory during system restarts and power outages, providing faster start times. PMEM provides near-DRAM performance and is also byte-addressable.

Intel Optane PMEM modules are installed with DRAM in the same dual in-line memory module (DIMM) slot. PMEM modules do not function without any DRAM DIMMS installed. The current configurations supports DRAM to PMEM ratios of 1:1, 1:2, and 1:4.

SAP HANA uses App Direct mode, in which the application stores data on the persistent memory. HANA2 SP04 release or higher was co-engineered by SAP and Intel to use the unique dual memory and storage capability of the PMem modules.

In App Direct mode, the applications directly access the memory and control the direct load and store of the PMem and DRAM DIMMs memory resources. In this mode, the PMem acts as byte-addressed persistent memory that is mapped to the system physical address space. App Dir mode uses regions, which are groups of one or more PMem modules that appear to be a single logical virtual address space. Regions are partitioned into one or more namespaces, similar to hard disk partitions.

Persistent memory is a Bare Metal profile option

You order persistent memory as part of ordering your Bare Metal server.

Bare Metal server profiles for the DRAM:PMEM ratios include:

DRAM:PMEM ratio Bare Metal Profile
1:1 BI.S4.H2.1.5TB RAM + 1.5TB Persistent Memory
1:1 BI.S4.H4.3TB RAM + 3TB Persistent Memory
1:1 BI.S4.H8.6TB RAM + 6TB Persistent Memory
1:2 BI.S4.H2.768GB RAM + 1.5TB Persistent Memory
1:2 BI.S4.H2.1.5TB RAM + 3TB Persistent Memory
1:2 BI.S4.H2.768GB RAM + 3TB Persistent Memory
1:2 BI.S4.H4.1.5TB RAM + 3TB Persistent Memory
1:2 BI.S4.H4.3TB RAM + 6TB Persistent Memory
1:2 BI.S4.H8.3TB RAM + 6TB Persistent Memory
1:2 BI.S4.H8.6TB RAM + 12TB Persistent Memory
1:4 BI.S4.H2.384GB RAM + 1.5TB Persistent Memory
1:4 BI.S4.H4.768GB RAM + 3TB Persistent Memory
1:4 BI.S4.H4.1.5TB RAM + 6TB Persistent Memory
1:4 BI.S4.H8.1.5TB RAM + 6TB Persistent Memory
1:4 BI.S4.H8.3TB RAM + 12TB Persistent Memory

Sizing

Standard HANA sizing rules apply to a 1:1 ratio configured server. The PMem size is the maximum HANA database size capacity. For example, the BI.S4.H4 profile can host a database of up to approximately 3 TB (compressed). If the server is hosting multiple systems or tenants, you have a total maximum data capacity of 3 TB (for example 3 x 1 TB databases or 2 x 1.5 TB systems). HANA uses both the DRAM and PMem and manages memory use for both data and application logic.

Post-provisioning

When you order your Bare Metal server with persistent memory, regions are created by the provisioning engine. As part of post-provisioning, you create the namespaces that you need. For more information, see Deploying your infrastructure.

Backup, recovery, and system replication

Backup, recovery, and system replication are part of standard Bare Metal configuration. You perform the same steps for post provisioning on the Bare Metal servers as you do for SAP HANA.


  1. This diagram originally appeared in the SAP Community blog by Andreas Schuster ↩︎