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.phpfor every siteaccess,settings/siteaccess/<siteaccess>/site.ini.append.phpfor one siteaccess,extension/<extension>/settings/site.ini.append.phpin 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.
# 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.
# 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.
# settings/override/site.ini.append.php
[HANASettings]
TenantDatabase=
*/ ?>Encrypt
enabled: an encrypted connection (ENCRYPT=TRUE; always on for HANA Cloud)
Default: disabled.
# settings/override/site.ini.append.php
[HANASettings]
Encrypt=disabled
*/ ?>ValidateCertificate
enabled: the server's certificate is checked (sslValidateCertificate)
Default: enabled.
# settings/override/site.ini.append.php
[HANASettings]
ValidateCertificate=enabled
*/ ?>ConnectionString
More keyword=value pairs of the HANA ODBC driver, ; separated
Default: empty.
# 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.
# 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.
# settings/override/site.ini.append.php
[HANASettings]
DeadlockRetries=3
*/ ?>DeadlockRetryWait
Milliseconds before the first retry (doubled, tripled ... for the next)
Default: 50.
# 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.
# settings/override/site.ini.append.php
[HANASettings]
ReconnectOnLoss=enabled
*/ ?>InListChunkSize
Values per IN list of generateSQLINStatement()
Default: 5000.
# 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.
# 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.
# settings/override/site.ini.append.php
[HANASettings]
TableType=column
*/ ?>Related
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.