Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,196 of 9,196 pages
About the help in other languages
All help pages

site.ini [HANASettings]

The settings of [HANASettings] in site.ini: Driver, Layer, TenantDatabase, Encrypt, ValidateCertificate, ConnectionString, CreateSchema, DeadlockRetries ...

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/ini-settings/site/HANASettings.md

On this page

site.ini [HANASettings]

The block [HANASettings] of settings/site.ini, with 13 setting(s).

SAP HANA (DatabaseImplementation=hana, expHANADB): SAP HANA 2.0 SPS 05 or later (the express edition included) and
SAP HANA Cloud, over SAP's HANA ODBC driver (HDBODBC of the SAP HANA client) through PHP's odbc extension or
PDO_ODBC. Server and Port are the tenant database's SQL port (3<instance>41: 39041 for HANA express, 30041 for
instance 00; 443 for HANA Cloud); Database is the schema the site's tables are in; User and Password a user that
may create tables there (and the schema, with CreateSchema).

Never edit settings/site.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/site.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/site.ini.append.php for one siteaccess,
  • extension/<extension>/settings/site.ini.append.php in an extension (read when the extension is active).

Driver

The ODBC driver: its name in odbcinst.ini (HDBODBC, as SAP's client installer registers it) or the path of
libodbcHDB.so (libodbcHDB.dylib, libodbcHDB.dll)

Default: HDBODBC.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[HANASettings]
Driver=HDBODBC
*/ ?>

Layer

auto (the odbc extension first: PDO_ODBC sends no statement with ":", which the triggers of auto_increment
columns have), odbc or pdo_odbc

Default: auto.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[HANASettings]
Layer=auto
*/ ?>

TenantDatabase

The tenant database to connect to through the system database's port (DATABASENAME); empty: the port's own

Default: empty.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[HANASettings]
TenantDatabase=
*/ ?>

Encrypt

enabled: an encrypted connection (ENCRYPT=TRUE; always on for HANA Cloud)

Default: disabled.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[HANASettings]
Encrypt=disabled
*/ ?>

ValidateCertificate

enabled: the server's certificate is checked (sslValidateCertificate)

Default: enabled.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[HANASettings]
ValidateCertificate=enabled
*/ ?>

ConnectionString

More keyword=value pairs of the HANA ODBC driver, ; separated

Default: empty.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[HANASettings]
ConnectionString=
*/ ?>

CreateSchema

enabled: a schema named by Database that does not exist is made at the first connection

Default: enabled.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[HANASettings]
CreateSchema=enabled
*/ ?>

DeadlockRetries

How often a single statement outside a transaction is sent again after a deadlock

Default: 3.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[HANASettings]
DeadlockRetries=3
*/ ?>

DeadlockRetryWait

Milliseconds before the first retry (doubled, tripled ... for the next)

Default: 50.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[HANASettings]
DeadlockRetryWait=50
*/ ?>

ReconnectOnLoss

enabled: a lost connection outside a transaction is opened again (persistent Velocity workers)

Default: enabled.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[HANASettings]
ReconnectOnLoss=enabled
*/ ?>

InListChunkSize

Values per IN list of generateSQLINStatement()

Default: 5000.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[HANASettings]
InListChunkSize=5000
*/ ?>

BindLiterals

enabled: the literal values of a statement are sent as parameters, so HANA compiles each statement once for all
its values (a new statement text costs HANA about 20 ms to compile)

Default: enabled.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[HANASettings]
BindLiterals=enabled
*/ ?>

TableType

The store of the tables the schema handler makes: column (HANA's default) or row (faster single-row writes, such as
the search index's, and kept in memory whole)

Default: column.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[HANASettings]
TableType=column
*/ ?>

Generated by ./console exp:help:examples from settings/site.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x