Professional Documents
Culture Documents
Target Audience
Consultants
Administrators
Others
Public
Document version 1.1 2015/05/08
Frequently Used Configuration Parameters in SAP HANA
Contents
1 Introduction ......................................................................................... 4
1.1 About This Document ............................................................................ 4
1.2 SAP HANA Guides ................................................................................. 4
2 Filename: global.ini ............................................................................. 5
Section: auditing configuration .................................................................. 5
Section: backup............................................................................................ 6
Section: communication .............................................................................. 7
Section: cryptography ................................................................................. 7
Section: execution ....................................................................................... 8
Section: inifile_checker ............................................................................... 9
Section: internal_hostname_resolution ..................................................... 9
Section: memorymanager ......................................................................... 10
Section: multidb ......................................................................................... 12
Section: password policy .......................................................................... 13
Section: memoryobjects............................................................................ 14
Section: persistence .................................................................................. 15
Section: public_hostname_resolution ..................................................... 19
Section: resource_tracking ....................................................................... 20
Section: system_replication ...................................................................... 21
Section: table_placement .......................................................................... 29
Section: trace ............................................................................................. 30
3 Filename: attributes.ini ..................................................................... 32
Section: global............................................................................................ 32
4 Filename: daemon.ini ....................................................................... 33
Section: compileserver .............................................................................. 33
Section: indexserver .................................................................................. 33
Section: nameserver .................................................................................. 34
Section: preprocessor ............................................................................... 35
Section: statisticsserver ............................................................................ 35
5 Filename: executor.ini ...................................................................... 37
Section: pythontrace.................................................................................. 37
6 Filename: indexserver.ini ................................................................. 38
Section: authentication.............................................................................. 38
Section: cache ............................................................................................ 38
Section: calcengine.................................................................................... 39
Section: distribution .................................................................................. 40
Section: joins .............................................................................................. 40
Section: mergedog ..................................................................................... 41
Section: optimize_compression ............................................................... 44
Section: partitioning .................................................................................. 44
Section: parallel.......................................................................................... 45
Section: search........................................................................................... 46
Section: session ......................................................................................... 47
Section: smart_data_access ..................................................................... 51
Section: sql ................................................................................................. 52
Section: sqlscript ....................................................................................... 55
Section: table_redist .................................................................................. 56
Section: trace ............................................................................................. 57
Section: transaction ................................................................................... 58
7 Filename: multidb.ini ........................................................................ 61
Section: readonly_parameters .................................................................. 61
8 Filename: nameserver.ini ................................................................. 65
Section: statisticsserver ............................................................................ 65
Section: topology ....................................................................................... 65
9 Filename: statisticsserver.ini ........................................................... 66
Section: memorymanager ......................................................................... 66
Section: statisticsserver_general ............................................................. 66
Important Disclaimers on Legal Aspects........................................... 67
Coding Samples ......................................................................................... 67
Accessibility ............................................................................................... 67
Gender-Neutral Language ......................................................................... 67
Internet Hyperlinks ..................................................................................... 67
Copyright .............................................................................................. 68
1 Introduction
1.1 About This Document
This guide provides information about some of the main configurable parameters in SAP
HANA.
Check SAP Note 2036111 for information on the latest version of this document.
2 Filename: global.ini
This configuration file describes global parameters for each service in the landscape.
Restart required: No
Validity: SAP HANA revisions >= 13 ,
Default value CSTABLE in SAP HANA revisions >=
70
Related information: SAP HANA Administration Guide
SAP HANA Security Guide
Parameter: emergency_audit_trail_type
Section: backup
This section contains parameters that are related to configuration of backup.
Parameter: log_backup_using_backint
Restart required: No
Validity: SAP HANA revisions >= 45
Related information: SAP HANA Administration Guide
Section: communication
This section contains parameters that are related to configuration of communications.
Parameter: listeninterface
Section: cryptography
This section contains parameters that are related to cryptography.
Parameter: ssfs_key_file_path
Section: execution
This section contains parameters that are related to parallel execution.
Parameter: max_concurrency
Section: inifile_checker
This section contains parameters that control the watchdog checking ini files in HANA
System replication scenarios.
Parameter: enable
Section: internal_hostname_resolution
This section contains mappings of IP addresses to internal hostnames.
Parameter: <internal_ip_address>
Values: <internal_hostname>
Default: N/A
Restart required: No. Changes take effect after one minute.
Validity: SAP HANA revisions >= 52
Related information: SAP HANA Administration Guide
SAP HANA Master Guide (Internal Host Name
Resolution)
Section: memorymanager
This section contains parameters that are related to configuration of memory management.
Parameter: global_allocation_limit
Parameter: statement_memory_limit_threshold
Section: multidb
This section contains parameters that are related to multitenant database containers.
Parameter: reserved_instance_numbers
Database Containers)
Parameter: force_first_password_change
Description: Enables (true) / disables (false) enforced password
change after first logon.
When set to true, a user is forced to change
his/her password after logon with an initial
password given by a system administrator.
When set to false, a user can continue to use the
initial password.
Values: true, false
Default: true
Restart required: No
Validity: SAP HANA revisions >= 13
Related information: SAP HANA Administration Guide
Parameter: maximum_unused_initial_password_lifetime
Section: memoryobjects
This section contains parameters that are related to configuration of memory objects.
Parameter: unload_lower_bound
Section: persistence
This section contains parameters that are related to the configuration of data and log
locations as well as data and log backup.
Parameter: basepath_datavolumes
Description: Defines the absolute base file path for log volumes.
All log volumes will be stored under this file path.
Parameter: enable_auto_log_backup
Section: public_hostname_resolution
This section specifies how internal hostnames are resolved to external names. External
names could be IP addresses, hostnames, or fully qualified host names.
Parameter: use_default_route
Parameter: map_<internal_hostname>
Values: <external_name-prefix>*
<external_name-prefix>*<external_name_suffix>
Default: Ip
Restart required: No. Changes take effect after one minute.
Validity: SAP HANA revisions >= 54
Related information: SAP Note 1906381
SAP HANA Master Guide (Mapping Host Names for
Database Client Access)
Section: resource_tracking
This section contains parameters that are related to the tracking of system resources.
Parameter: enable_tracking
Parameter: memory_tracking
Section: system_replication
This section contains parameters that are related to system replication.
Parameter: datashipping_logsize_threshold
system.
Log buffers are memory areas that store information
about changes made to the database. Log buffers are
written to log segment files on disks after a commit
operation occurs. The log information is necessary for
database recovery.
In response to receiving a data shipping request, the
primary system invokes a transfer of delta data pages
that have changed after the last data shipping.
When the total size of received log buffers exceeds
the specified threshold size, the secondary system
sends a new data shipping request, even if the time
elapsed after the last data shipping request has not
yet reached the time interval defined by the
parameter datashipping_min_time_interval.
When set to 0, the next data shipping starts
immediately after the last has finished.
System in replication scenario: The parameter has to be set on the secondary
system.
Values: Positive integer and zero
Default: 5368709120 = 5*1024*1024*1024 (5 GB)
Restart required: No restart or re-connect is necessary.
Validity: SAP HANA revisions >= 50
Related information: SAP HANA Administration Guide (System Replication)
Parameter: datashipping_min_time_interval
System in replication scenario: The parameter has to be set on the primary system.
Values: Positive integer and zero
Default: 120
Restart required: No restart or re-connect is required.
Validity: SAP HANA revisions >= 70
Related information: SAP HANA Administration Guide (System Replication)
Parameter: enable_data_compression
System in replication scenario: The parameter has to be set on the primary system.
System in replication scenario: The parameter has to be set on the primary system.
Values: true, false
Default: true
Restart required: No restart or re-connect is required.
Validity: SAP HANA revisions >= 90
System in replication scenario: The parameter has to be set on the primary system.
Values: Positive integer
Default: 67108864 = 64*1024*1024 (64 MB)
Restart required: No, but the secondary system has to re-connect to
the primary system in order to activate the
parameter change. A re-connect can be forced by
restarting the secondary system.
Validity: SAP HANA revisions >= 70
Related information: SAP HANA Administration Guide (System Replication)
Parameter: logshipping_async_wait_on_buffer_full
System in replication scenario: The parameter has to be set on the primary system.
Values: Positive integer
Default: 30 (seconds)
Restart required: No restart or re-connect is required.
Validity: SAP HANA revisions >= 50
Related information: SAP HANA Administration Guide (System Replication)
Parameter: preload_column_tables
Section: table_placement
This section contains parameters that are related to table placement.
Parameter: method
SPS 09, when the rules are not defined in the table
_SYS_RT.TABLE_PLACEMENT, the SAP HANA System
applies the default behavior based on the specified
parameter method.
Values: 0 and 2
Default: 0
Restart required: No
Validity: SAP HANA revisions >= 45
Obsolete as of SPS 10.
Related information: SAP HANA Administration Guide (Table Placement)
Parameter: same_num_partitions
Section: trace
This section contains parameters that are related to tracing.
Parameter: maxfiles
3 Filename: attributes.ini
This configuration file describes parameters for the Attribute Engine.
Section: global
This section contains parameters that are related to each service of the landscape
Parameter: inverted_index_verification_after_load
4 Filename: daemon.ini
This configuration file describes parameters for the daemon service.
Section: compileserver
This section contains parameters that are related to the compileserver service.
Parameter: affinity
Section: indexserver
This section contains parameters that are related to the indexserver service.
Parameter: affinity
process.
The distribution of logical cores to physical sockets
and cores depends on the hardware system and
architecture.
To retrieve the hardware topology on Linux, use
the command numactl hardware or check
contents of the directories
/sys/devices/system/cpu and /proc/cpuinfo..
When set to 0, there is no affinity for the
hdbindexserver process.
Section: nameserver
This section contains parameters that are related to the nameserver service.
Parameter: affinity
Section: preprocessor
This section contains parameters that are related to the preprocessor service.
Parameter: affinity
Section: statisticsserver
This section contains parameters that are related to the statisticsserver service.
Parameter: affinity
hyphens.
Default: 0
Restart required: Yes
Validity: SAP HANA revisions >= 13
Related information: SAP HANA Administration Guide (Managing
Resources in Multiple-Container Systems)
SAP HANA Troubleshooting and Performance
Analysis Guide (Binding Processes to CPUs)
5 Filename: executor.ini
This configuration file describes parameters for the columnstore plan executor.
Section: pythontrace
This section contains parameters that are related to pythontrace configuration.
Parameter: trace
6 Filename: indexserver.ini
Section: authentication
This section contains parameters that are related to authentication configuration.
Parameter: SapLogonTicketTrustStore
Section: cache
This section contains parameters that are related to cache configuration.
Parameter: resultcache_enabled
Restart required: No
Validity: All SAP HANA revisions
Related information: SAP Note 1980765
Section: calcengine
This section contains parameters that are related to calcengine configuration.
Parameter: max_cache_size_kb
Section: distribution
This section contains parameters that are related to client distribution configuration.
Parameter: client_distribution_mode
Section: joins
This section contains parameters that are related to Join Engine configuration.
Parameter: translator_cache_size
Section: mergedog
This section contains parameters that are related to mergedog configuration.
Parameter: active
Parameter: auto_merge_decision_func
Parameter: auto_merge_priority_func
Parameter: critical_merge_decision_func
Parameter: hard_merge_priority_func
Functions)
Restart required: no
Validity: All SAP HANA revisions
Related information: SAP HANA Administration Guide (Delta Merge
Operation)
Parameter: smart_merge_decision_func
Operation)
Parameter: token_per_table
Section: optimize_compression
This section contains parameters that are related to optimized compression.
Parameter: active
Section: partitioning
This section contains parameters that are related to the partitioning of columstore tables.
Parameter: split_history_parallel
Section: parallel
This section contains parameters that are related to the configuration of parallel algorithms.
Parameter: mode
Parameter: tables_preloaded_in_parallel
Section: search
This section contains parameters that are related to search configuration.
Parameter: late_materialization_threshold
Section: session
This section contains parameters that are related to sessions / connections.
Parameter: connection_history_lifetime
Parameter: idle_connection_timeout
Parameter: socket_keepalive
Default: 600
Restart required: No
Validity: SAP HANA revisions > 71
Default: 10
Restart required: No
Validity: SAP HANA revisions >= 71
Default: 5
Restart required: No
Validity: SAP HANA revisions >= 71
Section: smart_data_access
This section contains parameters that are related to remote caching.
Parameter: enable_remote_cache
Section: sql
This section contains parameters that are related to sql query processing
Parameter: max_sql_executors
Description:
Sets a target value for the maximum number of
running SQL executor threads, which process SQL
requests (0 = number of available logical CPU
cores).
The actual number of SQL executor threads can
exceed the specified value when some of the
threads are not running.
When set to 0, the target value is the number of
available logical CPU cores.
Section: sqlscript
This section contains parameters that are related to sqlscript query processing
Parameter: typecheck_procedure_input_param
Section: table_redist
This section contains parameters that are related to table placement.
Parameter: all_moves_physical
Section: trace
This section contains parameters that are related to tracing.
Parameter: maxfiles
Section: transaction
This section contains parameters that are related to transactions.
Parameter: lock_wait_timeout
(0 = nowait).
7 Filename: multidb.ini
This configuration file describes parameters for multitenant database containers.
Section: readonly_parameters
This section contains parameters to prevent configuration of the multidb.ini file.
Parameter: auditing_configuration
Default: maximum_connections,
maximum_external_connections
Restart required: Yes
Validity: SAP HANA revisions >= 90
Related information SAP HANA Administration Guide (Prevent Changes
to System Properties in Tenant Databases)
Parameter: sql
8 Filename: nameserver.ini
Section: statisticsserver
This section contains parameters that are related to the statistics server.
Parameter: active
Section: topology
This section contains parameters that are related to topology.
Parameter: size
9 Filename: statisticsserver.ini
Section: memorymanager
This section contains parameters that are related to the memory manager of the old stand-
alone statistics server.
Parameter: allocationlimit
Section: statisticsserver_general
This section contains parameters that are related to the old stand-alone statistics server.
Parameter: active
Coding Samples
Any software coding and/or code lines / strings ("Code") included in this documentation are
only examples and are not intended to be used in a productive system environment. The
Code is only intended to better explain and visualize the syntax and phrasing rules of certain
coding. SAP does not warrant the correctness and completeness of the Code given herein,
and SAP shall not be liable for errors or damages caused by the usage of the Code, unless
damages were caused by SAP intentionally or by SAP's gross negligence.
Accessibility
The information contained in the SAP documentation represents SAP's current view of
accessibility criteria as of the date of publication; it is in no way intended to be a binding
guideline on how to ensure accessibility of software products. SAP specifically disclaims any
liability with respect to this document and no contractual obligations or commitments are
formed either directly or indirectly by this document.
Gender-Neutral Language
As far as possible, SAP documentation is gender neutral. Depending on the context, the
reader is addressed directly with "you", or a gender-neutral noun (such as "sales person" or
"working days") is used. If when referring to members of both sexes, however, the third-
person singular cannot be avoided or a gender-neutral noun does not exist, SAP reserves the
right to use the masculine form of the noun and pronoun. This is to ensure that the
documentation remains comprehensible.
Internet Hyperlinks
The SAP documentation may contain hyperlinks to the Internet. These hyperlinks are
intended to serve as a hint about where to find related information. SAP does not warrant the
availability and correctness of this related information or the ability of this information to serve
a particular purpose. SAP shall not be liable for any damages caused by the use of related
information unless damages have been caused by SAP's gross negligence or willful
misconduct. Regarding link classification, see: http://help.sap.com/disclaimer.
Copyright
2014 SAP SE or an SAP affiliate company. 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 SE or an SAP affiliate company. The information
contained herein may be changed without prior notice.
Some software products marketed by SAP SE and its distributors contain proprietary
software components of other software vendors. National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for informational
purposes only, without representation or warranty of any kind, and SAP or its affiliated
companies shall not be liable for errors or omissions with respect to the materials. The only
warranties for SAP or SAP affiliate company 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 SE (or an SAP affiliate company) in
Germany and other countries. All other product and service names mentioned are the
trademarks of their respective companies.
Please see http://www.sap.com/corporate-en/legal/copyright/index.epx for additional
trademark information and notices.