Mind map
SAP HANA Database Administrator

Map content
SAP HANA Database Administrator
Discovering SAP HANA
- The database migration option (DMO) is not a new tool – it is just an option of using the Software Update Manager (SUM). SUM is the trusted tool for system maintenance, such as the following: Release updates and upgrades Enhancement package implementations Support Package Stacks (SPS) and Feature Package Stacks (FPS) for ABAP-based SAP systems
- Column and Row-Store Tables in SAP HANA
- Column Table
- Performing aggregations on a small number of columns.
- Performing searches based on the values in only a few columns.
- The table has a large number of columns.
- The table has a large number of rows and mostly columnar operations are performed.
- Achieving a high column compression rate is required.
- Tables that are stored in the column-store are read-optimized. These tables have better compression rates than tables stored in the row store. Furthermore, some features of the SAP HANA database, such as partitioning, are available only for column tables.
- Row Table
- You want to process single records at once, or many selects and updates.
- You want to access complete records.
- Columns contain mainly distinct values.
- You do not need aggregations or fast search.
- The number of rows is small.
- Row-store tables are mostly small tables that have frequent, single updates. Row-store tables will be completely loaded into memory at the start of the SAP HANA database. On row-store tables you will find indexes to improve the read performance. The indexes are recreated at every start of the SAP HANA database, so they are always optimal.
- Column Table
- savepoint
- data backup
- database shutdown
- after a restart is completed
- SAP HANA Alerts
- change the alerting thresholds
- setup email notification of alerts
- switch particular alerts on or off
- audit
- _SYS_STATISTICS
- Sessions Card
- The Save as button (1) allows you to save the data sets as a text, CSV, or HTML file.
- SAP HANA Trace
- NONE (0) FATAL (1) ERROR (2) WARNING (3) INFO (4) DEBUG (5)
- NONE (0) FATAL (1) ERROR (2) WARNING (3) INFO (4) DEBUG (5)
Preparing the installation
- Performing SAP HANA Sizing
- SAP expert sizing
- Consolidating multiple ERP source systems into one ERP system on SAP HANA.
- Carving out ERP functionality from the source system to the ERP on SAP HANA system.
- Migrating a high-volume legacy system to SAP HANA.
- SAP HANA Tailored Data Center Integration (TDI)
- Reduce hardware and operational costs by reusing existing hardware components and operation processes
- Mitigate risks and optimize time-to-value by enabling existing IT management processes for SAP HANA implementations
- Have more flexibility in hardware vendor selection by leveraging the existing ecosystem
- SAP expert sizing
- Sizing Method Quick Sizer for SAP HANA
- CPU
- Disk
- Memory
- Input/output resource categories
- File Systems Supported by SAP HANA
- SAP HANA Lifecycle Management Tools (HDBLCM)
- SAP HANA application lifecycle management tools can be accessed in different user interfaces: an interface that runs as an SAP HANA XS application in a Web browser, a command-line tool hdbalm, or via the SAP HANA cockpit.
- SAP HANA application lifecycle management supports you in all phases of the lifecycle of an SAP HANA application or add-on product, from modeling your product structure, through application development, transport, assembly, to install and update products that you have downloaded from SAP Support Portal or which you have assembled yourself.
- The user <sid>adm is the operating system user required for administrative tasks such as starting and stopping the system. This user is created/validated during the installation by the HDBLCM tools.
- The user <sid>adm is the operating system user required for administrative tasks such as starting and stopping the system. This user is created/validated during the installation by the HDBLCM tools.
- This user is the trusted local secure store (LSS) user. The user <sid>crypt owns the storage of the encryption keys and other similarly sensitive data. This user is created when you decide to install the trusted local secure store (LSS).
- This user is the database superuser. Initially, the SYSTEM user has all system permissions. Additional permissions can be granted and revoked again, however the initial permissions can never be revoked.
- Performing SAP HANA Sizing
SAP HANA Cockpit
- Single point of access to a range of tools for the administration and detailed monitoring of SAP HANA databases.
- Start and stop systems and databases
- Monitor databases
- Configure system settings
- Manage users and authorizations
- Backups
- SAP HANA Database Explorer
- Use SAP HANA database explorer to query information about the database, as well as view information about your database's catalog objects.
- Browse database objects
- Execute SQL in the SQL Console
- Access a library of diagnostic SQL statements
- Import and export catalog objects and data
- Debug, analyze, and test SQLScript
- Configure and examine trace files Configure and examine trace files
- Create and query remote sources
- Use SAP HANA database explorer to query information about the database, as well as view information about your database's catalog objects.
- SAP HANA hdbsql
- SAP HANA HDBSQL allows you to execute SQL statements and database procedures, as well as query information about the database and catalog objects, from the command line. SAP HANA HDBSQL allows you to execute SQL statements and database procedures, as well as query information about the database and catalog objects, from the command line.
- SAP HANA Studio
- As an administrator, you use the SAP HANA studio, for example, to start and stop systems, monitor the system, configure system settings, and manage users and authorizations. Developers can use the SAP HANA studio to create content such as modeled views and stored procedures in the SAP HANA repository.
- SAP Solution Manager
- SAP Solution Manager is a central hub for the holistic lifecycle management of your SAP solution landscape. It contains central alerting infrastructure and business process analytics, end-to-end root cause analysis, monitoring, and a unified alert inbox for the entire solution landscape, guided issue resolution, and business process reporting.
- SAP Landscape Management
- SAP Landscape Management is a powerful automated solution designed to simplify, centralize, and orchestrate the management and operations of the entire application landscape powered by SAP HANA. With the enterprise edition of SAP Landscape Management, you can perform various operations on SAP HANA instances, such as start, stop, monitor, or system replication operations.
- Single point of access to a range of tools for the administration and detailed monitoring of SAP HANA databases.
Post Installation Steps
- The General Licensing Process
- Temporary license keys
- 90 Days
- Permanent license keys
- Permanent license keys are valid until the predefined expiration date. Furthermore, they specify the amount of memory licensed to the target SAP HANA database. Before a permanent license key expires, you should request and apply a new permanent license key.
- If a permanent license key expires in the system database, a temporary license key, valid for 28 days, is automatically installed. During this time, you can request and install a new permanent license key, for example, using the SAP HANA cockpit.
- Permanent license keys are valid until the predefined expiration date. Furthermore, they specify the amount of memory licensed to the target SAP HANA database. Before a permanent license key expires, you should request and apply a new permanent license key.
- License Keys for Tenant Databases
- Unenforced license key
- The operation of SAP HANA is not affected if its memory consumption exceeds the licensed amount of memory
- Enforced license key
- The database is locked down when the current memory consumption of SAP HANA exceeds the licensed amount of memory, plus some tolerance. If this happens, either SAP HANA needs to be restarted, or a new license key that covers the amount of memory in use needs to be installed.
- Unenforced license key
- Database Lock-down
- System Database
- You did not renew the license within the 28 days
- You changed the hardware and didn’t request a new license key
- The amount of licensed memory was exceeded for the enforced license
- You deleted all the license keys.
- Tenant Database
- Due to the same conditions as the system database
- The amount of licensed memory for the enforced license was exceeded The amount of licensed memory for the enforced license was exceeded
- System Database
- Temporary license keys
- Updating SAP HANA
- SAP HANA System Update: Three Tools
- hdblcm (command line)
- hdblcmgui (X Window)
- hdblcmweb (browser)
- There are two versions of the SAP HANA database lifecycle manager tools: the HDBLCM located on the installation media, and the resident HDBLCM embedded in SAP HANA database. Both tools are required, and are used to perform different administrative tasks.
- HDBLCM - installation Media
- The HDBLCM located on the SAP HANA installation media installs and updates an SAP HANA database and its core components. No additional administrative tasks are possible.
- HDBLCM - Resident HDBLCM - Resident
- The resident HDBLCM performs administrative tasks for the database where it’s embedded. The resident HDBLCM also installs or updates additional SAP HANA components, and can also update the complete SAP HANA database system.
- Add or remove host roles
- Change, add or remove host roles (for example worker, standby).
- Add Hosts to the SAP HANA Database System
- Configure the Inter-Service Communication in a scale-out environment
- Global: Binds the processes to all interfaces. v
- Internal: Binds the processes to this address only, and to all local host interfaces.
- Local: Opens the communication ports for internal usage on the local interfaces. This configuration is only an option for single installations because the server is not accessible from outside. Local: Opens the communication ports for internal usage on the local interfaces. This configuration is only an option for single installations because the server is not accessible from outside.
- Configure the network interface if needed.
- Configure System Landscape Directory (SLD) Registration
- Rename SAP HANA Database System
- Uninstall SAP HANA Database Components
- SAP HANA mandatory components (SAP HANA server and client)
- SAP HANA additional components (like SAP HANA Application Function Libraries, SAP HANA Local Secure Store, and SAP HANA smart data access)
- SAP HANA options (like SAP HANA Accelerator for SAP ASE or SAP HANA smart data streaming)
- Unregister the SAP HANA Database System
- Update the SAP HANA Database System
- Install or Update Additional Components
- HDBLCM - installation Media
- Checks Before Update Process
- Before updating the SAP HANA components, check that no read or write processes are running on the SAP HANA database. Perform the update process outside of business hours, because the SAP HANA system restarts during the update process. After the update finishes, the SAP HANA system is started and operational.
- Prerequisites for a Phased Update
- You have stopped the data replication You have stopped the data replication
- You have performed a system backup
- You know the <sid>adm and database administrator passwords
- You have applied a valid license key for the SAP HANA system
- The SAP HANA database server is up and running, otherwise inconsistencies in the configuration may occur The SAP HANA database server is up and running, otherwise inconsistencies in the configuration may occur
- SAP HANA System Update: Three Tools
- Creating, Renaming, and Deleting a Tenant Database
- Database management system (DBMS)
- Manages large amounts of data in a multi-user environment so that many users can concurrently access the same data
- Maintains relationships between data
- Provides secure access to data using the user authorization concept
- Recovers data automatically to the most recent consistent status after a system failure
- Delivers high performance for processing data requests
- System Database
- 3<instance>01 (internal)
- SERVICES
- From a tenant database, it is possible to stop the following services:
- Index server, XS Engine
- To stop or kill services of a tenant database, either from the system database or the tenant, you must have the system privilege RESOURCE ADMIN.
- Index server, XS Engine
- From the system database, it is possible to stop the following services:
- Name server Preprocessor Web dispatcher Compile server
- To stop, kill, reconfigure, or start missing database services, you must have the system privilege SERVICE ADMIN or DATABASE ADMIN.
- Name server Preprocessor Web dispatcher Compile server
- From a tenant database, it is possible to stop the following services:
- SERVICES
- 3<instance>13 (SQL)
- 3<instance>14 (HTTP via XS classic server)
- 3<instance>01 (internal)
- Tenant renametenant rename
- the database is renamed
- On-disk directories that contain the tenant name are also renamed.
- SAP HANA Hardware and Cloud Measurement Tool Checks
- CPU Micro Benchmark (CPU Benchmark Test) Benchmarks CPU performance on number of found primes during search period, number of floating point arithmetic operations (+,-,*,/) per second, and number of integer arithmetic operations (+,-,*,/) per second. NUMA Timer Test (NUMA Timer) Measures NUMA node timer behavior. To optimize its internal resource use and calculation, SAP HANA extensively uses the capabilities of the underlying Intel Xeon chipset family. In most cases, the resource management and optimization are handled directly in the SAP HANA database kernel rather than using the operating system capabilities. To continually improve performance, SAP strives to optimize the use of CPU cores and memory, also in relation to NUMA awareness. In case of virtualization through a hypervisor, SAP HANA hence requires a read-only guest SDK that provides a kind of mapping table between vCPUs and physical NUMA cores as well as between virtual memory and physical NUMA nodes. NUMA Memory Latenc
- SAP HANA Hardware and Cloud Measurement Tool Checks
- Database management system (DBMS)
- HDBSQL
- hdbuserstore
- Use it to store connection information to SAP HANA systems securely on the client. This process ensures that client applications can connect to SAP HANA without users having to enter this information. It is used by scripts connecting to SAP HANA.
- hdbuserstore
- The General Licensing Process
Describing Backup and Recovery
- Complete, differential, and incremental backups
- Automatic redo log backups
- Integrity checks for backups
- Backup lifecycle management
- Recovery to the most recent state, a specific point-in-time, or a specific data backup
- Backup and recovery using third-party tools
- Database copy using backup and recovery
- Requirements for Performing a Recovery
- User must have the system privilege BACKUP ADMIN
- The <sid>adm operating system user is required The <sid>adm operating system user is required
- At least one data backup is required
- The number and type of services in source and target systems must be identical
- Prerequisites for the Target Database
- The version of the SAP HANA target database is the same or higher than the SAP HANA source database.
- The target database has sufficient disk space and memory.
- The target system can have any number of hosts.
- A valid license key is available for the target database.
- recoverSys.py
- Re-Initialize a System Database Using the Command-Line Tool hdbmdcutil
- The backup catalog is backed up and versioned after every completed backup operation.
- M_BACKUP_CATALOG, M_BACKUP_CATALOG_FILES, M_BACKUP_PROGRESSM_BACKUP_PROGRESS
Security
- CommonCryptoLib
- OpenSSL
- Auditing
- Audit entries are created in one or more audit trails (database table, linux syslog, CSV file, or kernel trace)
SAP HANA Authentication and Authorization
- Cross Database Queries Between Multi-Tenant Database Containers
- user is associated with a sufficiently privileged user in the remote database
- Cross-database access is not enabled by default
- Types of users
- They cannot create objects in the database because they are not authorized to create objects in their own database schema.
- They cannot view any data in the database because they are not granted (and cannot be granted) the standard PUBLIC role.
- They are only able to connect to the database using HTTP/HTTPS.
- User Group
- Password Policies
- Admin Mode
- Cross Database Queries Between Multi-Tenant Database Containers
Images and files in the map
Information
- Description
- Mind Map on SAP HANA Database Administrator, created by leo g on 27/01/2025.
- Created by
- leo g
- Views
- 6
- Rating




















