2.2.10.2.14 DNSSRV_DS_STATS

The DNSSRV_DS_STATS structure has DNS server statistics related to directory server processing. The UpdateLists member through DsWriteType member refer to statistical values, when the server is propagating changes from the in-memory database to the directory server.

This structure MUST be formatted as follows:


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Header

...

DsTotalNodesRead

DsTotalRecordsRead

DsNodesLoaded

DsRecordsLoaded

DsTombstonesRead

DsUpdateSearches

DsUpdateNodesRead

DsUpdateRecordsRead

UpdateLists

UpdateNodes

UpdateSuppressed

UpdateWrites

UpdateTombstones

UpdateRecordChange

UpdateAgingRefresh

UpdateAgingOn

UpdateAgingOff

UpdatePacket

UpdatePacketPrecon

UpdateAdmin

UpdateAutoConfig

UpdateScavenge

DsNodesAdded

DsNodesModified

DsNodesTombstoned

DsNodesDeleted

DsRecordsAdded

DsRecordsReplaced

DsWriteSuppressed

DsSerialWrites

LdapTimedWrites

LdapWriteTimeTotal

LdapWriteAverage

LdapWriteMax

LdapWriteBucket0

LdapWriteBucket1

LdapWriteBucket2

LdapWriteBucket3

LdapWriteBucket4

LdapWriteBucket5

LdapSearchTime

FailedDeleteDsEntries

FailedReadRecords

FailedLdapModify

FailedLdapAdd

PollingPassesWithDsErrors (optional)

LdapReconnects (optional)

DsWriteType (160 bytes)

...

...

Header (8 bytes): A structure of type DNSSRV_STAT_HEADER (section 2.2.10.2.1).

DsTotalNodesRead (4 bytes): The total number of DNS nodes read from the directory server.

DsTotalRecordsRead (4 bytes): The total number of resource records read from the directory server.

DsNodesLoaded (4 bytes): The number of valid DNS nodes found in the directory server and loaded in memory by the server.

DsRecordsLoaded (4 bytes): The number of resource records loaded in memory by the server.

DsTombstonesRead (4 bytes): The number of nodes read from the directory server and found in a tombstoned state.

DsUpdateSearches (4 bytes): The number of zone update searches performed on the directory server.

DsUpdateNodesRead (4 bytes): The number of DNS nodes that were read from the directory server and contained updated information.

DsUpdateRecordsRead (4 bytes): The number of resource records that were read from the directory server and contained updated information.

UpdateLists (4 bytes): The number of in-memory nodes with an updated list of record.

UpdateNodes (4 bytes): The number of in-memory nodes that required an update in the directory server.

UpdateSuppressed (4 bytes): The number of in-memory nodes that did not require any write to the directory server.

UpdateWrites (4 bytes): The number of in-memory nodes that required writing to the directory server.

UpdateTombstones (4 bytes): The number of in-memory nodes that required tombstoning.

UpdateRecordChange (4 bytes): The number of in-memory nodes that required record changes.

UpdateAgingRefresh (4 bytes): The number of in-memory nodes that required an aging information refresh.

UpdateAgingOn (4 bytes): The number of in-memory nodes that required aging to be enabled.

UpdateAgingOff (4 bytes): The number of in-memory nodes that required aging to be disabled.

UpdatePacket (4 bytes): The number of in-memory nodes modified as a result of update packets being received.

UpdatePacketPrecon (4 bytes): The number of in-memory nodes modified as a result of update packets being received with prerequisites (as discussed in [RFC2136] section 2.4).

UpdateAdmin (4 bytes): The number of in-memory nodes modified as a result of administrator initiated changes.

UpdateAutoConfig (4 bytes): The number of in-memory nodes modified as a result of an auto-configure operation.

UpdateScavenge (4 bytes): The number of in-memory nodes modified as a result of a scavenging cycle.

DsNodesAdded (4 bytes): The number of new nodes added to the directory server.

DsNodesModified (4 bytes): The number of nodes modified in the directory server.

DsNodesTombstoned (4 bytes): The number of nodes tombstoned in the directory server.

DsNodesDeleted (4 bytes): The number of nodes deleted from the directory server.

DsRecordsAdded (4 bytes): The number of records added to the directory server.

DsRecordsReplaced (4 bytes): The number of records modified or replaced in the directory server.

DsWriteSuppressed (4 bytes): The number of records added to the directory server.

DsSerialWrites (4 bytes): The number of records that had matching data and hence were not written to the directory server.

LdapTimedWrites (4 bytes): The number of times the server performed a timed LDAP write operation.

LdapWriteTimeTotal (4 bytes): The cumulative time, in milliseconds, consumed by server-performed timed LDAP write operations.

LdapWriteAverage (4 bytes): The average time, in milliseconds, for all server performed timed LDAP write operations since the server was last restarted.

LdapWriteMax (4 bytes): The longest duration taken, in milliseconds, for any single server-performed timed LDAP write-operation.

LdapWriteBucket0 (4 bytes): The number of LDAP write-operations that took less than 10 milliseconds.

LdapWriteBucket1 (4 bytes): The number of LDAP write-operations that took between 10 and 100 milliseconds.

LdapWriteBucket2 (4 bytes): The number of LDAP write-operations that took between 100 milliseconds and 1 second.

LdapWriteBucket3 (4 bytes): The number of LDAP write-operations that took between 1 and 10 seconds.

LdapWriteBucket4 (4 bytes): The number of LDAP write-operations that took between 10 and 100 seconds.

LdapWriteBucket5 (4 bytes): The number of LDAP write-operations that took more than 100 seconds.

LdapSearchTime (4 bytes): The cumulative time, in milliseconds, consumed by server-performed LDAP searches.

FailedDeleteDsEntries (4 bytes): The number of times the server failed to delete entries from the directory server.

FailedReadRecords (4 bytes): The number of times the server failed to read records from the directory server.

FailedLdapModify (4 bytes): The number of times the server failed to modify records in the directory server.

FailedLdapAdd (4 bytes): The number of times the server failed to add entries to the directory server.

PollingPassesWithDsErrors (4 bytes): The number of times the server hit failure while polling zones in the directory server. This field SHOULD<75> be present. A client can tell whether the field is present based on the size of the buffer holding this structure.

LdapReconnects (4 bytes): The number of times the server attempted to reconnect to the directory server. This field MUST be present if and only if PollingPassesWithDsErrors is present. A client can tell whether the field is present based on the size of the buffer holding this structure.

DsWriteType (160 bytes): An array of 32-bit unsigned integers that keeps track of update requests for different DNS record types as specified DNS_RECORD_TYPE (section 2.2.2.1.1). There are a total of 40 entries each corresponding to the number of received update requests for different record types in the order specified in DNS_RECORD_TYPE (section 2.2.2.1.1), starting from DNS_TYPE_ZERO to DNS_TYPE_DNAME.