Overview
Simple Data Lifecycle Management using Deletion Bin: I thought I would share this experience with screenshots on how simple it is to perform some minimalist HANA data footprint control using the SAP tool Data Lifecycle Management (DLM) which comes as a tool in the HANA Data Warehouse Foundation (DWF).
I do not have SAP IQ or Data Tiering, and my DLM policy is to simply delete/destroy the data when it gets to a certain age, so we will be performing some simple data destruction. It’s not a bad start to get into the whole DLM strategy, and there is more to it than, what I will go into, here.
The Installation Guide is very good, and is what i followed, mostly through the process, this blog is intended to support, confirm and assure your install along side the Installation Guide https://help.sap.com/hana/SAP_HANA_DWF_Installation_Guide_en.pdf.
There are also some good DLM videos over in the SAP Academy – https://www.youtube.com/user/saphanaacademy
Blog Structure
- Downloads
- Installation
- Configuration
- Operation
Downloads
The DLM comes as part of the DWF, which today is on version 1.0 SP05, for our HANA on SPS12.
The DWF is non-cumulative, so you can install the latest without having to patch through various revisions, etc. Just make sure you choose the right SPS for your HANA SPS.
- DATA LIFECYCLE MANAGER 1
- DATA DISTRIBUTION OPTIMIZER 1
- HANA DATA MANAGEMENT 1
- HANA DWF DOCU 1
For the sake of this blog, I will be downloading and installing 3 components, in this order, as the Installation Guide suggests.
- HANA DATA MANAGEMENT 1 – HCOHDM05_0-80000034.zip
- DATA LIFECYCLE MANAGER 1 – HCOHDMDLM05_0-80001006.zip
- HANA DWF DOCU 1 – HDCHDM05_0-80001017.zip
Installation
During the install, a 3 schemas are created.
I will not document the configuration process as the Installation Guide is quite good, however, here are some screen shots you may find useful, under the respective headings in the Installation Guide.
4.2 Configure SAP HANA System Properties
Navigate to the specific area (do not perform a search, as it will return something different) here is were you need to be
DLM_ADMIN will perform various actions on tables within schemas. E.g. DELETE. In my case, all my custom tables containing the data I want to delete, exist in a single schema, so i applied the relevant 3 source privileges to the Schema than each individual table.
MANAGE STORAGE DESTINATIONS
As your DLM_AMIN navigate to “MANAGE STORAGE DESTINATIONS” which is where we set up the “Storage Destination” details to be used as a “Storage Destination” during the creation of a “Manage Lifecycle Profile”.
“Save”, “Activate”, and “Test Connection”, and you should end up with something like below.
“MANAGE LIFECYCLE PROFILES” are used to configure sources and targets for the DLM. There can me more than one, depending upon your use.
For the sake of this blog, I will be triggering the DLM using a “Scheduled” job.
Destination Attribute
The “Destination Attributes” are all self explanatory, and you can now see the “Storage Destination” created earlier.
Generated Object(s)
“Generated Object(s)” will appear after activating the profile
Data Relocation Preview
Which brings me to the point, what I do not like about the scheduling. There is nowhere to see the intended schedule, prior to it being run. For example, how can I confirm I have actually scheduled this.
Before
Reminder of above
Miscellaneous
In the top right hand side, there are two tags
So that about wraps up my quick and easy, minimalist experience with DLM using the Deletion Bin functionality. Hope there was something in there for you.
New NetWeaver Information at SAP.com
Very Helpfull