How To Perform HANA Archiving Process
How To Perform HANA Archiving Process
How To Perform HANA Archiving Process
03/02/2016
HDFC SLIC
Gandhinagar Branch
Mitul Jhaveri
[email protected]
Confidentiality Statement
Include the confidentiality statement within the box provided. This has to be legally
approved
Confidentiality and Non-Disclosure Notice
The information contained in this document is confidential and proprietary to TATA
Consultancy Services. This information may not be disclosed, duplicated or used for any
other purposes. The information contained in this document may not be released in
whole or in part outside TCS for any purpose without the express written permission of
TATA Consultancy Services.
Table of Content
1.
Introduction .............................................................................................................................................................. 4
2.
3.
Procedure .................................................................................................................................................................. 5
3.1
3.2
3.3
3.4
3.5
3.5.1
3.5.2
Query Property........................................................................................................................................ 11
3.6
3.6.1
3.6.2
3.7
3.7.1
1. Introduction
Without archiving, data volumes in BW database will increase. Due to huge amount of data available in
BW database, system performance will degrade and can take a longer time to result in a large volume of
data.
Increasing amounts of data that need to be available for further analysis or reporting but that are rarely
required to place a load on BW system. If you want to keep the amount of data in BW system constant
without deleting data, you can use data archiving.
Archiving data from Info Cubes and Data Store objects is the process to store data in near-line storage.
The data is first moved to an archive or near-line storage and then deleted from the BW system. You can
either access the data directly or load it back as and when require, depending on how you archived the
data.
When defining the data archiving process, you can choose between classic ADK archiving, storing in
near-line storage, or a mix of both solutions.
ADK based archiving is recommended for data that is no longer relevant to any current analysis
processes or not needed for reporting, but must remain archived for the storage period. Data
which has been archived will be deleted from the InfoProvider and have to re-load them through
flat file if we need archived data again in the report.
ADK based Archiving solution can be afforded and cost reduction can be done using alternative
storage media.
Near-line storage is recommended for the data that we may still require. Storing historical data in
near-line storage reduces the data volume of BW database; however, the data is still be available
for BEx queries without re-loading process.
SAP BW has direct access to NLS data. We can access archived data of near-line storage from the
query monitor.
2. Pre requisites
NLS-IQ must be set up by respective team (Analyse IQ team) for further database connection with BW
server.
Before archiving data, Cube data must be compressed. Though system will allow us to archive noncompressed data but as a best practice we must compress data first. If compression is running, we are
not allow to do archiving.
To archive the data, an Info provider must have time characteristics / date field.
3. Procedure
3.1 DB Connection (T-Code: DBCO)
Create a database connection with Sybase IQ. In our system, we are using Sybase IQ as a near line storage. This
connection was created by SAP BASIS consultant and the parameter values were provided by IQ team.
Note: One Sybase IQ server can talk to multiple BW systems. You should only need to create separate
databases in IQ for the different BW systems.
Name of Class: There are standard classes available to create connection with different database.In our
case, we are using the Sybase IQ so we will use CL_RSDA_SYB_CONNECTION class.
Connection Mode: Productive Mode is the recommended mode for normal (productive) operation.
Every operation on the near-line connection will be passed to the near-line provider. In query processing
especially, a query will terminate with an error message due to the unavailability of near-line storage,
unless a pruning mechanism could exclude near-line access in advance.
DB Connection: Pass the DB connection name that has been created through DBCO T-code by BASIS
Team.
Conn. Parameter: The connection string generally comprises a list of name/value pairs, separated by a
semi-colon. DBCON is also one of the supported parameter.
<Name of the parameter> = <Value of the parameter>
Green Light in status indicates that connection has been established successfully.
Selection Profile:
In this tab, select the primary time characteristics for partitioning. To archive the data, an Info provider must
have time characteristics / date field. Without time characteristics system will not allow us to perform
archiving.
As a best practice, Cube data must be first compressed before performing archiving. Though system allow us
to also perform archiving on non-compressed data.
There is no compression mechanism exist for DSO, so Non-compressed data archiving option is not available
for DSO.
Semantic Group: Along with defined time characteristics in selection profile tab, we can also select more
granular fields for archiving.
Nearline Storage: Near-Line storage Connection name need to maintain for this tab
Once all the above mentioned steps will complete, Check and activate DAP connection. After the activation,
we can display, change or delete DAP. When established DAP is deleted in BW, the corresponding tables and
all archiving requests are deleted from the Sybase IQ database.
Further Restrictions:
We can use the characteristics that we specified as an additional partitioning characteristics to set further
restrictions. In the case of semantically partitioned objects, we can restrict them to one partition here along with
time characteristics.
executed
In the verification phase, the system checks that the write phase was successful and that the data can be
deleted from the Info Provider.
5) 70 Verification Phase confirmed and Request Completed (Deletion and Overall Status)
When the archived data is deleted from the InfoProvider, the archiving process is complete. The archived
data is deleted from the InfoProvider with the same selection conditions used to copy the data from the
InfoProvider.
When all the steps of the archiving request have been completed, you can no longer change the status
of the request. You can only reload the data.
No icons if the corresponding phase was not yet started or if the request was invalidated
A yellow traffic light if the corresponding phase is currently active
A green traffic light if the corresponding phase was already completed
A red traffic light if processing was terminated in the corresponding phase or if it ended with an
error
A green traffic light if request reached a consistent intermediate or end state and No more active
processes for this request
The Activity icon if there is an active process for this request
The Failed icon if request processing was terminated or if it ended with an error.
3.5.2
Query Property
In Query property, we are allow to use near line storage data while executing the query. Even we are also allow to
extract the near line storage data according to basic info provider setting. We are also allow to create the variable
and for which user will enter the value at run time.
BEx Designer Query Property Extended Tab Nearline-Storage
Variable Entry:
3.6.2
Output:
Execute Report:
Now, user can select Near Line Storage value at report execution time and according to that system will fetch
the data for given selection parameters.
Step-1: Unlock the particular request by double click on Lock symbol of request in archiving tab.
Step-3: Re-Archiving
Once the data loading will complete successfully, Re-archiving for that particular period need to be perform.
Monitor the archive request.
Thank You
Contact
For more information, contact [email protected] (Email Id of ISU)
IT Services
Business Solutions
Consulting
All content / information present here is the exclusive property of Tata Consultancy Services Limited (TCS). The content /
information contained here is correct at the time of publishing. No material from here may be copied, modified, reproduced,
republished, uploaded, transmitted, posted or distributed in any form without prior written permission from TCS.
Unauthorized use of the content / information appearing here may violate copyright, trademark and other applicable laws,
and could result in criminal or civil penalties. Copyright 2011 Tata Consultancy Services Limited