MSSSNAPHIS SAP (MS SQL Server MSQSNAP table history list) Structure details
Description: MS SQL Server MSQSNAP table history list
Structure field list including key, data, relationships and ABAP select examples
MSSSNAPHIS is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "MS SQL Server MSQSNAP table history list" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_MSSSNAPHIS TYPE MSSSNAPHIS.
The MSSSNAPHIS table consists of various fields, each holding specific information or linking keys about MS SQL Server MSQSNAP table history list data available in SAP. These include DAYOW (Day (for Collector)), RECORDS (MS SQL Server peformance server: number of records), RECORDDATE (Date), RECORDTIME (Time).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP MSSSNAPHIS structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
WEEK | Factory calendar: Week | KWEEK | ACCP | 6 | KWEEK | ||||
DAYOW | Day (for Collector) | DAYOFWEEK | CHAR | 7 | CHAR7 | ||||
RECORDS | MS SQL Server peformance server: number of records | MSSNUMRECD | INT2 | 5 | INT2 | ||||
RECORDDATE | Date | DATUM | DATS | 8 | DATUM | ||||
RECORDTIME | Time | UZEIT | TIMS | 6 | UZEIT | ||||
ELAPSEDSEC | MS SQL Server number of seconds elapsed since DB startup | MSSELAPSED | INT4 | 10 | INT4 | ||||
HOSTNAME | Hostname of the application server logged into SQL Server | MSSHOSTNM_ | CHAR | 30 | TEXT30 | ||||
SQLVERSION | Version of the database management system. | MSQVERSN | CHAR | 50 | CHAR50 | ||||
SQLBUILDNM | SQL Server build number (corresponding to a Service Pack). | MSQDBVER | INT4 | 10 | INT4 | ||||
PRODLEVEL | Date the executable sqlservr.exe was created. | MSQSSBLDDT | CHAR | 12 | CHAR12 | ||||
SQLSTARTTM | Date and time of last SQL Server start. | MSQDBUPTME | CHAR | 20 | CHAR20 | ||||
SQLEE | SQL Server edition: 'X' = Enterprise Ed., 'C' Cluster in use | MSQSSSQLEE | CHAR | 1 | CHAR1 | ||||
NTVER | OS edition: A=Advanced Server, S=Server, D=Datacenter. | MSQSSNTEE | CHAR | 1 | CHAR1 | ||||
PARAMDIFF | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
DISKPERF | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
ISCLUSTER | Is SQL Server clustered 'Y' or 'N' | MSSISCLUSTER | CHAR | 1 | CHAR1 | ||||
IS3GB | Is SQL Server on machine with /3GB switch on 'Y' or 'N' | MSSIS3GB | CHAR | 1 | CHAR1 | ||||
ISPAE | Is SQL Server on machine with PAE 'Y' or 'N' | MSSISPAE | CHAR | 1 | CHAR1 | ||||
ISAWE | Is SQL Server AWE enabled Y' or 'N' | MSSISAWE | CHAR | 1 | CHAR1 | ||||
CHIP | Processor type being used on the host running SQL Server. | MSQSSCHIP | CHAR | 20 | CHAR20 | ||||
WINVER | Operating system version running on SQL Server host. | MSQSSWVER | CHAR | 80 | CHAR80 | ||||
NUMCPUS | Number of CPUs on the host which runs SQL Server. | MSQSSCPUS | INT4 | 10 | INT4 | ||||
SQLCPUS | Maximum number of CPUs SQL Server is configured to use. | MSQSQLCPUS | INT4 | 10 | INT4 | ||||
MASK | Bitmask representing the CPUs available to Windows. | MSQSSMASK | CHAR | 8 | CHAR08 | ||||
PHYMEM | Amount of RAM on the server running SQL Server | MSQSSRAM | INT4 | 10 | INT4 | ||||
TRACEFLAGS | Trace flags which are currently set for SQL Server. | MSQSSTFLG | CHAR | 255 | CHAR255 | ||||
MEMSETTING | Specifies how SQL Server memory parameters have been set | MSQMEMSET | CHAR | 10 | CHAR010 | ||||
AGTLOGLOC | UNC path to a file used by SQL Server | MSSPATH | CHAR | 255 | MSSCSC255 | ||||
ERRLOGLOC | UNC path to a file used by SQL Server | MSSPATH | CHAR | 255 | MSSCSC255 | ||||
CONNECTMEM | Amount of dynamic memory the server is using for connections | MSSPMCONN | DEC | 23 | |||||
WRKPROCMEM | Amount of memory granted to executing processes in KB | MSSPMGWSPM | DEC | 23 | |||||
LOCKMEMORY | Amount of dynamic memory used for locks in KB | MSSPMLCKM | DEC | 23 | |||||
MAXWSPMEM | Maximum amount of memory available for executing SQL process | MSSPMMWSPM | DEC | 23 | |||||
OPTQRYMEM | Amount of memory SQL Server is using for query optimization | MSSPMOPMEM | DEC | 23 | |||||
SQLCACMEM | Amount of memory being used for dynamic SQL cache in KB | MSSPMCACM | DEC | 23 | |||||
TARSRVMEM | Amount of memory SQL Server is willing to consume in KB | MSSPMTARSM | DEC | 23 | |||||
TTLSRVMEM | Amount of memory SQL Server is currently using in KB. | MSSPMTTLSM | DEC | 23 | |||||
USERCONCTS | Number of user connections to the SQL Server system | MSSPSUSCON | DEC | 23 | |||||
CACHEHIT | Percentage of pages found in the buffer cache | MSSPBCACHT | DEC | 13(3) | |||||
DATACACHSZ | Size in KB of the data cache, including unused space | MSSPBDATAC | DEC | 23 | |||||
CACHESIZE | Size in KB of the procedure cache, including unused space. | MSSPBCACSZ | DEC | 23 | |||||
BUFFCOMMIT | Number of committed pages in cache. | MSSPBCOMIT | DEC | 23 | |||||
FREEBUFFER | Number of free pages available in cache. | MSSPBFREBF | DEC | 23 | |||||
STLPAGECNT | Number of buffer pages taken for other memory requirements | MSSPBSTPCT | DEC | 23 | |||||
FULLSCANS | Number of unrestricted base table or index scans | MSSPAFULLS | DEC | 23 | |||||
INDEXSRCH | Number of index searches | MSSPAIDXSR | DEC | 23 | |||||
EXTALLOCS | Number of extents allocated to database objects | MSSPAEXAL | DEC | 23 | |||||
EXTDEALLS | Number of extents deallocated in a database | MSSPAEXDE | DEC | 23 | |||||
PAGEALLOCS | Number of pages allocated to database objects | MSSPAPGAL | DEC | 23 | |||||
PAGEDEALLS | Number of pages deallocated in a database | MSSPAPGDE | DEC | 23 | |||||
PAGESPLITS | Number of index page splits in a database | MSSPAPGSPL | DEC | 23 | |||||
PROBESCANS | Number of probe scans in a database | MSSPAPRBSN | DEC | 23 | |||||
RANGESCANS | Number of range scans through indexes | MSSPARNGSN | DEC | 23 | |||||
WORKFILES | Number of work files created | MSSPAWFCRE | DEC | 23 | |||||
WORKTABLES | Number of work tables created | MSSPAWTCRE | DEC | 23 | |||||
LAZYWRITES | Number of pages written by the lazy writer to disk. | MSSPBLZWTS | DEC | 23 | |||||
PAGEREADS | Number of physical page reads | MSSPBPGRDS | DEC | 23 | |||||
PAGEWRITES | Number of physical page writes | MSSPBPGWRT | DEC | 23 | |||||
REQBUFFPG | Number of requests to find a page in the buffer pool. | MSSPBUFREQ | DEC | 23 | |||||
READAHEAD | Number of pages read in anticipation of use. | MSSPBRAPGS | DEC | 23 | |||||
AUTOPARAM | Number of auto-parameterization attempts | MSSPSAUTO | DEC | 23 | |||||
SQLBATCHS | Number of SQL batch requests received by server. | MSSPSBATCH | DEC | 23 | |||||
SQLCOMPILE | Number of SQL compilations | MSSPSQLCMP | DEC | 23 | |||||
AVGLTCHWT | Average wait time in ms for latch requests that waited. | MSSPSALTWT | DEC | 23 | |||||
LATCHWAITS | Number of latch requests that had to wait before granted. | MSSPSLTHWT | DEC | 23 | |||||
DB_SIZE | Database size in MB | MSS_DBSIZE | DEC | 15 | |||||
DB_ALLOC | Allocated space in database in MB | MSS_DBALLOC | DEC | 15 | |||||
LOG_SIZE | Log size in MB | MSS_LOGSIZE | DEC | 15 | |||||
LOG_ALLOC | Allocated space in log in MB | MSS_LOGALLOC | DEC | 15 | |||||
RESERVED | Reserved size in KB | MSSRESSIZE | DEC | 15 | |||||
NUMTABS | Number of user tables | MSSNUMTABLES | INT4 | 10 | |||||
TABDATA | Data size in KB | MSSDATASIZE | DEC | 15 | |||||
NUMINDS | Number of indexes of user tables | MSSNUMINDEXES | INT4 | 10 | |||||
INDDATA | Index size in KB | MSSINDEXSIZE | DEC | 15 | |||||
UNUSED | Unused size in KB | MSSUNUSEDSIZE | DEC | 15 | |||||
NUMPROCS | Number of stored procedures created in DBI | MSSNUMPROCS | INT4 | 10 | |||||
SQLUPTIME | Number of seconds SQL Server has been running. | MSQDSSQLSC | INT4 | 10 | INT4 | ||||
CPUBUSY | Number of seconds CPUs have been busy (sum for all CPUs) . | MSQDSCPUBY | INT4 | 10 | INT4 | ||||
CPUIDLE | Number of seconds CPUs have been idle (sum for all CPUs) . | MSQDSCPUID | INT4 | 10 | INT4 | ||||
IOBUSY | Number of seconds SQL Server tasks were busy with IO. | MSQDSIOBSY | INT4 | 10 | INT4 | ||||
PCTCPU | Percent of time the CPUs have been busy. | MSQDSCPPCT | INT4 | 10 | INT4 | ||||
PCTIDLE | Percent of time CPUs have been idle. | MSQDSIDPCT | INT4 | 10 | INT4 | ||||
PCTIO | Percent of time SQL Server tasks have beeen busy whit IO. | MSQDSIOPCT | INT4 | 10 | INT4 | ||||
PACKRECD | Number of network packets received. | MSQDSPCKRD | INT4 | 10 | INT4 | ||||
PACKSENT | Number of network packets sent out by SQL Server. | MSQDSPCKST | INT4 | 10 | INT4 | ||||
CONNECTS | Number of attempted connections to SQL Server. | MSQDSCONN | INT4 | 10 | INT4 | ||||
PACKERRORS | Number of network packets with error since SQL Server start. | MSQDSPCKER | INT4 | 10 | INT4 | ||||
TOTALREAD | Number of disk reads done by SQL Server (physical reads). | MSQDSTOTRD | INT4 | 10 | INT4 | ||||
TOTALWRITE | Number of physical disk writes done by SQL Server. | MSQDSTOTWR | INT4 | 10 | INT4 | ||||
TOTALERROR | Number of disk read or write errors since SQL Server started | MSQDSTOTER | INT4 | 10 | INT4 | ||||
CACHETYPE | Type of object in SQL Server procedure cache. | MSSPCTYPE | CHAR | 40 | CHAR40 | ||||
HITRATIO | Procedure cache hit ratio as percentage. | MSSPCRATIO | DEC | 13(3) | |||||
OBJECTCNT | Number of objects stored in the procedure cache. | MSSPCOBJCT | DEC | 23 | |||||
OBJPAGES | Number of pages used by this object type in the cache. | MSSPCPAGES | DEC | 23 | |||||
USECOUNTS | Number of times an object of this type has been used. | MSSPCUSECT | DEC | 23 | |||||
R3USERS | Number of connections to SAP database from SAP application. | MSQDBSAPPC | INT4 | 10 | INT4 | ||||
OTHERUSER | Number of non-SAP processes connected to SAP database. | MSQDBNUMPC | INT4 | 10 | INT4 | ||||
UNIUSER | Number of different users connected to SAP database | MSQDBNDUSR | INT4 | 10 | INT4 |
Key field | Non-key field |
How do I retrieve data from SAP structure MSSSNAPHIS using ABAP code?
As MSSSNAPHIS is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on MSSSNAPHIS as there is no data to select.How to access SAP table MSSSNAPHIS
Within an ECC or HANA version of SAP you can also view further information about MSSSNAPHIS and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects