13 1+SAP+HANA+Scale-out

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

SAP HANA Scale-out

www.sapbuddy.com
Scale-up vs Scale-out
Scale-up Scale-out

1TB 1TB

• Scale the data


• Scale the performance
• Scale the application
1TB 1TB 1TB 1TB • Scale the hardware

8TB
1TB 1TB 1TB 1TB

www.sapbuddy.com
High Availability and Scale-out
Scale-out Scale-out
without High Availability with High Availability
• Aspects of Scalability
• Scaling the Data
1TB 1TB • Scaling Performance
• Scaling the Application
• Scaling Hardware

1TB 1TB 1TB 1TB 1TB 1TB 1TB 1TB

Standby
1TB 1TB 1TB 1TB 1TB 1TB 1TB 1TB note

8 TB 7 TB

www.sapbuddy.com
Multiple-host (Distributed) Systems
High Availability Scale-out System
Host 1 Master Host 2 Worker Host 3 Worker Host 4 Standby

Name Server
Name Server

Index Server

Name Server
Index Server

Name Server

Index Server
Index Server
XS Server

Data Data Data Data Data

Log Log Log Log Log


Shared Storage

www.sapbuddy.com
Table Partitioning

www.sapbuddy.com
Advantages of Partitioning
1. Load balancing
2. Column table size limit
3. Parallelization
4. Partition pruning
5. Better performance on Delta merge

1 2 3 4 5

www.sapbuddy.com
Best Practices Table Partitioning
• Keep the number of partitioned tables low
• Keep the number of partition per table low
• Keep the number of key columns low
• For SAP Business Suite on HANA, keep the partitions on same host
• Repartition -> A multiple or a division of current number of
partitions.
» Example
Current Repartition
4 8
6 3
• No extra unique constrains.

www.sapbuddy.com
Example of Table Partitioning
Product ID Group Location
Product ID Group Location
1 Memory B14
1 Memory B14
3 Memory B87
2 Laptop C23
3 Memory B87
4 Laptop C68 Product ID Group Location
5 Tablet B45 2 Laptop C23
6 Tablet B78 4 Laptop C68

Product ID Group Location


SAP Note 5 Tablet B45
2000002 - FAQ: SAP HANA SQL Optimization
6 Tablet B78

www.sapbuddy.com
Table Classification and Table Placement Rules
Table Placemat

• Avoid cross-node communication for SQL operations


• Avoid cross-node table groups

www.sapbuddy.com
SAP HANA Cockpit Table Distribution

www.sapbuddy.com
www.sapbuddy.com

You might also like