Mail SQL Driver Attributes |
The SQL driver for Mail has many attributes that can be finetuned to improve handling in scenarios with unreliable network connections to the API server of Mail or high volumes of data. Also, many drivers have driver-specific attributes to finetune actual behaviour or handle data not matching specifications.
The Mail driver attributes are assigned a default value which seldom requires change. However, changes can be applied when needed on four levels, which are reflected in the table below by separate checkmarks:
•Connection string: the connection string from the settings*.xml file and applied during log on.
•Set SQL statement: a set SQL-statement to be executed once connection has been established.
•Log on: value to be specified interactively by user during log on in a user interface.
The connection string for Mail can be found in the settings*.xml file used for the database. The reference manuals contain instructions how to relocate the settings*.xml files. Settings*.xml files are typically located in the %USERPROFILE%\invantive folder in most deployment scenarios. Each data container of a database in the connection string can have a connectionString element specifying the name and values of attributes. Both name and value must be properly escaped according to XML-semantics. Actual application of the value is solely done during log on. A new connection must be established to change the value of a driver attribute using a connection string.
The set SQL statement can be executed after log on. The syntax is: set NAME VALUE, or for a distributed database: set NAME@ALIAS VALUE. In some scenarios you may need to enclose the driver attribute name in square brackets to escape it from parsing, for instance when a reserved SQL keyword is part of the name. The new value takes effect straight after execution of the set-statement. The set-statement can be executed as often as needed during a session.
Driver attributes that can be interactively set to a value are typically presented in the log on window. Depending on the platform and design decisions of the user interface designer, some or all of the available driver attributes can have been made available.
The Mail driver can be configured using the following attributes:
Code |
Description |
Origin |
Default Value |
Set from Connection String |
Set from Set SQL-Statement |
Set from Drivers File |
Set from Log On |
---|---|---|---|---|---|---|---|
analysis-enforce-row-uniqueness |
Enforce rows to be unique for software analysis. A fingerprint is calculated from the whole row of data when the primary key column is unknown. |
Shared |
False |
✓ |
✓ |
✓ |
|
bulk-delete-page-size-rows |
Number of rows to delete per batch when bulk deleting. |
Shared |
10000 |
✓ |
✓ |
✓ |
|
bulk-insert-page-size-bytes |
Approximate maximum size in bytes of batch when bulk inserting. |
Shared |
10000000 |
✓ |
✓ |
✓ |
|
bulk-insert-page-size-rows |
Number of rows to insert per batch when bulk inserting. |
Shared |
10000 |
✓ |
✓ |
✓ |
|
force-case-sensitive-identifiers |
Consider identifiers as case-sensitive independent of the platform capabilities. |
Shared |
False |
✓ |
✓ |
✓ |
|
forced-casing-identifiers |
Forced casing of identifiers. Choose from: Unset, Lower, Upper and Mixed. |
Shared |
|
✓ |
✓ |
✓ |
|
invantive-sql-compress-sparse-arrays |
Whether to compress sparse arrays in result sets during compression. |
SQL Engine V1 |
True |
✓ |
✓ |
✓ |
|
invantive-sql-correct-invalid-date |
Whether to correct dates considered invalid since they are before 01-01-1753. When nullable, they are removed. Otherwise they are replaced by 01-01-1753. |
SQL Engine V1 |
False |
✓ |
✓ |
✓ |
|
invantive-sql-execution-profile-disk-path |
{res:itgen_pae_invantive_sql_execution_profile_disk_path} |
SQL Engine V1 |
c:\temp\profiles |
✓ |
✓ |
✓ |
|
invantive-sql-execution-profile-to-disk |
{res:itgen_pae_invantive_sql_execution_profile_to_disk} |
SQL Engine V1 |
True |
✓ |
✓ |
✓ |
|
invantive-sql-forward-filters-to-data-containers |
Whether to forward filters to data containers. |
SQL Engine V1 |
True |
✓ |
✓ |
✓ |
|
invantive-sql-share-byte-arrays |
Whether to share the memory used by identical byte arrays in result sets during compression. |
SQL Engine V1 |
True |
✓ |
✓ |
✓ |
|
invantive-sql-share-strings |
Whether to share the memory used by identical strings in result sets during compression. |
SQL Engine V1 |
True |
✓ |
✓ |
✓ |
|
invantive-sql-shuffle-fetch-results-data-containers |
Whether to shuffle results fetched from data containers. |
SQL Engine V1 |
False |
✓ |
✓ |
✓ |
|
invantive-use-cache |
Whether to cache the results of a query. |
SQL Engine V1 |
True |
✓ |
✓ |
✓ |
|
log-native-calls-to-disk-max-events |
Maximum number of call events to register from last activation. |
Shared |
|
✓ |
✓ |
✓ |
|
log-native-calls-to-disk-max-seconds |
Maximum number of seconds to register calls from last activation. |
Shared |
|
✓ |
✓ |
✓ |
|
log-native-calls-to-disk-on-error |
Registers native calls to data container backend as disk files when the call raised an error. |
Shared |
False |
✓ |
✓ |
✓ |
|
log-native-calls-to-disk-on-success |
Registers native calls to data container backend as disk files when the call raised no error. |
Shared |
False |
✓ |
✓ |
✓ |
|
log-native-calls-to-trace |
Log native calls to data container backend on the trace. |
Shared |
False |
✓ |
✓ |
✓ |
|
mail-body-html |
Whether the mail body is HTML. |
|
✓ |
✓ |
✓ |
|
|
mail-from-email |
The default FROM email address. |
|
✓ |
✓ |
✓ |
|
|
mail-from-name |
The default FROM name. |
|
✓ |
✓ |
✓ |
|
|
mail-priority |
Priority of the mail; negative is bulk, 0 is neutral, positive is urgent. |
|
✓ |
✓ |
✓ |
|
|
mail-reply-to-email |
The default REPLY TO email address. |
|
✓ |
✓ |
✓ |
|
|
mail-reply-to-name |
The default REPLY TO name. |
|
✓ |
✓ |
✓ |
|
|
max-url-length-accepted |
The maximum accepted URL length before raising an error. |
Shared |
8000 |
✓ |
✓ |
✓ |
|
max-url-length-desired |
The maximum desired URL length. |
Shared |
8000 |
✓ |
✓ |
✓ |
|
maximum-length-identifiers |
Non-default maximum length in characters of identifier names. |
Shared |
|
✓ |
✓ |
✓ |
|
partition-slot-based-rate-limit-length-ms |
Total length in milliseconds across all slots of a partition-based rate limit. |
Shared |
60000 |
✓ |
|
✓ |
|
partition-slot-based-rate-limit-slots |
Number of slots per partition-based rate limit. Null means no slot-based rate limit. |
Shared |
|
✓ |
|
✓ |
|
pre-request-delay-ms |
Pre-request delay in milliseconds per request. |
Shared |
0 |
✓ |
✓ |
✓ |
|
requested-page-size |
Preferred number of rows to exchange per round trip; only effective on limited platforms such as AFAS Online. |
Shared |
|
✓ |
✓ |
✓ |
|
requests-parallel-max |
Maximum number of parallel data requests from individual partitions on the data container. |
Shared |
32 |
✓ |
✓ |
✓ |
|
slot-based-rate-limit-length-ms |
Total length in milliseconds across all slots of a slot-based rate limit. |
Shared |
60000 |
✓ |
|
✓ |
|
slot-based-rate-limit-slots |
Number of slots of a slot-based rate limit. Null means no slot-based rate limit. |
Shared |
|
✓ |
|
✓ |
|
smtp-enable-ssl |
Set whether SSL is enabled for SMTP connections. |
False |
✓ |
✓ |
✓ |
|
|
smtp-host-address |
The default SMTP host address to use. |
|
✓ |
✓ |
✓ |
|
|
smtp-host-port-number |
The default SMTP host post number to use. |
|
✓ |
✓ |
✓ |
|
|
smtp-max-parallel |
Maximum number of concurrent SMTP requests. |
32 |
✓ |
✓ |
✓ |
|
|
smtp-minimum-deliver-duration-ms |
Minimum deliver duration in milliseconds for the SMTP send plus inserted sleep when SMTP send finished earlier than the minimum. The value is applied per parallel thread. |
|
✓ |
✓ |
✓ |
|
|
smtp-password |
The default SMTP password to authenticate with. |
|
✓ |
✓ |
✓ |
|
|
smtp-send-timeout-ms |
Timeout in milliseconds after which the SMTP send times out. |
|
✓ |
✓ |
✓ |
|
|
smtp-user-name |
The default SMTP user name to authenticate with. |
|
✓ |
✓ |
✓ |
|
|
standardize-identifiers-casing |
Rewrite all identifiers to the recommended standard platform-specific casing when changing a data model on a case-dependent platform. |
Shared |
True |
✓ |
✓ |
✓ |
|
standardize-identifiers |
Rewrite all identifiers to the preferred standards as configured by standardize-identifiers-casing and maximum-length-identifiers. |
Shared |
True |
✓ |
✓ |
✓ |
|
28-07-2024 17:47 Version 24.1.6-BETA+4856