SlideShare a Scribd company logo
SAP HANA SPS 08
Administration and Monitoring
May 2014
© 2014 SAP AG. All rights reserved. 2
Agenda
• Introduction to the SAP HANA Studio
• The Administration Console of the SAP HANA Studio
• The SAP HANA Systems View
• The Monitoring Dashboard
• The Memory Overview
• The Resource Utilization
• The Administration Editor
• Diagnosis Mode
• Overview
• Landscape
• Alerts
• Performance
• Volumes
• Configuration
• System Information
• Diagnosis Files
• Trace Configuration
• SAP HANA Table Administration
• The SQL Console
• More Information
Introduction to the SAP HANA
Studio
© 2014 SAP AG. All rights reserved. 4
Introduction to the SAP HANA Studio
The Administration Tool for SAP HANA
The SAP HANA studio runs on the Eclipse platform and is both
the central development environment and the main
administration tool for SAP HANA.
Administrators can use the SAP HANA studio, for example, to
start and stop services, to monitor the system, to configure
system settings, and to manage users and authorizations. The
SAP HANA studio accesses the servers of the SAP HANA
database by SQL.
The SAP HANA studio presents its various tools in the form of
perspectives. Database administration and monitoring features
are contained primarily within the Administration Console
perspective.
The SAP HANA studio program accepts command line
parameters that allow you to specify the system to be connected
to immediately on startup.
© 2014 SAP AG. All rights reserved. 5
Introduction to the SAP HANA Studio
Screen Areas of the Administration Console
1. SAP HANA Systems view
2. Editor area, for example:
 Administration editor
 SQL console
 Table editor
3. Other views, for example:
 Error Log
 Properties
 Progress
1 2
3
The Administration Console of
the SAP HANA Studio
© 2014 SAP AG. All rights reserved. 7
Administration Console
SAP HANA Systems View
The SAP HANA Systems view provides you with a hierarchical view of all the SAP HANA systems managed in
the SAP HANA studio and their contents (database catalog, users, roles). This view allows you to see the status
of your systems at glance. It is also the central access point for performing system-specific administration and
monitoring activities.
From the context menu of the SAP HANA Systems view, you can access a range of both system-specific and
object-specific functions, for example:
 Add system
 Log On to / Log Off from system
 Stop, start, restart system
 Open system properties
 Back up and recover the system
 Import and export catalog objects
 Open SQL console
 Find table
 Open table definition
© 2014 SAP AG. All rights reserved. 8
Administration Console
System Usage Type
Display of System Usage Type
 You can configure the usage type of an
SAP HANA system (for example,
production, development) during
installation with the system_usage
parameter or later by changing the system properties.
 SAP HANA studio evaluates this parameter to warn users when they
are about to perform critical operations on systems with usage type
production (for example, execute SQL statements, stop or restart the
system, perform a data backup, and so on)
 This does not prevent data manipulation in productive systems,
however it keeps reminding you to be careful
© 2014 SAP AG. All rights reserved. 9
Enabled user log on, log off, and system delete functionality with automatic log off system functionality
The user can log off actively from a SAP HANA system via the context menu. Every connection (JDBC/HTTP) is closed after the
user executes the Log Off on a selected system (1). If no connection is established the context menu provides the possibility to
log on to a system or to delete it (2). The start-up behavior of the SAP HANA Studio can be configured. Under Windows >
Preferences the user can decide to restore the logged-on/logged-off status of systems on startup (3).
SAP HANA Systems View
SAP HANA System Log on and Log off
1 2 3
© 2014 SAP AG. All rights reserved. 10
Allow users to connect efficiently to multiple SAP HANA systems
A centrally-stored archive of SAP HANA systems is an efficient way to deploy system information to all users of the SAP HANA
studio. It avoids users having to obtain the connection details of all systems individually and then having to add them all
individually.
 One user can manage the list of all systems in a centrally-accessible archive (via File > export > SAP HANA > landscape)
 Other users can then simply link to this archive (read-only mode)
1. In the context menu of the
SAP HANA Systems view,
choose Add System Archive Link.
SAP HANA Systems View
Linking a centrally-stored archive of SAP HANA Systems
2. Specify the link details:
a) Link name
b) Path to the system archive containing the
system information
c) Optional: A folder in the SAP HANA Systems
view
3. Choose Finish.
1
2
3
a)
b)
c)
© 2014 SAP AG. All rights reserved. 11
SAP HANA Systems View
Monitoring Dashboard
SAPUI5 Based Monitoring Dashboard
 The web-browser-based dashboard visualizes key
aspects of system health and configuration, for example:
– Current high and medium priority alerts
– Memory and CPU usage
– Availability of data backups
 Drill down to views containing more detailed information
 Role sap.hana.admin.roles::Monitoring is required, which
is not granted by default to the standard MONITORING
role
© 2014 SAP AG. All rights reserved. 12
SAP HANA Systems View
Memory Overview
It provides a detailed
graphical breakdown of
the following main
categories of memory
usage:
 Physical memory
 SAP HANA database
 Table data
 Database
management
Other information
regarding the current
size of used resources
can be seen on the
Overview tab of the
Administration editor
and on the Monitoring
Dashboard.
The Memory Overview editor is available in the context menu of the Systems view.
© 2014 SAP AG. All rights reserved. 13
SAP HANA Systems View
Resource Utilization
The Resource Utilization
editor enables you to
visualize and explore the
usage history of the
following key system
resources:
 CPU
 Memory
 Disk
The editor can help to
analyze bottlenecks,
identify patterns, and
forecast requirements.
The editor can be
opened via the context-
menu on the specific
SAP HANA system.
© 2014 SAP AG. All rights reserved. 14
Administration Console
Administration Editor
The Administration editor is
available in the Administration
Console perspective and is
the main tool for performing
administration and monitoring
activities. You can open the
Administration editor for a
system by simply double-
clicking the system in the SAP
HANA Systems view.
The functions of the
Administration editor are
available across several tabs.
© 2014 SAP AG. All rights reserved. 15
Administration Editor
Diagnosis Mode
Emergency Support Mode
 SAP HANA studio collects
information about systems using SQL
 When a system cannot be reached
by SQL or it is experiencing major
performance issues due to high load
or blocking situations, information
can instead be collected using the
connection of the SAP start service
(sapstartsrv).
 The Administration editor diagnosis mode provides access to:
– The operational status of all services in the system
– Log and trace files
– The collection of diagnosis information into a zip file
– All connections, transactions, blocked transactions, and threads in the system
 If necessary, you can cancel individual connections and transactions, or even
cancel all transactions.
 Note: To open the Administration editor in diagnosis mode you need the
credentials of the operating system user <sid>adm.
HANA
sapstartsrv
python
Indexserver
hdbcons
© 2014 SAP AG. All rights reserved. 16
Administration Editor
Overview Tab
The Overview tab provides you with the most important information about a system at a glance:
 System status
 General system information
 Current alerts
 Memory usage
 CPU usage
 Disk usage
From the Overview tab, you
can navigate to more detailed
information.
© 2014 SAP AG. All rights reserved. 17
Administration Editor
Landscape > Services Tab
The Landscape tab contains several sub-tabs.
The Services sub-tab provides you with:
 A list of all services (nameserver, indexserver, preprocessor,…), their status, and detailed resource
consumption
 A context menu with functions including:
 Stop, kill, reconfigure service
 Reset memory statistics
 Open Memory Allocation Statistics
© 2014 SAP AG. All rights reserved. 18
Administration Editor
Landscape > Services Tab > Memory Allocation Statistics I
The new Memory Allocation Statistics editor enables you to visualize and
explore the memory allocation of every service.
 In the Administration editor, choose the Landscape -> Services tab. Right-click the service whose
allocation history you want to investigate and choose Open Memory Allocation Statistics
The following information
is displayed in screen
areas identified above:
1. The components of the
selected service listed in
descending order of current
used memory (default)
2. Current breakdown of SAP
HANA used memory
displayed as a pie chart
3. Subcomponents of the
selected component listed in
descending order of current
used inclusive memory
(default)
4. Current breakdown of
memory usage of the 10
highest consuming
subcomponents displayed as
a pie chart
1 2
3 4
© 2014 SAP AG. All rights reserved. 19
Administration Editor
Landscape > Services Tab > Memory Allocation Statistics II
Analyze the used memory history
of the component and its allocators
by enabling the history graph
(Show Graph) and exploring the
data.
Several options are available, for
example:
 To change the visualized time period, adjust
the From/To values.
 To visualize the memory usage of individual
allocators over the same time period as the
selected component, simply select them in
the allocators table.
 To see time-specific values, move the
mouse over the graph.
 To see the visualized values in table format,
choose Show history data in a table
© 2014 SAP AG. All rights reserved. 20
Administration Editor
Landscape > Hosts Tab
The Hosts sub-tab provides
you with:
 An overview of all the
hosts in a distributed system
 Detailed information about
the auto-failover status and
configuration of hosts
 Host re-configuration options
 Option to remove a host
from the system
© 2014 SAP AG. All rights reserved. 21
Administration Editor
Landscape > Redistribution Tab
In a distributed system, tables and table partitions are assigned to an index server on a particular
host at their time of creation, but this assignment can be changed. In certain situations, it is even
necessary. SAP HANA supports several “redistribution operations” that use complex algorithms to
evaluate the current distribution and determine a better distribution depending on the situation.
The Redistribution sub-tab allows you to execute redistribution operations if you need to:
 Redistribute data before removing a host from the system
 Redistribute data after adding a new host to the system
 Optimize current table distribution
 Optimize table partitioning
Note: It is always recommended
that you save the current distribution before
executing a table redistribution operation
in case you need to restore it.
© 2014 SAP AG. All rights reserved. 22
Administration Editor
Landscape > System Replication Tab I
System replication is a mechanism for ensuring the high availability of an SAP HANA system. Through the
continuous replication of data from a primary to a secondary system, including in-memory loading, system
replication facilitates rapid failover in the event of a disaster. Productive operations can be resumed with minimal
downtime.
On the System Replication sub-tab, you can:
 Perform the initial set-up, that is enable system replication and establish the connection between two
identical systems.
 Monitor the status of system replication to ensure that both systems are in sync.
 Trigger failover to the secondary system in the event of a disaster and failback once the primary system is
available again.
© 2014 SAP AG. All rights reserved. 23
Administration Editor
Landscape > System Replication Tab II
© 2014 SAP AG. All rights reserved. 24
Administration Editor
Landscape > System Replication Tab III
Extended system replication configuration
 To offer higher levels of availability you can link
together multiple systems in a multitier system
replication landscape.
 After setting up a basic system replication
scenario you add a third system to provide
another level of redundancy.
 In a multitier setup the primary system is
always on tier 1, a tier 2 secondary has a
primary system as its replication source and
a tier 3 secondary has the tier 2 secondary as
its replication source.
 The tier 3 secondary can now also be added
using SAP HANA studio.
 On each node only those actions are provided,
which are currently possible – depending on the
system status.
© 2014 SAP AG. All rights reserved. 25
Administration Editor
Alerts Tab I
As one of the main components of the
monitoring infrastructure of the SAP
HANA database, the statistics service
performs regular checks and issues an
alert when an alert condition is fulfilled.
The priority of the alert indicates the
severity of the problem and depends on
the nature of the check and configured
threshold values. For example, if 90% of
available disk space is used, a low priority
alert is issued; if 98% is used, a high
priority alert is issued.
The summary header on the Alerts tab
shows the total number of current alerts
by priority and the corresponding list of
alerts
© 2014 SAP AG. All rights reserved. 26
Administration Editor
Alerts Tab II
The Alerts sub-tab provides you with:
• An overview of:
• All current unresolved alerts (default view)
• Alerts sorted by time period (last 15, 30, 60, and 120 minutes, today, yesterday, last week)
• Detailed information about individual alerts
• Alert filtering options by:
• Specific word
• Priority
• Check ID
• Time frame
• Configuration options for:
• E-mail notification
• Alert thresholds
• Check start times
© 2014 SAP AG. All rights reserved. 27
Statistics Service
New implementation design as of SAP HANA SPS 07
The new statistics service design leads to performance and flexibility improvements
The statistics server is the component of the SAP HANA database that provides internal monitoring
functions. It continuously collects information about system status, performance, and resource usage, and
issues alerts in the event of problems. As of SPS 07, it is possible to switch to a new mechanism whereby
data collection and alerting are implemented through the execution of SQLScript procedures. This has the
following advantages:
 The statistics server component is no longer required. By replacing the statistics server with internal procedure calls, overall
system performance is improved with reduced disk usage, memory usage, and data transfer.
 The statisticsserver.ini properties file is no longer required to contain all configuration information relating to data collection and
alerting. Instead this information is contained in new tables in the _SYS_STATISTICS schema. This increases the overall
flexibility with which data collection and alerting can be configured. For example, data collectors and checks can be scheduled
more flexibly, new collectors and checks can be added more easily, and data collectors and checks can be deactivated.
 For more information about how to migrate to the new mechanism after an upgrade, see SAP Note 1917938
© 2014 SAP AG. All rights reserved. 28
Administration Editor
Performance Tab
You can monitor the following detailed aspects of system performance on the Performance tab:
• Threads
• Sessions*
• Blocked transactions
• Expensive statements*
• SQL plan cache*
• Job progress*
• Load
*The information displayed on these sub-tabs of the Performance tab is detailed and highly
customizable. To support administrators performing complex analyses, user-specific column and filter
settings are saved when the Administration editor is closed. These settings are restored the next time
the tab is opened, independent of system.
© 2014 SAP AG. All rights reserved. 29
Administration Editor
Performance > Threads Tab I
The Threads sub-tab allows you to monitor all running threads in your system. It may be useful to
see, for example, how long a thread is running, if a thread is blocked for an inexplicable length of
time. On the Threads sub-tab:
• Transactionally blocked threads are identified with a warning icon
• The Group and sort filter provides a meaningful and clear structure for thread analysis:
• Threads with the same connection ID are grouped.
• Within each group, the call hierarchy is depicted.
• Groups are displayed in order of descending duration.
© 2014 SAP AG. All rights reserved. 30
Administration Editor
Performance > Threads Tab II
On the Threads sub-tab, you can also perform the following actions:
• End the operations associated
with a thread
• See the full details of a thread
• Jump to the related calling and
called threads, session or
blocked transaction of a thread
by right-clicking the thread
• View the call stack for a specific
thread
• Configure the SQL, performance
or expensive statement trace
© 2014 SAP AG. All rights reserved. 31
Administration Editor
Performance > Sessions Tab
The Sessions sub-tab allows you to monitor all sessions in the current landscape:
• Active/inactive sessions and their relation to applications
• Whether a session is blocked and if so which session is blocking
• The number of transactions that are blocked by a blocking session
• Statistics like average query runtime and the number of DML and DDL statements in a session
You can also cancel sessions.
© 2014 SAP AG. All rights reserved. 32
Administration Editor
Performance > Blocked Transactions Tab
If there are blocking situations (indicated on the Threads sub-tab), you can see another
representation of the information about blocked and blocking transactions on the Blocked
Transactions sub-tab. Sort by transaction ID to see the relationship between the two views better.
© 2014 SAP AG. All rights reserved. 33
Administration Editor
Performance > Threads, Sessions and Blocked Transactions Tab I
Easy navigation between the editors: Threads, Sessions, and Blocked Transaction
 As of SPS07 it is possible to navigate between Performance Threads, Sessions and Blocked Transaction view by using the
connection ID. This functionality is reachable from the context menu from the view under Navigate To.
 In the threads view it is possible to navigate from/to callee/caller by using the thread ID.
 In the Sessions view it is possible to navigate to the connection which is blocking the selected connection.
 The application information (name and user) which is available in the performance threads, sessions and blocked transaction
view can also be used to open a pre-configured dialog for SQL, performance and expensive statement trace.
© 2014 SAP AG. All rights reserved. 34
Administration Editor
Performance > Threads, Sessions and Blocked Transactions Tab II
Filter to hide idle sessions, as well as sessions originating in the Administration editor or other
applications in the SAP HANA studio
 As of SAP HANA SPS 07 it is possible to hide different session types from the Performance > Threads, Sessions and Blocked
Transaction view. Each option can be selected in the drop down menu Hide Sessions.
 If an option is selected a new SQL statement is executed to display only the filtered rows. This filter is not only operating on
display level. When an option is selected, the database is queried again for the relevant sessions.
© 2014 SAP AG. All rights reserved. 35
Administration Editor
Performance > SQL Plan Cache Tab I
You can use the SQL plan cache to get an insight into the workload in the system as it lists frequently executed
queries. Technically, the plan cache stores compiled execution plans of SQL statements for reuse, which gives a
performance advantage over recompilation at each invocation. For monitoring reasons, the plan cache keeps
statistics about each plan, for instance number of executions, min/max/total/average runtime, and lock/wait
statistics.
Analyzing the plan cache is very helpful as one of the first steps in performance analysis because it gives an
overview about what statements are executed in the system.
Note: Due to the nature of a cache, seldom used entries will be evicted from the plan cache.
You can view the SQL plan cache on the SQL Plan Cache sub-tab.
© 2014 SAP AG. All rights reserved. 36
Administration Editor
Performance > SQL Plan Cache Tab II
Plan Cache: Keep Set of Parameters
 The parameter set of a prepared statement is stored in monitoring view M_SQL_PLAN_CACHE_PARAMETERS to allow for
the easy re-execution of a specific query:
– First parameter set is stored when the total execution time of the statement is greater than parameter
plan_cache_parameter_sum_threshold (default 1000ms).
– Afterwards, the parameter values will be updated if the statement’s single execution time is greater than parameter
plan_cache_parameter_threshold (default 100ms) and its last captured execution time.
 Parameters to enable this feature:
– plan_cache_parameter_enabled: Activate/deactivate
capture of parameter values of prepared statements
– plan_cache_parameter_for_lob_enabled: Activate/
deactivate capture of BLOB/CLOB/NCLOB
parameter values.
 In the Admin editor of SAP HANA Studio on tab
Performance -> SQL Plan Cache the stored parameter
set is used when you choose “Visualize Plan” or
“Prepare in SQL Console”
© 2014 SAP AG. All rights reserved. 37
Administration Editor
Performance > Expensive Statements Trace Tab I
Expensive statements are individual SQL queries whose execution time was above a configured threshold.
Expensive statements may reduce the performance of the database. The expensive statements trace records
information about these statements for further analysis and displays them on the Expensive Statements Trace
sub-tab.
 You can configure for which user, table/view or application statements should get recorded.
 You can navigate between the Expensive Statements Trace and the SQL Plan Cache, displaying a specific statement in the
other view using the context menu option Navigate To
© 2014 SAP AG. All rights reserved. 38
Administration Editor
Performance > Expensive Statements Trace Tab II
Statement Memory Tracking and Statement Memory Limitation:
Avoid Uncontrolled Statement Memory Allocation
 The peak memory consumption of a statement can be tracked und displayed in Expensive Statements.
 Resource consumption collection has to be enabled manually:
– Configuration file global.ini, parameters enable_tracking and memory_tracking
 Additionally the HANA administrator is able to define a global statement memory limit in the database:
– Configuration file global.ini, parameter statement_memory_limit
 If a statement exceeds the memory limit, it will be cancelled
© 2014 SAP AG. All rights reserved. 39
Administration Editor
Performance > Job Progress Tab
Certain operations typically run for a long time and may consume a considerable amount of
resources, for example, delta merge operations, data compression, and delta log replays.
You can monitor the progress of these long-running transactions on the Job Progress sub-tab. You
can determine whether or not they are responsible for current high load, see how far along they are,
and when they will finish. The following information is available, for example:
 Connection that triggered the operation
 Start time of the operation
 Steps of the operation that have already finished (CURRENT_PROGRESS)
 Maximum number of steps in the operation (MAX_PROGRESS)
© 2014 SAP AG. All rights reserved. 40
Administration Editor
Performance > Load Tab
The Load sub-tab provides you with a
graphical display of current
performance, for example:
 CPU usage
 Memory consumption
 Table unloads
You can compare the performance of
different hosts.
© 2014 SAP AG. All rights reserved. 41
Administration Editor
Volumes Tab
To ensure that the database can always be restored to its most recent committed state, you must ensure
that there is enough space on disk for data and log volumes. On the Volumes tab, you can monitor:
 Disk usage
 Volume size
 Other disk activity statistics
There are two views available for monitoring the size of volumes on disk: service and storage type. You
can also filter by host.
© 2014 SAP AG. All rights reserved. 42
Administration Editor
Configuration Tab
The properties of an SAP HANA system are defined in the
parameters of its configuration files. Configuration files are
separated into sections; sections bundle parameters of the
same category.
You can view and modify system properties on the
Configuration tab.
hostxxx
© 2014 SAP AG. All rights reserved. 43
Administration Editor
System Information Tab
The System Information tab lists several predefined SQL SELECT statements on system views. These
statements provide you with easy access to important system information.
 If you have compiled your own SQL statements for monitoring purposes, you can save these statements on the System
Information tab for convenient repeated execution
 Alternatively, you can import multiple
statements as text or ZIP archive files
 To organize large numbers of
statements meaningfully, you can
define a folder structure.
 Predefined statements are stored
in the System folder.
© 2014 SAP AG. All rights reserved. 44
Administration Editor
Diagnosis Files Tab I
Diagnosis files include log and trace files, as well as a mixture of other diagnosis, error, and
information files. In the event of problems with the SAP HANA database, you can check these
diagnosis files for errors.
On the Diagnosis Files tab, you can:
 Filter the list of diagnosis files
(by keyword, host)
 Display individual files
 Review multiple files at the same time using
the “Merge Diagnosis Files” function
 Delete files
 Download files
 Collect and download diagnosis information
© 2014 SAP AG. All rights reserved. 45
Administration Editor
Diagnosis Files Tab II
Runtime Environment Dump File Collection
 To analyze issues e.g. if the system is unresponsive, RTE dump files can
be created
 On the Diagnosis Files tab, choose Diagnosis Information -> Collect…
 You can specify:
– From which index server(s) RTE dump files are to be collected
– The number of RTE dump file sets to be collected
– The interval (in minutes) at which RTE dump files are to be collected
 For each specified 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.
© 2014 SAP AG. All rights reserved. 46
Administration Editor
Trace Configuration Tab I
You can configure the following traces on the Trace Configuration tab. Different configuration options are
available for each trace.
 Database trace (including user-specific and end-to-end database traces)
The database trace records information about activity in the components of the SAP HANA database. You
can use this information to analyze performance and to diagnose and debug errors. Each service of the
SAP HANA database writes to its own trace file. By default, the database trace is active with default trace
level ERROR.
 SQL trace
The SQL trace collects information about all executed SQL statements and saves it as an executable
python program. This is good for recording a scenario. By default, the SQL trace is inactive.
 Expensive statements trace
Expensive statements are individual SQL queries whose execution time was above a configured
threshold. The expensive statements trace records information about these statements for further
analysis. By default, the expensive statements trace is inactive.
© 2014 SAP AG. All rights reserved. 47
Administration Editor
Trace Configuration Tab II
 Performance trace
The performance trace is a performance tracing tool built into the SAP HANA database. It records
performance indicators for individual query processing steps in the database kernel. By default, the
performance trace is inactive.
 Kernel profiler
The kernel profiler is a sampling profiler built into the SAP HANA database. It collects, for example,
information about frequent and/or expensive execution paths during query processing. By default, the kernel
profiler is inactive.
Note: You cannot analyze the files generated by the performance trace and the kernel profiler meaningfully in the SAP HANA studio, but instead
must use a tool capable of reading the respective output format. SAP Support has tools for evaluating these traces.
 Planning engine trace
If the planning engine trace is enabled, the system records information that allows the data sources used in
the planning activities to be identified and the same activities to be re-run.
Note: To keep the Trace Configuration tab as simple as possible, this trace section is not available by default but must be activated manually, if
the corresponding database feature is used. Parameter enable_export_wizard in section planningengine of file indexserver.ini has to be set to
true, to make the Planning Engine Trace section available on the Trace Configuration tab.
© 2014 SAP AG. All rights reserved. 48
Administration Editor
Trace Configuration Tab III
SAP HANA Table Administration
© 2014 SAP AG. All rights reserved. 50
SAP HANA Table Administration
Table Editor
Some monitoring and problem analysis may require you to examine individual tables, for example, the
many system views provided by the SAP HANA database. You can open tables and views in different
ways. Several viewing options are available depending on what you want to do:
 Table definition
The table definition view provides you with information about the table's structure and properties (for
example, schema, type, column properties, and indexes). Detailed information relating to the table's
memory usage and size is available on the Runtime Information sub-tab.
 Table content
Opening a table's content executes a SELECT statement on the table. The result set shows the
actual records in the table.
 Data preview
Opening the data preview of a table allows you to analyze the content of the table in different ways.
Similarly to the table content view, this is particularly useful for analyzing system views.
© 2014 SAP AG. All rights reserved. 51
SAP HANA Table Administration
Opening the Table Definition
© 2014 SAP AG. All rights reserved. 52
SAP HANA Table Administration
Table Distribution Editor I
To support the analysis and monitoring of performance issues in a distributed SAP HANA system, a
table distribution editor is available in which you can see how tables and table partitions are
distributed across the hosts. Detailed information about tables/partitions (for example, memory
usage and size) is also available.
You access the Table Distribution editor from the SAP HANA Systems view.
© 2014 SAP AG. All rights reserved. 53
SAP HANA Table Administration and Monitoring
Table Distribution Editor II
In the Table Distribution editor, you can
perform the following additional actions:
 Move tables and partitions to other hosts in
the system
 Partition non-partitioned tables using the
supported partitioning specifications (hash,
range, and round-robin)
 Change a partitioned table into a non-
partitioned table by merging its partitions
Note: Before moving tables or partitions, the
system checks that the host has sufficient
memory.
© 2014 SAP AG. All rights reserved. 54
SAP HANA Table Administration
Importing and Exporting Tables and Other Catalog Objects
You can export catalog objects to a file system and then import them back into another database. For
example, you want to move data from a test system to a productive system, clone your system, or
provide the data to SAP Support so they can replicate a scenario.
 You can export/import either meta data only or meta data and content
 Column-store tables, procedures, and sequences can be exported in either binary or CSV format. Row-
store tables can be exported only in CSV format imported
 You can import ESRI shapefiles into dedicated column-store tables
© 2014 SAP AG. All rights reserved. 55
SAP HANA Table Administration
Other Table Administration Options
 Load into and unload from memory
Under normal circumstances, the SAP HANA database
manages the loading and unloading of tables into and
from memory independently – the aim being to keep all
relevant data in memory. However, you can manually
load and unload individual tables and table columns if
necessary.
 Perform manual delta merge
The delta merge operation is related to the memory
management concept of the column store, that is, the part
of the SAP HANA database that manages data organized
in columns in memory. You can trigger the delta merge
operation for a column table manually in the SAP HANA
studio, for example, if you need to free up memory.
SQL Console
© 2014 SAP AG. All rights reserved. 57
SQL Console
Executing SQL Statements in the SAP HANA Studio
Some tasks may require you to work with SQL statements,
for example, certain administration tasks can only be
performed using SQL.
You can enter, execute, and analyze SQL statements in the
SQL console.
There are several options available for customizing the
behavior of SQL statement execution in the SQL console.
From the main menu choose Window > Preferences > SQL.
© 2014 SAP AG. All rights reserved. 58
SQL Console
Query Analysis Features
The following functions for analyzing query
execution are available in the SQL console:
 Explain plan
 Visualize plan
Note: Visualize Plan is also available from the
context menu of the SQL Plan Cache and
Expensive Statements Trace sub-tabs of the
Performance tab.
© 2014 SAP AG. All rights reserved. 59
SQL Console
Plan Visualizer I
To help you understand and analyze the execution plan of an expensive statement or an SQL
statement further, you can generate a graphical view of its plan. A graphical representation of the
query, with estimated performance, is displayed. You can then validate the estimated performance
by choosing Execute in the context menu. Another similar high-level graphic is generated with
execution time information for each of the parts.
Visualized Plan Column PlanExecution
© 2014 SAP AG. All rights reserved. 60
SQL Console
Plan Visualizer II
Operator List for Plan Visualizer
 The Operator List lists detailed characteristics of all operators within a current plan (visualized + executed).
 It can be used to dynamically explore the operator set along user defined filters in order to pinpoint specific operators of
interest.
 For example you might:
– Filter all operators
consuming a certain
minimal CPU time
– Then order those
operators along the
number of input rows
– Further restrict the filter
to a specific operator
type (e.g. "Column
Search”)
– And then double-click on an operator of interest in order to check its positioning within a visualized plan
© 2014 SAP AG. All rights reserved. 61
How to find SAP HANA documentation on this topic?
SAP HANA Platform SPS
 What’s New – Release Notes
 Installation
– SAP HANA Server InstallationGuide
 Security
 Administration
– SAP HANA Administration Guide
 Development
– SAP HANA Developer Guide
 …
For more information about the administration and monitoring features of the SAP HANA studio introduced in this
presentation, see the SAP HANA Administration Guide, which you can access:
• Directly in the SAP HANA studio from the Help menu
• On SAP Help Portal knowledge center at http://help.sap.com/hana_platform.
• The knowledge center is structured according to the product lifecycle: installation, security, administration,
development. So you can find e.g. the SAP HANA Server Administration Guide
in the Administration section and so forth …
© 2014 SAP AG. All rights reserved. 62
© 2014 SAP AG. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG.
The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
National product specifications may vary.
These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and
SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in
the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other
countries.
Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

More Related Content

What's hot

SAP HANA SPS08 Administration & Monitoring
SAP HANA SPS08 Administration & MonitoringSAP HANA SPS08 Administration & Monitoring
SAP HANA SPS08 Administration & Monitoring
SAP Technology
 
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
SAP Technology
 
SAP HANA SPS09- Administration Monitoring
SAP HANA SPS09- Administration MonitoringSAP HANA SPS09- Administration Monitoring
SAP HANA SPS09- Administration Monitoring
SAP Technology
 
SAP HANA SPS09 - Security
SAP HANA SPS09 - SecuritySAP HANA SPS09 - Security
SAP HANA SPS09 - Security
SAP Technology
 
SAP HANA direct extractor:Data acquisition
SAP HANA direct extractor:Data acquisition SAP HANA direct extractor:Data acquisition
SAP HANA direct extractor:Data acquisition
Deepak Chaubey
 
HANA SPS07 Replication
HANA SPS07 ReplicationHANA SPS07 Replication
HANA SPS07 Replication
SAP Technology
 
What's new on SAP HANA Workload Management
What's new on SAP HANA Workload ManagementWhat's new on SAP HANA Workload Management
What's new on SAP HANA Workload Management
SAP Technology
 
SAP HANA SPS10- SAP HANA Development Tools
SAP HANA SPS10- SAP HANA Development ToolsSAP HANA SPS10- SAP HANA Development Tools
SAP HANA SPS10- SAP HANA Development Tools
SAP Technology
 
What's New in SAP HANA SPS 11 DB Control Center (Operations)
What's New in SAP HANA SPS 11 DB Control Center (Operations)What's New in SAP HANA SPS 11 DB Control Center (Operations)
What's New in SAP HANA SPS 11 DB Control Center (Operations)
SAP Technology
 
SAP HANA SPS09 - SAP HANA Workload Management
SAP HANA SPS09 - SAP HANA Workload ManagementSAP HANA SPS09 - SAP HANA Workload Management
SAP HANA SPS09 - SAP HANA Workload Management
SAP Technology
 
1310 success stories_and_lessons_learned_implementing_sap_hana_solutions
1310 success stories_and_lessons_learned_implementing_sap_hana_solutions1310 success stories_and_lessons_learned_implementing_sap_hana_solutions
1310 success stories_and_lessons_learned_implementing_sap_hana_solutions
Bobby Shah
 
SAP HANA for SAP Overview
SAP HANA for SAP OverviewSAP HANA for SAP Overview
SAP HANA for SAP Overview
Iliya Ruvinsky
 
What's New in SAP HANA View Modeling
What's New in SAP HANA View ModelingWhat's New in SAP HANA View Modeling
What's New in SAP HANA View Modeling
SAP Technology
 
What's New for SAP HANA Smart Data Integration & Smart Data Quality
What's New for SAP HANA Smart Data Integration & Smart Data QualityWhat's New for SAP HANA Smart Data Integration & Smart Data Quality
What's New for SAP HANA Smart Data Integration & Smart Data Quality
SAP Technology
 
97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP
97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP
97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP
GeneXus
 
What's new for SAP HANA SPS 11 Dynamic Tiering
What's new for SAP HANA SPS 11 Dynamic TieringWhat's new for SAP HANA SPS 11 Dynamic Tiering
What's new for SAP HANA SPS 11 Dynamic Tiering
SAP Technology
 
HANA SPS07 Smart Data Access
HANA SPS07 Smart Data AccessHANA SPS07 Smart Data Access
HANA SPS07 Smart Data Access
SAP Technology
 
Beginner's Guide: Programming with ABAP on HANA
Beginner's Guide: Programming with ABAP on HANABeginner's Guide: Programming with ABAP on HANA
Beginner's Guide: Programming with ABAP on HANA
Ashish Saxena
 
SAP HANA SPS08 Modeling
SAP HANA SPS08 ModelingSAP HANA SPS08 Modeling
SAP HANA SPS08 Modeling
SAP Technology
 

What's hot (20)

SAP HANA SPS08 Administration & Monitoring
SAP HANA SPS08 Administration & MonitoringSAP HANA SPS08 Administration & Monitoring
SAP HANA SPS08 Administration & Monitoring
 
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
 
SAP HANA SPS09- Administration Monitoring
SAP HANA SPS09- Administration MonitoringSAP HANA SPS09- Administration Monitoring
SAP HANA SPS09- Administration Monitoring
 
SAP HANA SPS09 - Security
SAP HANA SPS09 - SecuritySAP HANA SPS09 - Security
SAP HANA SPS09 - Security
 
SAP HANA direct extractor:Data acquisition
SAP HANA direct extractor:Data acquisition SAP HANA direct extractor:Data acquisition
SAP HANA direct extractor:Data acquisition
 
HANA SPS07 Replication
HANA SPS07 ReplicationHANA SPS07 Replication
HANA SPS07 Replication
 
What's new on SAP HANA Workload Management
What's new on SAP HANA Workload ManagementWhat's new on SAP HANA Workload Management
What's new on SAP HANA Workload Management
 
SAP HANA SPS10- SAP HANA Development Tools
SAP HANA SPS10- SAP HANA Development ToolsSAP HANA SPS10- SAP HANA Development Tools
SAP HANA SPS10- SAP HANA Development Tools
 
What's New in SAP HANA SPS 11 DB Control Center (Operations)
What's New in SAP HANA SPS 11 DB Control Center (Operations)What's New in SAP HANA SPS 11 DB Control Center (Operations)
What's New in SAP HANA SPS 11 DB Control Center (Operations)
 
SAP HANA SPS09 - SAP HANA Workload Management
SAP HANA SPS09 - SAP HANA Workload ManagementSAP HANA SPS09 - SAP HANA Workload Management
SAP HANA SPS09 - SAP HANA Workload Management
 
1310 success stories_and_lessons_learned_implementing_sap_hana_solutions
1310 success stories_and_lessons_learned_implementing_sap_hana_solutions1310 success stories_and_lessons_learned_implementing_sap_hana_solutions
1310 success stories_and_lessons_learned_implementing_sap_hana_solutions
 
SAP HANA for SAP Overview
SAP HANA for SAP OverviewSAP HANA for SAP Overview
SAP HANA for SAP Overview
 
SAP HANA Overview
SAP HANA OverviewSAP HANA Overview
SAP HANA Overview
 
What's New in SAP HANA View Modeling
What's New in SAP HANA View ModelingWhat's New in SAP HANA View Modeling
What's New in SAP HANA View Modeling
 
What's New for SAP HANA Smart Data Integration & Smart Data Quality
What's New for SAP HANA Smart Data Integration & Smart Data QualityWhat's New for SAP HANA Smart Data Integration & Smart Data Quality
What's New for SAP HANA Smart Data Integration & Smart Data Quality
 
97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP
97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP
97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP
 
What's new for SAP HANA SPS 11 Dynamic Tiering
What's new for SAP HANA SPS 11 Dynamic TieringWhat's new for SAP HANA SPS 11 Dynamic Tiering
What's new for SAP HANA SPS 11 Dynamic Tiering
 
HANA SPS07 Smart Data Access
HANA SPS07 Smart Data AccessHANA SPS07 Smart Data Access
HANA SPS07 Smart Data Access
 
Beginner's Guide: Programming with ABAP on HANA
Beginner's Guide: Programming with ABAP on HANABeginner's Guide: Programming with ABAP on HANA
Beginner's Guide: Programming with ABAP on HANA
 
SAP HANA SPS08 Modeling
SAP HANA SPS08 ModelingSAP HANA SPS08 Modeling
SAP HANA SPS08 Modeling
 

Viewers also liked

Digital Strategy, Simplicity through Complexity
Digital Strategy, Simplicity through ComplexityDigital Strategy, Simplicity through Complexity
Digital Strategy, Simplicity through Complexity
Insight Summit Series
 
Itg investor presentation_01june16
Itg investor presentation_01june16Itg investor presentation_01june16
Itg investor presentation_01june16
Investment_Tech_Group
 
Genre survey results
Genre survey resultsGenre survey results
Genre survey resultsHollieRackley
 
Evaluation question 6
Evaluation question 6Evaluation question 6
Evaluation question 6
TylaJayde
 
Normas apa
Normas apaNormas apa
Normas apa
Alfredo Loaiza
 
PPD SUBJECT
PPD SUBJECTPPD SUBJECT
PPD SUBJECT
Onlly Aisah
 
Music Research
Music Research Music Research
Music Research
Elliot Wheeler
 
Los números (1ª parte)
Los números (1ª parte)Los números (1ª parte)
Los números (1ª parte)
Fatyco
 
Borsedistudio
BorsedistudioBorsedistudio
Borsedistudio
Luca Gregoli
 
Age certificate presentation
Age certificate presentationAge certificate presentation
Age certificate presentation
Elliot Wheeler
 
TAUS Conference - Portland 2013
TAUS Conference - Portland 2013TAUS Conference - Portland 2013
TAUS Conference - Portland 2013
Michael Meinhardt
 
Media evaluation question 1
Media evaluation question 1Media evaluation question 1
Media evaluation question 1Kieran Byrne
 
Cloudwords Perspectives - A book for the global marketing professional
Cloudwords Perspectives - A book for the global marketing professionalCloudwords Perspectives - A book for the global marketing professional
Cloudwords Perspectives - A book for the global marketing professional
Michael Meinhardt
 
Unit 13 – task 4 evaluation
Unit 13 – task 4   evaluationUnit 13 – task 4   evaluation
Unit 13 – task 4 evaluationRyan Hawkins
 
Letter sound- key word quiz one
Letter  sound- key word quiz oneLetter  sound- key word quiz one
Letter sound- key word quiz oneCristy Love
 
Langkah Membuat Setting Permalink WordPress
Langkah Membuat Setting Permalink WordPressLangkah Membuat Setting Permalink WordPress
Langkah Membuat Setting Permalink WordPress
Zelot
 

Viewers also liked (20)

Digital Strategy, Simplicity through Complexity
Digital Strategy, Simplicity through ComplexityDigital Strategy, Simplicity through Complexity
Digital Strategy, Simplicity through Complexity
 
VenmoPlus0708
VenmoPlus0708VenmoPlus0708
VenmoPlus0708
 
Itg investor presentation_01june16
Itg investor presentation_01june16Itg investor presentation_01june16
Itg investor presentation_01june16
 
Genre survey results
Genre survey resultsGenre survey results
Genre survey results
 
Comparation
ComparationComparation
Comparation
 
Per ricky
Per rickyPer ricky
Per ricky
 
Evaluation question 6
Evaluation question 6Evaluation question 6
Evaluation question 6
 
Normas apa
Normas apaNormas apa
Normas apa
 
PPD SUBJECT
PPD SUBJECTPPD SUBJECT
PPD SUBJECT
 
Music Research
Music Research Music Research
Music Research
 
question 2
question 2question 2
question 2
 
Los números (1ª parte)
Los números (1ª parte)Los números (1ª parte)
Los números (1ª parte)
 
Borsedistudio
BorsedistudioBorsedistudio
Borsedistudio
 
Age certificate presentation
Age certificate presentationAge certificate presentation
Age certificate presentation
 
TAUS Conference - Portland 2013
TAUS Conference - Portland 2013TAUS Conference - Portland 2013
TAUS Conference - Portland 2013
 
Media evaluation question 1
Media evaluation question 1Media evaluation question 1
Media evaluation question 1
 
Cloudwords Perspectives - A book for the global marketing professional
Cloudwords Perspectives - A book for the global marketing professionalCloudwords Perspectives - A book for the global marketing professional
Cloudwords Perspectives - A book for the global marketing professional
 
Unit 13 – task 4 evaluation
Unit 13 – task 4   evaluationUnit 13 – task 4   evaluation
Unit 13 – task 4 evaluation
 
Letter sound- key word quiz one
Letter  sound- key word quiz oneLetter  sound- key word quiz one
Letter sound- key word quiz one
 
Langkah Membuat Setting Permalink WordPress
Langkah Membuat Setting Permalink WordPressLangkah Membuat Setting Permalink WordPress
Langkah Membuat Setting Permalink WordPress
 

Similar to Hana e2 e_adminmonitoring_sps08

HANA SPS07 Administration & Monitoring
HANA SPS07 Administration & MonitoringHANA SPS07 Administration & Monitoring
HANA SPS07 Administration & Monitoring
SAP Technology
 
Sap hana studio administration console
Sap hana studio administration consoleSap hana studio administration console
Sap hana studio administration console
Ducat
 
HANA SPS07 Security
HANA SPS07 Security HANA SPS07 Security
HANA SPS07 Security
SAP Technology
 
SAP HANA SPS09 - Backup and Recovery
SAP HANA SPS09 - Backup and RecoverySAP HANA SPS09 - Backup and Recovery
SAP HANA SPS09 - Backup and Recovery
SAP Technology
 
SAP ADMINISTRATION
SAP ADMINISTRATIONSAP ADMINISTRATION
SAP ADMINISTRATION
Aly Adel
 
SAP HANA SPS08 Security
SAP HANA SPS08 SecuritySAP HANA SPS08 Security
SAP HANA SPS08 Security
SAP Technology
 
Ha100 unit 3 hana architecture sp08
Ha100 unit 3 hana architecture sp08Ha100 unit 3 hana architecture sp08
Ha100 unit 3 hana architecture sp08
Duskydope Rao
 
SAP_SLT_Guide_21122015.pdf
SAP_SLT_Guide_21122015.pdfSAP_SLT_Guide_21122015.pdf
SAP_SLT_Guide_21122015.pdf
ssuser17886a
 
SAP HANA SPS08 Scale-Out, High Availability and Disaster Recovery
SAP HANA SPS08 Scale-Out, High Availability and Disaster RecoverySAP HANA SPS08 Scale-Out, High Availability and Disaster Recovery
SAP HANA SPS08 Scale-Out, High Availability and Disaster Recovery
SAP Technology
 
SAP HANA SPS10- Backup/Recovery
SAP HANA SPS10- Backup/RecoverySAP HANA SPS10- Backup/Recovery
SAP HANA SPS10- Backup/Recovery
SAP Technology
 
SAP_HANA_SECURITY_overview_online_Resear.docx
SAP_HANA_SECURITY_overview_online_Resear.docxSAP_HANA_SECURITY_overview_online_Resear.docx
SAP_HANA_SECURITY_overview_online_Resear.docx
juancusa
 
Sap basis made_easy321761331053730
Sap basis made_easy321761331053730Sap basis made_easy321761331053730
Sap basis made_easy321761331053730
K Hari Shankar
 
System recommendations-in-sap-solution-manager-7.2
System recommendations-in-sap-solution-manager-7.2System recommendations-in-sap-solution-manager-7.2
System recommendations-in-sap-solution-manager-7.2
Juan Carlos Flores Lizárraga
 
What's New in SAP HANA SPS 11 Backup and Recovery (Operations)
What's New in SAP HANA SPS 11 Backup and Recovery (Operations)What's New in SAP HANA SPS 11 Backup and Recovery (Operations)
What's New in SAP HANA SPS 11 Backup and Recovery (Operations)
SAP Technology
 
00- SAP-BASIS-EPSS-EN.pptx
00- SAP-BASIS-EPSS-EN.pptx00- SAP-BASIS-EPSS-EN.pptx
00- SAP-BASIS-EPSS-EN.pptx
AhmedSeid38
 
Sap memory management ,workload and performance analysis.pptx
Sap memory management ,workload and performance analysis.pptxSap memory management ,workload and performance analysis.pptx
Sap memory management ,workload and performance analysis.pptx
sweta prakash sahoo
 
What is sap hana
What is sap hanaWhat is sap hana
What is sap hana
i Mark
 
sap-private-cloud-user-metering-guideline.pdf
sap-private-cloud-user-metering-guideline.pdfsap-private-cloud-user-metering-guideline.pdf
sap-private-cloud-user-metering-guideline.pdf
petbill936
 
SAP Basis CCMS
SAP Basis CCMSSAP Basis CCMS
SAP Basis CCMS
Vineeth Ponugoti
 
SAP HANA SPS10- SAP HANA Platform Lifecycle Management
SAP HANA SPS10- SAP HANA Platform Lifecycle ManagementSAP HANA SPS10- SAP HANA Platform Lifecycle Management
SAP HANA SPS10- SAP HANA Platform Lifecycle Management
SAP Technology
 

Similar to Hana e2 e_adminmonitoring_sps08 (20)

HANA SPS07 Administration & Monitoring
HANA SPS07 Administration & MonitoringHANA SPS07 Administration & Monitoring
HANA SPS07 Administration & Monitoring
 
Sap hana studio administration console
Sap hana studio administration consoleSap hana studio administration console
Sap hana studio administration console
 
HANA SPS07 Security
HANA SPS07 Security HANA SPS07 Security
HANA SPS07 Security
 
SAP HANA SPS09 - Backup and Recovery
SAP HANA SPS09 - Backup and RecoverySAP HANA SPS09 - Backup and Recovery
SAP HANA SPS09 - Backup and Recovery
 
SAP ADMINISTRATION
SAP ADMINISTRATIONSAP ADMINISTRATION
SAP ADMINISTRATION
 
SAP HANA SPS08 Security
SAP HANA SPS08 SecuritySAP HANA SPS08 Security
SAP HANA SPS08 Security
 
Ha100 unit 3 hana architecture sp08
Ha100 unit 3 hana architecture sp08Ha100 unit 3 hana architecture sp08
Ha100 unit 3 hana architecture sp08
 
SAP_SLT_Guide_21122015.pdf
SAP_SLT_Guide_21122015.pdfSAP_SLT_Guide_21122015.pdf
SAP_SLT_Guide_21122015.pdf
 
SAP HANA SPS08 Scale-Out, High Availability and Disaster Recovery
SAP HANA SPS08 Scale-Out, High Availability and Disaster RecoverySAP HANA SPS08 Scale-Out, High Availability and Disaster Recovery
SAP HANA SPS08 Scale-Out, High Availability and Disaster Recovery
 
SAP HANA SPS10- Backup/Recovery
SAP HANA SPS10- Backup/RecoverySAP HANA SPS10- Backup/Recovery
SAP HANA SPS10- Backup/Recovery
 
SAP_HANA_SECURITY_overview_online_Resear.docx
SAP_HANA_SECURITY_overview_online_Resear.docxSAP_HANA_SECURITY_overview_online_Resear.docx
SAP_HANA_SECURITY_overview_online_Resear.docx
 
Sap basis made_easy321761331053730
Sap basis made_easy321761331053730Sap basis made_easy321761331053730
Sap basis made_easy321761331053730
 
System recommendations-in-sap-solution-manager-7.2
System recommendations-in-sap-solution-manager-7.2System recommendations-in-sap-solution-manager-7.2
System recommendations-in-sap-solution-manager-7.2
 
What's New in SAP HANA SPS 11 Backup and Recovery (Operations)
What's New in SAP HANA SPS 11 Backup and Recovery (Operations)What's New in SAP HANA SPS 11 Backup and Recovery (Operations)
What's New in SAP HANA SPS 11 Backup and Recovery (Operations)
 
00- SAP-BASIS-EPSS-EN.pptx
00- SAP-BASIS-EPSS-EN.pptx00- SAP-BASIS-EPSS-EN.pptx
00- SAP-BASIS-EPSS-EN.pptx
 
Sap memory management ,workload and performance analysis.pptx
Sap memory management ,workload and performance analysis.pptxSap memory management ,workload and performance analysis.pptx
Sap memory management ,workload and performance analysis.pptx
 
What is sap hana
What is sap hanaWhat is sap hana
What is sap hana
 
sap-private-cloud-user-metering-guideline.pdf
sap-private-cloud-user-metering-guideline.pdfsap-private-cloud-user-metering-guideline.pdf
sap-private-cloud-user-metering-guideline.pdf
 
SAP Basis CCMS
SAP Basis CCMSSAP Basis CCMS
SAP Basis CCMS
 
SAP HANA SPS10- SAP HANA Platform Lifecycle Management
SAP HANA SPS10- SAP HANA Platform Lifecycle ManagementSAP HANA SPS10- SAP HANA Platform Lifecycle Management
SAP HANA SPS10- SAP HANA Platform Lifecycle Management
 

Recently uploaded

一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单
enxupq
 
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
u86oixdj
 
Machine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptxMachine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptx
balafet
 
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
slg6lamcq
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
ewymefz
 
一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单
ocavb
 
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
nscud
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
NABLAS株式会社
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Boston Institute of Analytics
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
haila53
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
jerlynmaetalle
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Subhajit Sahu
 
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
v3tuleee
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Subhajit Sahu
 
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdfSample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Linda486226
 
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
AbhimanyuSinha9
 
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
Tiktokethiodaily
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
axoqas
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
axoqas
 

Recently uploaded (20)

一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单
 
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
 
Machine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptxMachine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptx
 
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
 
一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单
 
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
 
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
 
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdfSample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
 
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
 
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
 

Hana e2 e_adminmonitoring_sps08

  • 1. SAP HANA SPS 08 Administration and Monitoring May 2014
  • 2. © 2014 SAP AG. All rights reserved. 2 Agenda • Introduction to the SAP HANA Studio • The Administration Console of the SAP HANA Studio • The SAP HANA Systems View • The Monitoring Dashboard • The Memory Overview • The Resource Utilization • The Administration Editor • Diagnosis Mode • Overview • Landscape • Alerts • Performance • Volumes • Configuration • System Information • Diagnosis Files • Trace Configuration • SAP HANA Table Administration • The SQL Console • More Information
  • 3. Introduction to the SAP HANA Studio
  • 4. © 2014 SAP AG. All rights reserved. 4 Introduction to the SAP HANA Studio The Administration Tool for SAP HANA The SAP HANA studio runs on the Eclipse platform and is both the central development environment and the main administration tool for SAP HANA. Administrators can use the SAP HANA studio, for example, to start and stop services, to monitor the system, to configure system settings, and to manage users and authorizations. The SAP HANA studio accesses the servers of the SAP HANA database by SQL. The SAP HANA studio presents its various tools in the form of perspectives. Database administration and monitoring features are contained primarily within the Administration Console perspective. The SAP HANA studio program accepts command line parameters that allow you to specify the system to be connected to immediately on startup.
  • 5. © 2014 SAP AG. All rights reserved. 5 Introduction to the SAP HANA Studio Screen Areas of the Administration Console 1. SAP HANA Systems view 2. Editor area, for example:  Administration editor  SQL console  Table editor 3. Other views, for example:  Error Log  Properties  Progress 1 2 3
  • 6. The Administration Console of the SAP HANA Studio
  • 7. © 2014 SAP AG. All rights reserved. 7 Administration Console SAP HANA Systems View The SAP HANA Systems view provides you with a hierarchical view of all the SAP HANA systems managed in the SAP HANA studio and their contents (database catalog, users, roles). This view allows you to see the status of your systems at glance. It is also the central access point for performing system-specific administration and monitoring activities. From the context menu of the SAP HANA Systems view, you can access a range of both system-specific and object-specific functions, for example:  Add system  Log On to / Log Off from system  Stop, start, restart system  Open system properties  Back up and recover the system  Import and export catalog objects  Open SQL console  Find table  Open table definition
  • 8. © 2014 SAP AG. All rights reserved. 8 Administration Console System Usage Type Display of System Usage Type  You can configure the usage type of an SAP HANA system (for example, production, development) during installation with the system_usage parameter or later by changing the system properties.  SAP HANA studio evaluates this parameter to warn users when they are about to perform critical operations on systems with usage type production (for example, execute SQL statements, stop or restart the system, perform a data backup, and so on)  This does not prevent data manipulation in productive systems, however it keeps reminding you to be careful
  • 9. © 2014 SAP AG. All rights reserved. 9 Enabled user log on, log off, and system delete functionality with automatic log off system functionality The user can log off actively from a SAP HANA system via the context menu. Every connection (JDBC/HTTP) is closed after the user executes the Log Off on a selected system (1). If no connection is established the context menu provides the possibility to log on to a system or to delete it (2). The start-up behavior of the SAP HANA Studio can be configured. Under Windows > Preferences the user can decide to restore the logged-on/logged-off status of systems on startup (3). SAP HANA Systems View SAP HANA System Log on and Log off 1 2 3
  • 10. © 2014 SAP AG. All rights reserved. 10 Allow users to connect efficiently to multiple SAP HANA systems A centrally-stored archive of SAP HANA systems is an efficient way to deploy system information to all users of the SAP HANA studio. It avoids users having to obtain the connection details of all systems individually and then having to add them all individually.  One user can manage the list of all systems in a centrally-accessible archive (via File > export > SAP HANA > landscape)  Other users can then simply link to this archive (read-only mode) 1. In the context menu of the SAP HANA Systems view, choose Add System Archive Link. SAP HANA Systems View Linking a centrally-stored archive of SAP HANA Systems 2. Specify the link details: a) Link name b) Path to the system archive containing the system information c) Optional: A folder in the SAP HANA Systems view 3. Choose Finish. 1 2 3 a) b) c)
  • 11. © 2014 SAP AG. All rights reserved. 11 SAP HANA Systems View Monitoring Dashboard SAPUI5 Based Monitoring Dashboard  The web-browser-based dashboard visualizes key aspects of system health and configuration, for example: – Current high and medium priority alerts – Memory and CPU usage – Availability of data backups  Drill down to views containing more detailed information  Role sap.hana.admin.roles::Monitoring is required, which is not granted by default to the standard MONITORING role
  • 12. © 2014 SAP AG. All rights reserved. 12 SAP HANA Systems View Memory Overview It provides a detailed graphical breakdown of the following main categories of memory usage:  Physical memory  SAP HANA database  Table data  Database management Other information regarding the current size of used resources can be seen on the Overview tab of the Administration editor and on the Monitoring Dashboard. The Memory Overview editor is available in the context menu of the Systems view.
  • 13. © 2014 SAP AG. All rights reserved. 13 SAP HANA Systems View Resource Utilization The Resource Utilization editor enables you to visualize and explore the usage history of the following key system resources:  CPU  Memory  Disk The editor can help to analyze bottlenecks, identify patterns, and forecast requirements. The editor can be opened via the context- menu on the specific SAP HANA system.
  • 14. © 2014 SAP AG. All rights reserved. 14 Administration Console Administration Editor The Administration editor is available in the Administration Console perspective and is the main tool for performing administration and monitoring activities. You can open the Administration editor for a system by simply double- clicking the system in the SAP HANA Systems view. The functions of the Administration editor are available across several tabs.
  • 15. © 2014 SAP AG. All rights reserved. 15 Administration Editor Diagnosis Mode Emergency Support Mode  SAP HANA studio collects information about systems using SQL  When a system cannot be reached by SQL or it is experiencing major performance issues due to high load or blocking situations, information can instead be collected using the connection of the SAP start service (sapstartsrv).  The Administration editor diagnosis mode provides access to: – The operational status of all services in the system – Log and trace files – The collection of diagnosis information into a zip file – All connections, transactions, blocked transactions, and threads in the system  If necessary, you can cancel individual connections and transactions, or even cancel all transactions.  Note: To open the Administration editor in diagnosis mode you need the credentials of the operating system user <sid>adm. HANA sapstartsrv python Indexserver hdbcons
  • 16. © 2014 SAP AG. All rights reserved. 16 Administration Editor Overview Tab The Overview tab provides you with the most important information about a system at a glance:  System status  General system information  Current alerts  Memory usage  CPU usage  Disk usage From the Overview tab, you can navigate to more detailed information.
  • 17. © 2014 SAP AG. All rights reserved. 17 Administration Editor Landscape > Services Tab The Landscape tab contains several sub-tabs. The Services sub-tab provides you with:  A list of all services (nameserver, indexserver, preprocessor,…), their status, and detailed resource consumption  A context menu with functions including:  Stop, kill, reconfigure service  Reset memory statistics  Open Memory Allocation Statistics
  • 18. © 2014 SAP AG. All rights reserved. 18 Administration Editor Landscape > Services Tab > Memory Allocation Statistics I The new Memory Allocation Statistics editor enables you to visualize and explore the memory allocation of every service.  In the Administration editor, choose the Landscape -> Services tab. Right-click the service whose allocation history you want to investigate and choose Open Memory Allocation Statistics The following information is displayed in screen areas identified above: 1. The components of the selected service listed in descending order of current used memory (default) 2. Current breakdown of SAP HANA used memory displayed as a pie chart 3. Subcomponents of the selected component listed in descending order of current used inclusive memory (default) 4. Current breakdown of memory usage of the 10 highest consuming subcomponents displayed as a pie chart 1 2 3 4
  • 19. © 2014 SAP AG. All rights reserved. 19 Administration Editor Landscape > Services Tab > Memory Allocation Statistics II Analyze the used memory history of the component and its allocators by enabling the history graph (Show Graph) and exploring the data. Several options are available, for example:  To change the visualized time period, adjust the From/To values.  To visualize the memory usage of individual allocators over the same time period as the selected component, simply select them in the allocators table.  To see time-specific values, move the mouse over the graph.  To see the visualized values in table format, choose Show history data in a table
  • 20. © 2014 SAP AG. All rights reserved. 20 Administration Editor Landscape > Hosts Tab The Hosts sub-tab provides you with:  An overview of all the hosts in a distributed system  Detailed information about the auto-failover status and configuration of hosts  Host re-configuration options  Option to remove a host from the system
  • 21. © 2014 SAP AG. All rights reserved. 21 Administration Editor Landscape > Redistribution Tab In a distributed system, tables and table partitions are assigned to an index server on a particular host at their time of creation, but this assignment can be changed. In certain situations, it is even necessary. SAP HANA supports several “redistribution operations” that use complex algorithms to evaluate the current distribution and determine a better distribution depending on the situation. The Redistribution sub-tab allows you to execute redistribution operations if you need to:  Redistribute data before removing a host from the system  Redistribute data after adding a new host to the system  Optimize current table distribution  Optimize table partitioning Note: It is always recommended that you save the current distribution before executing a table redistribution operation in case you need to restore it.
  • 22. © 2014 SAP AG. All rights reserved. 22 Administration Editor Landscape > System Replication Tab I System replication is a mechanism for ensuring the high availability of an SAP HANA system. Through the continuous replication of data from a primary to a secondary system, including in-memory loading, system replication facilitates rapid failover in the event of a disaster. Productive operations can be resumed with minimal downtime. On the System Replication sub-tab, you can:  Perform the initial set-up, that is enable system replication and establish the connection between two identical systems.  Monitor the status of system replication to ensure that both systems are in sync.  Trigger failover to the secondary system in the event of a disaster and failback once the primary system is available again.
  • 23. © 2014 SAP AG. All rights reserved. 23 Administration Editor Landscape > System Replication Tab II
  • 24. © 2014 SAP AG. All rights reserved. 24 Administration Editor Landscape > System Replication Tab III Extended system replication configuration  To offer higher levels of availability you can link together multiple systems in a multitier system replication landscape.  After setting up a basic system replication scenario you add a third system to provide another level of redundancy.  In a multitier setup the primary system is always on tier 1, a tier 2 secondary has a primary system as its replication source and a tier 3 secondary has the tier 2 secondary as its replication source.  The tier 3 secondary can now also be added using SAP HANA studio.  On each node only those actions are provided, which are currently possible – depending on the system status.
  • 25. © 2014 SAP AG. All rights reserved. 25 Administration Editor Alerts Tab I As one of the main components of the monitoring infrastructure of the SAP HANA database, the statistics service performs regular checks and issues an alert when an alert condition is fulfilled. The priority of the alert indicates the severity of the problem and depends on the nature of the check and configured threshold values. For example, if 90% of available disk space is used, a low priority alert is issued; if 98% is used, a high priority alert is issued. The summary header on the Alerts tab shows the total number of current alerts by priority and the corresponding list of alerts
  • 26. © 2014 SAP AG. All rights reserved. 26 Administration Editor Alerts Tab II The Alerts sub-tab provides you with: • An overview of: • All current unresolved alerts (default view) • Alerts sorted by time period (last 15, 30, 60, and 120 minutes, today, yesterday, last week) • Detailed information about individual alerts • Alert filtering options by: • Specific word • Priority • Check ID • Time frame • Configuration options for: • E-mail notification • Alert thresholds • Check start times
  • 27. © 2014 SAP AG. All rights reserved. 27 Statistics Service New implementation design as of SAP HANA SPS 07 The new statistics service design leads to performance and flexibility improvements The statistics server is the component of the SAP HANA database that provides internal monitoring functions. It continuously collects information about system status, performance, and resource usage, and issues alerts in the event of problems. As of SPS 07, it is possible to switch to a new mechanism whereby data collection and alerting are implemented through the execution of SQLScript procedures. This has the following advantages:  The statistics server component is no longer required. By replacing the statistics server with internal procedure calls, overall system performance is improved with reduced disk usage, memory usage, and data transfer.  The statisticsserver.ini properties file is no longer required to contain all configuration information relating to data collection and alerting. Instead this information is contained in new tables in the _SYS_STATISTICS schema. This increases the overall flexibility with which data collection and alerting can be configured. For example, data collectors and checks can be scheduled more flexibly, new collectors and checks can be added more easily, and data collectors and checks can be deactivated.  For more information about how to migrate to the new mechanism after an upgrade, see SAP Note 1917938
  • 28. © 2014 SAP AG. All rights reserved. 28 Administration Editor Performance Tab You can monitor the following detailed aspects of system performance on the Performance tab: • Threads • Sessions* • Blocked transactions • Expensive statements* • SQL plan cache* • Job progress* • Load *The information displayed on these sub-tabs of the Performance tab is detailed and highly customizable. To support administrators performing complex analyses, user-specific column and filter settings are saved when the Administration editor is closed. These settings are restored the next time the tab is opened, independent of system.
  • 29. © 2014 SAP AG. All rights reserved. 29 Administration Editor Performance > Threads Tab I The Threads sub-tab allows you to monitor all running threads in your system. It may be useful to see, for example, how long a thread is running, if a thread is blocked for an inexplicable length of time. On the Threads sub-tab: • Transactionally blocked threads are identified with a warning icon • The Group and sort filter provides a meaningful and clear structure for thread analysis: • Threads with the same connection ID are grouped. • Within each group, the call hierarchy is depicted. • Groups are displayed in order of descending duration.
  • 30. © 2014 SAP AG. All rights reserved. 30 Administration Editor Performance > Threads Tab II On the Threads sub-tab, you can also perform the following actions: • End the operations associated with a thread • See the full details of a thread • Jump to the related calling and called threads, session or blocked transaction of a thread by right-clicking the thread • View the call stack for a specific thread • Configure the SQL, performance or expensive statement trace
  • 31. © 2014 SAP AG. All rights reserved. 31 Administration Editor Performance > Sessions Tab The Sessions sub-tab allows you to monitor all sessions in the current landscape: • Active/inactive sessions and their relation to applications • Whether a session is blocked and if so which session is blocking • The number of transactions that are blocked by a blocking session • Statistics like average query runtime and the number of DML and DDL statements in a session You can also cancel sessions.
  • 32. © 2014 SAP AG. All rights reserved. 32 Administration Editor Performance > Blocked Transactions Tab If there are blocking situations (indicated on the Threads sub-tab), you can see another representation of the information about blocked and blocking transactions on the Blocked Transactions sub-tab. Sort by transaction ID to see the relationship between the two views better.
  • 33. © 2014 SAP AG. All rights reserved. 33 Administration Editor Performance > Threads, Sessions and Blocked Transactions Tab I Easy navigation between the editors: Threads, Sessions, and Blocked Transaction  As of SPS07 it is possible to navigate between Performance Threads, Sessions and Blocked Transaction view by using the connection ID. This functionality is reachable from the context menu from the view under Navigate To.  In the threads view it is possible to navigate from/to callee/caller by using the thread ID.  In the Sessions view it is possible to navigate to the connection which is blocking the selected connection.  The application information (name and user) which is available in the performance threads, sessions and blocked transaction view can also be used to open a pre-configured dialog for SQL, performance and expensive statement trace.
  • 34. © 2014 SAP AG. All rights reserved. 34 Administration Editor Performance > Threads, Sessions and Blocked Transactions Tab II Filter to hide idle sessions, as well as sessions originating in the Administration editor or other applications in the SAP HANA studio  As of SAP HANA SPS 07 it is possible to hide different session types from the Performance > Threads, Sessions and Blocked Transaction view. Each option can be selected in the drop down menu Hide Sessions.  If an option is selected a new SQL statement is executed to display only the filtered rows. This filter is not only operating on display level. When an option is selected, the database is queried again for the relevant sessions.
  • 35. © 2014 SAP AG. All rights reserved. 35 Administration Editor Performance > SQL Plan Cache Tab I You can use the SQL plan cache to get an insight into the workload in the system as it lists frequently executed queries. Technically, the plan cache stores compiled execution plans of SQL statements for reuse, which gives a performance advantage over recompilation at each invocation. For monitoring reasons, the plan cache keeps statistics about each plan, for instance number of executions, min/max/total/average runtime, and lock/wait statistics. Analyzing the plan cache is very helpful as one of the first steps in performance analysis because it gives an overview about what statements are executed in the system. Note: Due to the nature of a cache, seldom used entries will be evicted from the plan cache. You can view the SQL plan cache on the SQL Plan Cache sub-tab.
  • 36. © 2014 SAP AG. All rights reserved. 36 Administration Editor Performance > SQL Plan Cache Tab II Plan Cache: Keep Set of Parameters  The parameter set of a prepared statement is stored in monitoring view M_SQL_PLAN_CACHE_PARAMETERS to allow for the easy re-execution of a specific query: – First parameter set is stored when the total execution time of the statement is greater than parameter plan_cache_parameter_sum_threshold (default 1000ms). – Afterwards, the parameter values will be updated if the statement’s single execution time is greater than parameter plan_cache_parameter_threshold (default 100ms) and its last captured execution time.  Parameters to enable this feature: – plan_cache_parameter_enabled: Activate/deactivate capture of parameter values of prepared statements – plan_cache_parameter_for_lob_enabled: Activate/ deactivate capture of BLOB/CLOB/NCLOB parameter values.  In the Admin editor of SAP HANA Studio on tab Performance -> SQL Plan Cache the stored parameter set is used when you choose “Visualize Plan” or “Prepare in SQL Console”
  • 37. © 2014 SAP AG. All rights reserved. 37 Administration Editor Performance > Expensive Statements Trace Tab I Expensive statements are individual SQL queries whose execution time was above a configured threshold. Expensive statements may reduce the performance of the database. The expensive statements trace records information about these statements for further analysis and displays them on the Expensive Statements Trace sub-tab.  You can configure for which user, table/view or application statements should get recorded.  You can navigate between the Expensive Statements Trace and the SQL Plan Cache, displaying a specific statement in the other view using the context menu option Navigate To
  • 38. © 2014 SAP AG. All rights reserved. 38 Administration Editor Performance > Expensive Statements Trace Tab II Statement Memory Tracking and Statement Memory Limitation: Avoid Uncontrolled Statement Memory Allocation  The peak memory consumption of a statement can be tracked und displayed in Expensive Statements.  Resource consumption collection has to be enabled manually: – Configuration file global.ini, parameters enable_tracking and memory_tracking  Additionally the HANA administrator is able to define a global statement memory limit in the database: – Configuration file global.ini, parameter statement_memory_limit  If a statement exceeds the memory limit, it will be cancelled
  • 39. © 2014 SAP AG. All rights reserved. 39 Administration Editor Performance > Job Progress Tab Certain operations typically run for a long time and may consume a considerable amount of resources, for example, delta merge operations, data compression, and delta log replays. You can monitor the progress of these long-running transactions on the Job Progress sub-tab. You can determine whether or not they are responsible for current high load, see how far along they are, and when they will finish. The following information is available, for example:  Connection that triggered the operation  Start time of the operation  Steps of the operation that have already finished (CURRENT_PROGRESS)  Maximum number of steps in the operation (MAX_PROGRESS)
  • 40. © 2014 SAP AG. All rights reserved. 40 Administration Editor Performance > Load Tab The Load sub-tab provides you with a graphical display of current performance, for example:  CPU usage  Memory consumption  Table unloads You can compare the performance of different hosts.
  • 41. © 2014 SAP AG. All rights reserved. 41 Administration Editor Volumes Tab To ensure that the database can always be restored to its most recent committed state, you must ensure that there is enough space on disk for data and log volumes. On the Volumes tab, you can monitor:  Disk usage  Volume size  Other disk activity statistics There are two views available for monitoring the size of volumes on disk: service and storage type. You can also filter by host.
  • 42. © 2014 SAP AG. All rights reserved. 42 Administration Editor Configuration Tab The properties of an SAP HANA system are defined in the parameters of its configuration files. Configuration files are separated into sections; sections bundle parameters of the same category. You can view and modify system properties on the Configuration tab. hostxxx
  • 43. © 2014 SAP AG. All rights reserved. 43 Administration Editor System Information Tab The System Information tab lists several predefined SQL SELECT statements on system views. These statements provide you with easy access to important system information.  If you have compiled your own SQL statements for monitoring purposes, you can save these statements on the System Information tab for convenient repeated execution  Alternatively, you can import multiple statements as text or ZIP archive files  To organize large numbers of statements meaningfully, you can define a folder structure.  Predefined statements are stored in the System folder.
  • 44. © 2014 SAP AG. All rights reserved. 44 Administration Editor Diagnosis Files Tab I Diagnosis files include log and trace files, as well as a mixture of other diagnosis, error, and information files. In the event of problems with the SAP HANA database, you can check these diagnosis files for errors. On the Diagnosis Files tab, you can:  Filter the list of diagnosis files (by keyword, host)  Display individual files  Review multiple files at the same time using the “Merge Diagnosis Files” function  Delete files  Download files  Collect and download diagnosis information
  • 45. © 2014 SAP AG. All rights reserved. 45 Administration Editor Diagnosis Files Tab II Runtime Environment Dump File Collection  To analyze issues e.g. if the system is unresponsive, RTE dump files can be created  On the Diagnosis Files tab, choose Diagnosis Information -> Collect…  You can specify: – From which index server(s) RTE dump files are to be collected – The number of RTE dump file sets to be collected – The interval (in minutes) at which RTE dump files are to be collected  For each specified 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.
  • 46. © 2014 SAP AG. All rights reserved. 46 Administration Editor Trace Configuration Tab I You can configure the following traces on the Trace Configuration tab. Different configuration options are available for each trace.  Database trace (including user-specific and end-to-end database traces) The database trace records information about activity in the components of the SAP HANA database. You can use this information to analyze performance and to diagnose and debug errors. Each service of the SAP HANA database writes to its own trace file. By default, the database trace is active with default trace level ERROR.  SQL trace The SQL trace collects information about all executed SQL statements and saves it as an executable python program. This is good for recording a scenario. By default, the SQL trace is inactive.  Expensive statements trace Expensive statements are individual SQL queries whose execution time was above a configured threshold. The expensive statements trace records information about these statements for further analysis. By default, the expensive statements trace is inactive.
  • 47. © 2014 SAP AG. All rights reserved. 47 Administration Editor Trace Configuration Tab II  Performance trace The performance trace is a performance tracing tool built into the SAP HANA database. It records performance indicators for individual query processing steps in the database kernel. By default, the performance trace is inactive.  Kernel profiler The kernel profiler is a sampling profiler built into the SAP HANA database. It collects, for example, information about frequent and/or expensive execution paths during query processing. By default, the kernel profiler is inactive. Note: You cannot analyze the files generated by the performance trace and the kernel profiler meaningfully in the SAP HANA studio, but instead must use a tool capable of reading the respective output format. SAP Support has tools for evaluating these traces.  Planning engine trace If the planning engine trace is enabled, the system records information that allows the data sources used in the planning activities to be identified and the same activities to be re-run. Note: To keep the Trace Configuration tab as simple as possible, this trace section is not available by default but must be activated manually, if the corresponding database feature is used. Parameter enable_export_wizard in section planningengine of file indexserver.ini has to be set to true, to make the Planning Engine Trace section available on the Trace Configuration tab.
  • 48. © 2014 SAP AG. All rights reserved. 48 Administration Editor Trace Configuration Tab III
  • 49. SAP HANA Table Administration
  • 50. © 2014 SAP AG. All rights reserved. 50 SAP HANA Table Administration Table Editor Some monitoring and problem analysis may require you to examine individual tables, for example, the many system views provided by the SAP HANA database. You can open tables and views in different ways. Several viewing options are available depending on what you want to do:  Table definition The table definition view provides you with information about the table's structure and properties (for example, schema, type, column properties, and indexes). Detailed information relating to the table's memory usage and size is available on the Runtime Information sub-tab.  Table content Opening a table's content executes a SELECT statement on the table. The result set shows the actual records in the table.  Data preview Opening the data preview of a table allows you to analyze the content of the table in different ways. Similarly to the table content view, this is particularly useful for analyzing system views.
  • 51. © 2014 SAP AG. All rights reserved. 51 SAP HANA Table Administration Opening the Table Definition
  • 52. © 2014 SAP AG. All rights reserved. 52 SAP HANA Table Administration Table Distribution Editor I To support the analysis and monitoring of performance issues in a distributed SAP HANA system, a table distribution editor is available in which you can see how tables and table partitions are distributed across the hosts. Detailed information about tables/partitions (for example, memory usage and size) is also available. You access the Table Distribution editor from the SAP HANA Systems view.
  • 53. © 2014 SAP AG. All rights reserved. 53 SAP HANA Table Administration and Monitoring Table Distribution Editor II In the Table Distribution editor, you can perform the following additional actions:  Move tables and partitions to other hosts in the system  Partition non-partitioned tables using the supported partitioning specifications (hash, range, and round-robin)  Change a partitioned table into a non- partitioned table by merging its partitions Note: Before moving tables or partitions, the system checks that the host has sufficient memory.
  • 54. © 2014 SAP AG. All rights reserved. 54 SAP HANA Table Administration Importing and Exporting Tables and Other Catalog Objects You can export catalog objects to a file system and then import them back into another database. For example, you want to move data from a test system to a productive system, clone your system, or provide the data to SAP Support so they can replicate a scenario.  You can export/import either meta data only or meta data and content  Column-store tables, procedures, and sequences can be exported in either binary or CSV format. Row- store tables can be exported only in CSV format imported  You can import ESRI shapefiles into dedicated column-store tables
  • 55. © 2014 SAP AG. All rights reserved. 55 SAP HANA Table Administration Other Table Administration Options  Load into and unload from memory Under normal circumstances, the SAP HANA database manages the loading and unloading of tables into and from memory independently – the aim being to keep all relevant data in memory. However, you can manually load and unload individual tables and table columns if necessary.  Perform manual delta merge The delta merge operation is related to the memory management concept of the column store, that is, the part of the SAP HANA database that manages data organized in columns in memory. You can trigger the delta merge operation for a column table manually in the SAP HANA studio, for example, if you need to free up memory.
  • 57. © 2014 SAP AG. All rights reserved. 57 SQL Console Executing SQL Statements in the SAP HANA Studio Some tasks may require you to work with SQL statements, for example, certain administration tasks can only be performed using SQL. You can enter, execute, and analyze SQL statements in the SQL console. There are several options available for customizing the behavior of SQL statement execution in the SQL console. From the main menu choose Window > Preferences > SQL.
  • 58. © 2014 SAP AG. All rights reserved. 58 SQL Console Query Analysis Features The following functions for analyzing query execution are available in the SQL console:  Explain plan  Visualize plan Note: Visualize Plan is also available from the context menu of the SQL Plan Cache and Expensive Statements Trace sub-tabs of the Performance tab.
  • 59. © 2014 SAP AG. All rights reserved. 59 SQL Console Plan Visualizer I To help you understand and analyze the execution plan of an expensive statement or an SQL statement further, you can generate a graphical view of its plan. A graphical representation of the query, with estimated performance, is displayed. You can then validate the estimated performance by choosing Execute in the context menu. Another similar high-level graphic is generated with execution time information for each of the parts. Visualized Plan Column PlanExecution
  • 60. © 2014 SAP AG. All rights reserved. 60 SQL Console Plan Visualizer II Operator List for Plan Visualizer  The Operator List lists detailed characteristics of all operators within a current plan (visualized + executed).  It can be used to dynamically explore the operator set along user defined filters in order to pinpoint specific operators of interest.  For example you might: – Filter all operators consuming a certain minimal CPU time – Then order those operators along the number of input rows – Further restrict the filter to a specific operator type (e.g. "Column Search”) – And then double-click on an operator of interest in order to check its positioning within a visualized plan
  • 61. © 2014 SAP AG. All rights reserved. 61 How to find SAP HANA documentation on this topic? SAP HANA Platform SPS  What’s New – Release Notes  Installation – SAP HANA Server InstallationGuide  Security  Administration – SAP HANA Administration Guide  Development – SAP HANA Developer Guide  … For more information about the administration and monitoring features of the SAP HANA studio introduced in this presentation, see the SAP HANA Administration Guide, which you can access: • Directly in the SAP HANA studio from the Help menu • On SAP Help Portal knowledge center at http://help.sap.com/hana_platform. • The knowledge center is structured according to the product lifecycle: installation, security, administration, development. So you can find e.g. the SAP HANA Server Administration Guide in the Administration section and so forth …
  • 62. © 2014 SAP AG. All rights reserved. 62 © 2014 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.