Internal Consistency Checks
Invantive UniversalSQL executes many internal consistency to ensure correctness of the results. Some of these consistency checks are only done during testing phases for reasons such as performance. These checks are automatically checked on testing environments and excluded on production environments.
However, during test or production use you can explicitly disable or enable these checks by setting environment variables to the value true or false. The checks can individually be disabled or enabled, or all together.
The following environment variables control internal consistency checks and are available on all platforms and products:
From release 27.1 the consistency checks are controlled by the runtime settings Invantive.Basics.Checks in the section Invantive of the configProperties of runtimeconfig.json:
AllEnabled: explicitly enables all consistency checks whentrue. To explicitly disable all consistency checks, set tofalse. Without a value each check has its own default.ByMessageCode: explicitly enable or disable a specific check, by its message code, when requested so by support, for example{ "itgenrst046": true }. It is ignored whenAllEnabledhas a value.
They replace the environment variables INVANTIVE_CHECK_ALL and INVANTIVE_CHECK_<message code>, which no longer work.
Network and disk use observed by the runtime
From release 27.1 the check itgeniom001 compares the network use which Invantive UniversalSQL registers as session I/O with what the .NET runtime and the operating system observe for the process. The check is off by default; it is only on by default on the development workstations of Invantive. Switch it on with:
{ "Invantive": { "Basics": { "Checks": { "ByMessageCode": { "itgeniom001": true } } } } }
When the check is on:
- The products listen to the telemetry of the runtime for HTTP requests, socket connects and name resolutions, and read the I/O counters of the process from the operating system. This is available on .NET; on .NET Framework nothing is observed.
- The two lines on the network and disk use written at the end of a session add what was observed. The network line adds the number of HTTP requests and socket connects of the process. The disk line adds the bytes the operating system counted for the process, network and pipes included.
- HTTP requests to a host beyond the session I/O registered for it are reported per host as a warning:
itgencmr725in the trace anditgendhb311in the log file of Invantive Data Hub. The comparison is for the whole process. In a process which runs several sessions at once, a request of another session is reported as well.