site.ini [Db2Settings]
Der Block [Db2Settings] von settings/site.ini, mit 10 Einstellung(en).
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.
Bearbeiten Sie settings/site.ini nie selbst: Ein Update ersetzt die Datei. Schreiben Sie die Einstellungen, die Sie ändern, in ein Override, das Vorrang vor der ausgelieferten Datei hat:
settings/override/site.ini.append.phpfür jeden Siteaccess,settings/siteaccess/<siteaccess>/site.ini.append.phpfür einen Siteaccess,extension/<extension>/settings/site.ini.append.phpin einer Erweiterung (gelesen, wenn die Erweiterung aktiv ist).
Layer
auto (pdo_ibm, else ibm_db2), pdo_ibm, ibm_db2 or pdo_odbc
Standard: 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)
Standard: leer.
# 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
Standard: leer.
# settings/override/site.ini.append.php
[Db2Settings]
Schema=
*/ ?>Security
SSL for an encrypted connection; empty: none
Standard: leer.
# settings/override/site.ini.append.php
[Db2Settings]
Security=
*/ ?>ConnectionOptions
More keywords of the connection string (KEY=value;KEY=value)
Standard: leer.
# 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
Standard: 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
Standard: 3.
# settings/override/site.ini.append.php
[Db2Settings]
DeadlockRetries=3
*/ ?>DeadlockRetryWait
Milliseconds before the first retry (doubled, tripled ... for the next)
Standard: 50.
# settings/override/site.ini.append.php
[Db2Settings]
DeadlockRetryWait=50
*/ ?>ReconnectOnLoss
enabled: a lost connection outside a transaction is opened again (persistent Velocity workers)
Standard: enabled.
# settings/override/site.ini.append.php
[Db2Settings]
ReconnectOnLoss=enabled
*/ ?>InListChunkSize
Values per IN list of generateSQLINStatement()
Standard: 1000.
# settings/override/site.ini.append.php
[Db2Settings]
InListChunkSize=1000
*/ ?>Siehe auch
Erzeugt von ./console exp:help:examples --language=ger-de aus settings/site.ini. Bearbeiten Sie diese Seite nicht: Ändern Sie die Quelle oder die deutsche Übersetzung und erzeugen Sie sie neu (wie). Freie Dokumentation: GFDL 1.3 oder später.