Sunday 29 September 2019

How to uninstall HANA Database hdbuninst

There are different method to uninstall HANA database. we are going to use OS and with root user. 

We are going to uninstall HANA database. We may face situation more than one HANA database installed and we need uninstall one Hana database.

Please follow below procedure for same.



1: login on host with root user



2: go to installation directory

/dumps/ 51052325/DATA_UNITS/HDB_SERVER_LINUX_X86_64



3: we need to run uninstaller as show below


./hdbuninst  























4: it will ask which HANA DB you want to uninstall then do the selection by providing number as we provided 0. As shown below





















5: it will ask for confirmation. Once we confirm it will uninstall HANA database automatically. 
It will remove all data and log files from directory those where created during installation 



















Like: 

/hana/shared/HDB and its subdirectories
/hana/data
/hana/log



Thanks