Back to Geneos FAQ

Gateway - Gateway database logging, performance and .dat dump files

The gateway will create files in the database/ directory whenever there are problems logging live data to the database. The gateway will, by default, automatically locate and write this data once the underlying issue is resolved. These problems include:

  1. The maxRequestQueueSize is the number of items that can be in the queue to the gateway thread connected to the database. Increase this from the default 4,000 if the number of items being logged is large.

  2. If using Oracle then change the isolationLevel to Read_committed. It has little effect on other database architectures.

  3. The gateway will issue a fixed number of INSERT or UPDATE SQL statements before committing the data. As a commit can take a significant amount of time to complete - tens of milliseconds may not be uncommon - then increasing the number of statements per commit (“per transaction”) may result in better throughput in exchange for a small risk of data loss if there is a failure before the commit completes.

  4. This is not strictly a performance-affecting configuration, but may result in errors due to duplicate timestamps. We would advise enabling the Log netprobe sampler time for data items config flag which then uses the timestamp, when available, of the data collection rather than the arrival time of the data in the gateway. This makes no difference to plugins that may return multiple values for a single data item in the same second, e.g. Statetracker Manual Replay It is also possible to manually read and replay these files using an independent gateway process using the -process-dump-files command line option as long as the independent gateway has the same database logging details as the original gateway.

["Geneos"] ["FAQ"]

Was this topic helpful?