Skip to main content

MS SQL

Overview

MS SQL Server, the powerful and scalable relational database management system developed by Microsoft, seamlessly integrates with Motadata AIOps to provide comprehensive monitoring capabilities. With this integration, organizations gain real-time visibility into the performance and health of their MS SQL Server databases. Monitor critical database metrics such as query execution times, transaction rates, and database size to ensure efficient data processing and retrieval.

Supported Versions

Versions
16

Prerequisites for MS SQL Integration with Motadata AIOps:

  • Ensure that the MS SQL port (default: 14333) is open for the Motadata AIOps server.

  • Ensure you have the necessary credentials, including the username and password, for Motadata AIOps to connect to the MS SQL database.

  • Ensure that JDBC is supported on the server where MS SQL Database is configured.

  • For agentless monitoring, ensure that the user has the required access for remote access to the MS SQL server. For agent-based monitoring, this is not required.

  • Ensure that the MS SQL service is active and running on the server.

  • Ensure you have the name of the MS SQL database that you want to monitor.

  • Confirm that the MS SQL process and service are listed in the process and service monitor settings of Motadata AIOps. While these may be listed by default, verify that the names of the service and process match the specific MS SQL version that you intend to monitor.

By following these prerequisites, you can integrate MS SQL with Motadata AIOps and ensure smooth functioning of the monitoring process.

List of Supported KPIs

NameDescriptionType
system.tagsTags associated with the systemString
mssql.versionVersion of Microsoft SQL Server being usedString
mssql.cache.hit.ratio.percentPercentage of cache hits for SQL ServerCount
mssql.buffer.cache.hit.ratio.percentPercentage of buffer cache hits for SQL ServerCount
mssql.lazy.writes.per.secNumber of lazy writes per secondCount
mssql.free.list.stalls.per.secNumber of free list stalls per secondCount
mssql.active.transactionsNumber of active transactionsCount
mssql.transactions.per.secNumber of transactions per secondCount
mssql.log.growthsNumber of log growthsCount
mssql.cache.object.countsNumber of objects in the cacheCount
mssql.cache.used.objectsNumber of used objects in the cacheCount
mssql.cache.pagesNumber of cache pagesCount
mssql.lock.requests.per.secNumber of lock requests per secondCount
mssql.lock.waits.per.secNumber of lock waits per secondCount
mssql.latch.waits.per.secNumber of latch waits per secondCount
mssql.lock.timeouts.per.secNumber of lock timeouts per secondCount
mssql.average.latch.wait.time.msAverage latch wait time in millisecondsCount
mssql.average.wait.time.msAverage wait time in millisecondsCount
mssql.deadlocks.per.secNumber of deadlocks occurring per secondCount
mssql.sql.compilations.per.secNumber of SQL compilations per secondCount
mssql.sql.recompilations.per.secNumber of SQL recompilations per secondCount
mssql.table.lock.escalations.per.secNumber of table lock escalations per secondCount
mssql.full.scans.per.secNumber of full scans performed per secondCount
mssql.batch.requests.per.secNumber of batch requests per secondCount
mssql.probe.scans.per.secNumber of probe scans performed per secondCount
mssql.range.scans.per.secNumber of range scans performed per secondCount
mssql.auto.param.attempts.per.secNumber of automatic parameter attempts per secondCount
mssql.workfile.creates.per.secNumber of workfile creations per secondCount
mssql.worktable.creates.per.secNumber of worktable creations per secondCount
mssql.page.splits.per.secNumber of page splits per secondCount
mssql.failed.auto.params.per.secNumber of failed automatic parameter attempts per secondCount
mssql.user.connectionsNumber of active user connectionsCount
mssql.blocked.processesNumber of currently blocked processesCount
mssql.logins.per.secNumber of logins per secondCount
mssql.logouts.per.secNumber of logouts per secondCount
mssql.page.reads.per.secNumber of page reads per secondCount
mssql.page.writes.per.secNumber of page writes per secondCount
mssql.page.lookups.per.secNumber of page lookups per secondCount
mssql.checkpoint.pages.per.secNumber of checkpoint pages per secondCount
mssql.page.life.expectancyAverage time in seconds a page is expected to stay in memoryCount
mssql.database.pagesTotal number of pages in the databaseCount
mssql.server.memory.provisioned.bytesTotal amount of memory provisioned for the serverCount
mssql.target.server.memory.bytesTarget amount of memory for the serverCount
mssql.sql.cache.memory.bytesAmount of memory used by the SQL cacheCount
mssql.lock.memory.bytesAmount of memory used by locksCount
mssql.optimizer.memory.bytesAmount of memory used by the optimizerCount
mssql.connection.memory.bytesAmount of memory used by connectionsCount
mssql.memory.pending.grantsNumber of pending memory grantsCount
mssql.granted.workspace.memory.bytesAmount of granted workspace memoryCount
mssql.memory.outstanding.grantsNumber of outstanding memory grantsCount
mssql.stolen.pagesNumber of stolen pagesCount
mssql.free.pagesNumber of free pagesCount
mssql.pagesTotal number of pagesCount
mssql.errors.per.secNumber of errors per secondCount
mssql.received.packets.rateNumber of received packets per second (Random metric)Count
mssql.sent.packets.rateNumber of sent packets per secondCount
mssql.error.packetsNumber of error packetsCount
started.timeUptime of the systemString
started.time.secUptime of the system in secondsCount
mssql.cpu.busy.secondsTotal time the CPU was busy in secondsCount
mssql.idle.secondsTotal time the CPU was idle in secondsCount
mssql.reads.rateNumber of database reads per secondCount
mssql.writes.rateNumber of database writes per secondCount
mssql.errorsTotal number of errorsCount
mssql.connectionsTotal number of database connectionsCount
mssql.io.busy.secondsTotal time the I/O system was busy in secondsCount
mssql.querySQL query executedString
mssql.query.creation.timeTimestamp when the query was createdString
mssql.query.last.execution.timeTimestamp of the last execution of the queryString
mssql.query.physical.readsNumber of physical reads performed by the queryCount
mssql.query.logical.readsNumber of logical reads performed by the queryCount
mssql.query.logical.writesNumber of logical writes performed by the queryCount
mssql.query.execution.countTotal count of times the query has been executedCount
mssql.query.cpu.time.secTotal CPU time consumed by the query in secondsCount
mssql.query.elapsed.time.secTotal elapsed time for query execution in secondsCount
mssql.query.avg.elapsed.time.secAverage elapsed time for query execution in secondsCount
correlation.metricsCount of correlation metricsCount
mssql.active.sessionsCount of active MSSQL sessionsCount
mssql.idle.sessionsCount of idle MSSQL sessionsCount
mssql.connected.sessionsCount of connected MSSQL sessionsCount
mssql.blocked.sessionsCount of blocked MSSQL sessionsCount
mssql.blocked.sessionCount of blocked MSSQL session (randomized value)Count
mssql.sessionCount of MSSQL sessionsCount
mssql.waiting.sessionCount of waiting MSSQL sessionsCount
mssql.session.idUnique identifier of an MSSQL sessionCount
mssql.session.used.memory.bytesAmount of memory used by an MSSQL session in bytesCount
mssql.session.cpu.time.msCPU time consumed by an MSSQL session in millisecondsCount
mssql.session.failed.logonsCount of failed logon attempts for an MSSQL sessionCount
mssql.session.readsNumber of reads performed by an MSSQL sessionCount
mssql.session.writesNumber of writes performed by an MSSQL sessionCount
mssql.session.statusStatus of an MSSQL sessionCount
mssql.session.duration.secDuration of an MSSQL session in secondsCount
mssql.session.durationDuration of an MSSQL sessionCount
mssql.session.login.timeTimestamp of the login time for an MSSQL sessionCount
mssql.session.login.nameLogin name associated with an MSSQL sessionCount
mssql.session.applicationApplication associated with an MSSQL sessionCount
mssql.session.remote.clientRemote client connected to an MSSQL sessionCount
mssql.session.domainDomain associated with an MSSQL sessionCount
mssql.session.domain.userDomain user associated with an MSSQL sessionCount
mssql.waiting.session.idUnique identifier of a waiting MSSQL sessionCount
mssql.waiting.session.remote.clientRemote client connected to a waiting MSSQL sessionCount
mssql.waiting.session.domain.userDomain user associated with a waiting MSSQL sessionCount
mssql.waiting.session.domainDomain associated with a waiting MSSQL sessionCount
mssql.waiting.session.program.nameProgram name associated with a waiting MSSQL sessionCount
mssql.waiting.session.login.nameLogin name associated with a waiting MSSQL sessionCount
mssql.waiting.session.wait.duration.msWaiting duration in milliseconds for a waiting MSSQL sessionCount
mssql.waiting.session.wait.typeType of wait for a waiting MSSQL sessionCount
mssql.blocked.session.idUnique identifier of a blocked MSSQL sessionCount
mssql.blocking.sessionIdentifier of the blocking session for a blocked MSSQL sessionCount
mssql.blocked.session.databaseDatabase associated with a blocked MSSQL sessionCount
mssql.blocked.session.resource.typeType of resource being blocked by a MSSQL sessionCount
mssql.blocked.session.resource.modeMode of resource being blocked by a MSSQL sessionCount
mssql.blocked.session.blocked.queryQuery causing the blockage for a MSSQL sessionCount
mssql.blocked.session.blocking.queryQuery being executed by a blocking MSSQL sessionCount
mssql.blocked.session.remote.clientRemote client connected to a blocked MSSQL sessionCount
mssql.blocked.session.domain.userDomain user associated with a blocked MSSQL session (randomized value)Count
mssql.blocked.session.domainDomain associated with a blocked MSSQL session (randomized value)Count
mssql.blocked.session.userUser associated with a blocked MSSQL sessionCount
mssql.blocking.session.domain.userDomain user associated with a blocking MSSQL session (randomized value)Count
mssql.blocking.session.domainDomain associated with a blocking MSSQL session (randomized value)Count
mssql.blocking.session.userUser associated with a blocking MSSQL sessionCount
mssql.blocked.session.program.nameProgram name associated with a blocked MSSQL sessionCount
mssql.log.shipping.database.typeType of the MSSQL log shipping databaseString
mssql.log.shipping.database.nameName of the MSSQL log shipping databaseString
mssql.log.shipping.last.backup.duration.secondsDuration of the last backup for the MSSQL log shippingCount
mssql.log.shipping.last.backedup.fileLast backed-up file for the MSSQL log shippingString
mssql.log.shipping.last.copy.duration.secondsDuration of the last copy for the MSSQL log shippingCount
mssql.log.shipping.last.copied.fileLast copied file for the MSSQL log shippingCount
mssql.log.shipping.last.restore.duration.secondsDuration of the last restore for the MSSQL log shippingCount
mssql.log.shipping.last.restored.fileLast restored file for the MSSQL log shippingCount
mssql.alwayson.connected.stateConnected state of the MSSQL AlwaysOnString
mssql.alwayson.roleRole of the MSSQL AlwaysOnString
mssql.alwayson.operational.stateOperational state of the MSSQL AlwaysOn (randomized value)String
mssql.alwayson.availability.modeAvailability mode of the MSSQL AlwaysOnString
mssql.alwayson.failover.modeFailover mode of the MSSQL AlwaysOnString
mssql.alwaysonMSSQL AlwaysOnString
mssql.alwayson.replica.nameName of the MSSQL AlwaysOn replicaString
mssql.alwayson.nameName of the MSSQL AlwaysOnString
mssql.alwayson.endpoint.urlEndpoint URL of the MSSQL AlwaysOnString
mssql.cluster.node.nameName of the MSSQL cluster nodeString
mssql.cluster.node.stateState of the MSSQL cluster nodeString
mssql.cluster.node.is.ownerSpecifies if the MSSQL cluster node is an owner (Boolean value)Boolean
correlation.metricsCorrelation metricsString
mssql.waiting.processesNumber of MSSQL processes waitingCount
mssql.suspended.processesNumber of MSSQL processes suspendedCount
mssql.running.processesNumber of MSSQL processes runningCount
mssql.process.wait.time.msWait time in milliseconds for the MSSQL processCount
mssql.processMSSQL processCount
mssql.process.kernel.idKernel ID of the MSSQL processCount
mssql.process.statusStatus of the MSSQL processString
mssql.process.hostnameHostname associated with the MSSQL processString
mssql.process.commandCommand executed by the MSSQL processString
mssql.process.io.ops.rateRate of I/O operations for the MSSQL processCount
mssql.process.memory.bytesMemory usage in bytes by the MSSQL processCount
mssql.process.hostNumber of hosts running the MSSQL processCount
mssql.process.nameName of the MSSQL processString
mssql.jobMSSQL jobString
mssql.job.serverServer associated with the MSSQL jobString
mssql.job.retry.attemptsNumber of retry attempts for the MSSQL jobCount
mssql.job.current.status.codeCurrent status code of the MSSQL jobString
mssql.job.last.run.statusLast run status of the MSSQL jobString
mssql.job.last.run.status.codeLast run status code of the MSSQL jobString
mssql.job.current.statusCurrent status of the MSSQL jobString
mssql.job.last.execution.timeLast execution time of the MSSQL jobString
mssql.job.next.execution.timeNext execution time of the MSSQL jobString
mssql.missing.indicesNumber of missing indices in MSSQLCount
correlation.metricsCorrelation metricsString
mssql.indicesNumber of indices in MSSQLCount
mssql.unused.indicesNumber of unused indices in MSSQLCount
mssql.indexMSSQL indexString
mssql.index.database.nameName of the database for the MSSQL indexString
mssql.index.schema.nameName of the schema for the MSSQL indexString
mssql.index.table.nameName of the table for the MSSQL indexCount
mssql.index.user.seeks.rateUser seeks rate for the MSSQL indexCount
mssql.index.user.scans.rateUser scans rate for the MSSQL indexCount
mssql.index.user.lookups.rateUser lookups rate for the MSSQL indexCount
mssql.index.user.updates.rateUser updates rate for the MSSQL indexCount
mssql.unused.indexUnused MSSQL indexString
mssql.unused.index.database.nameDatabase name for the unused MSSQL indexString
mssql.unused.index.schema.nameSchema name for the unused MSSQL indexString
mssql.unused.index.table.nameTable name for the unused MSSQL indexString
mssql.unused.index.idIdentifier for the unused MSSQL indexCount
mssql.missing.indexMissing MSSQL indexCount
mssql.missing.index.groupGroup for the missing MSSQL indexCount
mssql.missing.index.database.nameDatabase name for the missing MSSQL indexString
mssql.missing.index.table.nameTable name for the missing MSSQL indexString
mssql.missing.index.column.idIdentifier for the column of the missing indexCount
mssql.missing.index.column.nameColumn name for the missing MSSQL indexString
mssql.missing.index.column.usageUsage count for the column of the missing indexCount
mssql.missing.index.user.seeks.rateUser seeks rate for the missing MSSQL indexCount
mssql.missing.index.user.scans.rateUser scans rate for the missing MSSQL indexCount
mssql.missing.index.user.costUser cost for the missing MSSQL indexCount
mssql.missing.index.user.percentUser percentage for the missing MSSQL indexCount
mssql.databaseMSSQL databaseCount
mssql.database.active.transactionsNumber of active transactions in the MSSQL databaseCount
mssql.database.statusStatus of the MSSQL databaseString
mssql.database.log.file.pathFile path of the log file for the MSSQL databaseString
mssql.database.log.growthsNumber of log file growths for the MSSQL databaseCount
mssql.database.backup.restore.ops.per.secNumber of backup and restore operations per secondCount
mssql.database.replication.transactions.per.secNumber of replication transactions per secondCount
mssql.database.bulk.copy.ops.per.secNumber of bulk copy operations per secondCount
mssql.database.shrink.data.movement.bytes.per.secNumber of data movement bytes per second during shrink operationsCount
mssql.database.data.file.pathFile path of the data file for the MSSQL databaseString
mssql.database.flush.log.waits.per.secNumber of log flush waits per secondCount
mssql.database.bulk.copy.rows.per.secNumber of rows copied per second during bulk copy operationsCount
mssql.database.log.used.percentPercentage of log space used in the MSSQL databaseCount
mssql.database.log.file.used.bytesNumber of bytes used in the log file of the MSSQL databaseCount
mssql.database.creation.timeCreation time of the MSSQL databaseString
mssql.database.dbcc.logical.scan.bytes.per.secRate of logical scan bytes per second in the MSSQL databaseCount
mssql.database.transactions.per.secRate of transactions per second in the MSSQL databaseCount
mssql.database.tablesNumber of tables in the MSSQL databaseCount
mssql.database.data.file.size.bytesSize of the data file in bytes for the MSSQL databaseCount
mssql.database.log.shrinksNumber of log file shrinks in the MSSQL databaseCount
mssql.database.log.flushed.bytes.per.secRate of flushed log bytes per second in the MSSQL databaseCount
mssql.database.log.cache.reads.per.secRate of log cache reads per second in the MSSQL databaseCount
mssql.database.log.cache.hit.ratio.percentPercentage of log cache hits in the MSSQL databaseCount
mssql.database.log.file.size.bytesSize of the log file in bytes for the MSSQL databaseCount
mssql.database.log.flush.wait.time.msWait time for log flushes in milliseconds in the MSSQL databaseCount
mssql.database.log.flushes.per.secRate of log flushes per second in the MSSQL databaseCount
mssql.database.database.size.bytesSize of the database in bytes for the MSSQL databaseCount
mssql.database.log.transactionsNumber of log transactions in the MSSQL databaseCount
mssql.backup.server.nameName of the server where the MSSQL backup was createdString
mssql.backup.database.nameName of the database being backed up in MSSQLString
mssql.backup.start.timeStart time of the MSSQL backupString
mssql.backup.end.timeEnd time of the MSSQL backupString
mssql.backup.recovery.modelRecovery model used for the MSSQL backupString
mssql.backup.is.damagedIndicates whether the MSSQL backup is damagedString
mssql.backup.durationDuration of the MSSQL backupString
mssql.backup.typeType of the MSSQL backupString
mssql.backup.bytesSize of the MSSQL backup in bytesCount
mssql.backup.logical.device.nameLogical device name used for the MSSQL backupString
mssql.backup.physical.device.namePhysical device name used for the MSSQL backupString
mssql.backup.set.nameName of the backup set in MSSQLString
mssql.last.backup.secondsTime elapsed since the last backup in secondsCount
mssql.backupNumber of MSSQL backupsCount