site.ini [Db2Settings]
The block [Db2Settings] of settings/site.ini, with 10 setting(s).
IBM Db2 for Linux, UNIX and Windows 11.5 and 12.1 (DatabaseImplementation=db2, expDb2DB) over pdo_ibm or ibm_db2,
or PDO_ODBC with an ODBC driver of 64-bit lengths. Server, Port (50000), User, Password and Database come from
[DatabaseSettings]; without Server, Database is an alias catalogued in the client. The database must exist with
pages of 32 KB and a user temporary tablespace (db2: CREATE DATABASE EXP USING CODESET UTF-8 TERRITORY US
PAGESIZE 32 K; CREATE USER TEMPORARY TABLESPACE USERTEMP PAGESIZE 32 K): Db2 creates databases outside a connection.
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).
Layer
auto (pdo_ibm, else ibm_db2), pdo_ibm, ibm_db2 or pdo_odbc
Default: auto.
# settings/override/site.ini.append.php
[Db2Settings]
Layer=auto
*/ ?>Driver
The ODBC driver's name for Layer=pdo_odbc (e.g. IBM DB2 ODBC DRIVER, or the path of libdb2o.so)
Default: empty.
# settings/override/site.ini.append.php
[Db2Settings]
Driver=
*/ ?>Schema
The schema of the site's tables (SET SCHEMA on every connection); empty: the user's own
Default: empty.
# settings/override/site.ini.append.php
[Db2Settings]
Schema=
*/ ?>Security
SSL for an encrypted connection; empty: none
Default: empty.
# settings/override/site.ini.append.php
[Db2Settings]
Security=
*/ ?>ConnectionOptions
More keywords of the connection string (KEY=value;KEY=value)
Default: empty.
# settings/override/site.ini.append.php
[Db2Settings]
ConnectionOptions=
*/ ?>StatementConcentrator
enabled: Db2's statement concentrator (StmtConcentrator=WITHLITERALS) compiles statements that differ only in their
literals once; the kernel writes its values as literals, and without it every statement is compiled anew
Default: enabled.
# settings/override/site.ini.append.php
[Db2Settings]
StatementConcentrator=enabled
*/ ?>DeadlockRetries
How often a single statement outside a transaction is sent again after a deadlock
Default: 3.
# settings/override/site.ini.append.php
[Db2Settings]
DeadlockRetries=3
*/ ?>DeadlockRetryWait
Milliseconds before the first retry (doubled, tripled ... for the next)
Default: 50.
# settings/override/site.ini.append.php
[Db2Settings]
DeadlockRetryWait=50
*/ ?>ReconnectOnLoss
enabled: a lost connection outside a transaction is opened again (persistent Velocity workers)
Default: enabled.
# settings/override/site.ini.append.php
[Db2Settings]
ReconnectOnLoss=enabled
*/ ?>InListChunkSize
Values per IN list of generateSQLINStatement()
Default: 1000.
# settings/override/site.ini.append.php
[Db2Settings]
InListChunkSize=1000
*/ ?>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.