

Can I see the HANA deployment history ?
source link: https://blogs.sap.com/2022/06/13/can-i-see-the-hana-deployment-history/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Can I see the HANA deployment history ?
I recently got this question on my desk and thought it might be interesting for others as well.
An HDI “Container” has in total 3 base schemas and a couple of DesignTime- and RunTimer-user schemas for each Shared Key in BTP Cloud Foundry.

<HDI Container> contains the run time generated objects
<HDI Container>#DI contains the HDI procedures and montoring views
<HDI Container>#OO Object Owner schema is technical and not relevant here
As for the monitoring view there are a set of 7 views that could be relevant for a developer:

Most relevant for the given question is M_JOBS. This tells about all the deployment processes that have been done in the past. All this views need the Design Time user to access.
So how to get access to the design time user:
Step1: from BAS: open Database Explorer (DBX)

Step 2: from DBX open the ADMIN SQL Console

Step 3: Validate the environment:

Step 4: Issue a select statement for M_JOBS as:
select current_schema from dummy;
select current_user from dummy;
select * from M_JOBS order by START_TIMESTAMP_UTC desc;
You will see your last deployments. In my case I had a fail one which results in a rollback. So HDI does an all or nothing with one transction.

Summary:
As a “DesignTime user” you can watch the HDI monitoring views in your specific HDI environment.
Recommend
-
9
403? But the file is there, I can see it! 2 months ago File this under the “Faceplant” section. Because, when I worked...
-
10
Product Information
-
8
Life before slavery: African history gets the silent treatment in U.S. schoolsTeaching U.S.’s mistreatment of Africans is important, but what about pre-slavery?The DuSable Museum of African American Histor...
-
11
How to See Your YouTube Comment History By Neeraj Paruthi Published 5 hours ago YouTube makes it easy to see, edit, a...
-
2
How to See Your Listening History in Deezer By Alvin Wanjala Published 23 hours ago Deezer makes it pretty ea...
-
8
You can find your history on TikTok by opening the Settings menu. Your TikTok history page saves about seven days worth of watch history. You can also turn o...
-
6
PALLAB HALDAR December 17, 2022 3 minute read...
-
4
Mahaboob Khan 5 days ago Can I Install SAP HANA DB on Red Hat Enterprise Linux release 9.1 (Plow) ? 14 Views...
-
4
Where can I find knowledge and information belongs to SAP HANA? last updated: 2023-03-29 Introduction During the process of operating and monitoring the SAP HANA database you...
-
14
Susanne Janssen May 25, 2023 2 minute read...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK