Server component in the Structure of SAP HANA DB

Server component in the Structure of SAP HANA DB

I will explain Server (Process) of HANA Database. In HANA DB, Server is called as Process, where Server and Process are used to refer to the same thing.

We will explain the Server (Process) that composes SAP HANA DB, explain each Server (Process) in detail and how to start and stop each process.

It is kind to Server in HANA DB.

  • HANA Index Server
  • HANA Name Server
  • HANA Compile Server
  • HANA Preprocessor
  • HANA Webdispatcher
  • HANA XSengine
  • HANA Statistics Server
  • HANA Script Server
  • HANA Daemon
  • HANA Sapstartsrv

  1. We will explain SAP HANA Architecture first, and then explain each server, or process.

The figure below shows the system configuration of several Database Containers (Multi-tenant Databases) in one host (server) in HANA Database.

  1. We will explain the core service in HANA Architecture.

In HANA Database, if you list Server (Process) in the order of importance, they will be listed in the following order.

  • HANA Index Server: The most important server.

It has a Data Store (Row and Column Table).

Load data, query and show results.

Index Server performs Statistics Server. (Since HANA 1.0 SPS74)

  • HANA Name Server: Knows the landscape information of the entire DB.
    I know Data Distribution information.It exists only in the System Database.
  • HANA Compile Server: Compiles programs and procedures.
    It is started in all hosts (H / W box) and does not have OS data.
  • HANA Preprocessor: Index Server uses Preprocessor to analyze text data.
    Extract information based on Text Search.
  • HANA Webdispatcher : Handles HTTP access to HANA DB
  • HANA XSengine           : It is an engine that handles the connection via Web (HTTP).
  • HANA Statistics Server : Function as a separate server Since HANA 1.0 SPS74, it has been included in Index Server.
    Collects all performance information, resource consumption, and status information of the system.
  • HANA Script Server     : Used to run the Programming Application Function Library in C ++.
  • HANA Daemon             : Start a process and keep it running.
  • HANA Sapstartsrv       : Start and Stop Server.

Provides monitoring function of HANA DB.

 

  1. Server contents that can be installed in addition to HANA DB.
    Script Server can be started with the command

ALTER SYSTEM ALTER CONFIGURATION (‘daemon.ini’, ‘host’, ‘<host name>’) SET (‘scriptserver’,’instances’) = ‘1’ WITH RECONFIGURE

See notes . Note 1650957 – SAP HANA Database: Starting the Script Server

  1. Explanation of Component terminology of HANA Server.
Server Component OS Process Service Name Description
Name server hdbnameserver nameserver The name server, which runs in the system database only, owns the information about the topology of the SAP HANA system, including knowledge of the tenant databases that exist in the system.
Index server hdbindexserver indexserver The index server, which runs in every tenant database (but not the system database), contains the actual data stores and the engines for processing the data.
Compile server hdbcompileserver compileserver The compile server performs the compilation of stored procedures and programs, for example, SQLScript procedures. It runs on every host and does not persist data. It runs in the system database and serves all tenant databases.
Preprocessor server hdbpreprocessor preprocessor The preprocessor server is used by the index server to analyze text data and extract the information on which the text search capabilities are based. It runs in the system database and serves all tenant databases.
SAP Web Dispatcher hdbwebdispatcher webdispatcher The Web Dispatcher processes inbound HTTP and HTTPS connections to XS classic services.
SAP start service sapstartsrv sapstartsrv The SAP start service is responsible for starting and stopping the other services in the correct order. It also performs other functions, such as monitoring their runtime state.

Optional Services

In addition to the main servers mentioned above, the following optional servers may also be running:

Server Component OS Process Service Name Description
Script server hdbscriptserver scriptserver The script server is used to execute application function libraries written in C++.
The script server is optional and must be added manually to the database that requires it. For more information, see the section on adding a service to a tenant database.
Document store server hdbdocstore docstore This server is required for the document store repository. The document store allows native operations on JSON documents and joins with other column or row store tables.
The document store is optional and must be added manually to the database that requires it. For more information, see the section on adding a service to a tenant database.
XS advanced runtime hdbxscontroller xscontroller SAP HANA includes a run-time environment for application development: SAP HANA extended application services, advanced model (XS advanced). The SAP HANA XS advanced model represents an evolution of the application server architecture within SAP HANA by building upon the strengths (and expanding the scope) of previous SAP HANA extended application services, classic model (XS classic).
hdbxsexeagent xsexeagent The SAP HANA XS advanced runtime consists of several processes for platform services and for executing applications.
hdixsuaaserver hdixsuaaserver The SAP HANA XS advanced runtime runs either on dedicated hosts or together with other SAP HANA components on the same host.
SAP HANA Deployment Infrastructure (HDI) server hdbdiserver diserver HDI handles the deployment of design-time artifacts into the SAP HANA database. If XS advanced is installed in the system, HDI is already enabled. Otherwise, you must enable it manually.
XS classic server hdbxsengine xsengine SAP HANA Extended Application Services, classic model (XS, classic) is the application server for native SAP HANA-based web applications. It is installed with the SAP HANA database and allows developers to write and run SAP HANA-based applications without the need to run an additional application server. SAP HANA XS is also used to run web-based tools that come with SAP HANA, for instance for administration, lifecycle management and development. XS classic is the original implementation of SAP HANA XS. The XS classic server can run as a separate server process or embedded within the index server.
Extended store server hdbesserver esserver The extended store server is part of SAP HANA dynamic tiering. It provides a high-performance disk-based column store for very big data up to the petabyte range.
Data provisioning server hdbdpserver dpserver The data provisioning server is part of SAP HANA smart data integration. It provides capabilities such as data provisioning in real time and batch mode, real-time data transformations, data quality functions, adapters for various types of remote sources, and an adapter SDK for developing additional adapters.
Streaming cluster hdbstreamingserver streamingserver The streaming cluster is part of SAP HANA streaming analytics. Streaming analytics extends SAP HANA with capabilities of SAP Event Stream Processor for consuming data streams and complex event processing.
Accelerator for SAP ASE hdbetsserver etsserver The SAP ASE server is part of SAP HANA accelerator for SAP ASE. It provides SAP Adaptive Server Enterprise (ASE) users the ability to use SAP HANA on SAP ASE data for real-time analytics.
SAP HANA remote data sync hdbrdsyncserver rdsyncserver The remote data sync server is part of SAP HANA real-time replication. SAP HANA remote data sync is a session-based synchronization technology designed to synchronize SAP SQL Anywhere remote databases with a consolidated database.

SAP HANA includes a run-time environment for application development: SAP HANA extended application services, advanced model (XS advanced).  The SAP HANA XS advanced model represents an evolution of the application server architecture within SAP HANA by building upon the strengths(and expanding the scope) of previous SAP HANA extended application services, classic model (XS classic).

The SAP HANA XS advanced runtime runs either on dedicated hosts or together with other SAP HANA components on the same host. If the runtime platform of SAP HANA XS advanced is installed in your system, the following additional services run in the system database for platform services and for executing applications:

Server Component OS Process Service Name Description
SAP HANA XS Controller hdbxscontroller xscontroller The Controller is the central management component of SAP HANA XS advanced. For example, it has a view on all deployed and/or running applications and persists configuration and status information in the database.
The Platform Router instance is managed by the xscontrollerservice. The Platform Router, which is realized by an SAP Web Dispatcher instance, exposes the public endpoint for the entire system.
SAP HANA XS Execution Agent hdbxsexeagent xsexecagent The Execution Agent is responsible for managing processes, that is starting, keeping alive, and stopping tasks.
SAP HANA XS User Authentication and Authorization (UAA) hdixsuaaserver hdixsuaaserver The UAA service manages user logon and logoff requests in SAP HANA XS advanced.

(출처:https://help.sap.com/viewer/6b94445c94ae495c83a19646e7c3fd56/2.0.04/en-US/f0e6eb689f5648899749389c0894fd25.html)