Performing Handling System Offline Situations

Objective

After completing this lesson, you will be able to handle system offline situations.

Important Monitoring Information: Using the Command Line

Like any other system, an SAP HANA database system can go offline for various reasons. This lesson looks at scenarios where the database unexpectedly went offline, and how the database administrator could handle this situation.

The following issues can cause a SAP HANA system to go offline (that is, from the end-user perspective, the SAP HANA system seems to hang):

Question: What can cause a SAP HANA system to go offline?

  • Power failure in the data center

  • Hardware failures at the server level (CPU/memory)

  • Hardware failures at the storage level (disk)

  • Hardware failures at the network level (switches/router)

  • Software errors at the operating system level (Linux)

  • Software errors at the storage system level (SAN/NAS)

  • Software errors at the database level (SAP HANA)

  • Human error causing downtime (Server, router, storage, Linux, and SAP HANA)

Usually, in a system-down scenario the system cannot be accessed through SQL and/or any another connection method. This makes analyzing the root cause a bit more difficult, but not impossible. Several small tests, in the right order, can help you quickly exclude areas that aren't causing the problem. Such a workflow should become a standard way of approaching a system that is down.

Because SAP HANA cockpit might only be able to partially connect to the SAP HANA system, you should use the following quick tests to roughly determine the area that causes the problem. As soon as you have found the problem area you should investigate more deeply, but not forget that getting the system up and running again has the highest priority.

Question: What tests can you perform to find the problem area?

  • Check the network. Ping some hosts in the data center.

  • Check the hosts. Log on using SSH and verify that the OS is running without issues.

  • Check the storage. Create, read, or delete a file to test the connection to the storage system.

  • Check SAP HANA. Use sapcontrol to test if all SAP HANA database services are running.

  • Check SAP HANA. Use hdbsql to test if the SQL database is working for the application user(s).

Caution

The following checks will help you to quickly identify parts that are broken or working. With there tests, you are not supposed to do a deep root cause analysis. For a deep root cause analysis there are other and probably better tools available.

Check the Network

Screenshot of the internal SAP HANA database as described in the following text.

In today's world, where almost every device is connected to the network, it's extremely important that the network is up and running correctly. In an SAP HANA database system, the network is important as well. End users connect to the database to execute all kind of queries. This can be done directly using SQL or via a middleware application. The SAP HANA database itself can be set up as a multi-host scale-out system that distributes the data over several servers. Without a network, external end-user connections and internal server-to-server connections would fail.

Because external and internal network connections are important for a SAP HANA system, you should test both by pinging SAP HANA and non-SAP HANA hosts in your network. If all the hosts can be reached, then the network is available and can be excluded.

Code Snippet
123
ping <SAP HANA host> ping <internal host> ping <external host>

Using a ping, you can test that the remote hosts are reachable, but maybe the network packages are taking the long way home due to a routing problem in the network. You can check the network path to the remote host using the following command:

Code Snippet
12
traceroute <SAP HANA host> traceroute <internal host>

Hint

If in your company the end users are connecting to the network using a virtual desktop infrastructure (VDI) solution or are in a dedicated network, then you should test the network connections from within these infrastructures as well.

Check the SAP HANA Hosts on OS Level

As soon as you know that the network is up and running, you can start testing if the SAP HANA hosts are functioning within normal parameters. Connect to the SAP HANA host(s) using your preferred method (SSH, XRDP, VNC, and so on) and check the Linux system logs.

Screenshot showing command screens, as described in the following text.

As the SAP HANA hosts are normally up and running 24/7, check whether there were unplanned and unexplained restarts. You can check this with the following command:

Code Snippet
1
last | grep boot

Looking at the Linux system log files to analyze the system is one of the most important tasks when troubleshooting a system. Since the move from syslog to systemd, kernel messages and messages of system services are handled by systemd.

Systemd was introduced in SLES 12 and RHEL 7 and replaces the traditional init scripts. Systemd also introduced its own logging system called journal.

Systemd manages the journal as a system service under the name systemd-journald.service and it is switched on by default. In a systemd-enabled Linux system, the systemd-journald service collects all messages from the kernel, boot process, syslog, user processes, standard input, and system service errors in a centralized location.

You can check the last 50 boot error messages in the journal with the following command:

Code Snippet
12345
journalctl -n 50 -p err -b -n = number of messages to display -p = message priority -b = display boot messages

Hint

You can check the last 50 kernel error messages in the journal with the following command:

Code snippet
journalctl -n 50 -p err -k

-k = display kernel messages
Expand

Check the Storage

Storage problems can result in severe database problems, database standstill or, even worse, data loss.

Screenshot showing how to check storage space, as described in the following text.

Avoiding storage problems is part of every layer in the Linux software and hardware stack. Modern hard drives are capable of detecting and correcting minor errors in block reads. SAN and NAS have built-in error correction and redundancy to handle power and hardware failure. Modern Linux file systems are all journal-based and can correct errors created due to power failures. Last but not least databases also support many different techniques to survive power failures and incorrect service shutdown situation.

If the SAP HANA database system 'stopped' due to power, hardware, or software failures, you should check if all file systems are available again after the server has restarted. Depending on the storage system used you can investigate the storage problem more deeply.

Note

In the scope of this course we will not investigate storage system problems. For this you need to contact your storage vendor and get the support information you need.

Check the SAP HANA Database System

Checking if the database is up and running sounds like a good plan, but with all the services running it might still be the case that the end user or middleware application cannot connect. Such a situation can happen when, for example, the SAP HANA system is up and running, but the network doesn't allow SQL connections due to a firewall having been reconfigured.

Screenshot showing how to check if the database is running correctly, as described in the preceding and following text.

To check if all the SAP HANA services and hosts are available on the Linux host, you can execute the following commands:

As <sid>adm user:

Code Snippet
12
sapcontrol -nr <instance number> -function GetProcessList sapcontrol -nr <instance number> -function GetSystemInstanceList

You also need to check whether or not the system can be reached over the SQL interface. When you are already connected to the SAP HANA host via the SSH session, check the SQL interface with the following command:

Note

The default port number range for tenant databases is 3<instance>40 - 3<instance>99.

As <sid>adm user:

Code Snippet
1
hdbsql -n localhost -i <instance number> -d <Tenant name> -u <your database user>

Enter your password when requested. You are now in the HDBSQL terminal. From the HDBSQL terminal you can get SAP HANA connection information by executing the command:

Code Snippet
1
\s

Caution

It's important to test all your tenants, because the tenants have different SQL ports and can be stopped independently of a running SAP HANA database system.

Checking the SQL connection only from the local host isn't sufficient as it could be the case that SAP HANA SQL is blocked on the network. To make sure that this isn't the case, you should perform a HDBSQL connection test also via the network from the end-user LAN and the application server network.

From the SAP S/4HANA ABAP application server, as <sid>adm user:

Code Snippet
1
hdbsql -n <SAP HANA host> -i <instance number> -d <Tenant name> -u <your database user>

Enter your password when requested. You are now in the HDBSQL terminal. From the HDBSQL terminal you can get SAP HANA connection information by executing the command:

Code Snippet
1
\s

If the issue is due to a hardware or a software failure, it is important to save log files on the Linux operating system or at the storage system level for later analysis.

For further specific steps and guidance on pro-active or reactive actions you can take, see SAP Note 1999020 — SAP HANA: Troubleshooting when the database is no longer reachable.

Important Monitoring Information: Using SAP HANA Cockpit

SAP HANA Cockpit 2.0 Architecture

The SAP HANA cockpit 2.0 provides a single point of access to a range of tools for administration and detailed monitoring of SAP HANA databases. It also integrates development capabilities required by administrators through the SAP HANA Database Explorer.

The SAP HANA cockpit 2.0 is a web-based HTML5 user interface that you access through a browser. It runs on SAP HANA extended application services, advanced model (XS advanced). The cockpit handles single-container and multi-container systems as of SAP HANA 1.0 SPS 12. You can use the cockpit to monitor and manage multiple SAP HANA database systems and tenants.

Screenshot of the SAP HANA Cockpit 2.0 Architecture, as described in the preceding and following text.

The cockpit can be installed separately on dedicated hardware, shared hardware or in an existing SAP HANA database tenant. This provides greater flexibility, because it allows you to manage more than one SAP HANA system in a single administration environment.

What Can SAP HANA Cockpit Do?

SAP HANA cockpit provides centralized system and database administration features, such as database monitoring, user management, and data backup. Administrators can use the cockpit to start and stop services, to monitor the system, to configure system settings, and to manage users and authorizations. The cockpit provides applications that allow you to manage SAP HANA options and capabilities (for example, SAP HANA dynamic tiering). These applications are only available if the options or capabilities are installed.

Opening SAP HANA Cockpit 2.0

To start the cockpit, open the following URL in our training landscape: https://wdflbmt7288.wdf.sap.corp:51026. After logging on, you are presented with an overview of the databases assigned to your user account.

Screenshot of the SAP HANA Cockpit Home Screen, highlighting the Database Directory and Group01 tabs, as described in the preceding and following text.

In the overview, you can select the Database Directory tile or a dedicated group tile, like the Group01 in this screenshot, to quickly see the status of the SAP HANA systems.

From the Database Directory tile, you can navigate to your SAP HANA system overview page, where a detailed status of the selected SAP HANA system is displayed.

Database Directory

The Database Directory gives an aggregated overview of each database for which you are responsible. In the Database Directory, you can see that a system or tenant is in trouble when the status Stopped, Running with issues, or Unknown is displayed. To investigate these problems in more detail, you start the cockpit System Overview page for this system or tenant by selecting the corresponding line.

When the Database Directory shows that the whole SAP HANA database system is having problems, it is important to quickly investigate the root cause of the problem so that you can get the system up and running again.

Even when the SAP HANA database system is down, the cockpit can be used to investigate the root cause of the problem. This system-down analysis is done via the SAP start service connection.

Screenshot of the Database Directory page, highlighting that the H47 system is experiencing issues, as described in the preceding and following text.

When a important system is down, you want to start it as soon as possible. This is a logical course of action, but it could make the root cause analysis more difficult, because during a restart, important low-level log or trace files can be overwritten. So a best practice is that before starting the system, you save all the important log and trace files for later investigation.

To support this, SAP HANA provides a full system information dump. This information dump lets you control which logs to save, so you can use these saved logs to troubleshoot the issue after you have restarted the SAP HANA database.

In the Database Directory, you can also specify the database user credentials required to drill down to an individual database, which is necessary unless single sign-on is in effect for that database.

Database Overview

The Database Directory shows a high-level status overview of all the databases belonging to groups to which you have been granted access. For each database, you can drill down for more information.

When you open the cockpit's Database Overview page for a system that shows the status Stopped, No SQL access, or Unknown, it is very likely that you cannot connect to the SAP HANA database using a SQL connection. The cockpit starts, but cannot retrieve the monitoring data using SQL. This results in almost all cards showing the text Cannot load data.

It is best that you start the Database Overview page of SYSTEMDB instead, because from this Database Overview page you can retrieve some information via the SAP host agent infrastructure. Via the SYSTEMDB, you can get information on the status of the SAP HANA services.

Screenshot of the Database Overview page, highlighting several issues, as described in the preceding and following text.

This means that you cannot use the default monitoring cards to further investigate the problem. Depending on the error situation, the SAP HANA Cockpit will present you the relevant cards that can be useful during the investigation. In a system down you will find the Manage full system information dumps application to be available, but the Troubleshoot unresponsive systems isn't because the SAP HANA Cockpit can't connect to the SAP HANA index service.

Screenshot showing an example of the system being down, and an unresponsive system in the SAP HANA Cockpit.

The Manage Full System Information Dumps Application

To collect the diagnosis information, perform the following steps:

  1. Search for the Alerts and Diagnostics card.
  2. Choose the Manage full system information dumps link.
  3. Choose Collect Diagnostics, and in the dropdown list choose Collect from Existing Files or Create from Runtime Environment.
  4. In the pop-up window choose the information items you want to collect. In the bottom-right corner, choose Start Collecting.
  5. When all the data is collected, the fullsysteminfodump_<SID>_<DBNAME>_<HOST>_<timestamp>.zip file is displayed in the collections table.
Screenshot showing two tabs on how to collect diagnosis information from existing file, and from the runtime environment, as described in the preceding and following text.

Collect from Existing Files

Choose this option if you want to collect diagnosis information for one or more file types for a specific time period - by default the last seven days. If you also want information from system views, select Include System Views.

Note

If you are connected to the system database of a multiple-container system, only information from the system views of the system database is collected. Information from the system views of tenant databases is not collected, regardless of this option setting.

Information from system views is collected through the execution of SQL statements, which may impact performance. In addition, the database must be online, so this option is not available in diagnosis mode.

Create from Runtime Environment

Choose this option if you want to restrict the information collected to one or more runtime environment (RTE) dump files. You can configure the creation and collection of dump files by specifying the following additional information:

  • The number of sets to be collected (that is, the number of points in time at which RTE dump files are collected). Possible values are 1-5.

  • The interval (in minutes) at which RTE dump files are to be collected (possible values are 1, 5, 10, 15, and 30). The default value is 1.

  • The host(s) from which RTE dump files are to be collected.

  • The service(s) for each selected host from which RTE dump files are to be collected.

  • The section(s) from each selected service from which RTE dump files are to be collected.

The system collects the relevant information and saves it to a ZIP file. This may take some time and can be allowed to run in the background.

If you are connected to the system database of a multiple-container system, information from all tenant databases is collected and saved to separate ZIP files.

Download the Collected Diagnosis Information

Once the collected diagnosis information ZIP files are available, you can download them by choosing Download. The files are saved locally in your browser’s download directory.

Screenshot showing how to download the collected diagnosis information, as described in the preceding and following text.

The diagnosis information is collected by the Python support script fullSystemInfoDump.py, which collects a range of information from your system for diagnosis purposes. It can be triggered from SAP HANA cockpit, or directly from the command line.

Collect Diagnosis Information from the Command Line

The fullSystemInfoDump.py script allows you to collect information from your system, even when it is not accessible using SQL. You can then add this information to a support message, or use this information to investigate the root cause on your personal computer. The script is part of the SAP HANA server installation and can be executed directly from the command line.

Screenshot showing the fullSystemInfoDump.py script screen, as described in the preceding and following text.

If you are logged on as the operating system user, <sid>adm, the fullSystemInfoDump.py script is part of the server installation and can be run from the command line. It is located in the directory $DIR_INSTANCE/exe/python_support.

Hint

You can use the predefined shell alias cdpy to quickly navigate to the python_support directory.

Start the script from its location with the command:

Code Snippet
1
python fullSystemInfoDump.py

You can modify the command with several command line options. To see the available options, specify the option --help. All options related to getting a system dump are fully described in SAP Note 1732157.

If the system can be reached by SQL (and you have not specified the option --nosql), the script starts collecting diagnosis information. If the system cannot be reached by SQL, the script starts collecting support information, but does not export data from system views.

The script creates a ZIP file containing the collected information and saves it to the directory $DIR_GLOBAL/sapcontrol/snapshots. $DIR_GLOBAL typically points to /usr/sap/<SID>/SYS/global.

The name of the ZIP file is structured as follows: fullsysteminfodump_<SID>_<DBNAME>_<HOST>_<timestamp>.zip.

The time-stamp in the file name is Coordinated Universal Time (UTC). The HOST and SID are taken from the sapprofile.ini file.

The output directory for the ZIP file is shown as console output when the script is running, but you can look it up with the command hdbsrvutil -z | grep DIR_GLOBAL= .

Diagnosis Information Collected

The Python support script fullSystemInfoDump.py collects the following information from your system for diagnosis purposes.

Note

All of the following file types are collected unless the option --rtedump is specified, in which case only runtime environment (RTE) dump files are created and collected.

Log File

All information about what has been collected is shown as console output, and is written to a file named log.txt, which is stored in the ZIP file.

Trace Files

Each of the following trace files is put into a file with the same name as the trace file. For storage reasons, only the trace files from the last seven days are collected unabridged. Older trace files are not collected. This behavior can be changed by using the option --days or with the options --fromDate and --toDate.

  • $DIR_INSTANCE/<SAPLOCALHOST>/trace/compileserver_alert_<SAPLOCALHOST>.trc

  • $DIR_INSTANCE/<SAPLOCALHOST>/trace/compileserver_<SAPLOCALHOST>.<...>.trc

  • $DIR_INSTANCE/<SAPLOCALHOST>/trace/daemon_<SAPLOCALHOST>.<...>.trc

  • $DIR_INSTANCE/<SAPLOCALHOST>/trace/indexserver_alert_<SAPLOCALHOST>.trc

  • $DIR_INSTANCE/<SAPLOCALHOST>/trace/indexserver_<SAPLOCALHOST>.<...>.trc

  • $DIR_INSTANCE/<SAPLOCALHOST>/trace/nameserver_alert_<SAPLOCALHOST>.trc

  • $DIR_INSTANCE/<SAPLOCALHOST>/trace/nameserver_history.trc

  • $DIR_INSTANCE/<SAPLOCALHOST>/trace/nameserver_<SAPLOCALHOST>.<...>.trc

  • $DIR_INSTANCE/<SAPLOCALHOST>/trace/preprocessor_alert_<SAPLOCALHOST>.trc

  • $DIR_INSTANCE/<SAPLOCALHOST>/trace/preprocessor_<SAPLOCALHOST>.<...>.trc

  • $DIR_INSTANCE/<SAPLOCALHOST>/trace/statisticsserver_alert_<SAPLOCALHOST>.trc

  • $DIR_INSTANCE/<SAPLOCALHOST>/trace/statisticsserver_<SAPLOCALHOST>.<...>.trc

  • $DIR_INSTANCE/<SAPLOCALHOST>/trace/xsengine_alert_<SAPLOCALHOST>.trc

  • $DIR_INSTANCE/<SAPLOCALHOST>/trace/xsengine_<SAPLOCALHOST>.<...>.trc

Configuration Files

All configuration files are collected unabridged and stored in a file with the same name as the .ini file:

  • $DIR_INSTANCE/<SAPLOCALHOST>/exe/config/attributes.ini

  • $DIR_INSTANCE/<SAPLOCALHOST>/exe/config/compileserver.ini

  • $DIR_INSTANCE/<SAPLOCALHOST>/exe/config/daemon.ini

  • $DIR_INSTANCE/<SAPLOCALHOST>/exe/config/executor.ini

  • $DIR_INSTANCE/<SAPLOCALHOST>/exe/config/extensions.ini

  • $DIR_INSTANCE/<SAPLOCALHOST>/exe/config/filter.ini

  • $DIR_INSTANCE/<SAPLOCALHOST>/exe/config/global.ini

  • $DIR_INSTANCE/<SAPLOCALHOST>/exe/config/indexserver.ini

  • $DIR_INSTANCE/<SAPLOCALHOST>/exe/config/inifiles.ini

  • $DIR_INSTANCE/<SAPLOCALHOST>/exe/config/localclient.ini

  • $DIR_INSTANCE/<SAPLOCALHOST>/exe/config/mimetypemapping.ini

  • $DIR_INSTANCE/<SAPLOCALHOST>/exe/config/nameserver.ini

  • $DIR_INSTANCE/<SAPLOCALHOST>/exe/config/preprocessor.ini

  • $DIR_INSTANCE/<SAPLOCALHOST>/exe/config/scriptserver.ini

  • $DIR_INSTANCE/<SAPLOCALHOST>/exe/config/statisticsserver.ini

  • $DIR_INSTANCE/<SAPLOCALHOST>/exe/config/validmimetypes.ini

  • $DIR_INSTANCE/<SAPLOCALHOST>/exe/config/xsengine.ini

Database System Log Files

The following backup files are collected unabridged:

  • $DIR_INSTANCE/<SAPLOCALHOST>/trace/backup.log

  • $DIR_INSTANCE/<SAPLOCALHOST>/trace/backint.log

RTE Dump Files

For each index server, an RTE dump file containing information about threads, stack contexts, and so on is created and stored in the file indexserver_<SAPLOCALHOST>_<PORT>_runtimedump.trc. These files are stored unabridged.

Crashdump Information

Crashdump files for services are collected unabridged.

Performance Trace Files

Performance trace files with the suffix *.tpt are collected unabridged.

Kerberos Files

The following Kerberos files are collected:

  • /etc/krb5.conf

  • /etc/krb5.keytab

System Views

If the collection of system views is not excluded (the option --nosql is specified), all rows of the following system views (with the exceptions mentioned) are exported into a CSV file with the name of the table:

Note

If you are connected to the system database of a multiple-container system, only information from the system views of the system database is collected. Information from the system views of tenant databases is not collected, regardless of this option setting.

Note

If you trigger the collection of diagnosis information from the SAP HANA cockpit for offline administration, information from system views cannot be collected because it does not use an SQL connection.
  • SYS.M_CE_CALCSCENARIOS WHERE SCENARIO_NAME LIKE '%_SYS_PLE%'

  • SYS.M_CONNECTIONS with CONNECTION_ID > 0

  • SYS.M_DATABASE_HISTORY

  • SYS.M_DEV_ALL_LICENSES

  • SYS.M_DEV_PLE_SESSIONS_

  • SYS.M_DEV_PLE_RUNTIME_OBJECTS_

  • SYS.M_EPM_SESSIONS

  • SYS.M_INIFILE_CONTENTS

  • SYS.M_LANDSCAPE_HOST_CONFIGURATION

  • SYS.M_RECORD_LOCKS

  • SYS.M_SERVICE_STATISTICS

  • SYS.M_SERVICE_THREADS

  • SYS.M_SYSTEM_OVERVIEW

  • SYS.M_TABLE_LOCATIONS

  • SYS.M_TABLE_LOCKS

  • SYS.M_TABLE_TRANSACTIONS

  • _SYS_EPM.VERSIONS

  • _SYS_EPM.TEMPORARY_CONTAINERS

  • _SYS_EPM.SAVED_CONTAINERS

  • _SYS_STATISTICS.STATISTICS_ALERT_INFORMATION

  • _SYS_STATISTICS.STATISTICS_ALERT_LAST_CHECK_INFORMATION

    Note

    Only the first 2,000 rows are exported.
  • _SYS_STATISTICS.STATISTICS_ALERTS

    Note

    Only the first 2,000 rows are exported.
  • _SYS_STATISTICS.STATISTICS_INTERVAL_INFORMATION

  • _SYS_STATISTICS.STATISTICS_LASTVALUES

  • _SYS_STATISTICS.STATISTICS_STATE

  • _SYS_STATISTICS.STATISTICS_VERSION

The first 2,000 rows of all remaining tables in the schema _SYS_STATISTICS are exported, ordered by the SNAPSHOT_ID column.

Additional Information Collected if SQL Connection is Not Available

All available topology information is exported to a file named topology.txt. It contains information about the host topology in a tree-like structure.

Screenshot showing the structure of the topology.txt. file screen, containing information about the host topology, as described in the preceding text.

Execute a System Restart

Now that all important diagnosis information is collected in the fullsysteminfodump_<SID>_<DBNAME>_<HOST>_<timestamp>.zip file(s), you can restart the SAP HANA database system. Before you restart the system, consider if you need to restart the whole SAP HANA database system, or just the a tenant in the SAP HANA database system. How to perform a database restart and how to restart a SAP HANA tenant are described below.

Start a Tenant Database

Screenshot showing three screens about how to Start a Tenant Database, as described in the preceding and following text.

In the SAP HANA cockpit - Home screen, select the Database Directory or your personal group tile. In the Database Directory screen, choose the Manage Databases link. To start the tenant database, in the Manage databases screen, choose the Start button. This will perform a normal tenant database start.

Start the SAP HANA Database System

Screenshot showing how to start the SAP HANA Database System, as described in the following text.

In the SAP HANA cockpit - Home screen, choose the Database Directory tile and choose the SYSTEMDB that is stopped. In the Database Overview screen, search for the Services card. To start the database system, in the Services card choose the Start Database button. This will perform a normal database start of the SAP HANA database.

Note

In newer version of the SP HANA Cockpit. you can choose the Start Database button directly from the Database Overview screen.

Verify the Database System Status

The SAP HANA system restart sequence quickly restores the system to a fully operational state.

When you restart an SAP HANA system, the following activities are executed by the restart agent of the persistence layer:

  1. The data volume of each service is accessed to read and load the restart record.
  2. The list of open transactions is read into memory.
  3. Row tables are loaded into memory.
  4. Open transactions are processed using the redo log, as follows:
    • Write transactions that were open when the database was stopped are rolled back.

    • Changes to committed transactions that were not written to the data area are rolled forward.

      The first column tables start being reloaded into memory as they are accessed for roll forward.

    Note

    Because a regular or "soft" shutdown writes a savepoint, there are no replay log entries to be processed in this case.
  5. Aborted transactions are determined and rolled back.
  6. A savepoint is performed with the restored consistent state of the database.
  7. Column tables that are marked for preload, and their attributes, are asynchronously loaded in the background (if they have not already been loaded as part of log replay).

    The preload parameter is configured in the meta-data of the table. This feature is useful, for example, to make certain tables and columns that are used by important business processes available more quickly.

  8. Column tables and their attributes that were loaded before restart, start reloading asynchronously in the background (if they have not already been loaded as part of log replay or because they are marked for preload).

    During normal operation, the system tracks the tables that are currently in use. This list is used as a basis for reloading tables after a restart.

Reloading column tables, as described in steps 7 and 8, restores the database to a fully operational state more quickly. However, it does create performance overhead and may not be necessary in non-production systems. You can deactivate the reload feature in the indexserver.ini file by setting the reload_tables parameter in the sql section to false. In addition, you can configure the number of tables whose attributes are loaded in parallel using the tables_preloaded_in_parallel parameter in the parallel section of the indexserver.ini file. This parameter also determines the number of tables that are preloaded in parallel.

Screenshot of the SAP HANA Database page, highlighting that the database system is Running correctly.

Now that the SAP HANA database system is up and running, you can continue to investigate the failure. If you cannot find the root cause of the failure, open an SAP support message and attach the diagnosis information collected in the SAP HANA cockpit - Full system information dump application.

Log in to track your progress & complete quizzes