Professional Documents
Culture Documents
DBA Cockpit For SAP HANA
DBA Cockpit For SAP HANA
DBA Cockpit For SAP HANA
Contents
Prerequisites
Connect to an SAP HANA Database in DBA Cockpit
What Information Does DBA Cockpit Show for Multitenant Database Containers?
o Section: Overview
o Section: SAP HANA Multitenant Database Containers
List of Tenant Databases
Data Browser for Schema SYS_DATABASES
Backup Catalog
Diagnosis Files
Schedule Backups of Tenant Databases
More Information
Prerequisites
You can connect to an SAP HANA multitenant database container using any version of DBA Cockpit
for SAP HANA, even very old versions.
To use the newest features described in this document, you need to be working with:
7.40 SP10
7.31 SP15
7.30 SP13
7.02 SP17
Connect to an SAP HANA Database in
DBA Cockpit
To monitor a remote database in DBA Cockpit, you need to create a connection to that database.
1. From DBA Cockpit, choose DB Connections -> SAP HANA database -> Add.
To find out the SQL port, you can execute the following SQL query:
SELECT DISTINCT(sql_port) FROM SYS.M_SERVICES WHERE SQL_PORT > 0
To open the SQL Console, from SAP HANA studio, right-click over the database and choose Open
SQL Console from the context menu.
What Information Does DBA Cockpit
Show for Multitenant Database
Containers?
Section: Overview
Choose Current Status -> Overview.
An SAP HANA multitenant database container is indicated by “Multitenant database container =
Yes”.
To determine whether a database is multitenant or not, DBA Cockpit reads the parameter [multidb]
mode in global.ini.
[multidb] mode can be either multidb or singledb.
The SID displayed after this is the system ID of the entire SAP HANA system.
To find the SID of the entire SAP HANA system, DBA Cockpit reads M_DATABASE.SYSTEM_ID.
To find the SID of the database, DBA Cockpit reads M_DATABASE.DATABASE_NAME.
In the example screen below, the Overview shows the system database of the SAP HANA
multitenant database container MD2:
If you are working with a tenant database, its name is displayed in the top left corner of the Overview
section.
In the example screen below, the Overview shows a tenant database DB0 inside the multitenant
database container MD2:
Depending on the support package that you have installed, some of these functions may not be
available in your system.
These functions are described in the sections that follow.
In later support packages, the overview of tenant databases additionally shows alerts, memory used,
disks used, and total CPU.
This feature is available with the following SAP_BASIS Support Packages or higher:
7.40 SP12
7.31 SP17
7.30 SP14
7.02 SP18
From this screen, you can stop or start a tenant database, or create a new tenant database.
Note that alerts are only supported with SAP HANA SPS10 (and the above SAP_BASIS Support
Packages).
Memory used, disks used, and total CPU are supported with SAP HANA SPS09.
Backup Catalog
DBA Cockpit shows the backup catalog for the entire system and for all the tenant databases.
This feature is available with the following SAP_BASIS Support Packages or higher:
7.40 SP11
7.31 SP15
7.30 SP13
7.02 SP17
Diagnosis Files
DBA Cockpit displays trace files for the entire system and all the tenant databases.
This feature is available with the following SAP_BASIS Support Packages or higher:
7.40 SP12
7.31 SP17
7.30 SP14
7.02 SP18
You can download every file displayed on this screen.
Choose Download File(s) Content or Download Compressed File(s) Content.
Alternatively, you can schedule tenant database backups by logging onto a tenant database instead
of the system database.
More information: SAP Note 2164096 - Schedule backups for SAP HANA multiple-container
systems with DB13