Difference between revisions of "Details about database connection"

Jump to navigation Jump to search
m
Text replacement - "^" to "{{deprecated}}"
m (Grammar)
m (Text replacement - "^" to "{{deprecated}}")
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{deprecated}}==Note==
In 2.0, connections 1, 4 and 5 were moved to the connection pool (6).
All DB connection pool server config variables were also renamed to contain the "DB" prefix.<br>
Example: "ConnectionPoolBaseSize" -> "DBConnectionPoolBaseSize", etc.
==General info==
==General info==
NetXMS creates the following database connections:
NetXMS creates the following database connections:
Line 6: Line 11:
! ID !! Name !! Description
! ID !! Name !! Description
|-
|-
| 1 || General purpose background writer || A single persistent dedicated connection
| 1 || Bootstrap / general purpose connection || A single persistent dedicated connection<br>
Used as an initial connection to retrieve other settings from DB. Also used minimally during server run-time.
|-
|-
| 2 || idata writer || A single persistent dedicated connection<br>
| 2 || idata writer || A single persistent dedicated connection<br>
Line 39: Line 45:
| 3 || Server.DBWriter.Requests.RawData
| 3 || Server.DBWriter.Requests.RawData
|-
|-
| 1, 4, 5, 6 || Server.DBWriter.Requests.Other
| 5 || Server.DBWriter.Requests.Other
|}
|}
You can then use DCI delta calculation to get the number of per second or per minute queue insertions.
You can then use DCI delta calculation to get the number of per second or per minute queue insertions.
Line 52: Line 58:
| 3 || Server.AverageDBWriterQueueSize.RawData
| 3 || Server.AverageDBWriterQueueSize.RawData
|-
|-
| 1, 4, 5, 6 || Server.AverageDBWriterQueueSize.Other
| 5 || Server.AverageDBWriterQueueSize.Other
|}
|}

Navigation menu