Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

SAP HANA 2 – Dynamic Tiering Overview including HANA Monitoring

Exploring features and improvements of SAP HANA 2 Dynamic Tiering, and how to monitor HANA Dynamic Tiering with IT-Conductor. Blog: https://www.itconductor.com/blog/sap-hana-2-dynamic-tiering-overview-including-hana-monitoring

  • Login to see the comments

  • Be the first to like this

SAP HANA 2 – Dynamic Tiering Overview including HANA Monitoring

  1. 1. HANA2 Dynamic Tiering This is a compilation of notes collected exploring and testing features of Dynamic Tiering in HANA2 May 2017 This is a ‘continuation’ of the first blog, SAP HANA Dynamic Tiering Test- drive, exploring the features of Dynamic Tiering before the HANA2 By OZSoft Consulting for ITConductor.com Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 1
  2. 2. References HANA2 Dynamic Tiering Guides • Dynamic_Tieiring_Option_Release_Notes • Dynamic_Tieiring_Option_Master_Guide • Dynamic_Tieiring_Option_Installation_Guide • Dynamic_Tieiring_Option_Administration_Guide HANA2 Administration Guide Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 2
  3. 3. Introduction (1) The first blog SAP HANA Dynamic Tiering Test-drive covered the following • Overview of HANA’s multi-temperature data management (HOT, WARM, COLD) • Installation of DT and adding host, data provisioning to a tenant DB and creating extended storage (ES) • WARM table 1. Create WARM table using ES 2. Copy data from HOT to WARM table, and deleting the data from WARM 3. Creating view ‘joining’ HOT and WARM table for transparent access 4. Using visualize plan showing access to HOT and WARM table • Backup • Monitoring/Reporting • HANA Cockpit tiles on DT Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 3
  4. 4. Introduction (2) This blog will focus on following • Co-host deployment • Multi-Store Table oCreation oAging and anti-aging oVirtualize Plan • Dynamic Tiering Tiles in the new HANA2 Cockpit • New Backup feature/support in HANA2 Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 4
  5. 5. Deployment Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 5 Pre-HANA2 (Production) HANA2 (Production) Host1 Role=Worker Host..n Role=Extend ed Storage Worker/Stan dby Cohost Deployment is not recommended in production HOST1 Host Role (Worker, Extended Storage) HOST2 Role (Worker, Extended Storage Worker/Standby) Host.n Role=Worker Host..n Role=Extend ed Storage Worker/Stan dby Cohost deployment in production is supported. ES configuration parameters available to avoid impact on performance
  6. 6. Dynamic Tiering Installation / Add Host role • Using HANA Cockpit (Life Cycle Management) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 6 Add role to existing host Installation
  7. 7. HANA2 Cockpit – Dynamic Tiering When an ‘extended storage’ has been provisioned to a tenant DB, the Dynamic Tiering options will appear in HANA2 Cockpit for that tenantDB Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 7
  8. 8. Dynamic Tiering Tables There are two types of tables in Dynamic Tiering option 1. Extended table - table specifically created with all data stored into the extended storage (ES). This was explored in the previous blog SAP HANA Dynamic Tiering Test-drive 2. MultiStore table – partitioned table with some partitions stored in the in-memory, and some partitions in the extended storage – new in HANA2. The following slides shows the differences on the table creation, moving data into ES, making the access to the table transparent – regardless of the location of the data. Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 8
  9. 9. Dynamic Tiering Tables Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 9 Extended Table A table can only reside in either in-memory (HOT) or extended storage (WARM) WORKER host (In-Memory) HOT Tables (e.g. TSP06_HOT) Extended Storage host WARM Tables (e.g. TSP06_WARM) MultiStore Multistore table can have some part(s) in in-memory, and some parts in extended storage HOST – roles (WORKER, ES Worker) In-Memory TSP06 table Part1.. Part2.. Part3 Extended Storage DBspace TSP06 Table Part4.. Part5..
  10. 10. Dynamic Tiering - Table creation Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 10 Extended Table WORKER host (In-Memory) HOT Tables (e.g. TSP06_HOT) Extended Storage host WARM Tables (e.g. TSP06_WARM) MultiStore Table Define multistore table as partitioned, with some partitions in in-memory, while other partitions using extended storage HOST – roles (WORKER, ES Worker) In-Memory TSP06 table Part1.. Part2.. Part3 Extended Storage DBspace TSP06 Table Part4.. Part5.. • CREATE TABLE TSP06_HOT … • CREATE TABLE TSO06_WARM USE EXTENDED STORAGE CREATE VIEW TSP06_ALL.. JOIN TSP06_HOT, TSP06_WARM The view will make the change transparent to existing access calls CREATE TABLE … PARTITON BY RANGE.. USING DEFAULT STORAGE (Partition definition) USING EXTENDED STORAGE (Partition definition) (NO View needed)
  11. 11. Moving data (archiving/un-archiving) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 11 Extended Table WORKER host HOT Tables (e.g. TSP06_HOT) Extended Storage host WARM Tables (e.g. TSP06_WARM) MultiStore Table Aging – moving data from in-memory to ES ALTER TABLE … ALTER PARTITION.. USING EXTENDED STORAGE (partition definition) HOST – roles (WORKER, ES Worker) In-Memory TSP06 table Part1.. Part2.. Part3 Extended Storage DBspace TSP06 Table Part4.. Part5.. Step 1 INSERT INTO TSP06_WARM SELECT * from TSP06_HOT WHERE (criteria) Step 2 DELETE FROM TSP06_HOT WHERE (Criteria as per insert) Moving data from In-Memory to ES UN-Aging – moving data from ES to in- memory ALTER TABLE … ALTER PARTITION.. USING DEFAULT STORAGE (partition definition)
  12. 12. Multi-Store Table (1) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 12 In-Memory In-Memory Extended Storage Defining table with range partitioning on column PDPAPER – some partitions in DEFAULT STORAGE (In- Memory), some in Extended Storage
  13. 13. Multi-Store Table (2) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 13 Partition information/Table definition
  14. 14. Virtualize Plan (1) Select * (all data, from in-memory and extended storage) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 14
  15. 15. Virtualize Plan (2) Select data from partition 1 and 2 (from In-Memory) Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 15 Only partition 1 and 2 accessed – extended storage not involved
  16. 16. Virtualize Plan (3) Select data from partition in the extended storage only Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 16
  17. 17. Other options (1) A table can be moved to extended storage using HANA Studio Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 17 AFTER CONVERSION For a partitioned table where all partitions were in DEFAULT storage, using this option will result in losing the partitioning values – i.e. will end up as extended storage table (not partitioned). Use ALTER partition instead
  18. 18. Other Options (2) A table using extended storage can be converted to use in- memory, through HANA Studio Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 18 AFTER CONVERSION
  19. 19. BACKUP (delta and incremental) Delta (differential) and Incremental now supported for tenant with extended storage Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 19
  20. 20. HANA2 Dynamic Tiering - Alert Alert series 5nn are related to Dynamic Tiering Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 20
  21. 21. Additional notes (1) • With HANA2, co-deployment is introduced in production, with new esserver.ini parameters to put threshold on the host so the extended storage activities does not impact the production performance • As per OSS note 2086829, Dynamic Tiering licensing is ‘based on compressed storage on disk’ – not on memory • Delta store feature allows concurrent update on table in extended storage • Take note on sizing algorithm when allocating the DBSPACES – refer to the DT Administration Guide ‘Dbspace Sizing’. • 2394124 - SAP HANA 2.0 Dynamic Tiering - Additional Information Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 21
  22. 22. Additional notes (2) In MDC, • The one-to-one relationship between tenant DB and extended storage (and vice-versa) still exist • There can only one extended storage in a host • Currently only one esserver service per host  i.e. Tenant1 with ES in node1, and Tenant2 with ES in node2  This is still the case for HANA2 SPS01, i.e. if another tenant requires extended storage, it has to be created into another node. • More information related to SPS01 on OSS note 2422585. • System Replication - (extract from Admin Guide) • The operation mode logreplay_readaccess is not supported with systems having Dynamic Tiering services. Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 22
  23. 23. Monitoring Dynamic Tiering with IT-Conductor Author: Terry Kempis Editor: Linh Nguyen ITConductor.com 23 If the DT is on a separate host, the DT host will monitored similar to the other hosts. In this example, ozdtnode1 is the extended_storage host If the dynamic tiering is co-deployed, the service ‘esserver’ will appear on that host’s services.
  24. 24. • Any Questions? • Contact Info: Linh Nguyen linh.nguyen@itconductor.com Terry Kempis terry.kempis@itconductor.com Let itconductor.com @itconductor

×