Please enable JavaScript to view this site.

Visma Severa Forums

Navigation: » No topics above this level «

Visma Severa SQL Driver Attributes

The SQL driver for Visma Severa has many attributes that can be finetuned to improve handling in scenarios with unreliable network connections to the API server of Visma Severa or high volumes of data. Also, many drivers have driver-specific attributes to finetune actual behaviour or handle data not matching specifications.

The Visma Severa 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 Visma Severa 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 Visma Severa 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

 

api-url

URL of web service.

Visma Severa

 

 

 

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

 

download-error-other-exception-max-tries

Maximum number of tries when an unqualified error occurs during retrieval of data.

 

3

 

download-error-other-exception-sleep-initial-ms

Initial sleep in milliseconds between retries when an unqualified error ocurrs during retrieval of data.

 

10000

 

download-error-other-exception-sleep-max-ms

Maximum sleep in milliseconds between retries when an unqualified error ocurrs during retrieval of data.

 

300000

 

download-error-other-exception-sleep-multiplicator

Multiplication factor for sleep between retries when an unqualified error ocurrs during retrieval of data.

 

2

 

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

 

 

http-disk-cache-compression-level

Compression level for the HTTP disk cache, ranging from 1 (little) to 9 (intense). Default is 5.

Shared

5

 

http-disk-cache-directory

Directory where HTTP cache is stored.

Shared

C:\Users\guido\Invantive\Cache\http\guido\shared

 

http-disk-cache-ignore-write-errors

Whether to ignore write errors to disk cache.

Shared

False

 

http-disk-cache-max-age-sec

Maximum acceptable age in seconds for use of data in the HTTP disk cache.

Shared

2592000

 

http-get-timeout-max-ms

HTTP GET timeout maximum on retry (ms)

 

24000

 

http-get-timeout-ms

HTTP GET timeout (ms)

 

56000

 

http-memory-cache-compression-level

Compression level for the HTTP memory cache, ranging from 1 (little) to 9 (intense). Default is 5.

 

5

 

http-memory-cache-max-age-sec

Maximum acceptable age in seconds for use of data in the HTTP memory cache.

 

14400

 

http-post-timeout-max-ms

HTTP POST timeout maximum on retry (ms)

 

58000

 

http-post-timeout-ms

HTTP POST timeout (ms)

 

57000

 

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

itgen_pae_invantive_sql_execution_profile_disk_path

SQL Engine V1

c:\temp\profiles

 

invantive-sql-execution-profile-to-disk

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

 

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

 

 

minimum-length-text

Extend all text columns to this length to allow processing of XML that uses longer text values than the XSD specifies.

XML

 

 

 

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

 

result-set-memory-cache

Action: set to 'empty' to empty.

XML

 

 

 

 

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

 

 

 

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

 

use-http-disk-cache-read

Whether to use HTTP responses from previous queries stored on disk to answer the current query.

Shared

False

 

use-http-disk-cache-write

Whether to memorize HTTP responses on disk.

Shared

False

 

use-http-memory-cache-read

Whether to use HTTP responses from previous queries stored in memory that can answer the current query.

 

True

 

use-http-memory-cache-write

Whether to memorize HTTP responses from previous queries for use by future queries.

 

True

 

use-metadata-memory-cache

Whether to use the metadata in memory calculated previously.

XML

True

 

use-result-memory-cache

Whether to use result sets cached in memory from previous queries that can answer the current query.

XML

False

 

 

10-06-2024 19:00 Version 24.1.3-BETA+4689

X

Important Safety and Usage Information

Intended Use and Limitations: This software, developed by Invantive, is designed to support a variety of business and information technology data processing functions, such as accounting, financial reporting an sales reporting. It is important to note that this software is not designed, tested, or approved for use in environments where malfunction or failure could lead to life-threatening situations or severe physical or environmental damage. This includes, but is not limited to:

  • Nuclear facilities: The software should not be used for operations or functions related to the control, maintenance, or operation of nuclear facilities.
  • Defense and Military Applications: This software is not suitable for use in defense-related applications, including but not limited to weaponry control, military strategy planning, or any other aspects of national defense.
  • Aviation: The software is not intended for use in the operation, navigation, or communication systems of any aircraft or air traffic control environments.
  • Healthcare and Medicine Production: This software should not be utilized for medical device operation, patient data analysis for critical health decisions, pharmaceutical production, or medical research where its failure or malfunction could impact patient health.
  • Chemical and Hazardous Material Handling: This software is not intended for the management, control, or operational aspects of chemical plants or hazardous material handling facilities. Any malfunction in software used in these settings could result in dangerous chemical spills, explosions, or environmental disasters.
  • Transportation and Traffic Control Systems: The software should not be used for the control, operation, or management of transportation systems, including railway signal controls, subway systems, or traffic light management. Malfunctions in such critical systems could lead to severe accidents and endanger public safety.
  • Energy Grid and Utility Control Systems: This software is not designed for the control or operation of energy grid systems, including electrical substations, renewable energy control systems, or water utility control systems. The failure of software in these areas could lead to significant power outages, water supply disruptions, or other public utility failures, potentially endangering communities and causing extensive damage.
  • Other High-Risk Environments: Any other critical infrastructure and environments where a failure of the software could result in significant harm to individuals or the environment.

User Responsibility: Users must ensure that they understand the intended use of the software and refrain from deploying it in any setting that falls outside of its designed purpose. It is the responsibility of the user to assess the suitability of the software for their intended application, especially in any scenarios that might pose a risk to life, health, or the environment.

Disclaimer of Liability: Invantive disclaims any responsibility for damage, injury, or legal consequences resulting from the use or misuse of this software in prohibited or unintended applications.

  
Disclaimer