MSQSNAP - MS SQL Server: Database performance snapshot

MS SQL Server: Database performance snapshot information is stored in SAP table MSQSNAP.
It is part of development package STUN_MSS in software component BC-DB-MSS. This development package consists of objects that can be grouped under "Package for new SQL Server monitoring objects".

Fields for table MSQSNAP

Field Name
Description
Is Key
Data Element
Data Type
Length
Check Table
RECORDDATEDateXDATUMDATS8
RECORDTIMETimeXUZEITTIMS6
ELAPSEDSECMS SQL Server number of seconds elapsed since DB startupMSSELAPSEDINT44
.INCLUDEMSSST04LST0
.INCLUDEMSS_STSERV0
HOSTNAMEHostname of the application server logged into SQL ServerMSSHOSTNM_CHAR30
SQLVERSIONVersion of the database management system.MSQVERSNCHAR50
SQLBUILDNMSQL Server build number (corresponding to a Service Pack).MSQDBVERINT44
PRODLEVELDate the executable sqlservr.exe was created.MSQSSBLDDTCHAR12
SQLSTARTTMDate and time of last SQL Server start.MSQDBUPTMECHAR20
SQLEESQL Server edition: 'X' = Enterprise Ed., 'C' Cluster in useMSQSSSQLEECHAR1
NTVEROS edition: A=Advanced Server, S=Server, D=Datacenter.MSQSSNTEECHAR1
PARAMDIFFSingle-Character FlagCHAR1CHAR1
DISKPERFSingle-Character FlagCHAR1CHAR1
ISCLUSTERIs SQL Server clustered 'Y' or 'N'MSSISCLUSTERCHAR1
IS3GBIs SQL Server on machine with /3GB switch on 'Y' or 'N'MSSIS3GBCHAR1
ISPAEIs SQL Server on machine with PAE 'Y' or 'N'MSSISPAECHAR1
ISAWEIs SQL Server AWE enabled Y' or 'N'MSSISAWECHAR1
CHIPProcessor type being used on the host running SQL Server.MSQSSCHIPCHAR20
WINVEROperating system version running on SQL Server host.MSQSSWVERCHAR80
NUMCPUSNumber of CPUs on the host which runs SQL Server.MSQSSCPUSINT44
SQLCPUSMaximum number of CPUs SQL Server is configured to use.MSQSQLCPUSINT44
MASKBitmask representing the CPUs available to Windows.MSQSSMASKCHAR8
PHYMEMAmount of RAM on the server running SQL ServerMSQSSRAMINT44
TRACEFLAGSTrace flags which are currently set for SQL Server.MSQSSTFLGCHAR255
MEMSETTINGSpecifies how SQL Server memory parameters have been setMSQMEMSETCHAR10
AGTLOGLOCUNC path to a file used by SQL ServerMSSPATHCHAR255
ERRLOGLOCUNC path to a file used by SQL ServerMSSPATHCHAR255
.INCLUDEMSS_PMEM0
CONNECTMEMAmount of dynamic memory the server is using for connectionsMSSPMCONNDEC12
WRKPROCMEMAmount of memory granted to executing processes in KBMSSPMGWSPMDEC12
LOCKMEMORYAmount of dynamic memory used for locks in KBMSSPMLCKMDEC12
MAXWSPMEMMaximum amount of memory available for executing SQL processMSSPMMWSPMDEC12
OPTQRYMEMAmount of memory SQL Server is using for query optimizationMSSPMOPMEMDEC12
SQLCACMEMAmount of memory being used for dynamic SQL cache in KBMSSPMCACMDEC12
TARSRVMEMAmount of memory SQL Server is willing to consume in KBMSSPMTARSMDEC12
TTLSRVMEMAmount of memory SQL Server is currently using in KB.MSSPMTTLSMDEC12
USERCONCTSNumber of user connections to the SQL Server systemMSSPSUSCONDEC12
CACHEHITPercentage of pages found in the buffer cacheMSSPBCACHTDEC7
DATACACHSZSize in KB of the data cache, including unused spaceMSSPBDATACDEC12
CACHESIZESize in KB of the procedure cache, including unused space.MSSPBCACSZDEC12
BUFFCOMMITNumber of committed pages in cache.MSSPBCOMITDEC12
FREEBUFFERNumber of free pages available in cache.MSSPBFREBFDEC12
STLPAGECNTNumber of buffer pages taken for other memory requirementsMSSPBSTPCTDEC12
.INCLUDEMSS_PACCES0
FULLSCANSNumber of unrestricted base table or index scansMSSPAFULLSDEC12
INDEXSRCHNumber of index searchesMSSPAIDXSRDEC12
EXTALLOCSNumber of extents allocated to database objectsMSSPAEXALDEC12
EXTDEALLSNumber of extents deallocated in a databaseMSSPAEXDEDEC12
PAGEALLOCSNumber of pages allocated to database objectsMSSPAPGALDEC12
PAGEDEALLSNumber of pages deallocated in a databaseMSSPAPGDEDEC12
PAGESPLITSNumber of index page splits in a databaseMSSPAPGSPLDEC12
PROBESCANSNumber of probe scans in a databaseMSSPAPRBSNDEC12
RANGESCANSNumber of range scans through indexesMSSPARNGSNDEC12
WORKFILESNumber of work files createdMSSPAWFCREDEC12
WORKTABLESNumber of work tables createdMSSPAWTCREDEC12
LAZYWRITESNumber of pages written by the lazy writer to disk.MSSPBLZWTSDEC12
PAGEREADSNumber of physical page readsMSSPBPGRDSDEC12
PAGEWRITESNumber of physical page writesMSSPBPGWRTDEC12
REQBUFFPGNumber of requests to find a page in the buffer pool.MSSPBUFREQDEC12
READAHEADNumber of pages read in anticipation of use.MSSPBRAPGSDEC12
AUTOPARAMNumber of auto-parameterization attemptsMSSPSAUTODEC12
SQLBATCHSNumber of SQL batch requests received by server.MSSPSBATCHDEC12
SQLCOMPILENumber of SQL compilationsMSSPSQLCMPDEC12
AVGLTCHWTAverage wait time in ms for latch requests that waited.MSSPSALTWTDEC12
LATCHWAITSNumber of latch requests that had to wait before granted.MSSPSLTHWTDEC12
.INCLUDEMSSDBSIZEINFO0
DB_SIZEDatabase size in MBMSS_DBSIZEDEC8
DB_ALLOCAllocated space in database in MBMSS_DBALLOCDEC8
LOG_SIZELog size in MBMSS_LOGSIZEDEC8
LOG_ALLOCAllocated space in log in MBMSS_LOGALLOCDEC8
.INCLUDEMSSTOTTABSIZEINFO0
RESERVEDReserved size in KBMSSRESSIZEDEC8
NUMTABSNumber of user tablesMSSNUMTABLESINT44
TABDATAData size in KBMSSDATASIZEDEC8
NUMINDSNumber of indexes of user tablesMSSNUMINDEXESINT44
INDDATAIndex size in KBMSSINDEXSIZEDEC8
UNUSEDUnused size in KBMSSUNUSEDSIZEDEC8
NUMPROCSNumber of stored procedures created in DBIMSSNUMPROCSINT44
.INCLUDEMSQ_DYSERV0
SQLUPTIMENumber of seconds SQL Server has been running.MSQDSSQLSCINT44
CPUBUSYNumber of seconds CPUs have been busy (sum for all CPUs) .MSQDSCPUBYINT44
CPUIDLENumber of seconds CPUs have been idle (sum for all CPUs) .MSQDSCPUIDINT44
IOBUSYNumber of seconds SQL Server tasks were busy with IO.MSQDSIOBSYINT44
PCTCPUPercent of time the CPUs have been busy.MSQDSCPPCTINT44
PCTIDLEPercent of time CPUs have been idle.MSQDSIDPCTINT44
PCTIOPercent of time SQL Server tasks have beeen busy whit IO.MSQDSIOPCTINT44
PACKRECDNumber of network packets received.MSQDSPCKRDINT44
PACKSENTNumber of network packets sent out by SQL Server.MSQDSPCKSTINT44
CONNECTSNumber of attempted connections to SQL Server.MSQDSCONNINT44
PACKERRORSNumber of network packets with error since SQL Server start.MSQDSPCKERINT44
TOTALREADNumber of disk reads done by SQL Server (physical reads).MSQDSTOTRDINT44
TOTALWRITENumber of physical disk writes done by SQL Server.MSQDSTOTWRINT44
TOTALERRORNumber of disk read or write errors since SQL Server startedMSQDSTOTERINT44
.INCLUDEMSS_PFCACH0
CACHETYPEType of object in SQL Server procedure cache.MSSPCTYPECHAR40
HITRATIOProcedure cache hit ratio as percentage.MSSPCRATIODEC7
OBJECTCNTNumber of objects stored in the procedure cache.MSSPCOBJCTDEC12
OBJPAGESNumber of pages used by this object type in the cache.MSSPCPAGESDEC12
USECOUNTSNumber of times an object of this type has been used.MSSPCUSECTDEC12
R3USERSNumber of connections to SAP database from SAP application.MSQDBSAPPCINT44
OTHERUSERNumber of non-SAP processes connected to SAP database.MSQDBNUMPCINT44
UNIUSERNumber of different users connected to SAP databaseMSQDBNDUSRINT44
Privacy Policy