Date post: | 20-Oct-2015 |
Category: |
Documents |
Upload: | sankar-babu |
View: | 362 times |
Download: | 4 times |
SAP HANA System Tables and Monitoring ViewsReferenceSAP HANA Appliance Software SPS 05, Revision 45Target Audience
ConsultantsAdministratorsSAP Hardware PartnerOthers
1 2012-12-19
Copyright © Copyright 2012 SAP AG. All rights reserved
SAP Library document classification: PUBLIC
No part of this publication may be reproduced or transmitted in any form or forany purpose without the express permission of SAP AG. The informationcontained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors containproprietary software components of other software vendors.
Microsoft, Windows, Excel, Outlook, PowerPoint, Silverlight, and Visual Studioare registered trademarks of Microsoft Corporation.
IBM, DB2, DB2 Universal Database, System i, System i5, System p, Systemp5, System x, System z, System z10, z10, z/VM, z/OS, OS/390, zEnterprise,PowerVM, Power Architecture, Power Systems, POWER7, POWER6+,POWER6, POWER, PowerHA, pureScale, PowerPC, BladeCenter, SystemStorage, Storwize, XIV, GPFS, HACMP, RETAIN, DB2 Connect, RACF,Redbooks, OS/2, AIX, Intelligent Miner, WebSphere, Tivoli, Informix, andSmarter Planet are trademarks or registered trademarks of IBM Corporation.
Linux is the registered trademark of Linus Torvalds in the United States andother countries.
Adobe, the Adobe logo, Acrobat, PostScript, and Reader are trademarks orregistered trademarks of Adobe Systems Incorporated in the United States andother countries.
Oracle and Java are registered trademarks of Oracle and its affiliates.
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, andMultiWin are trademarks or registered trademarks of Citrix Systems Inc.
HTML, XML, XHTML, and W3C are trademarks or registered trademarks ofW3C®, World Wide Web Consortium, Massachusetts Institute of Technology.
Apple, App Store, iBooks, iPad, iPhone, iPhoto, iPod, iTunes, Multi-Touch,Objective-C, Retina, Safari, Siri, and Xcode are trademarks or registeredtrademarks of Apple Inc.
IOS is a registered trademark of Cisco Systems Inc.
RIM, BlackBerry, BBM, BlackBerry Curve, BlackBerry Bold, BlackBerry Pearl,
2 2012-12-19
BlackBerry Torch, BlackBerry Storm, BlackBerry Storm2, BlackBerry PlayBook,and BlackBerry App World are trademarks or registered trademarks of Researchin Motion Limited.
Google App Engine, Google Apps, Google Checkout, Google Data API, GoogleMaps, Google Mobile Ads, Google Mobile Updater, Google Mobile, Google Store,Google Sync, Google Updater, Google Voice, Google Mail, Gmail, YouTube,Dalvik and Android are trademarks or registered trademarks of Google Inc.
INTERMEC is a registered trademark of Intermec Technologies Corporation.
Wi-Fi is a registered trademark of Wi-Fi Alliance.
Bluetooth is a registered trademark of Bluetooth SIG Inc.
Motorola is a registered trademark of Motorola Trademark Holdings LLC.
Computop is a registered trademark of Computop Wirtschaftsinformatik GmbH.
SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAPBusinessObjects Explorer, StreamWork, SAP HANA, and other SAP productsand services mentioned herein as well as their respective logos are trademarksor registered trademarks of SAP AG in Germany and other countries.
Business Objects and the Business Objects logo, BusinessObjects, CrystalReports, Crystal Decisions, Web Intelligence, Xcelsius, and other BusinessObjects products and services mentioned herein as well as their respectivelogos are trademarks or registered trademarks of Business Objects SoftwareLtd. Business Objects is an SAP company.
Sybase and Adaptive Server, iAnywhere, Sybase 365, SQL Anywhere, and otherSybase products and services mentioned herein as well as their respective logosare trademarks or registered trademarks of Sybase Inc. Sybase is an SAPcompany.
Crossgate, m@gic EDDY, B2B 360°, and B2B 360° Services are registeredtrademarks of Crossgate AG in Germany and other countries. Crossgate is anSAP company.
All other product and service names mentioned are the trademarks of theirrespective companies. Data contained in this document serves informationalpurposes only. National product specifications may vary.
These materials are subject to change without notice. These materials areprovided by SAP AG and its affiliated companies ("SAP Group") for informationalpurposes only, without representation or warranty of any kind, and SAP Groupshall not be liable for errors or omissions with respect to the materials. The onlywarranties for SAP Group products and services are those that are set forth inthe express warranty statements accompanying such products and services, ifany. Nothing herein should be construed as constituting an additional warranty.
3 2012-12-19
4999
101112131415161718192021222324252627282930313233343536373839404142434445464748495152535456
Table of Content
Table of ContentSAP HANA System Tables and Monitoring Views Reference
About this DocumentSAP HANA GuidesAUDIT_POLICIESAUTHORIZATION_GRAPHCONSTRAINTSCS_BO_VIEWSCS_FREESTYLE_COLUMNSCS_JOIN_CONDITIONSCS_JOIN_CONSTRAINTSCS_JOIN_PATHSCS_JOIN_TABLESCS_KEY_FIGURESCS_VIEW_COLUMNSDATA_TYPESEFFECTIVE_PRIVILEGESEFFECTIVE_ROLESEXPLAIN_PLAN_TABLEFULLTEXT_INDEXESFUNCTIONSFUNCTION_PARAMETERSGRANTED_PRIVILEGESGRANTED_ROLESINDEXESINDEX_COLUMNSINVALID_CONNECT_ATTEMPTSM_ATTACHED_STORAGESM_BACKUP_CATALOGM_BACKUP_CATALOG_FILESM_BACKUP_CONFIGURATIONM_BLOCKED_TRANSACTIONSM_CACHESM_CACHES_RESETM_CACHE_ENTRIESM_CATALOG_MEMORYM_CE_CALCSCENARIOSM_CE_CALCVIEW_DEPENDENCIESM_CE_DEBUG_INFOSM_CE_DEBUG_JSONSM_CE_DEBUG_NODE_MAPPINGM_CE_PLE_CALCSCENARIOSM_CLIENT_VERSIONSM_COMPACTION_THREADM_CONDITIONAL_VARIABLESM_CONDITIONAL_VARIABLES_RESETM_CONFIGURATIONM_CONNECTIONSM_CONNECTION_STATISTICS
Table of Content
4 2012-12-19
56585960616264656667687071727374757677787980818384858687888990919293949596979899
101102103104105106107108109114115116117
M_CONNECTION_STATISTICSM_CONTAINER_DIRECTORYM_CONTAINER_NAME_DIRECTORYM_CONTEXT_MEMORYM_CONTEXT_MEMORY_RESETM_CONVERTER_STATISTICSM_CONVERTER_STATISTICS_RESETM_CS_ALL_COLUMNSM_CS_COLUMNSM_CS_PARTITIONSM_CS_TABLESM_CS_UNLOADSM_DATABASEM_DATABASE_HISTORYM_DATA_VOLUMESM_DATA_VOLUME_PAGE_STATISTICSM_DATA_VOLUME_PAGE_STATISTICS_RESETM_DATA_VOLUME_SUPERBLOCK_STATISTICSM_DELTA_MERGE_STATISTICSM_DISKSM_ERROR_CODESM_EVENTSM_EXPENSIVE_STATEMENTSM_EXPORT_BINARY_STATUSM_EXTRACTORSM_FEATURESM_FULLTEXT_QUEUESM_FUZZY_SEARCH_INDEXESM_GARBAGE_COLLECTION_STATISTICSM_GARBAGE_COLLECTION_STATISTICS_RESETM_HEAP_MEMORYM_HEAP_MEMORY_RESETM_HISTORY_INDEX_LAST_COMMIT_IDM_HOST_INFORMATIONM_HOST_RESOURCE_UTILIZATIONM_IMPORT_BINARY_STATUSM_INIFILESM_INIFILE_CONTENTSM_JOB_PROGRESSM_LANDSCAPE_HOST_CONFIGURATIONM_LICENSEM_LICENSE_USAGE_HISTORYM_LIVECACHE_CONTAINER_STATISTICSM_LIVECACHE_CONTAINER_STATISTICS_RESETM_LIVECACHE_LOCKSM_LIVECACHE_LOCK_STATISTICSM_LIVECACHE_LOCK_STATISTICS_RESETM_LIVECACHE_OMS_VERSIONSM_LIVECACHE_PROCEDURE_STATISTICSM_LIVECACHE_PROCEDURE_STATISTICS_RESETM_LIVECACHE_SCHEMA_STATISTICSM_LIVECACHE_SCHEMA_STATISTICS_RESETM_LOCK_WAITS_STATISTICS
Table of Content
5 2012-12-19
118119120122123124125126127128129130131132133134135136137138139140141142143144145146148149150151152153154156158160161162163164165166167168169170171172173174
M_LOG_BUFFERSM_LOG_BUFFERS_RESETM_LOG_PARTITIONSM_LOG_PARTITIONS_RESETM_LOG_SEGMENTSM_LOG_SEGMENTS_RESETM_MEMORY_OBJECTSM_MEMORY_OBJECTS_RESETM_MEMORY_OBJECT_DISPOSITIONSM_MERGED_TRACESM_MONITORSM_MONITOR_COLUMNSM_MUTEXESM_MUTEXES_RESETM_MVCC_TABLESM_OBJECT_LOCKSM_OBJECT_LOCK_STATISTICSM_OBJECT_LOCK_STATISTICS_RESETM_PAGEACCESS_STATISTICSM_PAGEACCESS_STATISTICS_RESETM_PASSWORD_POLICYM_PERFTRACEM_PERSISTENCE_ENCRYPTION_KEYSM_PERSISTENCE_ENCRYPTION_STATUSM_PERSISTENCE_MANAGERSM_PERSISTENCE_MANAGERS_RESETM_PREPARED_STATEMENTSM_READWRITELOCKSM_READWRITELOCKS_RESETM_RECORD_LOCKSM_REORG_ALGORITHMSM_REPO_TRANSPORT_FILESM_RS_INDEXESM_RS_TABLESM_RS_TABLE_VERSION_STATISTICSM_SAVEPOINTSM_SAVEPOINT_STATISTICSM_SAVEPOINT_STATISTICS_RESETM_SEMAPHORESM_SEMAPHORES_RESETM_SERVICESM_SERVICE_COMPONENT_MEMORYM_SERVICE_MEMORYM_SERVICE_NETWORK_IOM_SERVICE_REPLICATIONM_SERVICE_STATISTICSM_SERVICE_THREADSM_SERVICE_THREAD_CALLSTACKSM_SERVICE_TRACESM_SERVICE_TYPESM_SESSION_CONTEXTM_SHARED_MEMORY
Table of Content
6 2012-12-19
175176179180181182183184185186187188189190191192193194195196197198199200201202203204205207208209210211212213214215216217218219220221222223224225226227228229
M_SNAPSHOTSM_SQL_PLAN_CACHEM_SQL_PLAN_CACHE_OVERVIEWM_SQL_PLAN_CACHE_RESETM_SYSTEM_INFORMATION_STATEMENTSM_SYSTEM_LIMITSM_SYSTEM_OVERVIEWM_TABLESM_TABLE_LOB_FILESM_TABLE_LOCATIONSM_TABLE_PERSISTENCE_LOCATIONSM_TABLE_PERSISTENCE_STATISTICSM_TABLE_VIRTUAL_FILESM_TEMPORARY_TABLESM_TEMPORARY_TABLE_COLUMNSM_TEMPORARY_VIEWSM_TEMPORARY_VIEW_COLUMNSM_TENANTSM_TEXT_ANALYSIS_LANGUAGESM_TEXT_ANALYSIS_MIME_TYPESM_TOPOLOGY_TREEM_TRACEFILESM_TRACEFILE_CONTENTSM_TRANSACTIONSM_UNDO_CLEANUP_FILESM_VERSION_MEMORYM_VOLUMESM_VOLUME_FILESM_VOLUME_IO_STATISTICSM_VOLUME_IO_STATISTICS_RESETM_VOLUME_SIZESM_WORKLOADM_XS_APPLICATIONSM_XS_APPLICATION_ISSUESOBJECTSOBJECT_DEPENDENCIESOWNERSHIPPRIVILEGESPROCEDURESPROCEDURE_OBJECTSPROCEDURE_PARAMETERSQUERY_PLANSREFERENTIAL_CONSTRAINTSREORG_OVERVIEWREORG_PLANREORG_PLAN_INFOSREORG_STEPSROLESSAML_PROVIDERSSAML_USER_MAPPINGSSCHEMASSEQUENCES
Table of Content
7 2012-12-19
230231232233234235237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269272273274275276277278279
SESSION_COOKIESSQLSCRIPT_TRACESTATISTICSSTRUCTURED_PRIVILEGESSYNONYMSTABLESTABLE_COLUMNSTABLE_COLUMNS_ODBCTABLE_GROUPSTRANSACTION_HISTORYTRIGGERSUSERSUSER_PARAMETERSVIEWSVIEW_COLUMNSStati s tics Server TablesGLOBAL_COLUMN_TABLES_SIZEGLOBAL_CPU_STATISTICS (Deprecated)GLOBAL_INTERNAL_DISKFULL_EVENTSGLOBAL_INTERNAL_EVENTSGLOBAL_MEMORY_STATISTICS (Deprecated)GLOBAL_PERSISTENCE_STATISTICSGLOBAL_TABLES_SIZE (Deprecated)HOST_BLOCKED_TRANSACTIONSHOST_COLUMN_TABLES_PART_SIZEHOST_DATA_VOLUME_PAGE_STATISTICSHOST_DATA_VOLUME_SUPERBLOCK_STATISTICSHOST_DELTA_MERGE_STATISTICSHOST_HEAP_ALLOCATORSHOST_LONG_RUNNING_STATEMENTSHOST_MEMORY_STATISTICSHOST_ONE_DAY_FILE_COUNTHOST_RESOURCE_UTILIZATION_STATISTICSHOST_SERVICE_MEMORYHOST_SERVICE_STATISTICSHOST_TABLE_VIRTUAL_FILESHOST_VIRTUAL_FILESHOST_VOLUME_FILESHOST_VOLUME_IO_PERFORMANCE_STATISTICSHOST_VOLUME_IO_STATISTICSSTATISTICS_ALERTSSTATISTICS_ALERT_INFORMATIONSTATISTICS_ALERT_LAST_CHECK_INFORMATIONSTATISTICS_INTERVAL_INFORMATIONSTATISTICS_LASTVALUESSTATISTICS_STATESTATISTICS_VERSION
Table of Content
8 2012-12-19
SAP HANA System Tables and Monitoring Views Reference
About this Document
This guide describes the system tables and monitoring views available in the SAP HANA database.
System tables and monitoring views allow you to query for various information about the system state usingSQL commands. The results appear as tables.
Each table contains the following columns:
Column name: Contains the name of the table column nameData type: Describes what the data type is (integer, character, boolean and so on). For a fullexplanation of data types see the SAP HANA SQL Reference.Unit: If there is a relevant measurement unit for the column (millisecond, byte and so on) it isdisplayed hereDescription: Describes the column
The tables are listed in alphabetical order. System tables can be identified as they have no prefix whereas themonitoring views are prefixed with M_. Some other abbreviations are used in the table names and they areexplained here:
CS Column StoreRS Row storeCE Calculation EngineXS XSEngine
SAP HANA Guides
Latest documentation for SAP HANA:
https://service.sap.com/hana*http://help.sap.com/hana_appliance
SAP HANA System Tables and Monitoring Views Reference
9 2012-12-19
AUDIT_POLICIES
Short description
Defined audit policies
Structure
Column name Data type Unit Description
AUDIT_POLICY_NAME NVARCHAR(256) Audi t pol icy name
AUDIT_POLICY_OID BIGINT Object ID of the audi t pol icy
EVENT_STATUS VARCHAR(32) Status of events to be audi ted: 'SUCCESSFUL EVENTS','UNSUCCESSFUL EVENTS', 'ALL EVENTS'
EVENT_LEVEL VARCHAR(16) Level of events to be audi ted: 'EMERGENCY', 'CRITICAL','ALERT', 'WARNING', 'INFO'
IS_AUDIT_POLICY_ACTIVE VARCHAR(5) Audi t pol icy i s active: 'TRUE', 'FALSE'
EVENT_ACTION VARCHAR(32) Action to be audi ted, for example: 'SELECT', 'GRANTPRIVILEGE', ...
USER_NAME NVARCHAR(256) User whose actions are to be audi ted
OBJECT_TYPE VARCHAR(32) Type of object to be audi ted, 'INVALID' in case of changeof object type a fter creation of audi t pol icy
OBJECT_SCHEMA NVARCHAR(256) Schema of object to be audi ted
OBJECT_NAME NVARCHAR(256) Name of object to be audi ted
SAP HANA System Tables and Monitoring Views Reference
10 2012-12-19
AUTHORIZATION_GRAPH
Short description
Represents authorization dependencies of complex database objects
Structure
Column name Data type Unit Description
ROOT_DEPENDENT_TYPE_ID SMALLINT Object type ID of the root object to show as agraph
ROOT_DEPENDENT_OBJECT_ID BIGINT Object ID of the root object to s how as a graph
DEPENDENT_TYPE_ID SMALLINT Object type ID of the dependent object
DEPENDENT_TYPE_ID_NAME NVARCHAR(256) Object type name of the dependent object
DEPENDENT_SUBTYPE_ID SMALLINT Object subtype ID of the dependent object
DEPENDENT_SUBTYPE_ID_NAME NVARCHAR(256) Object subtype name of the dependent object
DEPENDENT_OBJECT_ID BIGINT Object ID of the dependent object
DEPENDENT_SCHEMA_NAME NVARCHAR(256) Schema name the dependent object belongs to
DEPENDENT_OBJECT_NAME NVARCHAR(256) Object name of the dependent object
DEPENDENT_OWNER_OID BIGINT ID of the us er owning the dependent object
DEPENDENT_OWNER_NAME NVARCHAR(256) Name of the user owning the dependent object
DEPENDENT_READONLY INTEGER Readonly property of the dependent object
UNDERLYING_TYPE_ID SMALLINT Object type ID of the underlying object
UNDERLYING_TYPE_ID_NAME NVARCHAR(256) Object type name of the underlying object
UNDERLYING_SUBTYPE_ID SMALLINT Object subtype ID of the underlying object
UNDERLYING_SUBTYPE_ID_NAME NVARCHAR(256) Object subtype name of the underlying object
UNDERLYING_OBJECT_ID BIGINT Object ID of the underlying object
UNDERLYING_SCHEMA_NAME NVARCHAR(256) Schema name the underlying object belongs to
UNDERLYING_OBJECT_NAME NVARCHAR(256) Object name of the underlying object
UNDERLYING_OWNER_OID BIGINT ID of the us er owning the underlying object
UNDERLYING_OWNER_NAME NVARCHAR(256) Name of the user owning the underlying object
UNDERLYING_READONLY INTEGER Readonly property of the underlying object
DEPENDENCY_USER_OID BIGINT ID of the us er required to have a certa in privi legeon the underlying object in order to va l idate thedependent object
DEPENDENCY_USER_NAME NVARCHAR(256) Name of the user required to have a certa inprivi lege on the underlying object in order tova l idate the dependent object
DEPENDENCY_TYPE SMALLINT Type of dependency determines the va l idationsemantics for dependencies sharing the samedependent objects
PRIVILEGE_ID BIGINT ID of the privi lege the dependency user i srequired to have on the underlying object
PRIVILEGE_NAME NVARCHAR(256) Name of the privi lege the dependency us er i srequired to have on the underlying object
IS_VALID TINYINT Current s tate of the dependency (as integer). It i sset by the object va l idation logic and reflectsmiss ing privi leges or inva l idated objects : 0 .. 3
DEPENDENCY_STATUS VARCHAR(40) Current s tate of a privi lege for the dependentobject: 'INVALID', 'NOT AUTHORIZED', 'AUTHORIZEDNON GRANTABLE', 'AUTHORIZED GRANTABLE'
AVAILABLE_PRIVILEGES VARCHAR(256) Current s tate of a privi lege on upper node(dependent object): 'INVALID', 'NOT GRANTABLE','GRANTABLE'
SAP HANA System Tables and Monitoring Views Reference
11 2012-12-19
CONSTRAINTS
Short description
Constraints defined for tables
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
COLUMN_NAME NVARCHAR(256) Column name
POSITION SMALLINT Column pos i tion in this constra int
CONSTRAINT_NAME NVARCHAR(256) Constra int name
IS_PRIMARY_KEY VARCHAR(5) Constra int i s primary key cons tra int: 'TRUE', 'FALSE'
IS_UNIQUE_KEY VARCHAR(5) Constra int i s unique constra int: 'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
12 2012-12-19
CS_BO_VIEWS
Short description
Business object views for column store join views
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
VIEW_NAME NVARCHAR(256) Join view name
BO_VIEW_NAME NVARCHAR(256) Bus iness object view name
ANCHOR_SCHEMA_NAME NVARCHAR(256) Anchor schema name
ANCHOR_TABLE_NAME NVARCHAR(256) Anchor table name
SAP HANA System Tables and Monitoring Views Reference
13 2012-12-19
CS_FREESTYLE_COLUMNS
Short description
Freestyle search columns for column store join views
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
VIEW_NAME NVARCHAR(256) Join view name
COLUMN_NAME NVARCHAR(256) Freestyle column name
SAP HANA System Tables and Monitoring Views Reference
14 2012-12-19
CS_JOIN_CONDITIONS
Short description
Join conditions defined for column store join views
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
VIEW_NAME NVARCHAR(256) Join view name
JOIN_CONDITION_NAME NVARCHAR(256) Join condi tion name
JOIN_ORDER BIGINT Join order number
TABLE_SCHEMA_NAME1 NVARCHAR(256) Schema name of column 1
TABLE_NAME1 NVARCHAR(256) Table name of column 1
COLUMN_NAME1 NVARCHAR(256) Name of column 1
ALIAS_NUMBER1 INTEGER Al ias Number of table name 1
TABLE_SCHEMA_NAME2 NVARCHAR(256) Schema name of column 2
TABLE_NAME2 NVARCHAR(256) Table name of column 2
COLUMN_NAME2 NVARCHAR(256) Name of column 2
ALIAS_NUMBER2 INTEGER Al ias Number of table name 2
CONSTRAINTS NVARCHAR(256) Join constra int name
JOIN_TYPE VARCHAR(5) Join type: 'inner', 'left', 'right', 'ful l '
CARDINALITY VARCHAR(3) Join cardina l i ty: '1:1', '1:n', 'n:1', 'n:n'
SAP HANA System Tables and Monitoring Views Reference
15 2012-12-19
CS_JOIN_CONSTRAINTS
Short description
Join constraints defined for column store join views
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
VIEW_NAME NVARCHAR(256) Join view name
JOIN_CONSTRAINT_NAME NVARCHAR(256) Join constra int name
CONSTRAINT_TYPE VARCHAR(32) Type of constra int owner
LOCATION NVARCHAR(256) Name of constra int owner
TABLE_SCHEMA_NAME NVARCHAR(256) Schema name of table
TABLE_NAME NVARCHAR(256) Table name of column
COLUMN_NAME NVARCHAR(256) Column name
OPERATOR NVARCHAR(256) Operator
VALUE NVARCHAR(5000) Va lue
SAP HANA System Tables and Monitoring Views Reference
16 2012-12-19
CS_JOIN_PATHS
Short description
Join paths defined for column store join views
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
VIEW_NAME NVARCHAR(256) Join view name
JOIN_PATH_NAME NVARCHAR(256) Join path name
JOIN_CONDITIONS NVARCHAR(5000) Comma separated l i s t of join condi tions
JOIN_CONSTRAINTS NVARCHAR(5000) Comma separated l i s t of join constra ints
SAP HANA System Tables and Monitoring Views Reference
17 2012-12-19
CS_JOIN_TABLES
Short description
Physical tables referred by column store join views
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
VIEW_NAME NVARCHAR(256) Join view name
TABLE_SCHEMA_NAME NVARCHAR(256) Schema name of phys ica l table name
TABLE_NAME NVARCHAR(256) Phys ica l table name
TABLE_TYPE VARCHAR(32) Type of table: 'FACT_TABLE', 'D_TABLE', 'X_TABLE', 'Y_TABLE','TEMP_TABLE', 'S_TABLE', 'EXTERNAL_OBJECT','CONVERSION_TABLE', 'OLAP_TEXT_TABLE','AUTHORIZATION_TABLE', 'HIERARCHY'
SAP HANA System Tables and Monitoring Views Reference
18 2012-12-19
CS_KEY_FIGURES
Short description
Key figures defined for column store join views
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
VIEW_NAME NVARCHAR(256) Join view name
KEY_FIGURE_NAME NVARCHAR(256) Key figure name
DEFAULT_AGGREGATION_TYPE VARCHAR(32) Aggregation type l ike: 's um', 'count', 'min', ...
DESCRIPTION NVARCHAR(5000) Description
UNIT_CONVERSION_NAME NVARCHAR(256) Name of uni t convers ion
TABLE_SCHEMA_NAME NVARCHAR(256) Schema name of table
TABLE_NAME NVARCHAR(256) Table name of column
COLUMN_NAME NVARCHAR(256) Column name
EXPRESSION_FLAGS VARCHAR(32) Express ion flags
EXPRESSION NVARCHAR(256) Express ion
SAP HANA System Tables and Monitoring Views Reference
19 2012-12-19
CS_VIEW_COLUMNS
Short description
Columns defined for column store join views
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
VIEW_NAME NVARCHAR(256) Join view name
VIEW_COLUMN_NAME NVARCHAR(256) View column name
TABLE_SCHEMA_NAME NVARCHAR(256) Schema name of table
TABLE_NAME NVARCHAR(256) Table name of column
ALIAS_NUMBER INTEGER Al ias number
COLUMN_NAME NVARCHAR(256) Column name
JOIN_PATH NVARCHAR(256) Join path name
CS_TYPE VARCHAR(16) Column s tore data type
EXPRESSION_FLAGS VARCHAR(32) Express ion flags
EXPRESSION NVARCHAR(256) Express ion
SAP HANA System Tables and Monitoring Views Reference
20 2012-12-19
DATA_TYPES
Short description
Available SQL data types
Structure
Column name Data type Unit Description
TYPE_ID SMALLINT Data type ID
TYPE_NAME VARCHAR(16) Data type name
COLUMN_SIZE INTEGER Maximum s ize of the data type that this sys tem can support
LITERAL_PREFIX CHAR(1) ODBC 2.0 SQLGetTypeInfo Varchar. Character or characters usedto prefix a l i tera l , for example, a s ingle quotation mark (') forcharacter data types or 0x for binary data types ; NULL i sreturned for data types where a l i tera l prefix i s not appl icable
LITERAL_SUFFIX CHAR(1) ODBC 2.0 SQLGetTypeInfo Varchar. Character or characters usedto terminate a l i tera l , for example, a s ingle quotation mark (')for character data types ; NULL i s returned for data types wherea l i tera l suffix i s not appl icable
CREATE_PARAMS VARCHAR(16) ODBC 2.0 SQLGetTypeInfo Varchar. A l i s t of keywords ,separated by commas , corresponding to each parameter thatthe appl ication may speci fy in parentheses when us ing thename that i s returned in the TYPE_NAME field
NULLABLE TINYINT Speci fies whether the data type can accept nul l or not
CASE_SENSITIVE TINYINT ODBC 2.0 SQLGetTypeInfo smal l int. Whether a character datatype i s case-sens i tive in col la tions and comparisons
SEARCHABLE TINYINT How the data type can be used in the WHERE clause
UNSIGNED_ATTRIBUTE TINYINT Signed or uns igned
FIXED_PREC_SCALE TINYINT Whether the data type has predefined fixed precis ion andsca le (ODBC)
AUTO_UNIQUE_VALUE TINYINT Whether the data type i s autoincrementing (ODBC)
LOCAL_TYPE_NAME VARCHAR(16) ODBC 2.0 SQLGetTypeInfo varchar. Loca l i zed vers ion of the datasource-dependent name of the data type
MINIMUM_SCALE SMALLINT ODBC 2.0 SQLGetTypeInfo smal l int. The minimum sca le of thedata type on the data source
MAXIMUM_SCALE SMALLINT ODBC 2.0 SQLGetTypeInfo smal l int. The maximum sca le of thedata type on the data source
SQL_DATA_TYPE SMALLINT ODBC 3.0 SQLGetTypeInfo smal l int. The va lue of the SQL datatype as i t appears in the SQL_DESC_TYPE field of thedescriptor. This column i s the same as the DATATYPE column,except for interva l and datetime data types
SQL_DATETIME_SUB SMALLINT ODBC 3.0 SQLGetTypeInfo smal l int. When the va lue ofSQL_DATATYPE i s SQL_DATETIME or SQL_INTERVAL, this columnconta ins the datetime/interva l subcode
NUM_PREC_RADIX INTEGER ODBC 3.0 SQLGetTypeInfo integer. In cas e of an approximatenumeric data type, va lue i s 2 to indicate that COLUMN_SIZEspeci fies the number of bi ts . For exact numeric data typesva lue 10 indicates that COLUMN_SIZE speci fies the number ofdecimal digi ts
INTERVAL_PRECISION SMALLINT ODBC 3.0 SQLGetTypeInfo smal l int. If the data type i s aninterva l data type, then this column conta ins the va lue of theinterva l leading precis ion. Otherwise, this column i s NULL
SAP HANA System Tables and Monitoring Views Reference
21 2012-12-19
EFFECTIVE_PRIVILEGES
Short description
Privileges of the current user
Structure
Column name Data type Unit Description
USER_NAME NVARCHAR(256) Name of the user for whom effective privi leges are shown
GRANTEE NVARCHAR(256) User or role that has the privi lege
GRANTEE_TYPE VARCHAR(4) 'USER' or 'ROLE'
GRANTOR NVARCHAR(256) User or role that provided the privi lege
GRANTOR_TYPE VARCHAR(4) 'USER' or 'ROLE'
OBJECT_TYPE VARCHAR(32) Type of the granted object l i ke: 'TABLE', 'SCHEMA', ...
SCHEMA_NAME NVARCHAR(256) Schema name the object belongs to
OBJECT_NAME NVARCHAR(256) Object name of granted object
COLUMN_NAME NVARCHAR(256) Column name
PRIVILEGE NVARCHAR(256) Privi lege granted
IS_GRANTABLE VARCHAR(5) Privi lege was granted 'WITH GRANT OPTION', 'WITH ADMINOPTION': 'TRUE', 'FALSE'
IS_VALID VARCHAR(5) Privi lege i s va l id or i t became inva l id because of impl ici t revoking:'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
22 2012-12-19
EFFECTIVE_ROLES
Short description
Roles of the current user
Structure
Column name Data type Unit Description
USER_NAME NVARCHAR(256) Name of the user for whom effective roles are shown
GRANTEE NVARCHAR(256) User or role that has the role
GRANTEE_TYPE VARCHAR(4) 'USER' or 'ROLE'
GRANTOR NVARCHAR(256) User that granted the role
ROLE_NAME NVARCHAR(256) Role granted
IS_GRANTABLE VARCHAR(5) Role was granted 'WITH ADMIN OPTION': 'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
23 2012-12-19
EXPLAIN_PLAN_TABLE
Short description
SQL query plan explanation result
Structure
Column name Data type Unit Description
STATEMENT_NAME VARCHAR(256) The s tring speci fied as STATEMENT_NAME on executingEXPLAIN PLAN command. This i s used to dis tinguish plansfrom each other when there are multiple plans inEXPLAIN_PLAN_TABLE view
OPERATOR_NAME VARCHAR(5000) Name of an operator. Deta i l s are described in thefol lowing section
OPERATOR_DETAILS NCLOB Deta i l s of an operator. Predicates and express ions us ed bythe operator are shown here
EXECUTION_ENGINE VARCHAR(256) Execution engine where the plan operator i s executed:COLUMN or ROW
SCHEMA_NAME NVARCHAR(256) Schema name the dependent object belongs to
TABLE_NAME NVARCHAR(256) Name of database tables and views accessed by anoperator
TABLE_TYPE VARCHAR(5000) Table s tored type: COLUMN or ROW
TABLE_SIZE DOUBLE Estimated input row count of an operator. This i s ava i lableonly for operators access ing tables and views di rectly
OUTPUT_SIZE DOUBLE Estimated output row count of an operator
SUBTREE_COST DOUBLE Estimated cost of executing the s ubtree s tarting from anoperator
OPERATOR_ID INTEGER Unique ID of an operator. IDs are integers s tarting from 1
PARENT_OPERATOR_ID INTEGER OPERATOR_ID of the parent of an operator. The shape of aquery plan i s a tree and the topology of the tree can bereconstructed us ing OPERATOR_ID andPARENT_OPERATOR_ID. PARENT_OPERATOR_ID of the rootoperator i s shown as NULL
LEVEL INTEGER Level from the root operator. Level of the root operator i s 1,level of a chi ld of the root operator i s 2 and s o on. This canbe uti l i zed for output indentation
POSITION INTEGER Pos i tion in the parent operator. Pos i tion of the fi rs t chi ld i s1, pos i tion of the second chi ld i s 2 and so on
HOST VARCHAR(256) Host where the plan operator i s generated
PORT INTEGER Port where the plan operator i s generated
TIMESTAMP TIMESTAMP Date and time when the EXPLAIN PLAN command wasexecuted
CONNECTION_ID INTEGER Connection ID
SAP HANA System Tables and Monitoring Views Reference
24 2012-12-19
FULLTEXT_INDEXES
Short description
Fulltext indexes on table columns
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
TABLE_OID BIGINT Object ID of the table
INDEX_NAME NVARCHAR(256) Name of the ful l text index
INDEX_OID BIGINT Object ID of the ful l text index
LANGUAGE_COLUMN NVARCHAR(256) Column name of the indexed table conta ininglanguage indicators for the indexed documents
MIME_TYPE_COLUMN NVARCHAR(256) Column name of the indexed table conta ining MIMEtype indicators for the indexed documents
LANGUAGE_DETECTION NVARCHAR(256) Set of languages to be cons idered for automaticlanguage detection
FAST_PREPROCESS VARCHAR(5) If set to true, preprocess ing wi l l be done with reducedfunctiona l i ty (e.g. l inguis tic search i s not ava i lable),which wi l l speed up the indexing
FUZZY_SEARCH_INDEX VARCHAR(5) If set to true, fuzzy s earch i s performed with anaddi tiona l index (fas ter search, but higher memoryconsumption)
SEARCH_ONLY VARCHAR(5) If set to true, the text-attributes wi l l not s tore anyDAFs , i .e. i t i s not poss ible to retrieve the HTML-converted or origina l data from the text-attribute. If thetext-attribute i s a shadow attribute (i .e. created viaCREATE FULLTEXT INDEX), the source-attribute(conta ining the origina l data) i s not a ffected by thisflag
IS_EXPLICIT VARCHAR(5) If set to true, the index i s an expl ici t ful l text index, i .e.created by CREATE FULLTEXT INDEX
FLUSH_AFTER_DOCUMENTS INTEGER Used to s tore change-tracking behavior of the ful l textindex
FLUSH_EVERY_MINUTES INTEGER Used to s tore change-tracking behavior of the ful l textindex
CONFIGURATION NVARCHAR(256) An expl ici t config-fi le can be speci fied, for example, toenable named enti ty extraction
INTERNAL_COLUMN_NAME NVARCHAR(512) Name of the interna l text-attribute, only set i f theful l text index was not created us ing TEXT-datatype
PHRASE_INDEX_RATIO REAL Float between 0.0 and 1.0 which speci fies how muchmemory the phrase index may use (as a percentage ofthe memory s i ze of the ful l text index)
TEXT_MINING VARCHAR(5) If set to true, text mining capabi l i ties wi l l be enabledon the indexed column
TEXT_ANALYSIS VARCHAR(5) If set to true, an addi tiona l table i s created that s torestext ana lys i s resul ts , normal ly this parameter shouldbe set to fa l se
SAP HANA System Tables and Monitoring Views Reference
25 2012-12-19
FUNCTIONS
Short description
Available functions
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name of the function
FUNCTION_NAME NVARCHAR(256) Name of the function
FUNCTION_OID BIGINT Object ID of the function
INPUT_PARAMETER_COUNT INTEGER Input type parameter count
RETURN_VALUE_COUNT INTEGER Return va lue type parameter count
IS_UNICODE VARCHAR(5) Speci fies whether the function conta ins Unicode or not:'TRUE', 'FALSE'
DEFINITION NCLOB Query s tring of the function
FUNCTION_TYPE VARCHAR(10) Type of the function
IS_VALID VARCHAR(5) Speci fies whether the function i s va l id or not. Thisbecomes 'FALSE' when i ts base objects are changed ordropped: 'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
26 2012-12-19
FUNCTION_PARAMETERS
Short description
Parameters of functions
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name of the function
FUNCTION_NAME NVARCHAR(256) Name of the function
FUNCTION_OID BIGINT Object ID of the function
PARAMETER_NAME NVARCHAR(256) Parameter name
DATA_TYPE_ID INTEGER Data type ID
DATA_TYPE_NAME VARCHAR(16) Data type name
LENGTH INTEGER Parameter length
SCALE INTEGER Sca le of the parameter
POSITION INTEGER Ordina l pos i tion of the parameter
TABLE_TYPE_SCHEMA NVARCHAR(256) Schema name of table type i f DATA_TYPE_NAME isTABLE_TYPE
TABLE_TYPE_NAME NVARCHAR(256) Name of table type i f DATA_TYPE_NAME is TABLE_TYPE
PARAMETER_TYPE VARCHAR(7) Parameter mode: IN, OUT, INOUT
HAS_DEFAULT_VALUE VARCHAR(5) Speci fies whether the parameter has a defaul t va lue or not:'TRUE', 'FALSE'
IS_NULLABLE VARCHAR(5) Speci fies whether the parameter accepts a nul l va lue: 'TRUE','FALSE'
SAP HANA System Tables and Monitoring Views Reference
27 2012-12-19
GRANTED_PRIVILEGES
Short description
Privileges granted to users and roles
Structure
Column name Data type Unit Description
GRANTEE NVARCHAR(256) User or role the privi lege i s granted to
GRANTEE_TYPE VARCHAR(4) 'USER' or 'ROLE'
GRANTOR NVARCHAR(256) User who granted the privi lege
OBJECT_TYPE VARCHAR(32) Type of the granted object l i ke: 'TABLE', 'SCHEMA', ...
SCHEMA_NAME NVARCHAR(256) Schema name the object belongs to
OBJECT_NAME NVARCHAR(256) Object name of granted object
COLUMN_NAME NVARCHAR(256) Column name
PRIVILEGE NVARCHAR(256) Privi lege granted
IS_GRANTABLE VARCHAR(5) Privi lege was granted 'WITH GRANT OPTION', 'WITH ADMINOPTION': 'TRUE', 'FALSE'
IS_VALID VARCHAR(5) Privi lege i s va l id or i t became inva l id because of impl ici t revoking:'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
28 2012-12-19
GRANTED_ROLES
Short description
Roles granted to users or other roles
Structure
Column name Data type Unit Description
GRANTEE NVARCHAR(256) User or role the role i s granted to
GRANTEE_TYPE VARCHAR(4) 'USER' or 'ROLE'
ROLE_NAME NVARCHAR(256) Name of the granted role
GRANTOR NVARCHAR(256) User who granted the role
IS_GRANTABLE VARCHAR(5) Role was granted 'WITH ADMIN OPTION': 'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
29 2012-12-19
INDEXES
Short description
Indexes on tables
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
TABLE_OID BIGINT Object ID of the table
INDEX_NAME NVARCHAR(256) Index name
INDEX_OID BIGINT Object ID of the index
INDEX_TYPE VARCHAR(32) Type of RS-index: 'BTREE', 'BTREE_UNIQUE', 'CPBTREE','CPBTREE_UNIQUE'; Type of CS-index: 'INVERTED','INVERTED_UNIQUE', 'CONCAT_INVERTED','CONCAT_INVERTED_UNIQUE'
CONSTRAINT VARCHAR(32) Constra int type of the index: 'UNIQUE', 'NOT_NULL_UNIQUE','PRIMARY_KEY'
KEY_LENGTH SMALLINT Length of the key
BTREE_FILL_FACTOR SMALLINT B-tree fi l l factor (50~100)
BTREE_SPLIT_TYPE TINYINT B-tree spl i t type: 'SPLIT_PERCENT', 'SPLIT_INVOKER'
BTREE_SPLIT_POSITION TINYINT B-tree spl i t pos i tion (0~100)
SAP HANA System Tables and Monitoring Views Reference
30 2012-12-19
INDEX_COLUMNS
Short description
Columns of indexes
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
TABLE_OID BIGINT Object ID of the table
INDEX_NAME NVARCHAR(256) Index name
INDEX_OID BIGINT Object ID of the index
CONSTRAINT VARCHAR(32) Constra int type of the index: UNIQUE, NOT_NULL_UNIQUE,PRIMARY_KEY
COLUMN_NAME NVARCHAR(256) Name of the indexed column
POSITION SMALLINT Ordina l pos i tion of the indexed column
ASCENDING_ORDER VARCHAR(5) Speci fies whether the indexed column i s ascending order ornot: 'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
31 2012-12-19
INVALID_CONNECT_ATTEMPTS
Short description
Number of invalid connect attempts for a user between two successful connects
Structure
Column name Data type Unit Description
USER_NAME NVARCHAR(256) Name of the user
SUCCESSFUL_CONNECT_TIME TIMESTAMP Time of the va l id connect attempt
INVALID_CONNECT_ATTEMPTS BIGINT Number of inva l id connect attempts for this us erbetween las t s uccess ful connect and given time
SAP HANA System Tables and Monitoring Views Reference
32 2012-12-19
M_ATTACHED_STORAGES
Short description
Information about currently attached devices
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host
STORAGE_ID INTEGER Storage ID
PATH VARCHAR(512) Path
KEY VARCHAR(256) Key (from s torage provider)
VALUE VARCHAR(2000) Va lue (from s torage provider)
SAP HANA System Tables and Monitoring Views Reference
33 2012-12-19
M_BACKUP_CATALOG
Short description
Common data for all backup catalog entries
Structure
Column name Data type Unit Description
ENTRY_ID BIGINT Counter Unique ID of a backup cata log entry
ENTRY_TYPE_NAME VARCHAR(64) Class i fi cation of backup cata log entries . The fol lowing typesare supported: 'complete data backup', 'log backup', 'logmiss ing'
BACKUP_ID BIGINT Counter Unique ID of a data backup or a log backup respectively. Al lbackup fi les of a s ingle data backup share the s ameBACKUP_ID
SYS_START_TIME TIMESTAMP Start time given in server loca l time
UTC_START_TIME TIMESTAMP Start time given in UTC
SYS_END_TIME TIMESTAMP Stop time given in server loca l time
UTC_END_TIME TIMESTAMP Stop time given in UTC
STATE_NAME VARCHAR(64) Resul t of corresponding action: 'success ful ', 'fa i led','running', 'cancel pending', 'canceled'
COMMENT VARCHAR(256) Addi tiona l information
MESSAGE VARCHAR(512) Addi tiona l information
SAP HANA System Tables and Monitoring Views Reference
34 2012-12-19
M_BACKUP_CATALOG_FILES
Short description
Location information of all backup catalog entries
Structure
Column name Data type Unit Description
ENTRY_ID BIGINT Unique ID of a backup cata log entry
BACKUP_ID BIGINT Unique ID of a data backup and log backup respectively.Al l backup fi les of a s ingle data backup share the sameBACKUP_ID
SOURCE_ID BIGINT Pers is tence volume ID
SOURCE_TYPE_NAME VARCHAR(64) Type of pers i s tence to be backed up: 'volume','topology'
HOST VARCHAR(64) Host name
SERVICE_TYPE_NAME VARCHAR(64) Type of database service: 'indexserver', 'names erver','s tati s ti csserver'
REDO_LOG_POSITION BIGINT In case of a data backup this va lue speci fies the logpos i tion that must be processed next when a logrecovery i s reques ted a fter res toring the data backup
FIRST_REDO_LOG_POSITION BIGINT In case of a log backup this va lue speci fies the logpos i tion of the oldest log entry conta ined in the backup
LAST_REDO_LOG_POSITION BIGINT In case of a log backup this va lue speci fies the logpos i tion of the youngest log entry conta ined in thebackup
BACKUP_SIZE BIGINT Speci fies the s i ze of the backup
DESTINATION_PATH VARCHAR(512) Data or log backup was wri tten to this location
DESTINATION_TYPE_NAME VARCHAR(16) Type of location: 'fi le ', 'backint'
EXTERNAL_BACKUP_ID VARCHAR(64) Identi fier of backup received from a backup tool
SAP HANA System Tables and Monitoring Views Reference
35 2012-12-19
M_BACKUP_CONFIGURATION
Short description
Backup configuration statistics
Structure
Column name Data type Unit Description
MAX_RECOVERY_FILE_AGE BIGINT Second Max recovery fi le age
LOG_REPLAY_STEP_SIZE BIGINT Byte Log replay s tep s i ze in bytes
MAX_RECOVERY_BACKINT_CHANNELS BIGINT Max number of para l lel backint channels perrequest during recovery
BACKINT_EXECUTABLE_LINK VARCHAR(256) Linkname of the backint executable
BACKINT_EXECUTABLE VARCHAR(256) Rea l fi lename of the backint executable
BACKINT_DATA_BACKUP_PATH VARCHAR(256) Data backup di rectory for backint
BACKINT_LOG_BACKUP_PATH VARCHAR(256) Log backup di rectory for backint
SAP HANA System Tables and Monitoring Views Reference
36 2012-12-19
M_BLOCKED_TRANSACTIONS
Short description
Transaction list waiting for locks
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
BLOCKED_TRANSACTION_ID INTEGER Transaction object ID of the transactionwaiting for a lock
BLOCKED_UPDATE_TRANSACTION_ID BIGINT Write trans action ID of the blocked wri tetransaction
LOCK_OWNER_TRANSACTION_ID INTEGER Transaction object ID of the transactionholding the lock
LOCK_OWNER_UPDATE_TRANSACTION_ID BIGINT Write trans action ID of the wri tetransaction holding the lock
BLOCKED_TIME TIMESTAMP Blocked timestamp
WAITING_RECORD_ID VARCHAR(256) ID of the record on which the lock i scurrently placed
WAITING_SCHEMA_NAME NVARCHAR(256) Name of the schema on which the lock i scurrently placed
WAITING_TABLE_NAME NVARCHAR(256) Deprecated: use WAITING_OBJECT_NAMEinstead
WAITING_OBJECT_NAME NVARCHAR(256) Name of the object on which the lock i scurrently placed
WAITING_OBJECT_TYPE VARCHAR(32) Object type
LOCK_TYPE VARCHAR(32) Lock type: 'RECORD', 'TABLE', 'METADATA'
LOCK_MODE VARCHAR(32) Lock mode: 'SHARED', 'EXCLUSIVE','INTENTIONAL EXCLUSIVE'
SAP HANA System Tables and Monitoring Views Reference
37 2012-12-19
M_CACHES
Short description
Shows aggregated information on caches
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_CACHES_RESET. To reset the values, use the SQL command:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_CACHES_RESET
or the management console command:
monitor reset -n M_CACHES_RESET
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
CACHE_ID VARCHAR(128) The unique identi fier for the cache
TOTAL_SIZE BIGINT Byte The maximum ava i lable memory budget in bytes ava i lablefor the cache ins tance
USED_SIZE BIGINT Byte The memory in bytes used by the cache ins tance
ENTRY_COUNT BIGINT Counter The number of entries in the cache ins tance
INSERT_COUNT BIGINT Counter The number of insertions into the cache ins tance
INVALIDATE_COUNT BIGINT Counter The number of inva l idations in the cache ins tance
HIT_COUNT BIGINT Counter The number of cache hi ts for the cache ins tance
MISS_COUNT BIGINT Counter The number of cache mis ses for the cache ins tance
SAP HANA System Tables and Monitoring Views Reference
38 2012-12-19
M_CACHES_RESET
Short description
Shows aggregated information on caches (since last reset)
This view contains values accumulated since the last reset of the main view M_CACHES. Please refer toM_CACHES for information about the structure and use of this view.
In addition to the members mentioned in M_CACHES, this view also contains a timestamp field RESET_TIME,which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
39 2012-12-19
M_CACHE_ENTRIES
Short description
Cache entry information
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
CACHE_ID VARCHAR(128) ID of the cache that created the entry
ENTRY_ID VARCHAR(128) ID of the cached entry
ENTRY_DESCRIPTION NVARCHAR(5000) Description of the cached entry
COMPONENT VARCHAR(128) Information about the component that created the cachedentry
USER_NAME NVARCHAR(256) Information about the us er that created the cached entry
MEMORY_SIZE BIGINT Used memory to s tore the cached entry in the cache
CREATE_TIME TIMESTAMP Point in time when the cache entry was inserted into thecache
READ_COUNT BIGINT Determines how often the cache entry was read success ful lyfrom the cache
SAP HANA System Tables and Monitoring Views Reference
40 2012-12-19
M_CATALOG_MEMORY
Short description
Memory usage information by catalog manager
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
CATEGORY VARCHAR(128) Category of cata log data
ALLOCATION_COUNT BIGINT The number of a l located entries
ALLOCATED_FIXED_PART_SIZE BIGINT Byte Al located memory s i ze for fi xed-s i ze part
USED_FIXED_PART_SIZE BIGINT Byte Used memory s i ze for fi xed-s i ze part
ALLOCATED_VARIABLE_PART_SIZE BIGINT Byte Al located memory s i ze for variable-s i ze part
USED_VARIABLE_PART_SIZE BIGINT Byte Used memory s i ze for variable-s i ze part
SAP HANA System Tables and Monitoring Views Reference
41 2012-12-19
M_CE_CALCSCENARIOS
Short description
All available CalculationScenarios
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SCENARIO_NAME NVARCHAR(256) Scenario name
IS_PERSISTENT VARCHAR(5) Boolean Indicates i f ca lculation s cenario i s pers i s tent or trans ient:'TRUE', 'FALSE'
FLAGS BIGINT Ca lculation scenario flags
CREATE_TIME TIMESTAMP Creation time
MEMORY_SIZE BIGINT Byte Memory s i ze of loaded ca lculation scenario model
COMPONENT NVARCHAR(256) Component that create the ca lculation scenario
SCENARIO_VERSION NVARCHAR(256) Scenario vers ion of the ca lculation scenario
JSON NCLOB JSON s tring representing the ca lculation s cenario
SAP HANA System Tables and Monitoring Views Reference
42 2012-12-19
M_CE_CALCVIEW_DEPENDENCIES
Short description
All views that are referencing a CalculationScenario
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema name of column view
VIEW_NAME NVARCHAR(256) Column view name
CALCNODE_NAME NVARCHAR(256) Referenced ca lculation node name
SCENARIO_NAME NVARCHAR(256) Scenario name
SAP HANA System Tables and Monitoring Views Reference
43 2012-12-19
M_CE_DEBUG_INFOS
Short description
Debug information after execution of a CalculationScenario
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SCENARIO_NAME NVARCHAR(256) Scenario name
NODE_NAME NVARCHAR(256) Ca lculation node name
STATEMENT_ID BIGINT Statement ID
DEBUG_TYPE_MASK BIGINT Bit mask indicating type of debug information
TABLE_NAME NVARCHAR(256) Table name (temporay intermediate resul t table)
COLUMN_NAMES CLOB Column names
TABLE_SIZE BIGINT Byte Table s i ze (temporay intermediate res ul t table)
EXECUTION_TIMESTAMP TIMESTAMP Execution timestamp
SAP HANA System Tables and Monitoring Views Reference
44 2012-12-19
M_CE_DEBUG_JSONS
Short description
All available JSONS (original, instantiated, optimized) of a scenario for a concrete query
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SCENARIO_NAME NVARCHAR(256) Scenario name
STATEMENT_ID BIGINT Statement ID
TYPE VARCHAR(16) JSON type (origina l , ins tantiated, optimized, extrace)
MODEL_JSON NCLOB JSON s tring representing the ca lculation scenario
EXECUTION_TIMESTAMP TIMESTAMP Execution timestamp
SAP HANA System Tables and Monitoring Views Reference
45 2012-12-19
M_CE_DEBUG_NODE_MAPPING
Short description
Node mapping between CalculationNodes and RuntimeNodes after execution
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
STATEMENT_ID BIGINT Statement ID
SCENARIO_NAME NVARCHAR(256) Scenario name
NODE_NAME NVARCHAR(256) Ca lculation node name
NODE_TYPE VARCHAR(16) Ca lculation node type (ROOT, TEMPLATE, CALC_DS)
SUCC_SCENARIO_NAME NVARCHAR(256) Successor scenario name
SUCC_NODE_NAME NVARCHAR(256) Successor ca lculation node name
RUNTIME_NODE_NAME NVARCHAR(256) Runtime ca lculation node name
RUNTIME_NODE_JSON NCLOB JSON s tring representing the ca lculation node
EXECUTION_TIMESTAMP TIMESTAMP Execution timestamp
SAP HANA System Tables and Monitoring Views Reference
46 2012-12-19
M_CE_PLE_CALCSCENARIOS
Short description
All available CalculationScenarios created by the PlanningEngine
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema name of ca lculation scenario
SCENARIO_NAME NVARCHAR(256) Ca lculation scenario name
SAP HANA System Tables and Monitoring Views Reference
47 2012-12-19
M_CLIENT_VERSIONS
Short description
Versions of all supported client applications
Full description
This view shows versions of all supported client applications.
Structure
Column name Data type Unit Description
CLIENT_TYPE VARCHAR(256) Cl ient, e.g. 'ABAP_FDA', 'BI Modeler'
CLIENT_RELEASE_ID SMALLINT Technica l release ID
CLIENT_RELEASE_DESC VARCHAR(256) Human readable release description
MIN_VERSION SMALLINT Lowest supported protocol vers ion
MAX_VERSION SMALLINT Highest supported protocol vers ion
SAP HANA System Tables and Monitoring Views Reference
48 2012-12-19
M_COMPACTION_THREAD
Short description
Compaction thread statistics
Full description
The compaction thread automatically calls compaction of memory (including resource container shrink) incase memory gets low, but is not already exhausted. It also executes the compaction requests triggered byother processes (inter-process memory management). Some information about the compaction requests andthe compacted sizes is shown in this view.
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
NUM_COMPACTION_COLLISIONS BIGINT Counter Count of memory compactioncol l i s ions (other thread currently incompaction and compaction was notforced)
NUM_COMPACTIONS BIGINT Counter Count number of compactionrequests
LAST_SIZE_COMPACTION_REQUESTS BIGINT Byte Compaction request in bytes (las t)
MAX_SIZE_COMPACTION_REQUESTS BIGINT Byte Compaction request in bytes (max)
MIN_SIZE_COMPACTION_REQUESTS BIGINT Byte Compaction request in bytes (min)
SUM_SIZE_COMPACTION_REQUESTS BIGINT Byte Compaction request in bytes (tota l )
AVG_SIZE_COMPACTION_REQUESTS BIGINT Byte Compaction request in bytes (avg)
LAST_SIZE_FREEABLE BIGINT Byte Bytes compactible at compaction ca l l(las t)
MAX_SIZE_FREEABLE BIGINT Byte Bytes compactible at compaction ca l l(max)
MIN_SIZE_FREEABLE BIGINT Byte Bytes compactible at compaction ca l l(min)
SUM_SIZE_FREEABLE BIGINT Byte Bytes compactible at compaction ca l l(tota l )
AVG_SIZE_FREEABLE BIGINT Byte Bytes compactible at compaction ca l l(avg)
LAST_SIZE_FREED_BY_GARBAGE_COLLECTION BIGINT Byte Bytes compacted by memory garbagecol lection (defragmentation) (las t)
MAX_SIZE_FREED_BY_GARBAGE_COLLECTION BIGINT Byte Bytes compacted by memory garbagecol lection (defragmentation) (max)
MIN_SIZE_FREED_BY_GARBAGE_COLLECTION BIGINT Byte Bytes compacted by memory garbagecol lection (defragmentation) (min)
SUM_SIZE_FREED_BY_GARBAGE_COLLECTION BIGINT Byte Bytes compacted by memory garbagecol lection (defragmentation) (tota l )
AVG_SIZE_FREED_BY_GARBAGE_COLLECTION BIGINT Byte Bytes compacted by memory garbagecol lection (defragmentation) (avg)
LAST_COMPACTION_RESULT BIGINT Byte Compaction resul t in bytes(di fference of a l located bytes beforeand after compaction, di fference maybe influenced by other factors thancompaction) (las t)
MAX_COMPACTION_RESULT BIGINT Byte Compaction resul t in bytes(di fference of a l located bytes beforeand after compaction, di fference maybe influenced by other factors thancompaction) (max)
MIN_COMPACTION_RESULT BIGINT Byte Compaction resul t in bytes(di fference of a l located bytes beforeand after compaction, di fference maybe influenced by other factors thancompaction) (min)
SUM_COMPACTION_RESULT BIGINT Byte Compaction resul t in bytes(di fference of a l located bytes beforeand after compaction, di fference maybe influenced by other factors thancompaction) (tota l )
AVG_COMPACTION_RESULT BIGINT Byte Compaction resul t in bytes(di fference of a l located bytes before
SAP HANA System Tables and Monitoring Views Reference
49 2012-12-19
and after compaction, di fference maybe influenced by other factors thancompaction) (avg)
SAP HANA System Tables and Monitoring Views Reference
50 2012-12-19
M_CONDITIONAL_VARIABLES
Short description
Semaphore statistics
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_CONDITIONAL_VARIABLES_RESET. To reset the values, use the SQLcommand:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_CONDITIONAL_VARIABLES_RESET
or the management console command:
monitor reset -n M_CONDITIONAL_VARIABLES_RESET
Full description
This view contains information about single conditional variable objects or groups of conditional variableobjects. It does not contain information about all conditional variables.
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
STATISTICS_NAME VARCHAR(128) Stati s tics object name
STATISTICS_ID BIGINT Stati s tics object unique ID
WAIT_COUNT BIGINT Counter Count of wa i t ca l l s
BLOCKING_COUNT BIGINT Counter Count of blocking wai t ca l l s
TIMEOUT_COUNT BIGINT Counter Count of timeouts
WAIT_RATE DOUBLE Percent Wait rate
LAST_BLOCKING_TIME BIGINT Microsecond Time of blocking wai t ca l l s (las t)
MAX_BLOCKING_TIME BIGINT Microsecond Time of blocking wai t ca l l s (max)
MIN_BLOCKING_TIME BIGINT Microsecond Time of blocking wai t ca l l s (min)
SUM_BLOCKING_TIME BIGINT Microsecond Time of blocking wai t ca l l s (tota l )
AVG_BLOCKING_TIME BIGINT Microsecond Time of blocking wai t ca l l s (avg)
CREATE_COUNT BIGINT Counter Count of semaphore creation (for shared s tati s ti csonly)
DESTROY_COUNT BIGINT Counter Count of semaphore destruction (for shared s tati s ti csonly)
SAP HANA System Tables and Monitoring Views Reference
51 2012-12-19
M_CONDITIONAL_VARIABLES_RESET
Short description
Semaphore statistics (since last reset)
This view contains values accumulated since the last reset of the main view M_CONDITIONAL_VARIABLES.Please refer to M_CONDITIONAL_VARIABLES for information about the structure and use of this view.
In addition to the members mentioned in M_CONDITIONAL_VARIABLES, this view also contains a timestampfield RESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
52 2012-12-19
M_CONFIGURATION
Short description
Configuration parameters
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
SECTION_NAME VARCHAR(512) Section name
SECTION_INDEX VARCHAR(1024) Section index, e.g.:parameter[section_index][parameter_index]
PARAMETER_NAME VARCHAR(512) Parameter name
PARAMETER_INDEX VARCHAR(1024) Parameter index, e.g.:parameter[section_index][parameter_index]
PARAMETER_TYPE VARCHAR(1024) Parameter data type
PARAMETER_VALUE VARCHAR(5000) Parameter data va lue
PARAMETER_UNIT VARCHAR(64) Parameter data uni t
OPTIONS VARCHAR(1024) Additiona l flags
GROUP_NAME VARCHAR(256) Group name
SERVICE_NAME VARCHAR(256) Service name
HOST_NAME VARCHAR(256) Host speci fi c parameter
DATABASE_NAME VARCHAR(256) Logica l database name
SHORT_DESCRIPTION VARCHAR(256) Short parameter description
LONG_DESCRIPTION VARCHAR(5000) Deta i led information
CONSTRAINT VARCHAR(5000) Constra int description
ONLINE_CHANGEABLE VARCHAR(6) Onl ine change a l lowed
HOST_OVERWRITABLE VARCHAR(6) Host speci fi c va lue a l lowed
DATABASE_OVERWRITABLE VARCHAR(6) Database speci fi c va lue a l lowed
SAP HANA System Tables and Monitoring Views Reference
53 2012-12-19
M_CONNECTIONS
Short description
Detailed information on connections between a client and database. Information includes connection status,client information, connection type, resource utilization
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Hos t name
PORT INTEGER Interna l port
CONNECTION_ID INTEGER Connection ID
TRANSACTION_ID INTEGER Transaction object ID
START_TIME TIMESTAMP Connected Time
IDLE_TIME BIGINT Mi l l i second Time that the connection i s unus ed andidle
CONNECTION_STATUS VARCHAR(128) Connection Status : RUNNING or IDLE
CLIENT_HOST VARCHAR(64) Hos t name of cl ient machine
CLIENT_IP VARCHAR(16) IP of cl ient machine
CLIENT_PID BIGINT Cl ient Process ID
USER_NAME NVARCHAR(256) User name
CONNECTION_TYPE VARCHAR(128) Connection type: Remote, Loca l , His tory(remote), His tory (loca l )
OWN VARCHAR(5) Boolean Own connection: TRUE i f own connection,FALSE i f not
IS_HISTORY_SAVED VARCHAR(5) Boolean Field i s no longer va l id - wi l l bedeprecated s oon
MEMORY_SIZE_PER_CONNECTION BIGINT Byte Al located memory s i ze per connection
AUTO_COMMIT VARCHAR(5) Boolean Commit mode of the current trans action:TRUE i f the current connection i s in auto-commit mode, FALSE otherwise
LAST_ACTION VARCHAR(128) The las t action done by the currentconnection: ExecuteGroup, CommitTrans ,AbortTrans , PrepareStatement,CloseStatement, ExecutePrepared,ExecuteStatement, FetchCursor,CloseCursor, LobGetPiece, LogPutPiece,LobFind, Authenticate, Connect,Disconnect, ExecQidItab, CursorFetchItab,InsertIncompleteItab, AbapStream,TxStartXA, TxJoinXA
CURRENT_STATEMENT_ID VARCHAR(256) Current s tatement ID
CURRENT_OPERATOR_NAME VARCHAR(64) Current operator name
FETCHED_RECORD_COUNT BIGINT Sum of the record count fetched by s elects tatements
AFFECTED_RECORD_COUNT BIGINT Sum of the record count a ffected byDML/DDL s tatements (e.g.INSERT/UPDATE/DELETE/REPLACE/CREATETABLE .. LIKE .. WITH DATA/CREATE TABLE ..AS (SELECT ..)/IMPORT/EXPORT)
SENT_MESSAGE_SIZE BIGINT Byte Tota l s i ze of mes sages sent by the currentconnection
SENT_MESSAGE_COUNT BIGINT Tota l mess age count sent by the currentconnection
RECEIVED_MESSAGE_SIZE BIGINT Byte Tota l s i ze of mes sages received by thecurrent connection
RECEIVED_MESSAGE_COUNT BIGINT Tota l mess age count received by thecurrent connection
CREATOR_THREAD_ID BIGINT Thread ID who created the currentconnection
CREATED_BY VARCHAR(256) Engine component that created theconnections : Sess ion, Planning,Repos i tory, Ca lcEngine, Authentication,Table Exporter, Loader, LLVM, JSVM, IMSSearch API, OLAP Engine, Mergedog, PingStatus , Name Server, Queue Server, SQLStored Procedure, Authorization,TrexViaDbs l from ABAP, HybridTableReorganizer, Ses s ion externa l
IS_ENCRYPTED VARCHAR(5) Boolean Encrypted: TRUE i f the s ecurecommunication i s enabled (SSL enabled),
SAP HANA System Tables and Monitoring Views Reference
54 2012-12-19
communication i s enabled (SSL enabled),FALSE, otherwise
END_TIME TIMESTAMP The time when the connection i s closedfor his tory connections
PARENT_CONNECTION_ID INTEGER Parent connection ID
CLIENT_DISTRIBUTION_MODE VARCHAR(128) Cl ient dis tribution mode of the currentconnection (i .e. [dis tribution]cl ient_dis tribution_mode)
LOGICAL_CONNECTION_ID INTEGER Logica l connection ID in s tatementrouting
CURRENT_SCHEMA_NAME NVARCHAR(256) Current schema name
CURRENT_THREAD_ID BIGINT Current executing thread ID
SAP HANA System Tables and Monitoring Views Reference
55 2012-12-19
M_CONNECTION_STATISTICS
Short description
Detailed statistics on each connection between an application and database
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
CONNECTION_ID INTEGER Connection ID
SELECT_EXECUTION_COUNT BIGINT Tota l number of selects tatement executions
SELECT_TOTAL_EXECUTION_TIME BIGINT Microsecond Tota l execution time ofselect s tatementexecution
SELECT_AVG_EXECUTION_TIME REAL Microsecond Average execution timeof select s tatementexecution
SELECT_MAX_EXECUTION_TIME BIGINT Microsecond Maximum execution timeof select s tatementexecution
SELECT_FOR_UPDATE_COUNT BIGINT Tota l number of selectfor update exeution
SELECT_FOR_UPDATE_TOTAL_EXECUTION_TIME BIGINT Microsecond Tota l execution time ofselect for updateexecution
SELECT_FOR_UPDATE_AVG_EXECUTION_TIME REAL Microsecond Average execution timeof select for updateexecution
SELECT_FOR_UPDATE_MAX_EXECUTION_TIME BIGINT Microsecond Maximum execution timeof select for updateexecution
SELECT_FOR_UPDATE_LOCK_WAIT_COUNT BIGINT Number of lock wai tsduring select for update
SELECT_FOR_UPDATE_TOTAL_LOCK_WAIT_TIME BIGINT Microsecond Tota l lock wai t timeduring select for update
SELECT_FOR_UPDATE_AVG_LOCK_WAIT_TIME REAL Microsecond Average lock wai t timeduring select for update
SELECT_FOR_UPDATE_MAX_LOCK_WAIT_TIME BIGINT Microsecond Maximum lock wai t timeuring select for update
UPDATE_COUNT BIGINT Tota l number of updatestatement and inserts tatement executions
UPDATE_TOTAL_EXECUTION_TIME BIGINT Microsecond Tota l execution time ofupdate s tatementexecutions
UPDATE_AVG_EXECUTION_TIME REAL Microsecond Average execution timeof update s tatementexecutions
UPDATE_MAX_EXECUTION_TIME BIGINT Microsecond Maximum execution timeof update s tatementexecutions
UPDATE_LOCK_WAIT_COUNT BIGINT Number of lock wai tsduring update s tatementexecutions
UPDATE_TOTAL_LOCK_WAIT_TIME BIGINT Microsecond Tota l lock wai t executiontime during updatestatement executions
UPDATE_AVG_LOCK_WAIT_TIME REAL Microsecond Average lock wai t timeduring update s tatementexectuions
UPDATE_MAX_LOCK_WAIT_TIME BIGINT Microsecond Maximum lock wai t timeduring update s tatementexecutions
READ_ONLY_TRANSACTION_COUNT BIGINT Microsecond Number of read onlytrans actions
READ_ONLY_TRANSACTION_TOTAL_EXECUTION_TIME BIGINT Microsecond Tota l execution time ofread only transactions
READ_ONLY_TRANSACTION_AVG_EXECUTION_TIME REAL Microsecond Average execution timeof read only transactions
SAP HANA System Tables and Monitoring Views Reference
56 2012-12-19
READ_ONLY_TRANSACTION_MAX_EXECUTION_TIME BIGINT Microsecond Maximum execution timeof read only transactions
UPDATE_TRANSACTION_COUNT BIGINT Number of updatetrans actions
UPDATE_TRANSACTION_TOTAL_EXECUTION_TIME BIGINT Microsecond Tota l execution time ofupdate trans actions
UPDATE_TRANSACTION_AVG_EXECUTION_TIME REAL Microsecond Average execution timeof update transactions
UPDATE_TRANSACTION_MAX_EXECUTION_TIME BIGINT Microsecond Maximum execution timeof update transactions
ROLLBACK_COUNT BIGINT Number of rol lbackedtrans actions
ROLLBACK_TOTAL_EXECUTION_TIME BIGINT Microsecond Tota l execution time ofrol lbacks
ROLLBACK_AVG_EXECUTION_TIME REAL Microsecond Average execution timeof rol lbacks
ROLLBACK_MAX_EXECUTION_TIME BIGINT Microsecond Maximum execution timeof rol lbacks
OTHERS_COUNT BIGINT Number of others tatement executionsincluding data defini tionstatements and datacontrol s tatements
OTHERS_TOTAL_EXECUTION_TIME BIGINT Microsecond Tota l execution time ofother s tatements
OTHERS_AVG_EXECUTION_TIME REAL Microsecond Average execution timeof other s tatements
OTHERS_MAX_EXECUTION_TIME BIGINT Microsecond Maximum execution timeof other s tatements
OTHERS_LOCK_WAIT_COUNT BIGINT Tota l lock wai t count ofother s tatements
OTHERS_TOTAL_LOCK_WAIT_TIME BIGINT Microsecond Tota l lock wai t time ofother s tatements
OTHERS_AVG_LOCK_WAIT_TIME REAL Microsecond Average lock wai t time ofother s tatements
OTHERS_MAX_LOCK_WAIT_TIME BIGINT Microsecond Maximum lock wai t timeof other s tatements
LAST_EXECUTED_TIME TIMESTAMP Last executiontimestamp with thisconnection
AVG_EXECUTION_MEMORY_SIZE BIGINT Average memory s i zeused during eachexecution
MAX_EXECUTION_MEMORY_SIZE BIGINT Maximum memory s i zeused during eachexecution
MIN_EXECUTION_MEMORY_SIZE BIGINT Minimum memory s i zeused during eachexecution
TOTAL_EXECUTION_MEMORY_SIZE BIGINT Sum of memory s i ze usedduring each execution
AVG_PREPARATION_TIME BIGINT Average time ofs tatement preparation
MAX_PREPARATION_TIME BIGINT Maximum time ofs tatement preparation
MIN_PREPARATION_TIME BIGINT Minimim time ofs tatement preparation
TOTAL_PREPARATION_TIME BIGINT Tota l time of s tatementpreparation
TOTAL_PREPARATION_COUNT BIGINT Tota l count of s tatementpreparation
EXECUTION_COUNT_BY_ROUTING BIGINT Execution count by thecl ient routed connectionin s tatement routing
END_TIME TIMESTAMP The time when theconnection i s closed forhis tory connections
SAP HANA System Tables and Monitoring Views Reference
57 2012-12-19
M_CONTAINER_DIRECTORY
Short description
ContainerDirectory statistics
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
CNT_CREATE BIGINT Counter Count of creates
CNT_CREATE_ROLLBACK BIGINT Counter Count of rol led back creates
CNT_REMOVE BIGINT Counter Count of removes
CNT_REMOVE_FAIL BIGINT Counter Count of fa i led removes
CNT_REMOVE_ROLLBACK BIGINT Counter Count of rol led back removes
CNT_MOVE BIGINT Counter Count of moves
CNT_GET_PHYSICALSIZE BIGINT Counter Count of getPhys ica lSi ze
CNT_GET BIGINT Counter Count of retrieved conta iners
CNT_GET_FAIL BIGINT Counter Count of fa i led gets
CNT_BEGIN BIGINT Counter Count of used i terators
CNT_ITERATED BIGINT Counter Count of i terated conta iners
CNT_CACHEHIT BIGINT Counter Count of cache hi ts
CNT_CACHEMISS BIGINT Counter Count of cache miss es
CNT_CONTAINERS BIGINT Counter Count of exis ting conta iners
SAP HANA System Tables and Monitoring Views Reference
58 2012-12-19
M_CONTAINER_NAME_DIRECTORY
Short description
ContainerNameDirectory statistics
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
CNT_CREATE BIGINT Counter Count of creates
CNT_CREATE_FAIL BIGINT Counter Count of fa i led creates
CNT_INITIAL_CREATE BIGINT Counter Count of creates on load
CNT_INITIAL_SKIP BIGINT Counter Count of skips on load
CNT_REMOVE BIGINT Counter Count of removes
CNT_REMOVE_FAIL BIGINT Counter Count of fa i led removes
CNT_REMOVE_ALL BIGINT Counter Count of removeAl l
CNT_RENAME BIGINT Counter Count of renames
CNT_RENAME_FAIL BIGINT Counter Count of fa i led renames
CNT_EXISTS BIGINT Counter Count of checked conta iners
CNT_GET BIGINT Counter Count of retrieved conta iners
CNT_GET_FAIL BIGINT Counter Count of fa i led gets
CNT_BEGIN BIGINT Counter Count of used i terators
CNT_ITERATE BIGINT Counter Count of i terated conta iners
CNT_CONTAINERS BIGINT Counter Count of exis ting conta iners
SAP HANA System Tables and Monitoring Views Reference
59 2012-12-19
M_CONTEXT_MEMORY
Short description
Memory allocator statistics
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_CONTEXT_MEMORY_RESET. To reset the values, use the SQL command:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_CONTEXT_MEMORY_RESET
or the management console command:
monitor reset -n M_CONTEXT_MEMORY_RESET
Full description
This view contains information about memory consumption grouped by connections and/or users. It does notcontain information about all memory, only on memory, which can be uniquely associated with either aconnection, a statement or a user.
To see information about allocated memory by component, use M_HEAP_MEMORY.
See also:M_HEAP_MEMORY
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
STATISTICS_ID BIGINT Stati s tics object unique ID
CATEGORY VARCHAR(128) Al locator name
DEPTH BIGINT Depth
INCLUSIVE_SIZE_IN_USE BIGINT Byte Current s i ze of this a l locator,including s uba l locators
INCLUSIVE_COUNT_IN_USE BIGINT Counter Number of blocks currently in use,including s uba l locators
INCLUSIVE_ALLOCATED_SIZE BIGINT Byte Tota l a l located s i ze in this a l locatorand s uba l locators
INCLUSIVE_DEALLOCATED_SIZE BIGINT Byte Tota l dea l located s i ze in thisa l locator and suba l locators
INCLUSIVE_ALLOCATED_COUNT BIGINT Counter Count of a l locations , includingsuba l locators
INCLUSIVE_DEALLOCATED_COUNT BIGINT Counter Count of dea l locations , includingsuba l locators
INCLUSIVE_MAX_SINGLE_ALLOCATION_SIZE BIGINT Byte Maximum ever a l located block s i ze inthis a l locator and suba l locators
INCLUSIVE_PEAK_ALLOCATION_SIZE BIGINT Byte Maximum s ize of this a l locator andsuba l locators (es timate)
EXCLUSIVE_SIZE_IN_USE BIGINT Byte Current s i ze of this a l locator
EXCLUSIVE_COUNT_IN_USE BIGINT Counter Number of blocks currently in use
EXCLUSIVE_ALLOCATED_SIZE BIGINT Byte Tota l a l located s i ze in this a l locator
EXCLUSIVE_DEALLOCATED_SIZE BIGINT Byte Tota l dea l located s i ze in thisa l locator
EXCLUSIVE_ALLOCATED_COUNT BIGINT Counter Count of a l locations
EXCLUSIVE_DEALLOCATED_COUNT BIGINT Counter Count of dea l locations
EXCLUSIVE_MAX_SINGLE_ALLOCATION_SIZE BIGINT Byte Maximum ever a l located block s i ze inthis a l locator
EXCLUSIVE_PEAK_ALLOCATION_SIZE BIGINT Byte Maximum s ize of this a l locator(es timate)
EXCLUSIVE_ALLOC_ERRORS BIGINT Counter Count of a l location errors
MALLOC_PROXY_CACHE_MISSES BIGINT Counter Count of mal loc proxy cache misses
FLAGS VARCHAR(64) Al locator flags
SAP HANA System Tables and Monitoring Views Reference
60 2012-12-19
M_CONTEXT_MEMORY_RESET
Short description
Memory allocator statistics (since last reset)
This view contains values accumulated since the last reset of the main view M_CONTEXT_MEMORY. Pleaserefer to M_CONTEXT_MEMORY for information about the structure and use of this view.
In addition to the members mentioned in M_CONTEXT_MEMORY, this view also contains a timestamp fieldRESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
61 2012-12-19
M_CONVERTER_STATISTICS
Short description
Converter statistics
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_CONVERTER_STATISTICS_RESET. To reset the values, use the SQLcommand:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_CONVERTER_STATISTICS_RESET
or the management console command:
monitor reset -n M_CONVERTER_STATISTICS_RESET
Full description
This view contains information about the converter, which administers logical page numbers and maps themto physical pages within the DataVolume(s).
See also:M_PAGEACCESS_STATISTICS, M_DATA_VOLUME_PAGE_STATISTICS
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence VolumeID
TYPE VARCHAR(32) Type of converter
MAX_LEVEL BIGINT Counter Maximum level , e.g.level of root page
MAX_PAGENUMBER BIGINT HEXID Maximum pagenumber
ALLOCATED_PAGE_COUNT BIGINT Counter Number of currentlya l located pages
ALLOCATED_PAGE_SIZE BIGINT Byte Tota l s i ze [bytes ] ofcurrently a l locatedpages
MAX_ALLOCATED_PAGE_COUNT BIGINT Counter Maximum numberof a l located pages
MAX_ALLOCATED_PAGE_SIZE BIGINT Byte Maximum s ize[bytes ] of a l locatedpages
ALLOCATE_PAGE_COUNT BIGINT Counter Number of pagea l locations
ALLOCATE_OR_GET_STATIC_PAGE_COUNT BIGINT Counter Number of pagea l locations orretrieva ls duringstatic phase
DEALLOCATE_PAGE_COUNT BIGINT Counter Number of pagedea l locations
ASSIGN_PHYSICAL_PAGE_COUNT BIGINT Counter Number of phys ica lpage ass ignments
UNASSIGN_PHYSICAL_PAGE_COUNT BIGINT Counter Number of phys ica lpageunass ignments
UNASSIGN_PHYSICAL_PAGE_COUNT_DURING_DROP_SNAPSHOT BIGINT Counter Number of phys ica lpageunass ignmentsduring dropsnapshot
CREATE_SNAPSHOT_COUNT BIGINT Counter Number ofsnapshots created
DROP_SNAPSHOT_COUNT BIGINT Counter Number ofsnapshots dropped
WRITE_CONVERTERPAGE_LEVEL0_COUNT BIGINT Counter Number of level 0converter pageswri tten to disk
WRITE_CONVERTERPAGE_LEVEL1_COUNT BIGINT Counter Number of level 1converter pages
SAP HANA System Tables and Monitoring Views Reference
62 2012-12-19
written to disk
WRITE_CONVERTERPAGE_LEVEL2_COUNT BIGINT Counter Number of level 2converter pageswri tten to disk
WRITE_CONVERTERPAGE_LEVEL3_COUNT BIGINT Counter Number of level 3converter pageswri tten to disk
WRITE_CONVERTERPAGE_LEVEL4_COUNT BIGINT Counter Number of level 4converter pageswri tten to disk
SAP HANA System Tables and Monitoring Views Reference
63 2012-12-19
M_CONVERTER_STATISTICS_RESET
Short description
Converter statistics (since last reset)
This view contains values accumulated since the last reset of the main view M_CONVERTER_STATISTICS.Please refer to M_CONVERTER_STATISTICS for information about the structure and use of this view.
In addition to the members mentioned in M_CONVERTER_STATISTICS, this view also contains a timestampfield RESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
64 2012-12-19
M_CS_ALL_COLUMNS
Short description
Runtime information of all columns of column tables, inclusive internal ones
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
COLUMN_NAME NVARCHAR(256) Column name
PART_ID INTEGER Parti tion ID. 0 for non-parti tioned tables , 1through number of parti tions for parti tionedtables , and -1 during table schema changetemporari ly
MEMORY_SIZE_IN_TOTAL BIGINT Sum of MEMORY_SIZE_IN_MAIN andMEMORY_SIZE_IN_DELTA columns
MEMORY_SIZE_IN_MAIN BIGINT Current memory consumption in main; 0 i fnot loaded
MEMORY_SIZE_IN_DELTA BIGINT Current memory consumption in del ta ; 0 i fnot loaded
UNCOMPRESSED_SIZE BIGINT Estimated s i ze assuming that column i s notcompressed
COMPRESSION_RATIO_IN_PERCENTAGE DOUBLE MEMORY_SIZE_IN_TOTAL /UNCOMPRESSED_SIZE * 100
COUNT BIGINT Record count; 0 i f not loaded
DISTINCT_COUNT BIGINT Dis tinct count of va lues ; 0 i f not loaded
COMPRESSION_TYPE VARCHAR(16) Type of column compres s ion: can be SPARSE,PREFIXED, CLUSTERED, INDIRECT, RLE orDEFAULT i f column i s only dictionary coded.Columns in M_CS_COLUMNS show theruntime va lue, which can be changed duringthe runtime
INDEX_TYPE VARCHAR(16) Type of inverted index; can be FULL,SIGNATURE or NONE for no index
INDEX_LOADED VARCHAR(16) Load s tatus of inverted index; can be NOTAPPLICABLE, UNLOADED, LOADING or LOADED
IMPLEMENTATION_FLAGS BIGINT Column interna l implementation specsummary
LAST_ACCESS_TIME TIMESTAMP Last time the column was read or there wasan ins ert to, update of or delete from thecolumn; Undefined for unloaded columns
LOADED VARCHAR(5) Flag to indicate that column i s loaded intomemory: 'TRUE', 'FALSE'
TABLE_OID BIGINT Object ID of table
MAIN_MEMORY_SIZE_IN_DATA BIGINT Current memory consumption in data
MAIN_MEMORY_SIZE_IN_DICT BIGINT Current memory consumption in dict
MAIN_MEMORY_SIZE_IN_INDEX BIGINT Current memory consumption in index
MAIN_MEMORY_SIZE_IN_MISC BIGINT Current memory consumption in misc
DELTA_MEMORY_SIZE_IN_DATA BIGINT Current memory consumption in data
DELTA_MEMORY_SIZE_IN_DICT BIGINT Current memory consumption in dict
DELTA_MEMORY_SIZE_IN_INDEX BIGINT Current memory consumption in index
DELTA_MEMORY_SIZE_IN_MISC BIGINT Current memory consumption in misc
INDEX_CREATE_DURATION BIGINT Time needed for creating inverted index
DELTA_IMPLEMENTATION_FLAGS BIGINT Column interna l implementation specsummary
INTERNAL_ATTRIBUTE_TYPE VARCHAR(32) Attribute type for interna l columns ; NULL fornoninterna l columns
SAP HANA System Tables and Monitoring Views Reference
65 2012-12-19
M_CS_COLUMNS
Short description
Runtime information of columns of column tables
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
COLUMN_NAME NVARCHAR(256) Column name
PART_ID INTEGER Parti tion ID. 0 for non-parti tionedtables , 1 through number of parti tionsfor parti tioned tables , and -1 duringtable schema change temporari ly
MEMORY_SIZE_IN_TOTAL BIGINT Byte Sum of MEMORY_SIZE_IN_MAIN andMEMORY_SIZE_IN_DELTA columns
MEMORY_SIZE_IN_MAIN BIGINT Byte Current memory consumption in main; 0i f not loaded
MEMORY_SIZE_IN_DELTA BIGINT Byte Current memory consumption in del ta ; 0i f not loaded
UNCOMPRESSED_SIZE BIGINT Byte Estimated s i ze assuming that column i snot compressed
COMPRESSION_RATIO_IN_PERCENTAGE DOUBLE Percent MEMORY_SIZE_IN_TOTAL /UNCOMPRESSED_SIZE * 100
COUNT BIGINT Record count; 0 i f not loaded
DISTINCT_COUNT BIGINT Dis tinct count of va lues ; 0 i f not loaded
COMPRESSION_TYPE VARCHAR(16) Type of column compress ion: can beSPARSE, PREFIXED, CLUSTERED, INDIRECT,RLE or DEFAULT i f column i s onlydictionary coded. Columns inM_CS_COLUMNS s how the runtimeva lue, which can be changed during theruntime
INDEX_TYPE VARCHAR(16) Type of inverted index; can be FULL,SIGNATURE or NONE for no index
INDEX_LOADED VARCHAR(16) Load s tatus of inverted index; can beNOT APPLICABLE, UNLOADED, LOADING orLOADED
IMPLEMENTATION_FLAGS BIGINT Column interna l implementation specsummary
LAST_ACCESS_TIME TIMESTAMP Last time the column was read or therewas an insert to, update of or deletefrom the column; Undefined forunloaded columns
LOADED VARCHAR(5) Boolean Flag to indicate that column i s loadedinto memory: 'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
66 2012-12-19
M_CS_PARTITIONS
Short description
Partition information of column tables
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema Name
TABLE_NAME NVARCHAR(256) Table Name
PART_ID INTEGER Parti tion ID. 0 for non-parti tioned tables , 1 through number ofparti tions for parti tioned tables . -1 i f the whole table i s unloaded.
PARTITION INTEGER Parti tion ID. 0 for non-parti tioned tables and 1 through number ofparti tions for parti tioned tables
SUBPARTITION INTEGER Subparti tion ID. 0 for non-parti tioned tables or tables wi thoutmulti -level parti tioning and 1 through number of s ubparti tions forparti tioned table with multi -level parti tioniong
RANGE VARCHAR(64) Range defini tion of parti tion/s ubparti tion for range-parti tionedtables , empty otherwise
SAP HANA System Tables and Monitoring Views Reference
67 2012-12-19
M_CS_TABLES
Short description
Runtime data of column tables
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
PART_ID INTEGER Parti tion ID. 0 for non-parti tionedand non-repl icated tables , 1through number of parti tions forparti tioned tables , 1 throughnumber of the origina l table and a l li ts repl ica for repl icated tables , and-1 temporari ly during table schemachange
MEMORY_SIZE_IN_TOTAL BIGINT Byte Tota l memory s i ze i s the sum ofmemory s i ze in main, del ta , andhis tory parts
MEMORY_SIZE_IN_MAIN BIGINT Byte Current memory consumption inmain; this va lue varies dependingon the number of a ttributes actua l lyloaded
MEMORY_SIZE_IN_DELTA BIGINT Byte Current memory consumption indel ta
MEMORY_SIZE_IN_HISTORY_MAIN BIGINT Byte Current memory consumption inhis tory-main; 0 for normal non-his tory tables
MEMORY_SIZE_IN_HISTORY_DELTA BIGINT Byte Current memory consumption inhis tory-del ta ; 0 for normal non-his tory tables
ESTIMATED_MAX_MEMORY_SIZE_IN_TOTAL BIGINT Byte Estimated maximum memorycons umption in tota l for table ful lyloaded
RECORD_COUNT BIGINT Byte Record count
RAW_RECORD_COUNT_IN_MAIN BIGINT Current number of entries in tablemain part, this va lue di ffers fromnumber of vi s ible table main rowsbecaus e there are entries ofmodi fied rows marked asinva l idated
RAW_RECORD_COUNT_IN_DELTA BIGINT Current number of entries in tabledel ta part, this va lue di ffers fromnumber of vi s ible table del ta rowsbecaus e there are addi tiona lentries such as deleted rows orupdated rows ; can conta in deletedrecords
RAW_RECORD_COUNT_IN_HISTORY_MAIN BIGINT Raw record count in his tory-main
RAW_RECORD_COUNT_IN_HISTORY_DELTA BIGINT Raw record count in his tory-del ta
LAST_COMPRESSED_RECORD_COUNT BIGINT The number of entries in mainduring las t optimize compress ionrun
MAX_UDIV BIGINT Maximum table row number, thisnumber i s pure technica l and onlyinterna l ly used
MAX_MERGE_CID BIGINT Maximum commit-ID of transactionsfor which changes were a l readymerged to table main part
MAX_ROWID BIGINT Maximum rowid, this number i spure technica l and only interna l lyused
IS_DELTA2_ACTIVE VARCHAR(5) Boolean Flag to indicate that a second del tais used: 'TRUE', 'FALSE'. During atable del ta merge updates andins erts are s tored to a second del tabecaus e the del ta one i s locked
IS_DELTA_LOADED VARCHAR(5) Boolean Flag to indicate that del ta part oftable i s loaded: 'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
68 2012-12-19
IS_LOG_DELTA VARCHAR(5) Boolean Flag to indicate that currently del talog i s wri tten: 'TRUE', 'FALSE'
PERSISTENT_MERGE VARCHAR(5) Boolean Flag to indicate that new main partwi l l be wri tten to dis k during tabledel ta merge unless reques teddi fferently: 'TRUE', 'FALSE'
CREATE_TIME TIMESTAMP Created time
MODIFY_TIME TIMESTAMP Modified time
LAST_MERGE_TIME TIMESTAMP Point in time, Unix time format, las ttime the table del ta part wasmerged into main part
LAST_REPLAY_LOG_TIME TIMESTAMP Point in time, Unix time format, las ttime the table log was replayed
LOADED VARCHAR(10) Flag to show how many columns oftable are loaded in memory (NO,PARTIALLY, and FULL); seeM_CS_COLUMNS for each column
READ_COUNT BIGINT Number of read accesses on thetable or parti tion
WRITE_COUNT BIGINT Number of wri te accesses on thetable or parti tion
MERGE_COUNT BIGINT Number of del ta merges done onthe table or parti tion
IS_REPLICA VARCHAR(5) Boolean Flag to indicate that the part i s arepl ica
SAP HANA System Tables and Monitoring Views Reference
69 2012-12-19
M_CS_UNLOADS
Short description
A history of column unloads
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
UNLOAD_TIME TIMESTAMP Timestamp of unload event
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
COLUMN_NAME NVARCHAR(256) Column name. Empty i f the whole table i s unloaded.
PART_ID INTEGER Parti tion ID. 0 for non-parti tioned tables , 1 through number ofparti tions for parti tioned tables . -1 i f the whole table i sunloaded.
TABLE_OID BIGINT Object Id of the table
IS_HISTORY VARCHAR(5) Flag to indicate whether the his tory part i s unloaded (onlyrelevant for his tory tables ). Empty i f the whole table i s unloaded.
REASON NVARCHAR(16) Unload reason (LOW MEMORY or EXPLICIT)
SAP HANA System Tables and Monitoring Views Reference
70 2012-12-19
M_DATABASE
Short description
Database information
Full description
HOSTequal to: M_LANDSCAPE_HOST_CONFIGURATION.HOST WHERENAMESERVER_CONFIG_ROLE='MASTER 1'
Structure
Column name Data type Unit Description
DATABASE_NAME VARCHAR(256) Sys tem SID
HOST VARCHAR(64) Defaul t master host
START_TIME TIMESTAMP Start time
VERSION VARCHAR(32) Vers ion: major.minor.patch.bui ld
SAP HANA System Tables and Monitoring Views Reference
71 2012-12-19
M_DATABASE_HISTORY
Short description
Installation version history
Structure
Column name Data type Unit Description
INSTALL_TIME TIMESTAMP Insta l l /fi rs t s tart time
VERSION VARCHAR(32) Vers ion: major.minor.patch.bui ld
SAP HANA System Tables and Monitoring Views Reference
72 2012-12-19
M_DATA_VOLUMES
Short description
DataVolume statistics
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
FILE_NAME VARCHAR(512) Fi lename of DataVolume
FILE_ID BIGINT Fi leID of DataVolume
SIZE BIGINT Byte Size of DataVolume
MAX_SIZE BIGINT Byte Max. s i ze of DataVolume
SAP HANA System Tables and Monitoring Views Reference
73 2012-12-19
M_DATA_VOLUME_PAGE_STATISTICS
Short description
Page usage statistics on data volumes
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_DATA_VOLUME_PAGE_STATISTICS_RESET. To reset the values, use the SQLcommand:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_DATA_VOLUME_PAGE_STATISTICS_RESET
or the management console command:
monitor reset -n M_DATA_VOLUME_PAGE_STATISTICS_RESET
Full description
This view contains information about the number and distribution of free, used and shadow pages insideDataVolumes. INITIAL_BLOCK_COUNT is the number of pages the database was started with.TOTAL_*_COUNT give the numbers of blocks allocated, freed or set to status FreeAfterSavepoint since thestart of the database. Columns SUPERBLOCK_COUNT, USED_BLOCK_COUNT and SHADOW_BLOCK_COUNTcontain the number of (super)blocks currently in use by the database. FILL_RATIO gives the ratio of minimumnumber of needed superblocks versus the actual number of used superblocks. Note that unused superblocksare not part of this formula (see M_DATA_VOLUME_SUPERBLOCK_STATISTICS).
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
DATA_VOLUME_NAME VARCHAR(512) DataVolume name
PAGE_SIZECLASS VARCHAR(16) Page s i ze class
PAGE_SIZE BIGINT Byte Page s i ze
SUPERBLOCK_SIZE BIGINT Byte Superblock s i ze
INITIAL_BLOCK_COUNT BIGINT Counter Count of ini t pages
TOTAL_ALLOCATE_BLOCK_COUNT BIGINT Counter Number of s ingle and groupa l located blocks
TOTAL_SET_BLOCK_FREE_COUNT BIGINT Counter Number of s ingle and groupfreed blocks
TOTAL_SET_BLOCK_FREE_AFTER_SAVEPOINT_COUNT BIGINT Counter Number of s ingle and groupfreed-after-savepoint blocks
SUPERBLOCK_COUNT BIGINT Counter Number of used Superblocks
USED_BLOCK_COUNT BIGINT Counter Count of used blocks
SHADOW_BLOCK_COUNT BIGINT Counter Count of s hadow blocks
FILL_RATIO DOUBLE Percent Fi l l ra tio
SAP HANA System Tables and Monitoring Views Reference
74 2012-12-19
M_DATA_VOLUME_PAGE_STATISTICS_RESET
Short description
FreeBlockManager SizeClass statistics (since last reset)
This view contains values accumulated since the last reset of the main viewM_DATA_VOLUME_PAGE_STATISTICS. Please refer to M_DATA_VOLUME_PAGE_STATISTICS forinformation about the structure and use of this view.
In addition to the members mentioned in M_DATA_VOLUME_PAGE_STATISTICS, this view also contains atimestamp field RESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
75 2012-12-19
M_DATA_VOLUME_SUPERBLOCK_STATISTICS
Short description
FreeBlockManager Superblock statistics
Full description
This view shows information about the number and distribution of Superblocks inside DataVolumes.SUPERBLOCK_COUNT is the total number of Superblocks and USED_SUPERBLOCK_COUNT is the number ofSuperblocks currently occupied by at least one used or shadow page. FILL_RATIO gives the ratio of thenumber of used superblocks versus the total number of superblocks. Note that the fill ratio of the superblocksthemselves is not part of this formula.
See also:M_DATA_VOLUME_PAGE_STATISTICS
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
DATA_VOLUME_NAME VARCHAR(512) DataVolume name
SUPERBLOCK_SIZE BIGINT Byte Superblock s i ze
USED_SUPERBLOCK_COUNT BIGINT Counter Count of used Superblocks
SUPERBLOCK_COUNT BIGINT Counter Count of Superblocks
FILL_RATIO DOUBLE Percent Fi l l ra tio
SAP HANA System Tables and Monitoring Views Reference
76 2012-12-19
M_DELTA_MERGE_STATISTICS
Short description
Table delta merge statistics
Full description
This view shows table delta merge statistics. It lists the table delta merge events since the indexserver waslast restarted. Table delta merges, optimize compression runs and application merge hints are listedseparately.
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
TYPE VARCHAR(8) MERGE (table del ta merge), HINT (appl icationmerge hint), SPARSE (optimize compress ion),FACT (fact table compress ion)
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
PART_ID INTEGER Parti tion ID. 0 for non-parti tioned tables , 1through number of parti tions for parti tionedtables . -1 i f the whole table i s unloaded.
HISTORY VARCHAR(5) Boolean Flag to indicate his tory part was merged: 'TRUE','FALSE'
MEMORY_MERGE VARCHAR(5) Boolean Flag to indicate table was merged in memoryonly: 'TRUE', 'FALSE'
PASSPORT VARCHAR(256) Externa l identi fier for table merge ca l led by anappl ication
START_TIME TIMESTAMP Execution s tart time
EXECUTION_TIME BIGINT Mi l l i second Execution duration
MOTIVATION VARCHAR(8) HARD, SMART, AUTO, FORCE
SUCCESS VARCHAR(5) Boolean Ca l l success flag; depends on field TYPE; HINT:appl ication merge hint was accepted/rejected;MERGE/SPARSE: del ta merge/optimizecompress ion was completed with or wi thoutsuccess : 'TRUE', 'FALSE'
MERGED_DELTA_RECORDS INTEGER Counter Number of documents in del ta
LAST_ERROR INTEGER Error code of the las t error that occurred. Can beused to expla in why a merge did not succeed.See M_ERROR_CODES for error code descriptions
SAP HANA System Tables and Monitoring Views Reference
77 2012-12-19
M_DISKS
Short description
Disk configuration and utilization of the host machine
Structure
Column name Data type Unit Description
DISK_ID INTEGER Disk ID
DEVICE_ID BIGINT Database Interna l Device ID
HOST VARCHAR(64) Host name. Wi l l only be set i f di s k i s used by exactly one host.
PATH VARCHAR(512) Path
SUBPATH VARCHAR(512) Subpath
FILESYSTEM_TYPE VARCHAR(16) Fi lesys tem type
USAGE_TYPE VARCHAR(16) Usage Type: LOG, DATA, TRACE, DATA_BACKUP and LOG_BACKUP
TOTAL_SIZE BIGINT Byte Volume Used Space
USED_SIZE BIGINT Byte Volume Size
SAP HANA System Tables and Monitoring Views Reference
78 2012-12-19
M_ERROR_CODES
Short description
Error codes with descriptions
Structure
Column name Data type Unit Description
CODE INTEGER Error Code
CODE_STRING VARCHAR(256) Error Code String
DESCRIPTION VARCHAR(2000) Error Description
SAP HANA System Tables and Monitoring Views Reference
79 2012-12-19
M_EVENTS
Short description
Internal events
Full description
Important events (for example, DiskFull) reported by the database are shown in this view. The state of anevent can be either NEW or HANDLED. CREATE TIME shows the time the event was created (and reported)and HANDLE time shows the time the event was handled (that is, cleared). Handled events are removedperiodically by the StatisticsServer
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host
PORT INTEGER Port
TYPE VARCHAR(256) Type of event
ID BIGINT ID of event
INFOTEXT VARCHAR(2000) Additiona l info freetext
CREATE_TIME TIMESTAMP Time event was created
UPDATE_TIME TIMESTAMP Time event was updated
HANDLE_TIME TIMESTAMP Time event was handled
STATE VARCHAR(256) State of event
ACKNOWLEDGED VARCHAR(5) Event acknowledged: 'TRUE', 'FALSE'
FAILED_HANDLES BIGINT Number of fa i led handle attempts
SAP HANA System Tables and Monitoring Views Reference
80 2012-12-19
M_EXPENSIVE_STATEMENTS
Short description
All statements with duration longer than a threshold
Full description
Allows you to monitor all statements that have an execution time longer than a predefined threshold(configurable using the [expensive_statements] section of the indexserver.ini), and that might therefore beperformance bottlenecks.
The M_EXPENSIVE_STATEMENTS view provides convenient access to the most expensive statements thatwere executed on the system. A statement is considered being expensive if its runtime exceeds a particularthreshold.
For example to configure the threshold using the SAP HANA studio note that the expensive statements traceneeds to be activated first in the Performance -> Expensive Statements Trace screen in the SAP HANA studio.Click Configure to open the Trace Configuration dialog. There you can activate tracing and also adjust thethreshold.
There are the following main types of operations:
ExecuteStatement: execution of simple exact query stringPrepareStatement: preparation of prepared statementExecutePrepared: execution of prepared statementFetchCursor: fetching resultsetCloseCursor: closing cursorCloseStatement: closing prepared statementAggregatedExecuteStatement: calculates overall execution time
For example, if a query has 4 session requests from a client as follows: 1. Prepare: 10 msec 2. Execute: 20msec 3. Fetch: 15 msec 4. Close: 5 msec
Assuming that all operations were longer than the threshold they will be shown as: OPERATION DURATIONPrepareStatement 10 ExecutePrepared 20 FetchCursor 15 Close 5 AggregatedExecuteStatement 50(10+20+15+5)
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
CONNECTION_ID INTEGER Connection ID
TRANSACTION_ID BIGINT Transaction object ID
STATEMENT_ID NVARCHAR(256) Statement ID
DB_USER NVARCHAR(256) User name
APP_USER NVARCHAR(256) Appl ication us er name
START_TIME TIMESTAMP Statement s tart time
DURATION_MICROSEC BIGINT Microsecond Statement duration
OBJECT_NAME NVARCHAR(5000) Related objects
OPERATION NVARCHAR(5000) Type of operation: e.g. prepare, execute,fetch, close
RECORDS BIGINT Number of records
STATEMENT_STRING NCLOB Statement s tring
PARAMETERS NVARCHAR(5000) Parameters
ERROR_CODE INTEGER Error code
ERROR_TEXT NVARCHAR(5000) Error mess age
LOCK_WAIT_COUNT INTEGER Accumulated lock wai t count
LOCK_WAIT_DURATION BIGINT Accumulated lock wai t duration
ALLOC_MEM_SIZE_ROWSTORE BIGINT Byte Al located memory s i ze for row s tore
ALLOC_MEM_SIZE_COLSTORE BIGINT Byte Al located memory s i ze for column s tore
MEMORY_SIZE BIGINT Memory required for computing thestatement, incl . memory for intermediateresul ts . Kept for cache reasons or releasedafter the s tatement execution.
REUSED_MEMORY_SIZE BIGINT Memory reused from cached datas tructures , 0 i f caches empty
CPU_TIME BIGINT CPU time (us ) consumed to compute thestatement
SAP HANA System Tables and Monitoring Views Reference
81 2012-12-19
SAP HANA System Tables and Monitoring Views Reference
82 2012-12-19
M_EXPORT_BINARY_STATUS
Short description
Export status information for current session
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
CONNECTION_ID INTEGER Connection ID to dis tinguish data of each import ses s ion (-1 forPython)
SCHEMA_NAME NVARCHAR(256) Schema of table or view being imported
TABLE_NAME NVARCHAR(256) Name of table or view being imported
INDEX_TYPE VARCHAR(16) Index type: 'UNKNOWN', 'PHYSICAL', 'OLAP', 'JOIN', 'HIERARCHY','CALCULATION', ...
STATUS VARCHAR(16) Import s tatus . 'queued', 'working', 'skipped', 'done', 'fa i led'
ERROR VARCHAR(512) Empty i f import was success ful , error text otherwise
SAP HANA System Tables and Monitoring Views Reference
83 2012-12-19
M_EXTRACTORS
Short description
Direct extractor connection (DXC) status information
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Name of the schema where the DSO tables are generated
TABLE_NAME NVARCHAR(256) Name of the DSO speci fi c s tatus table
CLIENT NVARCHAR(3) The ID of the cl ient
STATUS VARCHAR(5) Genera l s tatus overview s aying 'OK' or 'ERROR'
REQUEST_ID INTEGER SID of the request used for activation
ERROR_MESSAGE NVARCHAR(5000) The message in case of an error
PHASE VARCHAR(32) The phase of the las t running operation
TIMESTAMP TIMESTAMP Timestamp of the operation phase
SAP HANA System Tables and Monitoring Views Reference
84 2012-12-19
M_FEATURES
Short description
All supported features
Structure
Column name Data type Unit Description
COMPONENT_NAME VARCHAR(16) Name of the component owning the feature
FEATURE_NAME VARCHAR(32) Name of the feature
FEATURE_VERSION BIGINT Vers ion of the feature
SAP HANA System Tables and Monitoring Views Reference
85 2012-12-19
M_FULLTEXT_QUEUES
Short description
Fulltext index queue status
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
INDEX_OID BIGINT OID of the corresponding ful l text index
SCHEMA_NAME NVARCHAR(256) Schema of the data table
TABLE_NAME NVARCHAR(256) Name of the data table
PART_ID INTEGER Parti tion ID. 0 for non-parti tioned tables , 1 throughnumber of parti tions for parti tioned tables . -1 i f thewhole table i s unloaded.
COLUMN_NAME NVARCHAR(256) Name of the document column
STATUS NVARCHAR(16) Queue s tatus (ACTIVE, SUSPENDED)
TOTAL_DOCUMENT_COUNT BIGINT Tota l number of documents in the origina l table
INDEXED_DOCUMENT_COUNT BIGINT Number of success ful ly indexed documents
QUEUE_DOCUMENT_COUNT BIGINT Number of documents currently in the queue
ERROR_DOCUMENT_COUNT BIGINT Number of fa i led documents
SAP HANA System Tables and Monitoring Views Reference
86 2012-12-19
M_FUZZY_SEARCH_INDEXES
Short description
Runtime information of fuzzy search indexes of column tables
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
COLUMN_NAME NVARCHAR(256) Column name
PART_ID INTEGER Parti tion ID. 0 for non-parti tioned tables , 1 throughnumber of parti tions for parti tioned tables , and -1during table schema change temporari ly
FUZZY_SEARCH_MODE NVARCHAR(256) Fuzzy index search mode
MEMORY_SIZE_IN_TOTAL BIGINT Byte Sum of MEMORY_SIZE_IN_MAIN andMEMORY_SIZE_IN_DELTA
MEMORY_SIZE_IN_MAIN BIGINT Byte Current s i ze of the fuzzy search indexes in main; 0 i fnot loaded
MEMORY_SIZE_IN_DELTA BIGINT Byte Current s i ze of the fuzzy search indexes in del ta ; 0 i fnot loaded
LOADED VARCHAR(5) Boolean Flag to indicate that column i s loaded into memory:'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
87 2012-12-19
M_GARBAGE_COLLECTION_STATISTICS
Short description
Garbage collection/history manager statistics
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_GARBAGE_COLLECTION_STATISTICS_RESET. To reset the values, use theSQL command:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_GARBAGE_COLLECTION_STATISTICS_RESET
or the management console command:
monitor reset -n M_GARBAGE_COLLECTION_STATISTICS_RESET
Full description
This view shows various statistics about garbage collection jobs.
Garbage collection is used to remove old versions of data objects from the system. Afterwards no transactioncan reference them. References to such objects are kept in history (cleanup) files, which are processed by thegarbage collector.
Normally, the system runs in statement consistency isolation level, that is, a consistent view is acquired whenan SQL command starts. Alternatively, the system can be run in transaction consistency isolation level, wherethe consistent view is acquired when the transaction starts and is held until the transaction terminates(snapshot isolation, similar to SERIALIZABLE isolation level). Each consistent view contains a reference to aminReadTID Transaction ID (TID), which is the minimum TID, from which the changes are "seen" by thetransaction. Global minReadTID (minimum of minReadTIDs of all consistent views) is used by the garbagecollector to determine which history files can be cleaned.
In the case that history files accumulate and MIN_READ_TID doesn't advance, there is a good chance thatsome transaction holds its consistent view for very long time (for example, a long-running transaction of aforgotten read transaction in a GUI). You can look into M_TRANSACTIONS to see information about eachrunning transaction.
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
STORE_TYPE VARCHAR(16) type of s torage handled (COLUMN STORE,LIVECACHE)
HISTORY_COUNT INTEGER Counter Current count of his tory fi les in GC
WAITER_COUNT INTEGER Counter Current count of GC wai ters
MIN_READ_TID BIGINT TID Last known minimum TID of a readingtransaction at EOT
LAST_STARTED_TID BIGINT TID TID of the las t s tarted GC job
FIRST_WAITING_TID BIGINT TID TID of the fi rs t wa i ting GC job
ENTERS BIGINT Counter Count of his tory fi les which entered the queue
STARTED_JOBS BIGINT Counter Count of garbage col lection jobs s tarted
PROCESSED_JOBS BIGINT Counter Count of garbage col lection fi les process ed
QUEUE_LOADS BIGINT Counter Count of a l l GC queue loads
QUEUE_LOADS_NONEMPTY BIGINT Counter Count of GC queue loads which found someelements
QUEUE_EMPTY_COUNT BIGINT Counter Count of queue empty s tates a fter GC finished
SAVEPOINTS BIGINT Counter Count of savepoints
LAST_HISTORY_SIZE_AT_SVP BIGINT Counter Count of his tory fi les present at savepoint (las t)
MAX_HISTORY_SIZE_AT_SVP BIGINT Counter Count of his tory fi les present at savepoint (max)
MIN_HISTORY_SIZE_AT_SVP BIGINT Counter Count of his tory fi les present at savepoint (min)
SUM_HISTORY_SIZE_AT_SVP BIGINT Counter Count of his tory fi les present at savepoint (tota l )
AVG_HISTORY_SIZE_AT_SVP DOUBLE Rate Count of his tory fi les present at savepoint (avg)
EMPTY_HISTORY_AT_SVP_COUNT BIGINT Counter Count of savepoints finding empty queue
SAP HANA System Tables and Monitoring Views Reference
88 2012-12-19
M_GARBAGE_COLLECTION_STATISTICS_RESET
Short description
Garbage collection/history manager statistics (since last reset)
This view contains values accumulated since the last reset of the main viewM_GARBAGE_COLLECTION_STATISTICS. Please refer to M_GARBAGE_COLLECTION_STATISTICS forinformation about the structure and use of this view.
In addition to the members mentioned in M_GARBAGE_COLLECTION_STATISTICS, this view also contains atimestamp field RESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
89 2012-12-19
M_HEAP_MEMORY
Short description
Memory allocator statistics
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_HEAP_MEMORY_RESET. To reset the values, use the SQL command:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_HEAP_MEMORY_RESET
or the management console command:
monitor reset -n M_HEAP_MEMORY_RESET
Full description
This view contains information about memory consumption of various components in the system. Parallel toheap memory, you can also query memory consumption by connection/statement/user usingM_CONTEXT_MEMORY.
The overhead of allocators is not considered here.
See also:M_CONTEXT_MEMORY, M_SERVICE_MEMORY
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
STATISTICS_ID BIGINT Stati s tics object unique ID
CATEGORY VARCHAR(128) Al locator name
DEPTH BIGINT Depth
INCLUSIVE_SIZE_IN_USE BIGINT Byte Current s i ze of this a l locator,including s uba l locators
INCLUSIVE_COUNT_IN_USE BIGINT Counter Number of blocks currently in use,including s uba l locators
INCLUSIVE_ALLOCATED_SIZE BIGINT Byte Tota l a l located s i ze in this a l locatorand s uba l locators
INCLUSIVE_DEALLOCATED_SIZE BIGINT Byte Tota l dea l located s i ze in thisa l locator and suba l locators
INCLUSIVE_ALLOCATED_COUNT BIGINT Counter Count of a l locations , includingsuba l locators
INCLUSIVE_DEALLOCATED_COUNT BIGINT Counter Count of dea l locations , includingsuba l locators
INCLUSIVE_MAX_SINGLE_ALLOCATION_SIZE BIGINT Byte Maximum ever a l located block s i ze inthis a l locator and suba l locators
INCLUSIVE_PEAK_ALLOCATION_SIZE BIGINT Byte Maximum s ize of this a l locator andsuba l locators (es timate)
EXCLUSIVE_SIZE_IN_USE BIGINT Byte Current s i ze of this a l locator
EXCLUSIVE_COUNT_IN_USE BIGINT Counter Number of blocks currently in use
EXCLUSIVE_ALLOCATED_SIZE BIGINT Byte Tota l a l located s i ze in this a l locator
EXCLUSIVE_DEALLOCATED_SIZE BIGINT Byte Tota l dea l located s i ze in thisa l locator
EXCLUSIVE_ALLOCATED_COUNT BIGINT Counter Count of a l locations
EXCLUSIVE_DEALLOCATED_COUNT BIGINT Counter Count of dea l locations
EXCLUSIVE_MAX_SINGLE_ALLOCATION_SIZE BIGINT Byte Maximum ever a l located block s i ze inthis a l locator
EXCLUSIVE_PEAK_ALLOCATION_SIZE BIGINT Byte Maximum s ize of this a l locator(es timate)
EXCLUSIVE_ALLOC_ERRORS BIGINT Counter Count of a l location errors
MALLOC_PROXY_CACHE_MISSES BIGINT Counter Count of mal loc proxy cache misses
FLAGS VARCHAR(64) Al locator flags
SAP HANA System Tables and Monitoring Views Reference
90 2012-12-19
M_HEAP_MEMORY_RESET
Short description
Memory allocator statistics (since last reset)
This view contains values accumulated since the last reset of the main view M_HEAP_MEMORY. Please referto M_HEAP_MEMORY for information about the structure and use of this view.
In addition to the members mentioned in M_HEAP_MEMORY, this view also contains a timestamp fieldRESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
91 2012-12-19
M_HISTORY_INDEX_LAST_COMMIT_ID
Short description
Last commit ID of history index for each session
Structure
Column name Data type Unit Description
SESSION_ID BIGINT Sess ion ID
SESSION_OWNER_VOLUME_ID BIGINT Volume ID of this sess ion
LAST_COMMIT_ID BIGINT Last commit ID of his tory index in this s ess ion
SAP HANA System Tables and Monitoring Views Reference
92 2012-12-19
M_HOST_INFORMATION
Short description
Host information such as machine, OS configuration
Full description
This view contains some host specific information. The following describes the contents of the individual linesof the monitor view (VALUE), as identified by KEY:
sapsystemTwo digit SAP system instance number
sidThree letter SAP system name
build_versionBuild version number. Same as M_DATABASE.VERSION
build_branchBuild branch name in revision control software
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
KEY VARCHAR(32) Key
VALUE VARCHAR(256) Va lue
SAP HANA System Tables and Monitoring Views Reference
93 2012-12-19
M_HOST_RESOURCE_UTILIZATION
Short description
Host resource utilization, CPU time is in milliseconds and added across all cores since system start
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
FREE_PHYSICAL_MEMORY BIGINT Byte Free phys ica l memory on the host
USED_PHYSICAL_MEMORY BIGINT Byte Used phys ica l memory on the host
FREE_SWAP_SPACE BIGINT Byte Free swap memory on the host
USED_SWAP_SPACE BIGINT Byte Used swap memory on the hos t
ALLOCATION_LIMIT BIGINT Byte Al location l imit for a l l processes
TOTAL_CPU_USER_TIME BIGINT Mi l l i second CPU time spent in us er mode
TOTAL_CPU_SYSTEM_TIME BIGINT Mi l l i second CPU time spent in kernel mode
TOTAL_CPU_WIO_TIME BIGINT Mi l l i second CPU time spent in wa i t IO (Linux only, Windowsa lways 0)
TOTAL_CPU_IDLE_TIME BIGINT Mi l l i second CPU idle time
SYS_TIMESTAMP TIMESTAMP Host timestamp in loca l time zone
UTC_TIMESTAMP TIMESTAMP Host timestamp in UTC
SAP HANA System Tables and Monitoring Views Reference
94 2012-12-19
M_IMPORT_BINARY_STATUS
Short description
Import status information for current session
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
CONNECTION_ID INTEGER Connection ID to dis tinguish data of each import ses s ion (-1 forPython)
SCHEMA_NAME NVARCHAR(256) Schema of table or view being imported
TABLE_NAME NVARCHAR(256) Name of table or view being imported
INDEX_TYPE VARCHAR(16) Index type: 'UNKNOWN', 'PHYSICAL', 'OLAP', 'JOIN', 'HIERARCHY','CALCULATION', ...
STATUS VARCHAR(16) Import s tatus . 'queued', 'working', 'skipped', 'done', 'fa i led'
ERROR VARCHAR(512) Empty i f import was success ful , error text otherwise
SAP HANA System Tables and Monitoring Views Reference
95 2012-12-19
M_INIFILES
Short description
All configuration files
Full description
Change Inifiles Calls
For the SYSTEM layer (you cannot set the DEFAULT layer):
ALTER SYSTEM INIFILE('filename', layer) SET ('section1', 'key1') = 'value1', ('section2', 'key2') = 'value2';
For the TENANT and HOST layers:
ALTER SYSTEM INIFILE('filename', 'layer', 'layername') SET ('section1', 'key1') = 'value1', ('section2', 'key2') = 'value2';
To remove a section or key:
ALTER SYSTEM INIFILE('filename', 'layer'[, 'layername']) REMOVE ('section1', 'key1'), ('section2', 'key2'), ('section3') with reconfigure;
With reconfigure:
ALTER SYSTEM INIFILE ..... [ WITH RECONFIGURE ] ;
The services to be reconfigured are defined in inifiles.ini
Structure
Column name Data type Unit Description
FILE_NAME VARCHAR(256) Configuration fi le name
DEFAULT_LAYER VARCHAR(5) Boolean TRUE i f fi le has configuration on this layer (Always TRUE)
SYSTEM_LAYER VARCHAR(5) Boolean TRUE i f fi le has configuration on this layer
TENANT_LAYER VARCHAR(5) Boolean TRUE i f fi le has configuration on this layer
HOST_LAYER VARCHAR(5) Boolean TRUE i f fi le has configuration on this layer
SAP HANA System Tables and Monitoring Views Reference
96 2012-12-19
M_INIFILE_CONTENTS
Short description
Configuration information from inifiles
Structure
Column name Data type Unit Description
FILE_NAME VARCHAR(256) Configuration fi le name
LAYER_NAME VARCHAR(16) Configuration layer: DEFAULT, SYSTEM, TENANT, HOST
TENANT_NAME VARCHAR(256) Tenant name, i f layer i s TENANT
HOST VARCHAR(64) Host name, i f layer i s HOST
SECTION VARCHAR(128) Configuration section name
KEY VARCHAR(128) Configuration key name
VALUE VARCHAR(5000) Configuration va lue
SAP HANA System Tables and Monitoring Views Reference
97 2012-12-19
M_JOB_PROGRESS
Short description
Current long running system operations
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema of the object
OBJECT_NAME NVARCHAR(256) Name of the object
JOB_NAME NVARCHAR(128) Type of the operation
CONNECTION_ID INTEGER Connection that triggered the operation
START_TIME TIMESTAMP Start time of the operation
CURRENT_PROGRESS INTEGER Steps of the operation that are a l ready fini shed
MAX_PROGRESS INTEGER Maximum steps of the operation
PROGRESS_DETAIL NVARCHAR(256) Deta i l information of the operation
SAP HANA System Tables and Monitoring Views Reference
98 2012-12-19
M_LANDSCAPE_HOST_CONFIGURATION
Short description
Host roles in a distributed landscape
Full description
The view is read-only. To change the configuration use SAP HANA studio, which internally uses this storedprocedure:
UPDATE_LANDSCAPE_CONFIGURATION(ACTION in VARCHAR(80), DATA in NCLOB) -> resultset (NAME,VALUE)
HOST_ACTIVE
Value Description
YES Al l services are active
STARTING Some services are active, host i s s tarting
PARTIAL Some services are active
STOPPING Some services are active, host i s s topping
NO No services are active
HOST_STATUS
Value Description
OK Landscape operationa l , host actua l role equa ls configured role
IGNORE Landscape operationa l , host configured as s tandby i s ava i lable, but not used
INFO Landscape operationa l , host actua l role i s di fferent from configured role
WARNING Landscape not operationa l , host should become operationa l a fter s tartup/fa i lover
ERROR Landscape not operationa l , host i s miss ing
FAILOVER_STATUS
Value Description
No fa i lover pending/active
waiting.. sec
Fa i lure detected. Waiting some time for res tart to prevent unnecessary fa i lover
waiting Fa i lure detected. Waiting for other 's tarting' host
fa i loverto 'host'
Fa i lover to 'host' active.
fa i lbackto 'host'
Fa i lback to worker 'host' active. Happens when a s tandby host was ass igned and i ss topped. There i s no automatic fa i lback whi le the s tandby host i s ass igned, because thiswould cause some downtime
fa i led Fa i lover fa i led. See nameserver.trc for deta i l s
NAMESERVER_CONFIG_ROLEDuring installation up to 3 hosts are automatically configured as MASTER candidates. All others areSLAVE.
It is recommended to specify these 3 hosts in the connection url (see SAP HANA Administration Guide,chapter 'Configuring clients for Failover Support), because at least one of these hosts will be active.
NAMESERVER_ACTUAL_ROLEExactly one of the master candidates is MASTER, all other are SLAVE.
The actual master name server and master index server are both on the same host.
INDEXSERVER_CONFIG_ROLEDuring installation with 'hdbaddhost' the host is configured as WORKER or STANDBY
INDEXSERVER_ACTUAL_ROLEExactly one host is MASTER, the others are SLAVE or STANDBY.
During normal operation, when all hosts are available, a configured WORKER has an actual role of MASTERor SLAVE and a configured STANDBY has an actual role of STANDBY. After failover the actual roles switch andthe HOST_STATUS changes from OK+IGNORE to 2*INFO.
FAILOVER_CONFIG_GROUPHosts can be grouped. During failover a host is looked for within the same group. If no host isavailable in the same group, hosts from other groups are used. Usage of other groups can bedisabled with the configuration parameter: nameserver.ini
Structure
SAP HANA System Tables and Monitoring Views Reference
99 2012-12-19
Column name Data type Unit Description
HOST VARCHAR(64) Host name
HOST_ACTIVE VARCHAR(128) Host active Status (Summary of Active va lues of a l lservices on that host)
HOST_STATUS VARCHAR(128) Host s tatus
FAILOVER_STATUS VARCHAR(128) Fa i lover s tatus
FAILOVER_GROUP VARCHAR(256) DEPRECATED: replaced by FAILOVER_..._GROUP columns
FAILOVER_CONFIG_GROUP VARCHAR(256) Configured fa i lover group
FAILOVER_ACTUAL_GROUP VARCHAR(256) Actua l fa i lover group
NAMESERVER_CONFIG_ROLE VARCHAR(16) Nameserver configured role: MASTER, SLAVE
NAMESERVER_ACTUAL_ROLE VARCHAR(16) Nameserver actua l role: MASTER, SLAVE
INDEXSERVER_CONFIG_ROLE VARCHAR(16) Indexserver configured role: WORKER, STANDBY
INDEXSERVER_ACTUAL_ROLE VARCHAR(16) Indexserver actua l role: MASTER, SLAVE, STANDBY
STORAGE_PARTITION INTEGER Storage Parti tion ~= subpath used by that host
REMOVE_STATUS VARCHAR(16) Remove progress
SAP HANA System Tables and Monitoring Views Reference
100 2012-12-19
M_LICENSE
Short description
Information on the currently valid license (if any) installed on this system
Structure
Column name Data type Unit Description
HARDWARE_KEY VARCHAR(11) Hardware key of this SAP HANA ins ta l la tion
SYSTEM_ID VARCHAR(3) Sys tem identi fier (SID) of this SAP HANA database
INSTALL_NO VARCHAR(10) Ins ta l la tion number of this SAP HANA database
SYSTEM_NO VARCHAR(18) Sys tem number of this SAP HANA database
PRODUCT_NAME VARCHAR(256) Name of the l i censed software product, e.g. SAP HANA
PRODUCT_LIMIT BIGINT Licensed amount of main memory as speci fied by thel icense
PRODUCT_USAGE BIGINT Currently uti l i zed amount of main memory
START_DATE TIMESTAMP Start date of the va l idi ty period of the l i cense
EXPIRATION_DATE TIMESTAMP Expiration date of the va l idi ty period of the l i cense
LAST_SUCCESSFUL_CHECK TIMESTAMP Latest date on which the l i cense was s uccess ful ly checkedand found va l id
PERMANENT VARCHAR(5) TRUE i f the l i cense i s a permanent one, FALSE i f thel icense i s a temporary one
VALID VARCHAR(5) TRUE i f the l i cense i s currently va l id, otherwise FALSE
ENFORCED VARCHAR(5) TRUE i f the l i cense i s a memory-enforced l i cense,otherwise FALSE
LOCKED_DOWN VARCHAR(5) TRUE i f the sys tem is locked down due to l i cense s tatus ,otherwise FALSE
MEASUREMENT_XML CLOB Measurement log produced for this l i cens ed sys tem withcurrent memory consumption
SAP HANA System Tables and Monitoring Views Reference
101 2012-12-19
M_LICENSE_USAGE_HISTORY
Short description
Information on the maximum resource consumption per time period, used for validity check of licenseinstalled on this system (if any)
Structure
Column name Data type Unit Description
PRODUCT_USAGE BIGINT Maximum uti l i zed amount of main memory used in this period
PERIOD_START_TIME TIMESTAMP Start time of the period the maximum was used in
PERIOD_END_TIME TIMESTAMP End time of the period the maximum was used in
SAP HANA System Tables and Monitoring Views Reference
102 2012-12-19
M_LIVECACHE_CONTAINER_STATISTICS
Short description
LiveCache container statistics
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_LIVECACHE_CONTAINER_STATISTICS_RESET. To reset the values, use theSQL command:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_LIVECACHE_CONTAINER_STATISTICS_RESET
or the management console command:
monitor reset -n M_LIVECACHE_CONTAINER_STATISTICS_RESET
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
CONTAINER_ID BIGINT Conta iner ID
OMS_CLASS_ID INTEGER OMS class ID
OMS_CLASS_NAME VARCHAR(64) OMS class name
OMS_SCHEMA_HANDLE INTEGER OMS schema handle
OMS_CONTAINER_NO INTEGER OMS conta iner number
CLASS_SIZE BIGINT Byte Object class s i ze
KEY_SIZE INTEGER Byte Object key s i ze
KEY_PARTITION_COUNT INTEGER Key parti tion count
KEY_PARTITION_PREFIX_SIZE INTEGER Byte Key parti tion prefix length
CACHED_KEYS VARCHAR(5) Cached keys active: 'TRUE', 'FALSE'
COPY_ON_UPDATE VARCHAR(5) Copy on update active: 'TRUE', 'FALSE'
OBJECT_COUNT BIGINT Counter Object count
OBJECT_SIZE_SUM BIGINT Byte Object s i ze sum
HISTORY_OBJECT_COUNT BIGINT Counter His tory (mark deleted) object count
HISTORY_SIZE_SUM BIGINT Byte His tory data s i ze sum
PAGE_COUNT BIGINT Counter Page count
PAGE_SIZE_SUM BIGINT Byte Page s i ze sum
OBJECT_CREATE_COUNT BIGINT Counter Object create count s ince res tart
OBJECT_UPDATE_COUNT BIGINT Counter Object update count s ince res tart
OBJECT_DELETE_COUNT BIGINT Counter Object delete count s ince res tart
CREATE_TIME TIMESTAMP Create timestamp
SAP HANA System Tables and Monitoring Views Reference
103 2012-12-19
M_LIVECACHE_CONTAINER_STATISTICS_RESET
Short description
LiveCache container statistics (since last reset)
This view contains values accumulated since the last reset of the main viewM_LIVECACHE_CONTAINER_STATISTICS. Please refer to M_LIVECACHE_CONTAINER_STATISTICS forinformation about the structure and use of this view.
In addition to the members mentioned in M_LIVECACHE_CONTAINER_STATISTICS, this view also contains atimestamp field RESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
104 2012-12-19
M_LIVECACHE_LOCKS
Short description
Detailed information on the Object Management System (OMS) locks
Full description
The liveCache uses its own lock-manager for object locks, container locks, and schema locks. This view showsinformation about all the locks, which are currently kept in this lock manager.
Attention:Exclusive locks on objects are in most cases not managed by this lock manager, but the necessarylock-information is stored in the respective object header.This view can only be used if liveCache is enabled.
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
ID VARCHAR(20) ID of the lock (OID, conta iner ID, or schema ID dependent on thelock class )
CLASS VARCHAR(20) The class that the lock belongs to
GRANTED_MODE VARCHAR(20) The mode that the lock has currently granted to some request(s )
MODE VARCHAR(20) The mode that the request i s reques ting on the lock: 'Free','IntendShare', 'IntendExclus ive', 'Share', 'ShareIntendExclus ive','Exclus ive'
TYPE VARCHAR(10) The type speci fies when the lock can be removed (ei ther attransaction-end (EOT) or i f not vi s ible anymore (Cons is tent))
STATE VARCHAR(10) State of this lock request
TID BIGINT TID Transaction ID belonging to this lock request
TIMEOUT BIGINT Remaining timeout, i f timeout i s speci fied
SAP HANA System Tables and Monitoring Views Reference
105 2012-12-19
M_LIVECACHE_LOCK_STATISTICS
Short description
LiveCache lock statistics
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_LIVECACHE_LOCK_STATISTICS_RESET. To reset the values, use the SQLcommand:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_LIVECACHE_LOCK_STATISTICS_RESET
or the management console command:
monitor reset -n M_LIVECACHE_LOCK_STATISTICS_RESET
Full description
The liveCache uses its own lock-manager for object locks, container locks, and schema locks. This view showsthe accumulated statistics of the lock requests to this lock-manager, which have been executed since restart.
Attention:This view is only usable if liveCache is enabled.
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
CONTAINER_EXCLUSIVE_COUNT BIGINT Counter Number of exclus ive lock requests on conta iners
CONTAINER_SHARED_COUNT BIGINT Counter Number of shared lock reques ts on conta iners
CONTAINER_COLLISION_COUNT BIGINT Counter Number of lock col l i s ions on conta iners
CONTAINER_TIMEOUT_COUNT BIGINT Counter Number of lock timeouts on conta iners
SCHEMA_EXCLUSIVE_COUNT BIGINT Counter Number of exclus ive lock requests on schemas
SCHEMA_SHARED_COUNT BIGINT Counter Number of shared lock reques ts on schemas
SCHEMA_COLLISION_COUNT BIGINT Counter Number of lock col l i s ions on schemas
SCHEMA_TIMEOUT_COUNT BIGINT Counter Number of lock timeouts on schemas
OBJECT_EXCLUSIVE_COUNT BIGINT Counter Number of exclus ive lock requests on objects
OBJECT_SHARED_COUNT BIGINT Counter Number of shared lock reques ts on objects
OBJECT_COLLISION_COUNT BIGINT Counter Number of lock col l i s ions on objects
OBJECT_TIMEOUT_COUNT BIGINT Counter Number of timeouts on objects
COMMITTED_REQUESTS_COUNT BIGINT Counter Number of committed requests
SAP HANA System Tables and Monitoring Views Reference
106 2012-12-19
M_LIVECACHE_LOCK_STATISTICS_RESET
Short description
LiveCache lock statistics (since last reset)
This view contains values accumulated since the last reset of the main viewM_LIVECACHE_LOCK_STATISTICS. Please refer to M_LIVECACHE_LOCK_STATISTICS for information aboutthe structure and use of this view.
In addition to the members mentioned in M_LIVECACHE_LOCK_STATISTICS, this view also contains atimestamp field RESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
107 2012-12-19
M_LIVECACHE_OMS_VERSIONS
Short description
Detailed information on the OMS versions that currently exists
Full description
Status information is shown for each OMS version that currently exists.
Attention:This view can only be used if liveCache is enabled.
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VERSION_ID VARCHAR(22) ID of the OMS vers ion
CREATE_DATE TIMESTAMP Timestamp of the creation of the OMS vers ion
LAST_OPEN_DATE TIMESTAMP Timestamp, when the OMS vers ion was opened las t
IS_OPEN VARCHAR(5) Boolean Flag indicating whether the vers ion i s currently open:'TRUE', 'FALSE'
HEAP_USAGE BIGINT Memory that i s currently used by the vers ion
VERSION_DESCRIPTION NVARCHAR(512) Description
SAP HANA System Tables and Monitoring Views Reference
108 2012-12-19
M_LIVECACHE_PROCEDURE_STATISTICS
Short description
LiveCache procedure statistics
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_LIVECACHE_PROCEDURE_STATISTICS_RESET. To reset the values, use theSQL command:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_LIVECACHE_PROCEDURE_STATISTICS_RESET
or the management console command:
monitor reset -n M_LIVECACHE_PROCEDURE_STATISTICS_RESET
Full description
For each liveCache procedure, which has been called already since the last restart, statistics are shown.
Attention:This view can only be used if liveCache is enabled.
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
OBJECT_NAME VARCHAR(128) Object name
METHOD_NAME VARCHAR(128) Method name
CALL_COUNT BIGINT Counter Number of ca l l s of theprocedure
SUM_RUN_TIME BIGINT Micros econd Sum runtime of theprocedure
MAX_RUN_TIME BIGINT Micros econd Max runtime of theprocedure
MIN_RUN_TIME BIGINT Micros econd Min runtime of theprocedure
AVERAGE_RUN_TIME BIGINT Micros econd Average runtime of theprocedure
DEREF_COUNT BIGINT Counter Number of OID derefs
DEREF_BASE_COUNT BIGINT Counter Number of OID derefsaga ins t bas is
DEREF_BASE_IN_VERSION_COUNT BIGINT Counter Number of OID derefsaga ins t bas is from withinan OMS vers ion
DEREF_KEYED_OBJECT_COUNT BIGINT Counter Number of key derefs
DEREF_KEYED_OBJECT_BASE_COUNT BIGINT Counter Number of key derefsaga ins t bas is
DEREF_KEYED_OBJECT_BASE_IN_VERSION_COUNT BIGINT Counter Number of key derefsaga ins t bas is from withinan OMS vers ion
ITER_BASE_COUNT BIGINT Counter Number of objects read viaan OID-i terator from thebas is
ITER_KEYED_OBJECT_BASE_COUNT BIGINT Counter Number of objects read viaa key-i terator from thebas is
ITER_BASE_IN_VERSION_COUNT BIGINT Counter Number of objects read viaan OID-i terator from thebas is from within an OMSvers ion
ITER_IN_VERSION_COUNT BIGINT Counter Number of objects , createdin an OMS-vers ion, read viaan OID-i terator
ITER_KEYED_OBJECT_BASE_IN_VERSION_COUNT BIGINT Counter Number of objects read viaan OID-i terator from thebas is from within an OMSvers ion
ITER_KEYED_OBJECT_IN_VERSION_COUNT BIGINT Counter Number of objects , createdin an OMS vers ion, read viaa key-i terator
SAP HANA System Tables and Monitoring Views Reference
109 2012-12-19
DEREF_VAR_OBJECT_COUNT BIGINT Counter Number of derefs of varobjects
DEREF_VAR_OBJECT_BASE_COUNT BIGINT Counter Number of derefs of varobjects aga ins t bas is
DEREF_VAR_OBJECT_BASE_SIZE BIGINT Byte Accumulated s i ze of varobjects read from the bas is
DEREF_VAR_OBJECT_BASE_IN_VERSION_COUNT BIGINT Counter Number of derefs of varobjects aga ins t bas is fromwithin an OMS vers ion
DEREF_VAR_OBJECT_BASE_IN_VERSION_SIZE BIGINT Byte Accumulated s i ze of varobjects read from the bas isfrom within an OMSvers ion
NEW_OBJECT_COUNT BIGINT Counter Number of newly createdstandard objects
NEW_KEYED_OBJECT_COUNT BIGINT Counter Number of newly createdkeyed objects
NEW_VAR_OBJECT_COUNT BIGINT Counter Number of newly createdvar objects
NEW_OBJECT_IN_VERSION_COUNT BIGINT Counter Number of newly createdstandard objects in an OMSvers ion
NEW_KEYED_OBJECT_IN_VERSION_COUNT BIGINT Counter Number of newly createdkeyed objects in an OMSvers ion
NEW_VAR_OBJECT_IN_VERSION_COUNT BIGINT Counter Number of newly createdvar objects in an OMSvers ion
STORE_COUNT BIGINT Counter Number of s tore ca l l s onstandard objects
STORE_IN_VERSION_COUNT BIGINT Counter Number of s tore ca l l s onstandard objects in an OMSvers ino
STORE_KEYED_OBJECT_COUNT BIGINT Counter Number of s tore ca l l s onkeyed objects
STORE_KEYED_OBJECT_IN_VERSION_COUNT BIGINT Counter Number of s tore ca l l s onkeyed objects in an OMSvers ion
STORE_VAR_OBJECT_COUNT BIGINT Counter Number of s tore ca l l s onvar objects
STORE_VAR_OBJECT_SIZE BIGINT Byte Accumulated s i ze of s toreca l l s on var objects
STORE_VAR_OBJECT_IN_VERSION_COUNT BIGINT Counter Number of s tore ca l l s onvar objects in an OMSvers ion
STORE_VAR_OBJECT_IN_VERSION_SIZE BIGINT Byte Accumulated s i ze of s toreca l l s on var objects in anOMS vers ion
STORE_BASE_COUNT BIGINT Counter Number of updates ofs tandard objects in thebas is
STORE_KEYED_OBJECT_BASE_COUNT BIGINT Counter Number of updates ofkeyed objects in the bas is
STORE_VAR_OBJECT_BASE_COUNT BIGINT Counter Number of updates of varobjects in the bas is
STORE_VAR_OBJECT_BASE_SIZE BIGINT Byte Accumulated s i zes ofupdated objects in thebas is
DELETE_COUNT BIGINT Counter Number of delete ca l l s onstandard objects
DELETE_KEYED_OBJECT_COUNT BIGINT Counter Number of delete ca l l s onkeyed objects
DELETE_VAR_OBJECT_COUNT BIGINT Counter Number of delete ca l l s onvar objects
DELETE_IN_VERSION_COUNT BIGINT Counter Number of delete ca l l s onstandard objects in an OMSvers ion
DELETE_KEYED_OBJECT_IN_VERSION_COUNT BIGINT Counter Number of delete ca l l s onkeyed objects in an OMSvers ion
DELETE_VAR_OBJECT_IN_VERSION_COUNT BIGINT Counter Number of delete ca l l s onvar objects in an OMSvers ion
DELETE_BASE_COUNT BIGINT Counter Number of deleted
SAP HANA System Tables and Monitoring Views Reference
110 2012-12-19
s tandard objects in thebas is
DELETE_KEYED_OBJECT_BASE_COUNT BIGINT Counter Number of deleted keyedobjects in the bas is
DELETE_VAR_OBJECT_BASE_COUNT BIGINT Counter Number of deleted varobjects in the bas is
LOCK_EXCLUSIVE_BASE_COUNT BIGINT Counter Number of exclus ive lockreques ts on s tandardobjects in the bas is
LOCK_SHARE_BASE_COUNT BIGINT Counter Number of s hare lockreqeus ts on s tandardobjects in the bas is
LOCK_EXCLUSIVE_KEYED_OBJECT_BASE_COUNT BIGINT Counter Number of exclus ive lockreques ts on keyed objectsin the bas is
LOCK_SHARE_KEYED_OBJECT_BASE_COUNT BIGINT Counter Number of s hare lockreqeus ts on keyed objectsin the bas is
LOCK_EXCLUSIVE_VAR_OBJECT_BASE_COUNT BIGINT Counter Number of exclus ive lockreques ts on var objects inthe bas is
LOCK_SHARE_VAR_OBJECT_BASE_COUNT BIGINT Counter Number of s hare lockreqeus ts on var objects inthe bas is
RELEASE_CALLED_COUNT BIGINT Counter Number of OMS releaseca l l s
RELEASE_EXECUTED_COUNT BIGINT Counter Number of releasedstandard objects
RELEASE_EXECUTED_KEYED_OBJECT_COUNT BIGINT Counter Number of releases keyedobjects
RELEASE_EXECUTED_VAR_OBJECT_COUNT BIGINT Counter Number of releases varobjects
HISTORY_HOP_COUNT BIGINT Counter Number of hops in thehis tory cha in during deref
ITER_HISTORY_HOP_COUNT BIGINT Counter Number of hops in thehis tory cha in duringi teration
EXCEPTION_COUNT BIGINT Counter Number of dbp-exceptionsthrown
OUT_OF_DATE_EXCEPTION_COUNT BIGINT Counter Number of out-of-date-exceptions thrown
OUT_OF_MEMORY_EXCEPTION_COUNT BIGINT Counter Number of out-of-memory-exceptions thrown
TIMEOUT_EXCEPTION_COUNT BIGINT Counter Number of timeout-exceptions thrown
OMS_TERMINATE_COUNT BIGINT Counter Number of OMS terminateca l l s
SUBTRANSACTION_ROLLBACK_COUNT BIGINT Counter Number of rol led back sub-transactions
SUBTRANSACTION_COMMIT_COUNT BIGINT Counter Number of committed s ub-transactions
MAX_SUBTRANSACTION_LEVEL BIGINT Counter Maximal subtransactionlevel
NEW_CONSISTENT_VIEW_COUNT BIGINT Counter Number of new-cons is tent-view ca l l s wi th objects
AVERAGE_NEW_CONSISTENT_VIEW_WAIT_TIME BIGINT Second Average wai t time of new-cons is tent-view ca l l s wi thobjects
NEW_CONSISTENT_VIEW_MAX_WAIT_TIME BIGINT Second Maximal wa i t time of new-cons is tent-view ca l l s wi thobjects
KEY_CACHE_HIT_COUNT BIGINT Counter Number of cache hi ts inthe key-cache
KEY_MISS_CACHE_HIT_COUNT BIGINT Counter Number of cache hi ts inthe key-miss -cache
DEREF_VERSION_KEYED_OBJECT_COUNT BIGINT Counter Number of key-derefs in anOMS vers ion on objectscreated in this vers ion
OMS_REHASH_COUNT BIGINT Counter Number of rehas hes of theOMS-object-hash
AVERAGE_HASH_CHAIN_SEARCH_LENGTH BIGINT Micros econd Average search length onthe hash-cha ins of theOMS-object-hash
SAP HANA System Tables and Monitoring Views Reference
111 2012-12-19
MAX_HASH_CHAIN_LENGTH BIGINT Counter Maximum length of a has h-cha in of the OMS-object-hash
VERSION_CREATE_COUNT BIGINT Counter Number of created OMSvers ions
VERSION_OPEN_COUNT BIGINT Counter Number of open-vers ionca l l s
VERSION_CLOSE_COUNT BIGINT Counter Number of close-vers ionca l l s
VERSION_DROP_COUNT BIGINT Counter Number of dropped OMSvers ions
USER_ALLOC_COUNT BIGINT Counter Number of a l locations viaa user a l locator
USER_MAX_CHUNK_ALLOCATED_SIZE BIGINT Byte Max s i ze of an chunka l located via a usera l locator
USER_MIN_CHUNK_ALLOCATED_SIZE BIGINT Byte Min s i ze of an chunka l located via a usera l locator
USER_AVERAGE_CHUNK_ALLOCATED_SIZE BIGINT Micros econd Average s i ze of an chunka l located via a usera l locator
USER_DELETE_COUNT BIGINT Counter Number of dea l locationsvia a user a l locator
USER_MAX_CHUNK_DELETED_SIZE BIGINT Byte Max s i ze of an chunkdea l located via a usera l locator
USER_MIN_CHUNK_DELETED_SIZE BIGINT Byte Min s i ze of an chunkdea l located via a usera l locator
USER_AVERAGE_CHUNK_DELETED_SIZE BIGINT Micros econd Average s i ze of an chunkdea l located via a usera l locator
USER_DELTA_MAX_SIZE BIGINT Byte Maximal di fferencebetween a l location anddea l location on a us era l locator during theexecution of a method
OMS_ALLOC_COUNT BIGINT Counter Number of a l locations viaan OMS interna l a l locator
OMS_MAX_CHUNK_ALLOCATED_SIZE BIGINT Byte Max s i ze of an chunka l located via an OMSinterna l a l locator
OMS_MIN_CHUNK_ALLOCATED_SIZE BIGINT Byte Min s i ze of an chunka l located via an OMSinterna l a l locator
OMS_AVERAGE_CHUNK_ALLOCATED_SIZE BIGINT Micros econd Average s i ze of an chunka l located via an OMSinterna l a l locator
OMS_DELETE_COUNT BIGINT Counter Number of dea l locationsvia an OMS interna la l locator
OMS_MAX_CHUNK_DELETED_SIZE BIGINT Byte Max s i ze of an chunkdea l located via an OMSinterna l a l locator
OMS_MIN_CHUNK_DELETED_SIZE BIGINT Byte Min s i ze of an chunkdea l located via an OMSinterna l a l locator
OMS_AVERAGE_CHUNK_DELETED_SIZE BIGINT Byte Average s i ze of an chunkdea l located via an OMSinterna l a l locator
OMS_DELTA_MAX_SIZE BIGINT Byte Maximum di fferencebetween a l location anddea l location on an OMSinterna l a l locator duringthe execution of a method
STREAM_COMMUNICATION_TIME BIGINT Micros econd Average s treamcommunication time
STREAM_READ_COUNT BIGINT Counter Number ofcommunications forreading ABAP tables
STREAM_WRITE_COUNT BIGINT Counter Number ofcommunications for wri tingABAP tables
STREAM_READ_ROW_COUNT BIGINT Counter Number of rows read from
SAP HANA System Tables and Monitoring Views Reference
112 2012-12-19
ABAP tables
STREAM_WRITE_ROW_COUNT BIGINT Counter Number of rows wri tten toABAP tables
SAP HANA System Tables and Monitoring Views Reference
113 2012-12-19
M_LIVECACHE_PROCEDURE_STATISTICS_RESET
Short description
LiveCache procedure statistics (since last reset)
This view contains values accumulated since the last reset of the main viewM_LIVECACHE_PROCEDURE_STATISTICS. Please refer to M_LIVECACHE_PROCEDURE_STATISTICS forinformation about the structure and use of this view.
In addition to the members mentioned in M_LIVECACHE_PROCEDURE_STATISTICS, this view also contains atimestamp field RESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
114 2012-12-19
M_LIVECACHE_SCHEMA_STATISTICS
Short description
LiveCache schema statistics
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_LIVECACHE_SCHEMA_STATISTICS_RESET. To reset the values, use the SQLcommand:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_LIVECACHE_SCHEMA_STATISTICS_RESET
or the management console command:
monitor reset -n M_LIVECACHE_SCHEMA_STATISTICS_RESET
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
OMS_SCHEMA_HANDLE INTEGER OMS schema ID
OMS_SCHEMA_NAME NVARCHAR(96) OMS schema name
CREATE_TIME TIMESTAMP Create timestamp
SAP HANA System Tables and Monitoring Views Reference
115 2012-12-19
M_LIVECACHE_SCHEMA_STATISTICS_RESET
Short description
LiveCache schema statistics (since last reset)
This view contains values accumulated since the last reset of the main viewM_LIVECACHE_SCHEMA_STATISTICS. Please refer to M_LIVECACHE_SCHEMA_STATISTICS for informationabout the structure and use of this view.
In addition to the members mentioned in M_LIVECACHE_SCHEMA_STATISTICS, this view also contains atimestamp field RESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
116 2012-12-19
M_LOCK_WAITS_STATISTICS
Short description
Accumulated lock wait count and duration for record lock, table lock and metadata lock for all availableservices from DB startup until now
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
LOCK_TYPE VARCHAR(32) Lock type: RECORD, TABLE, METADATA
TOTAL_LOCK_WAITS BIGINT Tota l lock wai t count
TOTAL_LOCK_WAIT_TIME BIGINT Tota l lock wai t duration (uni t: micro second)
SAP HANA System Tables and Monitoring Views Reference
117 2012-12-19
M_LOG_BUFFERS
Short description
Log buffer statistics
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_LOG_BUFFERS_RESET. To reset the values, use the SQL command:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_LOG_BUFFERS_RESET
or the management console command:
monitor reset -n M_LOG_BUFFERS_RESET
Full description
The current configuration of in-memory log buffers is shown in the BUFFER_SIZE and BUFFER_COUNTcolumns. This defines how much log information can be collected transiently in memory, before the log queuebecomes full.
Counters for buffer switches indicate performance of the in-memory log buffers. Normally, buffer switchinghappens without any waits. In the case of buffer full, however, a wait is necessary. Then,SWITCH_WAIT_COUNT is incremented, otherwise SWITCH_NOWAIT_COUNT is incremented. If the waitratio is higher than one percent, this indicates a possible misconfiguration of the system. In this case:
check if regular peaks exceed current log buffer configuration and if so, increase log buffer size and/orcountcheck if the I/O subsystem is performing poorly (see also M_VOLUME_IO_STATISTICS).
Due to the lock-free nature of the algorithm used, some race conditions can happen. These are properlydetected and resolved. Additionally, a count of such races is recorded in SWITCH_OPEN_COUNT. Normally,the ratio of races to buffer switches should also be under one percent even for high workloads.
See also:M_LOG_PARTITIONS, M_LOG_SEGMENTS, M_VOLUME_IO_STATISTICS
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
LOG_MODE VARCHAR(16) Log mode
BUFFER_SIZE BIGINT Ki lobyte Size of one log buffer in memory
BUFFER_COUNT BIGINT Counter Count of log buffers in memory
SEGMENT_SIZE BIGINT Megabyte Maximum s ize of one log segment
BACKUP_ENABLED VARCHAR(5) Log segment backup enabled: 'TRUE', 'FALSE' ('FALSE'on log backup his tory broken)
BACKUP_TIMEOUT BIGINT Second Log segment backup timeout
SWITCH_NOWAIT_COUNT BIGINT Counter Count of buffer switches without blocking on buffersemaphore
SWITCH_WAIT_COUNT BIGINT Counter Count of buffer switches with blocking on buffersemaphore
SWITCH_OPEN_COUNT BIGINT Counter Count of ignored s ti l l -open buffer switches (resolvedraces )
SAP HANA System Tables and Monitoring Views Reference
118 2012-12-19
M_LOG_BUFFERS_RESET
Short description
Log buffer statistics (since last reset)
This view contains values accumulated since the last reset of the main view M_LOG_BUFFERS. Please refer toM_LOG_BUFFERS for information about the structure and use of this view.
In addition to the members mentioned in M_LOG_BUFFERS, this view also contains a timestamp fieldRESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
119 2012-12-19
M_LOG_PARTITIONS
Short description
Log partition statistics
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_LOG_PARTITIONS_RESET. To reset the values, use the SQL command:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_LOG_PARTITIONS_RESET
or the management console command:
monitor reset -n M_LOG_PARTITIONS_RESET
Full description
This view collects various performance statistics for each log partition. The collected statistics can be used tooptimize workload.
See also:M_LOG_BUFFERS, M_LOG_SEGMENTS, M_VOLUME_IO_STATISTICS
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
PARTITION_ID BIGINT Log parti tion ID
PATH VARCHAR(512) Log parti tion root path
LAST_BUFFER_PREPARE_SIZE BIGINT Byte Size of log buffer a t preparetime (actua l log data s i ze) (las t)
MAX_BUFFER_PREPARE_SIZE BIGINT Byte Size of log buffer a t preparetime (actua l log data s i ze) (max)
MIN_BUFFER_PREPARE_SIZE BIGINT Byte Size of log buffer a t preparetime (actua l log data s i ze) (min)
SUM_BUFFER_PREPARE_SIZE BIGINT Byte Size of log buffer a t preparetime (actua l log data s i ze)(tota l )
AVG_BUFFER_PREPARE_SIZE BIGINT Byte Size of log buffer a t preparetime (actua l log data s i ze) (avg)
LAST_BUFFER_OVERHEAD_SIZE BIGINT Byte Size of log buffer a l ignmentoverhead at I/O time (las t)
MAX_BUFFER_OVERHEAD_SIZE BIGINT Byte Size of log buffer a l ignmentoverhead at I/O time (max)
MIN_BUFFER_OVERHEAD_SIZE BIGINT Byte Size of log buffer a l ignmentoverhead at I/O time (min)
SUM_BUFFER_OVERHEAD_SIZE BIGINT Byte Size of log buffer a l ignmentoverhead at I/O time (tota l )
AVG_BUFFER_OVERHEAD_SIZE BIGINT Byte Size of log buffer a l ignmentoverhead at I/O time (avg)
LAST_BUFFER_IO_SIZE BIGINT Byte Size of log buffer a t I/O time(actua l data plus a l ignmentoverhead) (las t)
MAX_BUFFER_IO_SIZE BIGINT Byte Size of log buffer a t I/O time(actua l data plus a l ignmentoverhead) (max)
MIN_BUFFER_IO_SIZE BIGINT Byte Size of log buffer a t I/O time(actua l data plus a l ignmentoverhead) (min)
SUM_BUFFER_IO_SIZE BIGINT Byte Size of log buffer a t I/O time(actua l data plus a l ignmentoverhead) (tota l )
AVG_BUFFER_IO_SIZE BIGINT Byte Size of log buffer a t I/O time(actua l data plus a l ignmentoverhead) (avg)
LAST_GROUP_COMMIT_FREQUENCY BIGINT Counter Group commit frequency(ca l lback count per buffer wi thsync ca l lback) (las t)
MAX_GROUP_COMMIT_FREQUENCY BIGINT Counter Group commit frequency(ca l lback count per buffer wi th
SAP HANA System Tables and Monitoring Views Reference
120 2012-12-19
sync ca l lback) (max)
MIN_GROUP_COMMIT_FREQUENCY BIGINT Counter Group commit frequency(ca l lback count per buffer wi thsync ca l lback) (min)
SUM_GROUP_COMMIT_FREQUENCY BIGINT Counter Group commit frequency(ca l lback count per buffer wi thsync ca l lback) (tota l )
AVG_GROUP_COMMIT_FREQUENCY BIGINT Counter Group commit frequency(ca l lback count per buffer wi thsync ca l lback) (avg)
LAST_CALLBACK_TIME BIGINT Microsecond Cal lback time per buffer wi thsync ca l lback (las t)
MAX_CALLBACK_TIME BIGINT Microsecond Cal lback time per buffer wi thsync ca l lback (max)
MIN_CALLBACK_TIME BIGINT Microsecond Cal lback time per buffer wi thsync ca l lback (min)
SUM_CALLBACK_TIME BIGINT Microsecond Cal lback time per buffer wi thsync ca l lback (tota l )
AVG_CALLBACK_TIME BIGINT Microsecond Cal lback time per buffer wi thsync ca l lback (avg)
PREPARED_BUFFERS BIGINT Counter Count of buffers prepared forI/O
WRITTEN_BUFFERS BIGINT Counter Count of completed and wri ttenbuffers
WRITTEN_BUFFERS_OOO BIGINT Counter Count of buffers wri tten out-of-order
NEW_SEGMENT_REQUEST_COUNT BIGINT Counter Count of new log segmentreques ts
FREE_SEGMENTS BIGINT Counter Count of currently free logsegments
IN_BACKUP_SEGMENTS BIGINT Counter Count of currently in-backup logsegments
IN_BACKUP_TRUNCATED_SEGMENTS BIGINT Counter Count of currently in-backuptruncated log segments
BACKED_UP_SEGMENTS BIGINT Counter Count of log s egments backedup so far
TOTAL_SEGMENTS BIGINT Counter Tota l log segment count in theparti tion
RECOVERY_SEGMENTS_IN_LOAD BIGINT Counter Count of segments in-loadduring recovery
RECOVERY_SEGMENTS_WAITING_FOR_LOAD BIGINT Counter Count of segments wai ting forload during recovery
RECOVERY_SEGMENTS_IN_PROCESS BIGINT Counter Count of segments in processduring recovery
RECOVERY_SEGMENTS_PROCESSED BIGINT Counter Count of segments processedduring recovery
SAP HANA System Tables and Monitoring Views Reference
121 2012-12-19
M_LOG_PARTITIONS_RESET
Short description
Log partition statistics (since last reset)
This view contains values accumulated since the last reset of the main view M_LOG_PARTITIONS. Pleaserefer to M_LOG_PARTITIONS for information about the structure and use of this view.
In addition to the members mentioned in M_LOG_PARTITIONS, this view also contains a timestamp fieldRESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
122 2012-12-19
M_LOG_SEGMENTS
Short description
Log segment statistics
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_LOG_SEGMENTS_RESET. To reset the values, use the SQL command:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_LOG_SEGMENTS_RESET
or the management console command:
monitor reset -n M_LOG_SEGMENTS_RESET
Full description
This view describes each allocated log segment and shows its current state and log position range, which iscurrently contained in this segment.
The following log segment states exist:
Formatting - The log segment is being formatted and not yet used.Preallocated - The log segment has been preallocated, but never used.Writing - The log segment is currently being written.Closed - The log segment is closed, not backed up and is still required for restart.Truncated - The log segment is not required for restart, but has not been backed up.BackedUp - The log segment has been backed up, but is still required for restart.Free - The log segment has been backed up, it is not required for restart and can be reused.
In case you are using log_mode = legacy, you must execute a data backup in order to release log files forreuse (log segments will stay in the state Closed or BackedUp until the backup is done). After a databackup, empty log files can be freed explicitly after backup using the RECLAIM LOG SQL command. Thiscommand can also be used in other log modes after a savepoint to release empty log files freed by thesavepoint.
See also:M_LOG_BUFFERS, M_LOG_PARTITIONS, M_VOLUME_IO_STATISTICS
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
PARTITION_ID BIGINT Log parti tion ID
SEGMENT_ID BIGINT Log segment ID within parti tion
FILE_NAME VARCHAR(512) Log segment fi le name
FILE_OFFSET BIGINT Byte Start pos i tion of log segment in the fi le
STATE VARCHAR(16) Log segment s tate
MIN_POSITION BIGINT Fi rs t pos i tion conta ined in this log s egment
MAX_POSITION BIGINT Pos i tion behind the las t log record in this log s egment (closed logsegments only)
HOLE_POSITION BIGINT Start pos i tion of the log hole before this log segment (equa l to minpos i tion i f no hole)
USED_SIZE BIGINT Byte Used log segment s i ze in bytes
TOTAL_SIZE BIGINT Byte Tota l log segment s i ze in bytes
IN_BACKUP VARCHAR(5) Flag for log segment in backup: 'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
123 2012-12-19
M_LOG_SEGMENTS_RESET
Short description
Log segment statistics (since last reset)
This view contains values accumulated since the last reset of the main view M_LOG_SEGMENTS. Please referto M_LOG_SEGMENTS for information about the structure and use of this view.
In addition to the members mentioned in M_LOG_SEGMENTS, this view also contains a timestamp fieldRESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
124 2012-12-19
M_MEMORY_OBJECTS
Short description
Memory object statistics
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_MEMORY_OBJECTS_RESET. To reset the values, use the SQL command:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_MEMORY_OBJECTS_RESET
or the management console command:
monitor reset -n M_MEMORY_OBJECTS_RESET
Full description
This view provides information about the number and size of resources currently in the resource containerand about the throughput of the resource container. One row in this view represents one resource type (thetype is specified by the resource statistic). The resource statistics are kept in a tree data structure and thisview represents this tree in a human-readable form. Each value (except for HOST, PORT, VOLUME_ID,STATISTICS_NAME) is the AGGREGATED value of the subtree (including the current node).
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
TYPE VARCHAR(128) Object (s tati s ti c) type
OBJECT_COUNT BIGINT Counter Number of objects currently in memory object conta iner
OBJECT_SIZE BIGINT Byte Size of objects currently in memory object conta iner
NON_SWAPPABLE_SIZE BIGINT Byte Size of non swappable objects currently in memoryobject conta iner
SWAPPABLE_SIZE BIGINT Byte Size of swappable objects currently in memory objectconta iner
PUT_COUNT BIGINT Counter Tota l number of put objects
PUT_SIZE BIGINT Byte Tota l s i ze of put objects
EVICT_COUNT BIGINT Counter Tota l number of evicted objects
EVICT_SIZE BIGINT Byte Tota l s i ze of evicted objects
TEMP_EVICT_COUNT BIGINT Counter Tota l number of temp-evicted objects
TEMP_EVICT_SIZE BIGINT Byte Tota l s i ze of temp-evicted objects
RESIZE_COUNT BIGINT Counter Tota l number of res izes
RESIZE_DELTA_SIZE BIGINT Byte Tota l s i ze del ta changed by res ize of objects
SHRINK_COUNT BIGINT Counter Tota l number of shrunk objects
SHRINK_SIZE BIGINT Byte Tota l s i ze of shrunk objects
FAILED_SHRINK_COUNT BIGINT Counter Tota l number of objects shrink fa i led to remove
FAILED_SHRINK_SIZE BIGINT Byte Tota l s i ze of objects shrink fa i led to remove
SAP HANA System Tables and Monitoring Views Reference
125 2012-12-19
M_MEMORY_OBJECTS_RESET
Short description
Memory object statistics (since last reset)
This view contains values accumulated since the last reset of the main view M_MEMORY_OBJECTS. Pleaserefer to M_MEMORY_OBJECTS for information about the structure and use of this view.
In addition to the members mentioned in M_MEMORY_OBJECTS, this view also contains a timestamp fieldRESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
126 2012-12-19
M_MEMORY_OBJECT_DISPOSITIONS
Short description
Disposition specific memory object statistics. The statistics are calculated and reading them may take awhile.
Full description
The number and the size of resources in the resource container are shown depending on their specificdisposition (whether the memory objects are short, mid, long-term or non-swappable). For each type ofresource (specified by the resource statistic), which is currently in the resource container, one row is added tothis view. The tree structure of the resource statistics is not considered here, therefore the values are notaggregated.
Caution: Reading this view may take some time as the entire resource container must be traversed togenerate this view.
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
TYPE VARCHAR(128) Object (s tati s ti c) type)
TEMPORARY_OBJECT_COUNT BIGINT Counter Number of temporary objects
EARLY_UNLOAD_OBJECT_COUNT BIGINT Counter Number of early unload objects
INTERNAL_SHORT_TERM_OBJECT_COUNT BIGINT Counter Number of interna l short term objects
SHORT_TERM_OBJECT_COUNT BIGINT Counter Number of short term objects
MID_TERM_OBJECT_COUNT BIGINT Counter Number of mid term objects
LONG_TERM_OBJECT_COUNT BIGINT Counter Number of long term objects
NON_SWAPPABLE_OBJECT_COUNT BIGINT Counter Number of non swappable objects
TEMPORARY_OBJECT_SIZE BIGINT Byte Size of temporary objects
EARLY_UNLOAD_OBJECT_SIZE BIGINT Byte Size of early unload objects
INTERNAL_SHORT_TERM_OBJECT_SIZE BIGINT Byte Size of interna l short term objects
SHORT_TERM_OBJECT_SIZE BIGINT Byte Size of short term objects
MID_TERM_OBJECT_SIZE BIGINT Byte Size of mid term objects
LONG_TERM_OBJECT_SIZE BIGINT Byte Size of long term objects
NON_SWAPPABLE_OBJECT_SIZE BIGINT Byte Size of non swappable objects
SAP HANA System Tables and Monitoring Views Reference
127 2012-12-19
M_MERGED_TRACES
Short description
Contains the merged content of the server trace files for all of the SAP HANA processes
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host on which server process ran
PORT BIGINT Communication port of server process
USER_NAME NVARCHAR(256) Database user
APPLICATION_USER_NAME NVARCHAR(256) Appl ication user
SERVICE_NAME VARCHAR(256) Name of server process
CONNECTION_ID INTEGER Connection ID
TRANSACTION_ID BIGINT Transaction ID
THREAD_ID BIGINT ID of thread that wrote trace entry
TIMESTAMP TIMESTAMP Time when trace entry was wri tten
TRACE_LEVEL VARCHAR(16) Trace level
COMPONENT VARCHAR(32) Trace component
SOURCE_FILE_NAME VARCHAR(512) Source fi le which conta ins trace
SOURCE_FILE_LINE BIGINT Source fi le l ine
TRACE_TEXT NCLOB Traced text
TRACE_FILE_NAME VARCHAR(256) Name of trace fi le conta ining trace entry
TRACE_FILE_LINE INTEGER Trace fi le l ine
PASSPORT_ROOT_CONTEXT_ID VARCHAR(32) Guid SAP EPP Passport GUID identi fying s ource ofrequest
PASSPORT_TRANSACTION_ID VARCHAR(32) SAP EPP Passport GUID identi fying bus inesstransaction
PASSPORT_CONNECTION_ID VARCHAR(32) Guid SAP EPP Passport GUID identi fying connection
PASSPORT_CONNECTION_COUNTER BIGINT SAP EPP Passport connection counter
PASSPORT_COMPONENT_NAME NVARCHAR(32) SAP EPP Passport component name ofini tia l /root context
PASSPORT_ACTION NVARCHAR(40) SAP EPP Passport action
SAP HANA System Tables and Monitoring Views Reference
128 2012-12-19
M_MONITORS
Short description
Available monitoring views
Full description
This view can be used in conjunction with M_MONITOR_COLUMNS to get information about existingmonitoring views.
See also:M_MONITOR_COLUMNS
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
VIEW_NAME NVARCHAR(256) Name of monitoring view
DESCRIPTION NVARCHAR(2000) Short description of the monitoring view
RESETTABLE VARCHAR(5) Set to TRUE, i f va lues of this monitor can be reset
SAP HANA System Tables and Monitoring Views Reference
129 2012-12-19
M_MONITOR_COLUMNS
Short description
All the columns in the monitoring views
Full description
This view can be used in conjunction with M_MONITORS to get information about existing monitoring views.
See also:M_MONITORS
Structure
Column name Data type Unit Description
VIEW_NAME NVARCHAR(256) Name of monitoring view
VIEW_COLUMN_NAME NVARCHAR(256) Name of monitoring view column
DATA_TYPE_ID SMALLINT Column data type ID
DATA_TYPE_NAME VARCHAR(16) Column data type name
POSITION INTEGER Ordina l pos i tion of the column in a record
DEFAULT_VALUE NVARCHAR(5000) Defaul t va lue
UNIT VARCHAR(16) Unit for the va lue
COLLATION NVARCHAR(256) Col la tion
LENGTH INTEGER Length
SCALE INTEGER Sca le
IS_NULLABLE VARCHAR(5) TRUE, i f NULL va lue i s a l lowed
DESCRIPTION NVARCHAR(5000) Short description of the monitoring view column
SAP HANA System Tables and Monitoring Views Reference
130 2012-12-19
M_MUTEXES
Short description
Mutex statistics
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_MUTEXES_RESET. To reset the values, use the SQL command:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_MUTEXES_RESET
or the management console command:
monitor reset -n M_MUTEXES_RESET
Full description
This view contains information about single mutex (mutual exclusion) objects or groups of mutex objects. Itdoes not contain information about all mutex objects. Information like LOCK_COUNT, WAIT_COUNT andWAIT_TIMES can be used to analyze performance bottlenecks. Using OWNER_ID you can find possibledeadlocks.
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
STATISTICS_NAME VARCHAR(128) Stati s tics object name
STATISTICS_ID BIGINT Stati s tics object unique ID
LOCK_COUNT BIGINT Counter Count of lock ca l l s
WAIT_COUNT BIGINT Counter Count of blocking lock ca l l s
SPURIOUS_WAKEUP_COUNT BIGINT Counter Count of s purious wakeups (col l i s ions on futex)
COLLISION_RATE DOUBLE Percent Col l i s ion rate in percent
OWNER_ID BIGINT Context ID of the owner context
LAST_WAIT_TIME BIGINT Microsecond Time of blocking lock ca l l s (las t)
MAX_WAIT_TIME BIGINT Microsecond Time of blocking lock ca l l s (max)
MIN_WAIT_TIME BIGINT Microsecond Time of blocking lock ca l l s (min)
SUM_WAIT_TIME BIGINT Microsecond Time of blocking lock ca l l s (tota l )
AVG_WAIT_TIME BIGINT Microsecond Time of blocking lock ca l l s (avg)
CREATE_COUNT BIGINT Counter Count of mutex creation (for shared s tati s ti csonly)
DESTROY_COUNT BIGINT Counter Count of mutex des truction (for shared s tati s ti csonly)
SAP HANA System Tables and Monitoring Views Reference
131 2012-12-19
M_MUTEXES_RESET
Short description
Mutex statistics (since last reset)
This view contains values accumulated since the last reset of the main view M_MUTEXES. Please refer toM_MUTEXES for information about the structure and use of this view.
In addition to the members mentioned in M_MUTEXES, this view also contains a timestamp fieldRESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
132 2012-12-19
M_MVCC_TABLES
Short description
Statistics of row-store Multiversion Concurrency Control (MVCC) manager
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
NAME VARCHAR(256) Name column
VALUE VARCHAR(128) Va lue column
SAP HANA System Tables and Monitoring Views Reference
133 2012-12-19
M_OBJECT_LOCKS
Short description
Status of currently acquired locks on objects with detailed information such as lock acquisition time, lockmode
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
LOCK_OWNER_TRANSACTION_ID INTEGER Transaction object ID owning the lock
LOCK_OWNER_UPDATE_TRANSACTION_ID BIGINT Write trans action ID owning the lock
ACQUIRED_TIME TIMESTAMP Lock acquis i tion time
SCHEMA_NAME NVARCHAR(256) Schema name
OBJECT_NAME NVARCHAR(256) Object name
OBJECT_TYPE VARCHAR(32) Object type
LOCK_MODE VARCHAR(32) Lock mode: EXCLUSIVE, INTENTIONALEXCLUSIVE
SAP HANA System Tables and Monitoring Views Reference
134 2012-12-19
M_OBJECT_LOCK_STATISTICS
Short description
Lock contention statistics - lock wait count, wait time, failed count for each objects
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_OBJECT_LOCK_STATISTICS_RESET. To reset the values, use the SQLcommand:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_OBJECT_LOCK_STATISTICS_RESET
or the management console command:
monitor reset -n M_OBJECT_LOCK_STATISTICS_RESET
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
OBJECT_TYPE VARCHAR(32) Object Type: RECORD, TABLE, VIEW, SYNONYM, SEQUENCE..
SCHEMA_NAME NVARCHAR(256) Schema name that the Object belongs to
OBJECT_NAME NVARCHAR(256) Object Name
PART_ID INTEGER Parti tion no. (0 for non-parti tioned tables , -1 for notsupported)
OBJECT_ID BIGINT Object ID
LOCK_TYPE VARCHAR(32) Lock Type: OBJECT, RECORD
LOCK_WAIT_COUNT BIGINT Lock Wait Count
LOCK_WAIT_TIME BIGINT Lock Wait Time (uni t: micro s econd)
LOCK_FAILED_COUNT BIGINT Lock Fa i led Count (only supported RECORD type lock fa i ledcount)
SAP HANA System Tables and Monitoring Views Reference
135 2012-12-19
M_OBJECT_LOCK_STATISTICS_RESET
Short description
Lock contention statistics - lock wait count, wait time, failed count for each objects (since last reset)
This view contains values accumulated since the last reset of the main view M_OBJECT_LOCK_STATISTICS.Please refer to M_OBJECT_LOCK_STATISTICS for information about the structure and use of this view.
In addition to the members mentioned in M_OBJECT_LOCK_STATISTICS, this view also contains a timestampfield RESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
136 2012-12-19
M_PAGEACCESS_STATISTICS
Short description
PageAccess statistics
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_PAGEACCESS_STATISTICS_RESET. To reset the values, use the SQLcommand:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_PAGEACCESS_STATISTICS_RESET
or the management console command:
monitor reset -n M_PAGEACCESS_STATISTICS_RESET
Full description
This view contains information about pages accessed. TYPE specifies the pageaccess. The *_COUNT valuesare the number of the respective operations on the page access. CHUNK_SIZE is the number of pagesaccessed by one operation ( CHUNK_SIZE is 1 except for RowStorePageAccess where blocks of pages areaccessed. For example, LOAD_COUNT=4 and CHUNK_SIZE=1024 means that 2*1024=4096 pages had beenloaded). On allocation / deallocation the corresponding Converter is accessed.
See also:M_CONVERTER_STATISTICS
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
TYPE VARCHAR(32) Type of pageaccess
CHUNK_SIZE INTEGER Counter Chunk s i ze
ALLOCATE_COUNT BIGINT Counter Number of a l locations
GET_COUNT BIGINT Counter Number of gets
LOAD_COUNT BIGINT Counter Number of synchronous loads
TRIGGER_LOAD_COUNT BIGINT Counter Number of asynchronous loads
DEALLOCATE_COUNT BIGINT Counter Number of dea l locations
SAP HANA System Tables and Monitoring Views Reference
137 2012-12-19
M_PAGEACCESS_STATISTICS_RESET
Short description
PageAccess statistics (since last reset)
This view contains values accumulated since the last reset of the main view M_PAGEACCESS_STATISTICS.Please refer to M_PAGEACCESS_STATISTICS for information about the structure and use of this view.
In addition to the members mentioned in M_PAGEACCESS_STATISTICS, this view also contains a timestampfield RESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
138 2012-12-19
M_PASSWORD_POLICY
Short description
Configuration values concerning password policy
Full description
This view contains several lines of information about the current password policy. The following describes thecontents of the individual lines of the monitor view (VALUE), as identified by PROPERTY:
force_first_password_changeDefines if a user is forced to change his administrator-given password before being allowed to workany further
last_used_passwordsNumber of recently used passwords of a user, which they cannot reuse
maximum_invalid_connect_attemptsMaximum number of allowed invalid connect attempts before a user is locked
maximum_password_lifetimeNumber of days a password stays valid
maximum_unused_inital_password_lifetimeNumber of days an unused administrator-given password stays valid
maximum_unused_productive_password_lifetimeNumber of days an unused user-given password stays valid
minimal_password_lengthMinimum number of characters required by a valid password
minimum_password_lifetimeMinimum number of days until a user-given password can be changed
password_expire_warning_timeWarnings about nearly expired password will start to be shown at the configured number of daysbefore expiration
password_layoutDescribes the kind(s) of character the password has to consist of
password_lock_timeNumber of minutes the user is locked after too many invalid connect attempts
Structure
Column name Data type Unit Description
PROPERTY VARCHAR(128) Configuration property
VALUE VARCHAR(5000) Va lue
SAP HANA System Tables and Monitoring Views Reference
139 2012-12-19
M_PERFTRACE
Short description
Current PerfTrace state
Full description
The performance trace (PerfTrace) displays detailed information about query execution.
Performance Trace calls
Start performancetTrace. It can be restricted to a specific SQL and application user. Optionally planexecution details can be recorded. If a duration is specified it automatically stops after the configuredamount of seconds.
ALTER SYSTEM START PERFTRACE [USER name] [APPLICATIONUSER name] [PLAN_EXECUTION] [FUNCTION_PROFILER] [DURATION seconds]
Stop Performance Trace
ALTER SYSTEM STOP PERFTRACE
Collect performancetTrace data and save into a file. The file is located on the server in the trace directory. Ifno file name is given 'perftrace.tpt' is used.
ALTER SYSTEM SAVE PERFTRACE [INTO FILE 'filename']
Structure
Column name Data type Unit Description
STATUS VARCHAR(16) Status : STOPPED, STARTED, SAVING
START_TIME TIMESTAMP Start time
STOP_TIME TIMESTAMP Stop time
FILE_SIZE BIGINT Byte Size of col lected trace fi les . Only va l id i f s toppedand not saved
REMAINING_SECONDS INTEGER Second Remaining seconds unti l automatic s top
USER_NAME NVARCHAR(256) SQL user name fi l ter
APPLICATION_USER_NAME NVARCHAR(256) Appl ication user name fi l ter
APPLICATION_NAME NVARCHAR(256) Appl ication name fi l ter
PASSPORT_TRACELEVEL VARCHAR(8) Passport fi l ter: 'MEDIUM', 'HIGH'
PLAN_EXECUTION VARCHAR(5) Boolean Flag i f plan execution deta i l s are recorded
FUNCTION_PROFILER VARCHAR(5) Boolean Flag i f function profi ler deta i l s are recorded: 'TRUE','FALSE'
SAP HANA System Tables and Monitoring Views Reference
140 2012-12-19
M_PERSISTENCE_ENCRYPTION_KEYS
Short description
Information about encryption page keys
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VALID_FROM_SAVEPOINT INTEGER HEXID Val id from savepoint vers ion
VALID_FROM_TIMESTAMP TIMESTAMP Microsecond Val id from timestamp given in UTC
IS_ENCRYPTED VARCHAR(5) Pers i s tence encryption i s active: 'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
141 2012-12-19
M_PERSISTENCE_ENCRYPTION_STATUS
Short description
Information about persistence encryption
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
ENCRYPTION_ACTIVE VARCHAR(5) Encryption i s currently active forwri ting into pers i s tence: 'TRUE','FALSE'
ENCRYPTION_ACTIVE_AFTER_NEXT_SAVEPOINT VARCHAR(5) Encryption wi l l be active for wri tinginto pers i s tence a fter nextsavepoint: 'TRUE', 'FALSE'
KEY_CHANGE_WITH_NEXT_SAVEPOINT VARCHAR(5) Next savepoint wi l l activate a newkey: 'TRUE', 'FALSE'
ROOT_KEY_CHANGE_WITH_NEXT_SAVEPOINT VARCHAR(5) Next savepoint wi l l activate a newroot key: 'TRUE', 'FALSE'
DATA_CONVERSION_ACTIVE VARCHAR(5) Convers ion of data to la tes tencryption s tatus or key active:'TRUE', 'FALSE'
KEY_PAGE_ENTRY_COUNT BIGINT Counter Number of entries wi thin key page
SAP HANA System Tables and Monitoring Views Reference
142 2012-12-19
M_PERSISTENCE_MANAGERS
Short description
Persistence manager statistics
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_PERSISTENCE_MANAGERS_RESET. To reset the values, use the SQLcommand:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_PERSISTENCE_MANAGERS_RESET
or the management console command:
monitor reset -n M_PERSISTENCE_MANAGERS_RESET
Full description
Persistence manager is the module responsible for low-level operations on the persistent data structures.This view shows various statistics counters, which are used to measure the performance of those operations.
See also:M_GARBAGE_COLLECTION_STATISTICS
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
MAX_TID BIGINT TID Maximum known TID
CCH_COUNT BIGINT Counter Count of normal cons is tent changes(terminated sess ions )
MASS_CCH_COUNT BIGINT Counter Count of cons is tent changes for massoperations (terminated sess ions )
LAST_CCH_TIME BIGINT Microsecond Time spent in normal cons is tent changes(terminated sess ions ) (las t)
MAX_CCH_TIME BIGINT Microsecond Time spent in normal cons is tent changes(terminated sess ions ) (max)
MIN_CCH_TIME BIGINT Microsecond Time spent in normal cons is tent changes(terminated sess ions ) (min)
SUM_CCH_TIME BIGINT Microsecond Time spent in normal cons is tent changes(terminated sess ions ) (tota l )
AVG_CCH_TIME BIGINT Microsecond Time spent in normal cons is tent changes(terminated sess ions ) (avg)
LAST_MASS_CCH_TIME BIGINT Microsecond Time spent in cons is tent changes for massoperations (terminated sess ions ) (las t)
MAX_MASS_CCH_TIME BIGINT Microsecond Time spent in cons is tent changes for massoperations (terminated sess ions ) (max)
MIN_MASS_CCH_TIME BIGINT Microsecond Time spent in cons is tent changes for massoperations (terminated sess ions ) (min)
SUM_MASS_CCH_TIME BIGINT Microsecond Time spent in cons is tent changes for massoperations (terminated sess ions ) (tota l )
AVG_MASS_CCH_TIME BIGINT Microsecond Time spent in cons is tent changes for massoperations (terminated sess ions ) (avg)
PREPARE_COMMIT_POS BIGINT Newes t known log pos i tion of preparecommit (s lave only)
MASTER_COMMIT_POS BIGINT Newes t known log pos i tion of commitrecord on transaction master from the pointof view of this node
INDOUBT_WAITERS BIGINT Count of in-doubt wai ters for currently-running COMMIT (master only)
INDOUBT_RESTART_COUNT BIGINT Counter Count of open in-doubt transactions beforerestart (master only)
INDOUBT_ONLINE_COUNT BIGINT Counter Count of open in-doubt transactions s incelas t res tart (master only)
SAVEPOINT_CONFIG_FREQUENCY BIGINT Second Configured savepoint frequency
SAVEPOINT_ACTIVE_FREQUENCY BIGINT Second Currently active s avepoint frequency
CHECKSUM_ALGORITHM VARCHAR(16) Currently used checks um a lgori thm formodi fied pages and log buffers
SAP HANA System Tables and Monitoring Views Reference
143 2012-12-19
M_PERSISTENCE_MANAGERS_RESET
Short description
Persistence manager statistics (since last reset)
This view contains values accumulated since the last reset of the main view M_PERSISTENCE_MANAGERS.Please refer to M_PERSISTENCE_MANAGERS for information about the structure and use of this view.
In addition to the members mentioned in M_PERSISTENCE_MANAGERS, this view also contains a timestampfield RESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
144 2012-12-19
M_PREPARED_STATEMENTS
Short description
Prepared statements list
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
CONNECTION_ID INTEGER Connection ID
STATEMENT_ID VARCHAR(256) Prepared s tatement ID
START_MVCC_TIMESTAMP BIGINT Interna l MVCC timestamp of the trans actionstart time
COMPILED_TIME TIMESTAMP Compi lation times tamp of the s tatement
STATEMENT_STATUS VARCHAR(128) Status of SQL s tatement
STATEMENT_STRING NCLOB SQL s tatement
ALLOCATED_MEMORY_SIZE BIGINT Byte Current snapshot of a l located memory s i ze forexecuting this s tatement
USED_MEMORY_SIZE BIGINT Byte Current snapshot of us ed memory s i ze forexecuting this s tatement
PLAN_ID BIGINT Logica l plan ID
LAST_EXECUTED_TIME TIMESTAMP Last execution times tamp of the s tatement
RECOMPILE_COUNT BIGINT Recompi le count
EXECUTION_COUNT BIGINT Count of executions
AVG_EXECUTION_TIME BIGINT Average time of s tatement execution
MAX_EXECUTION_TIME BIGINT Maximum time of s tatement execution
MIN_EXECUTION_TIME BIGINT Minimum time of s tatement execution
TOTAL_EXECUTION_TIME BIGINT Sum of s tatement execution time
AVG_CURSOR_DURATION BIGINT Average time of s tatement execution includingcommunication time with cl ients
MAX_CURSOR_DURATION BIGINT Maximum time of s tatement executionincluding communication time with cl ients
MIN_CURSOR_DURATION BIGINT Minimum time of s tatement executionincluding communication time with cl ients
TOTAL_CURSOR_DURATION BIGINT Sum of s tatement execution time includingcommunication time with cl ients
AVG_EXECUTION_MEMORY_SIZE BIGINT Average memory s i ze used during eachexecution
MAX_EXECUTION_MEMORY_SIZE BIGINT Maximum memory s i ze used during eachexecution
MIN_EXECUTION_MEMORY_SIZE BIGINT Minimum memory s i ze used during eachexecution
TOTAL_EXECUTION_MEMORY_SIZE BIGINT Sum of memory s i ze used during each execution
AVG_LOCKWAIT_TIME BIGINT Average lock wai t time for the s tatement
MAX_LOCKWAIT_TIME BIGINT Maximum lock wai t time for the s tatement
MIN_LOCKWAIT_TIME BIGINT Minimum lock wai t time for the s tatement
TOTAL_LOCKWAIT_COUNT BIGINT Tota l lock wai t count for the s tatement
TOTAL_LOCKWAIT_TIME BIGINT Accumulated lock wai t time for the s tatement
AVG_PREPARATION_TIME BIGINT Average time of s tatement preparation
MAX_PREPARATION_TIME BIGINT Maximum time of s tatement preparation
MIN_PREPARATION_TIME BIGINT Minimum time of s tatement preparation
TOTAL_PREPARATION_TIME BIGINT Tota l time of s tatement preparation
TOTAL_PREPARATION_COUNT BIGINT Tota l count of s tatement preparation
HAS_HOLDABLE_CURSOR VARCHAR(5) Holdable cursor exis tence
PARENT_STATEMENT_ID VARCHAR(256) Parent prepared s tatement ID
APPLICATION_SOURCE NVARCHAR(2000) Appl ication source information
SAP HANA System Tables and Monitoring Views Reference
145 2012-12-19
M_READWRITELOCKS
Short description
Read/Write lock statistics
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_READWRITELOCKS_RESET. To reset the values, use the SQL command:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_READWRITELOCKS_RESET
or the management console command:
monitor reset -n M_READWRITELOCKS_RESET
Full description
This view contains information about single reader/writer lock objects or groups of reader/writer lockobjects. It does not contain information about all reader/writer lock. Information like LOCK_COUNT,WAIT_COUNT and WAIT_TIMES can be used to analyze performance bottlenecks.
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Hos t name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
STATISTICS_NAME VARCHAR(128) Stati s tics object name
STATISTICS_ID BIGINT Stati s tics object unique ID
OWNER_ID BIGINT Context ID of the owner context (forexclus ive/intent locks )
EXCLUSIVE_LOCK_COUNT BIGINT Counter Count of exclus ive lock ca l l s
EXCLUSIVE_WAIT_COUNT BIGINT Counter Count of blocking exclus ive lock ca l l s
EXCLUSIVE_CAS_COLLISION_COUNT BIGINT Counter Col l i s ion count on atomic operation onexclus ive lock
EXCLUSIVE_COLLISION_RATE DOUBLE Percent Col l i s ion rate on exclus ive lock inpercent
LAST_EXCLUSIVE_WAIT_TIME BIGINT Microsecond Time of blocking exclus ive lock ca l l s(las t)
MAX_EXCLUSIVE_WAIT_TIME BIGINT Microsecond Time of blocking exclus ive lock ca l l s(max)
MIN_EXCLUSIVE_WAIT_TIME BIGINT Microsecond Time of blocking exclus ive lock ca l l s(min)
SUM_EXCLUSIVE_WAIT_TIME BIGINT Microsecond Time of blocking exclus ive lock ca l l s(tota l )
AVG_EXCLUSIVE_WAIT_TIME BIGINT Microsecond Time of blocking exclus ive lock ca l l s (avg)
INTENT_LOCK_COUNT BIGINT Counter Count of intent lock ca l l s
INTENT_WAIT_COUNT BIGINT Counter Count of blocking intent lock ca l l s
INTENT_CAS_COLLISION_COUNT BIGINT Counter Col l i s ion count on atomic operation onintent lock
INTENT_TIMEOUT_COUNT BIGINT Counter Count of timed out intent lock ca l l s
INTENT_COLLISION_RATE DOUBLE Percent Col l i s ion rate on intent lock in percent
LAST_INTENT_WAIT_TIME BIGINT Microsecond Time of blocking intent lock ca l l s (las t)
MAX_INTENT_WAIT_TIME BIGINT Microsecond Time of blocking intent lock ca l l s (max)
MIN_INTENT_WAIT_TIME BIGINT Microsecond Time of blocking intent lock ca l l s (min)
SUM_INTENT_WAIT_TIME BIGINT Microsecond Time of blocking intent lock ca l l s (tota l )
AVG_INTENT_WAIT_TIME BIGINT Microsecond Time of blocking intent lock ca l l s (avg)
SHARED_LOCK_COUNT BIGINT Counter Count of s hared lock ca l l s
SHARED_WAIT_COUNT BIGINT Counter Count of blocking shared lock ca l l s
SHARED_CAS_COLLISION_COUNT BIGINT Counter Col l i s ion count on atomic operation onshared lock
SHARED_TIMEOUT_COUNT BIGINT Counter Count of timed out shared lock ca l l s
SHARED_COLLISION_RATE DOUBLE Percent Col l i s ion rate on shared lock in percent
LAST_SHARED_WAIT_TIME BIGINT Microsecond Time of blocking shared lock ca l l s (las t)
MAX_SHARED_WAIT_TIME BIGINT Microsecond Time of blocking shared lock ca l l s (max)
MIN_SHARED_WAIT_TIME BIGINT Microsecond Time of blocking shared lock ca l l s (min)
SUM_SHARED_WAIT_TIME BIGINT Microsecond Time of blocking shared lock ca l l s (tota l )
SAP HANA System Tables and Monitoring Views Reference
146 2012-12-19
AVG_SHARED_WAIT_TIME BIGINT Microsecond Time of blocking shared lock ca l l s (avg)
COLLISION_RATE DOUBLE Percent Globa l col l i s ion rate
CREATE_COUNT BIGINT Counter Count of read/wri te lock creation (forshared s tati s ti cs only)
DESTROY_COUNT BIGINT Counter Count of read/wri te lock des truction (forshared s tati s ti cs only)
SAP HANA System Tables and Monitoring Views Reference
147 2012-12-19
M_READWRITELOCKS_RESET
Short description
Read/Write lock statistics (since last reset)
This view contains values accumulated since the last reset of the main view M_READWRITELOCKS. Pleaserefer to M_READWRITELOCKS for information about the structure and use of this view.
In addition to the members mentioned in M_READWRITELOCKS, this view also contains a timestamp fieldRESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
148 2012-12-19
M_RECORD_LOCKS
Short description
Record lock status
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
LOCK_OWNER_TRANSACTION_ID INTEGER Transaction object ID owning the lock
LOCK_OWNER_UPDATE_TRANSACTION_ID BIGINT Write trans action ID owning the lock
ACQUIRED_TIME TIMESTAMP Lock acquis i tion time
RECORD_ID VARCHAR(256) Record ID
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
LOCK_MODE VARCHAR(32) Lock mode:I (Exclus ive Lock)
SAP HANA System Tables and Monitoring Views Reference
149 2012-12-19
M_REORG_ALGORITHMS
Short description
Landscape redistribution algorithms
Structure
Column name Data type Unit Description
ALGORITHM_ID INTEGER ID of a lgori thm
DESCRIPTION VARCHAR(256) Description
PARAMETERS VARCHAR(256) Optiona l parameters
SAP HANA System Tables and Monitoring Views Reference
150 2012-12-19
M_REPO_TRANSPORT_FILES
Short description
All repository transport files
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
FILE_NAME VARCHAR(256) Fi le name
FILE_SIZE BIGINT Byte Fi le s i ze
FILE_MTIME TIMESTAMP Fi le date
SAP HANA System Tables and Monitoring Views Reference
151 2012-12-19
M_RS_INDEXES
Short description
Statistics of B-tree and CPB-tree indexes
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
INDEX_NAME NVARCHAR(256) Index name
KEY_TYPE VARCHAR(128) Key type (data type or compos i te)
INDEX_STATUS VARCHAR(16) Index s tatus : 'VALID', 'INVALID','UNUSABLE'
TREE_HEIGHT BIGINT B-tree level
LEAF_NODE_COUNT BIGINT Number of leaf nodes
NONLEAF_NODE_COUNT BIGINT Number of intermediate nodes
NODE_SIZE BIGINT Byte Node s i ze
FANOUT DOUBLE Index fan-out
BULKLOAD_FACTOR DOUBLE Fi l l factor of creating or recoveringindexes
INDEX_SIZE BIGINT Byte Index s i ze in memory = number ofnodes * node s i ze
ENTRY_COUNT BIGINT Number of indexed records
FIXED_LEAF_NODE_COUNT BIGINT Number of fi xed leaf nodes . 'FIXED'means that the key lengths of a l lentries in the node have the s ameva lue
FIXED_NONLEAF_NODE_COUNT BIGINT Number of fi xed non-leaf nodes
AVG_LEAF_OFFSET_SIZE DOUBLE Average offset s i ze of leaf nodes
AVG_NONLEAF_OFFSET_SIZE DOUBLE Average offset s i ze of non-leaf nodes
AVG_LEAF_POINTER_SIZE DOUBLE Average pointer s i ze of leaf nodes
AVG_NONLEAF_POINTER_SIZE DOUBLE Average pointer s i ze of non-leafnodes
LEAF_PARTIAL_KEY_SIZE BIGINT Partia l key length of leaf node
NONLEAF_PARTIAL_KEY_SIZE BIGINT Partia l key length of non-leaf node
INDEX_UTILIZATION DOUBLE Index uti l i zation (num_entries /max_entries )
IS_UNIQUE VARCHAR(5) Information whether the index i sunique: 'TRUE', 'FALSE'
SEARCH_COUNT BIGINT Number of search operations on thisCPB-tree index s ince monitoring levelwas changed to 2
INSERT_COUNT BIGINT Number of insert operations on thisCPB-tree index s ince monitoring levelwas changed to 2
REMOVE_COUNT BIGINT Number of remove operations on thisCPB-tree index s ince monitoring levelwas changed to 2
FULL_KEY_REFERENCE_COUNT BIGINT Number of references of ful l keys onthis CPB-tree index s ince monitoringlevel was changed to 2. Ful l keyreferences occur when keys cannot beres olved by partia l keys in CPB-treenodes
DISTINCT_KEY_COUNT BIGINT Number of dis tinct keys
KEY_COUNT BIGINT Number of keys
ELIMINATED_DUPLICATE_LEAF_NODE_COUNT BIGINT Number of leaf nodes whosedupl icate keys are el iminated
UNUSED_LEAF_SLOTS_PER_NODE DOUBLE Number of unused s lots per leaf node
SAP HANA System Tables and Monitoring Views Reference
152 2012-12-19
M_RS_TABLES
Short description
Information on row tables: detailed table sizes and record count
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
RECORD_COUNT BIGINT Number of records in this table
ALLOCATED_FIXED_PART_SIZE BIGINT Byte Al located memory s i ze for fi xed-s i ze part
FIXED_PAGE_HEADER_SIZE BIGINT Byte Al located and used memory s i ze for pageheaders of fi xed-s i ze part
FIXED_PAGE_FRAGMENT_SIZE BIGINT Byte Fragmented memory s i ze of fi xed-s i ze part
USED_FIXED_PART_SIZE BIGINT Byte Used memory s i ze for fi xed-s i ze part
FIXED_PART_FRAGMENT_SIZE BIGINT Byte Fragmented memory s i ze of used fixed-s i ze part
FIXED_PART_FREE_SIZE BIGINT Byte Free memory s i ze in the pages of fi xed-s i ze part
ALLOCATED_VARIABLE_PART_SIZE BIGINT Byte Al located memory s i ze for variable-s i ze part
USED_VARIABLE_PART_SIZE BIGINT Byte Used memory s i ze for variable-s i ze part
VARIABLE_PART_FRAGMENT_SIZE BIGINT Byte Fragmented memory s i ze of used variable-s i zepart
LOAD_STATUS VARCHAR(32) Loading s tate of table: 'LOADED', 'NOW_LOADING','PREPARING_UNLOAD', 'NOW_UNLOADING','UNLOADED', 'NOT_SUPPORTED'
SAP HANA System Tables and Monitoring Views Reference
153 2012-12-19
M_RS_TABLE_VERSION_STATISTICS
Short description
Information on row table versions: detailed version counts and used sizes
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Name of s chema to which the conta inerbelongs
TABLE_NAME NVARCHAR(256) Table name of the conta iner
TABLE_OID BIGINT Object ID of the table
CONTAINER_ID INTEGER Some tables may have severa lconta iners to s tore i ts data . Conta iner IDis an unique identi fier of each conta iner
IS_SYSTEM_TABLE VARCHAR(5) TRUE i f the table i s a sys tem table
VERSION_COUNT BIGINT Number of a l l vers ions in the conta iner.This includes a l l vers ions regardless ofthei r vers ion type and s tatus .
INSERT_VERSION_COUNT BIGINT Number of ins ert-vers ions in theconta iner
UPDATE_VERSION_COUNT BIGINT Number of update-vers ions in theconta iner
DELETE_VERSION_COUNT BIGINT Number of delete-vers ions in theconta iner
COMMITTED_VERSION_COUNT BIGINT Number of a l l committed vers ions in theconta iner (includes a l l types )
COMMITTED_INSERT_VERSION_COUNT BIGINT Number of committed insert-vers ions inthe conta iner
COMMITTED_UPDATE_VERSION_COUNT BIGINT Number of committed update-vers ions inthe conta iner
COMMITTED_DELETE_VERSION_COUNT BIGINT Number of committed delete-vers ions inthe conta iner
UNCOMMITTED_VERSION_COUNT BIGINT Number of a l l uncommitted vers ions inthe conta iner (includes a l l types )
UNCOMMITTED_INSERT_VERSION_COUNT BIGINT Number of uncommitted ins ert-vers ionsin the conta iner
UNCOMMITTED_UPDATE_VERSION_COUNT BIGINT Number of uncommitted update-vers ionsin the conta iner
UNCOMMITTED_DELETE_VERSION_COUNT BIGINT Number of uncommitted delete-vers ionsin the conta iner
VERSION_SIZE BIGINT Used s i zed of vers ions in the conta iner.This includes a l l vers ions regardless ofthei r vers ion type and s tatus .
INSERT_VERSION_SIZE BIGINT Used s i zed of insert-vers ions in theconta iner
UPDATE_VERSION_SIZE BIGINT Used s i zed of update-vers ions in theconta iner
DELETE_VERSION_SIZE BIGINT Used s i zed of delete-vers ions in theconta iner
COMMITTED_VERSION_SIZE BIGINT Used s i zed of a l l committed vers ions inthe conta iner (includes a l l types )
COMMITTED_INSERT_VERSION_SIZE BIGINT Used s i zed of committed ins ert-vers ionsin the conta iner
COMMITTED_UPDATE_VERSION_SIZE BIGINT Used s i zed of committed update-vers ions in the conta iner
COMMITTED_DELETE_VERSION_SIZE BIGINT Used s i zed of committed delete-vers ionsin the conta iner
UNCOMMITTED_VERSION_SIZE BIGINT Used s i zed of a l l uncommitted vers ionsin the conta iner (includes a l l types )
UNCOMMITTED_INSERT_VERSION_SIZE BIGINT Used s i zed of uncommitted insert-vers ions in the conta iner
UNCOMMITTED_UPDATE_VERSION_SIZE BIGINT Used s i zed of uncommitted update-vers ions in the conta iner
UNCOMMITTED_DELETE_VERSION_SIZE BIGINT Used s i zed of uncommitted delete-vers ions in the conta iner
MIN_COMMIT_ID BIGINT Each committed vers ion has i ts commit
SAP HANA System Tables and Monitoring Views Reference
154 2012-12-19
ID. MIN_COMMIT_ID refers to theminimum va lue of commit ID among a l lcommitted vers ions
SAP HANA System Tables and Monitoring Views Reference
155 2012-12-19
M_SAVEPOINTS
Short description
Current and historical savepoint statistics
Full description
This monitor view contains information about the current and (some) past savepoints. At this time,information is kept on the last 128 savepoints per persistence manager.
Note:Only savepoint information since startup is kept. The information in this monitor view is notpersisted. The statistics server collects some information about savepoints and persists it.
A savepoint is triggered periodically, but it can be also triggered on demand using SQL command ALTERSYSTEM SAVEPOINT or by a data backup. The savepoint then runs through various states, which are thenrecorded in STATE column:
INITIAL - empty statistics record (just allocated), will immediately go to PREPARE state.PREPARE - savepoint is preparing to run.PAGEFLUSH - flush dirty pages asynchronously. PAGES and SIZE counters will be updated to reflectsavepoint progress.PRECRITICAL - run any pre-critical-phase callbacks and wait for I/O of the rest of the flushed pages.ENTERCRITICAL - entering critical phase: stop updaters and wait for critical phase lock.CRITICAL - critical phase: copy and trigger write of any still-dirty pages, record various informationin restart record (log position, transaction manager state, etc.), increment savepoint version.PAGES_IN_CRITICAL_PHASE and SIZE_IN_CRITICAL_PHASE counters are updatedappropriately.EXITCRITICAL - exit critical phase: release critical phase lock and restart updaters.POSTCRITICAL - call any post-critical-phase callbacks and finalize savepoint record, clean upunneeded RTT entries.FINISHING - wait for flush of pages written in critical phase and write out restart record and anchorpage.DONE - savepoint was completed successfully.ABORTED - savepoint was aborted (e.g., due to timeout during synchronization global savepoint).
The following information can be extracted from the numbers in this view:
CRITICAL_PHASE_DURATION shows the period of time during which the updaters were blocked ina savepoint. Normally, this should be in the milliseconds range, except for a global savepoint for databackup, which may take longer due to global synchronization across all nodes. If the critical phaseduration is too long, there is probably some problem (e.g., I/O load is too high).DURATION shows the total time taken by a savepoint. This should be significantly less than configuredsavepoint frequency REQUESTED_FREQUENCY (in the range 0-10%, depending on load). Higherratios indicates I/O overload.TIME_SINCE_PREVIOUS should be close to REQUESTED_FREQUENCY. If it is significantly higher,this indicates that the savepoint is encountering a block, such as a very long column merge operation.Ratio of FLUSHED_PAGES* vs. FLUSHED_ROWSTORE_PAGES* or ratio of FLUSHED_SIZE* vs.FLUSHED_ROWSTORE_SIZE* show the respective load of column store vs. row store. Row store isonly flushed during savepoint, column store also flushes the data between savepoints to balance theload.High ratio of FLUSHED_*PAGES_IN_CRITICAL_PHASE vs. FLUSHED_*PAGES or ratio ofFLUSHED_*SIZE_IN_CRITICAL_PHASE vs. FLUSHED_*SIZE indicate potential I/O overload.Normally, zero or only a few pages should be written in the critical phase, except for special situationslike global savepoint for data backup (but also in this case, the number of pages written in the criticalphase should be on the order of magnitude 1% or less of asynchronously flushed pages). High amounstof data written in the critical phase indicates overload of the I/O subsystem and will most probablylead to increased blocking times of update transactions due to increasedCRITICAL_PHASE_DURATION.Big RTT_SIZE (more than a few entries) indicates some problem in distributed transaction handling.RTT (rollback transaction table) holds rollback entries for distributed transactions currently in rollback.Normally, these entries are eliminated very fast, after the respective rollback is finished. In casewhere a slave node failed, entries for this slave node are held persistently until the slave node restarts.Normally, this number should go to zero or close to zero a short time after the restart of a failed slavenode (or after the restart of the whole system).
Aggregated values for individual counters can be queried from M_SAVEPOINT_STATISTICS.
See also:M_SAVEPOINT_STATISTICS
Structure
SAP HANA System Tables and Monitoring Views Reference
156 2012-12-19
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
START_TIME TIMESTAMP Savepoint s tart time
STATE VARCHAR(16) Savepoint s tate
VERSION INTEGER Counter Savepoint vers ion
REQUESTED_FREQUENCY BIGINT Second Configured savepointfrequency
TIME_SINCE_PREVIOUS BIGINT Second Time between previous andthis savepoint
DURATION BIGINT Microsecond Tota l time spent forcreating savepoint
CRITICAL_PHASE_DURATION BIGINT Microsecond Time spent in cri ti ca l phase(updates are blocked duringthis )
TOTAL_SIZE BIGINT Byte Tota l amount of byteswri tten for this savepoint
FLUSHED_PAGES BIGINT Counter Count of asynchronous lyflushed pages
FLUSHED_PAGES_IN_CRITICAL_PHASE BIGINT Counter Count of pages flushed incri ti ca l phase
FLUSHED_ROWSTORE_PAGES BIGINT Counter Count of asynchronous lyflushed row s tore pages
FLUSHED_ROWSTORE_PAGES_IN_CRITICAL_PHASE BIGINT Counter Count of row s tore pagesflushed in cri ti ca l phase
FLUSHED_SIZE BIGINT Byte Size of asynchronous lyflushed pages
FLUSHED_SIZE_IN_CRITICAL_PHASE BIGINT Byte Size of pages flus hed incri ti ca l phase
FLUSHED_ROWSTORE_SIZE BIGINT Byte Size of asynchronous lyflushed row s tore pages
FLUSHED_ROWSTORE_SIZE_IN_CRITICAL_PHASE BIGINT Byte Size of row s tore pagesflushed in cri ti ca l phase
RTT_SIZE BIGINT Counter Tota l s i ze of rol lbacktransaction table at thissavepoint
SAP HANA System Tables and Monitoring Views Reference
157 2012-12-19
M_SAVEPOINT_STATISTICS
Short description
Savepoint statistics
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_SAVEPOINT_STATISTICS_RESET. To reset the values, use the SQLcommand:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_SAVEPOINT_STATISTICS_RESET
or the management console command:
monitor reset -n M_SAVEPOINT_STATISTICS_RESET
Full description
This view shows information about executed savepoints.
Columns START_TIME, STATE, VERSION and LAST_* relate to the last executed or currently-executingsavepoint. Other columns contain aggregated values. Refer to M_SAVEPOINTS for further information aboutvarious counters.
See also:M_SAVEPOINTS
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Hos t name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
SAVEPOINTS BIGINT Counter Count of executedsavepoints
START_TIME TIMESTAMP Last savepoint s tarttime clock)
STATE VARCHAR(16) Las t savepoint s tate
VERSION INTEGER Counter Last savepoint vers ion
REQUESTED_FREQUENCY BIGINT Second Currently activeconfigured savepointfrequency
LAST_FREQUENCY BIGINT Second Actua l savepointfrequency (timebetween las t twosavepoints ) (las t)
AVG_FREQUENCY BIGINT Second Actua l savepointfrequency (timebetween las t twosavepoints ) (avg)
LAST_DURATION BIGINT Micros econd Tota l time spentcreating savepoint(las t)
AVG_DURATION BIGINT Micros econd Tota l time spentcreating savepoint(avg)
LAST_CRITICAL_PHASE_DURATION BIGINT Micros econd Time spent in cri ti ca lphase (updates areblocked during thisphase) (las t)
AVG_CRITICAL_PHASE_DURATION BIGINT Micros econd Time spent in cri ti ca lphase (updates areblocked during thisphase) (avg)
LAST_TOTAL_SIZE BIGINT Byte Tota l amount of byteswri tten for a savepoint(las t)
AVG_TOTAL_SIZE BIGINT Byte Tota l amount of byteswri tten for a savepoint(avg)
LAST_FLUSHED_PAGES BIGINT Counter Count ofas ynchronous lyflus hed pages (las t)
AVG_FLUSHED_PAGES DOUBLE Rate Count of
SAP HANA System Tables and Monitoring Views Reference
158 2012-12-19
as ynchronous lyflus hed pages (avg)
LAST_FLUSHED_PAGES_IN_CRITICAL_PHASE BIGINT Counter Count of pagesflus hed in cri ti ca lphase (las t)
AVG_FLUSHED_PAGES_IN_CRITICAL_PHASE DOUBLE Rate Count of pagesflus hed in cri ti ca lphase (avg)
LAST_FLUSHED_ROWSTORE_PAGES BIGINT Counter Count ofas ynchronous lyflus hed row s torepages (las t)
AVG_FLUSHED_ROWSTORE_PAGES DOUBLE Rate Count ofas ynchronous lyflus hed row s torepages (avg)
LAST_FLUSHED_ROWSTORE_PAGES_IN_CRITICAL_PHASE BIGINT Counter Count of row s torepages flushed incri ti ca l phase (las t)
AVG_FLUSHED_ROWSTORE_PAGES_IN_CRITICAL_PHASE DOUBLE Rate Count of row s torepages flushed incri ti ca l phase (avg)
LAST_FLUSHED_SIZE BIGINT Byte Size of as ynchronous lyflus hed pages (las t)
AVG_FLUSHED_SIZE BIGINT Byte Size of as ynchronous lyflus hed pages (avg)
LAST_FLUSHED_SIZE_IN_CRITICAL_PHASE BIGINT Byte Size of pages flushedin cri ti ca l phase (las t)
AVG_FLUSHED_SIZE_IN_CRITICAL_PHASE BIGINT Byte Size of pages flushedin cri ti ca l phase (avg)
LAST_FLUSHED_ROWSTORE_SIZE BIGINT Byte Size of as ynchronous lyflus hed row s torepages (las t)
AVG_FLUSHED_ROWSTORE_SIZE BIGINT Byte Size of as ynchronous lyflus hed row s torepages (avg)
LAST_FLUSHED_ROWSTORE_SIZE_IN_CRITICAL_PHASE BIGINT Byte Size of row s torepages flushed incri ti ca l phase (las t)
AVG_FLUSHED_ROWSTORE_SIZE_IN_CRITICAL_PHASE BIGINT Byte Size of row s torepages flushed incri ti ca l phase (avg)
LAST_RTT_SIZE BIGINT Counter Tota l s i ze of rol lbacktransaction table atlas t s avepoint (may beless than sum ofcomponents i f thereare dupl icate TIDs )
SAP HANA System Tables and Monitoring Views Reference
159 2012-12-19
M_SAVEPOINT_STATISTICS_RESET
Short description
Savepoint statistics (since last reset)
This view contains values accumulated since the last reset of the main view M_SAVEPOINT_STATISTICS.Please refer to M_SAVEPOINT_STATISTICS for information about the structure and use of this view.
In addition to the members mentioned in M_SAVEPOINT_STATISTICS, this view also contains a timestampfield RESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
160 2012-12-19
M_SEMAPHORES
Short description
Semaphore statistics
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_SEMAPHORES_RESET. To reset the values, use the SQL command:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_SEMAPHORES_RESET
or the management console command:
monitor reset -n M_SEMAPHORES_RESET
Full description
This view contains information about single semaphore objects or groups of semaphore objects. It does notcontain information about all semaphores.
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
STATISTICS_NAME VARCHAR(128) Stati s tics object name
STATISTICS_ID BIGINT Stati s tics object unique ID
WAIT_COUNT BIGINT Counter Count of wa i t ca l l s
BLOCKING_COUNT BIGINT Counter Count of blocking wai t ca l l s
TIMEOUT_COUNT BIGINT Counter Count of timeouts
WAIT_RATE DOUBLE Percent Wait rate
LAST_BLOCKING_TIME BIGINT Microsecond Time of blocking wai t ca l l s (las t)
MAX_BLOCKING_TIME BIGINT Microsecond Time of blocking wai t ca l l s (max)
MIN_BLOCKING_TIME BIGINT Microsecond Time of blocking wai t ca l l s (min)
SUM_BLOCKING_TIME BIGINT Microsecond Time of blocking wai t ca l l s (tota l )
AVG_BLOCKING_TIME BIGINT Microsecond Time of blocking wai t ca l l s (avg)
CREATE_COUNT BIGINT Counter Count of semaphore creation (for shared s tati s ti csonly)
DESTROY_COUNT BIGINT Counter Count of semaphore destruction (for shared s tati s ti csonly)
SAP HANA System Tables and Monitoring Views Reference
161 2012-12-19
M_SEMAPHORES_RESET
Short description
Semaphore statistics (since last reset)
This view contains values accumulated since the last reset of the main view M_SEMAPHORES. Please refer toM_SEMAPHORES for information about the structure and use of this view.
In addition to the members mentioned in M_SEMAPHORES, this view also contains a timestamp fieldRESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
162 2012-12-19
M_SERVICES
Short description
Status of all services
Full description
Service Calls:
Stop a service
ALTER SYSTEM STOP SERVICE (host,port)
Kill a service
ALTER SYSTEM KILL SERVICE (host,port) [WITH COREFILE]
Reconfigure a service
ALTER SYSTEM RECONFIGURE SERVICE ('service', 'host', port)
Depending on service, host, port, different services can be reconfigured:
Service Host Port Description
n.a . not empty not 0 Reconfigure s ingle service on host y wi th port z
not empty not empty 0 Reconfigure a l l services of type x on host y
not empty empty 0 Reconfigure a l l services of type x
empty empty 0 Reconfigure a l l services
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SERVICE_NAME VARCHAR(256) Service name. See M_SERVICE_TYPES for a l l known servicenames
PROCESS_ID INTEGER Process ID
DETAIL VARCHAR(128) Only for display. Use COORDINATOR_TYPE to tes t service role
ACTIVE_STATUS VARCHAR(16) NO, YES, UNKNOWN, STARTING, STOPPING
SQL_PORT INTEGER SQL port
COORDINATOR_TYPE VARCHAR(16) Coordinator type in dis tributed landscape: MASTER, SLAVE,STANDBY, NONE
SAP HANA System Tables and Monitoring Views Reference
163 2012-12-19
M_SERVICE_COMPONENT_MEMORY
Short description
Service-specific memory usage by logical component
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host where the service i s running
PORT INTEGER Port where the service i s running
COMPONENT VARCHAR(64) The logica l component for which memory us age i s reported
USED_MEMORY_SIZE BIGINT Amount of memory which i s currently actua l ly used for thelogica l component
SAP HANA System Tables and Monitoring Views Reference
164 2012-12-19
M_SERVICE_MEMORY
Short description
Detailed information on memory utilization by services
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SERVICE_NAME VARCHAR(32) Service name
PROCESS_ID INTEGER Process ID
LOGICAL_MEMORY_SIZE BIGINT Byte Virtua l memory s i ze (operating sys temperspective)
PHYSICAL_MEMORY_SIZE BIGINT Byte Phys ica l/res ident memory s i ze (operating sys temperspective)
CODE_SIZE BIGINT Byte Code s i ze, including shared l ibraries
STACK_SIZE BIGINT Byte Stack s i ze
HEAP_MEMORY_ALLOCATED_SIZE BIGINT Byte Heap part of the memory pool
HEAP_MEMORY_USED_SIZE BIGINT Byte Amount of pool heap memory that i s currentlyactua l ly in use
SHARED_MEMORY_ALLOCATED_SIZE BIGINT Byte Shared memory part of the memory pool
SHARED_MEMORY_USED_SIZE BIGINT Byte Amount of pool shared memory that i s currentlyactua l ly in use
COMPACTORS_ALLOCATED_SIZE BIGINT Byte Part of the memory pool that can potentia l ly (=i funpinned) be freed on memory s hortage
COMPACTORS_FREEABLE_SIZE BIGINT Byte Memory which can actua l ly be freed on memoryshortage
ALLOCATION_LIMIT BIGINT Byte Maximum memory pool s i ze (configurable va lue)
EFFECTIVE_ALLOCATION_LIMIT BIGINT Byte Effective maximum memory pool s i ze, cons ideringpool s i zes of other process es (computed va lue)
TOTAL_MEMORY_USED_SIZE BIGINT Amount of memory from the memory pool that i scurrently actua l ly in use
SAP HANA System Tables and Monitoring Views Reference
165 2012-12-19
M_SERVICE_NETWORK_IO
Short description
Service network I/O statistics
Structure
Column name Data type Unit Description
SENDER_HOST VARCHAR(64) Host name of the sending service
SENDER_PORT INTEGER Port that the sending service l i s tens on
RECEIVER_HOST VARCHAR(64) Host name of the receiving service
RECEIVER_PORT INTEGER Port that the receiving service l i s tens on
SEND_SIZE BIGINT Byte Number of bytes sent
RECEIVE_SIZE BIGINT Byte Number of bytes received
SEND_DURATION BIGINT Microsecond Time spent sending
RECEIVE_DURATION BIGINT Microsecond Time spent receiving
REQUEST_COUNT BIGINT Counter Number of requests handled
SAP HANA System Tables and Monitoring Views Reference
166 2012-12-19
M_SERVICE_REPLICATION
Short description
Information about replicated services
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Hos t name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Volume ID
SITE_ID INTEGER Generated s i te ID
SITE_NAME VARCHAR(256) Logica l s i te name
SECONDARY_HOST VARCHAR(64) Secondary Hos t Name
SECONDARY_PORT INTEGER Secondary Port
SECONDARY_SITE_ID INTEGER Generated ID of secondary s i te
SECONDARY_SITE_NAME VARCHAR(256) Secondary logica l s i te name
SECONDARY_ACTIVE_STATUS VARCHAR(16) Secondary Active Status
SECONDARY_CONNECT_TIME TIMESTAMP Time the connection was es tabl i shedfrom the secondary
SECONDARY_RECONNECT_COUNT INTEGER Secondary Reconnect Count
SECONDARY_FAILOVER_COUNT INTEGER Secondary Fa i lover Count
REPLICATION_MODE VARCHAR(16) Repl ication Mode
REPLICATION_STATUS VARCHAR(16) Repl ication Status
REPLICATION_STATUS_DETAILS VARCHAR(1024) Repl ication Status Deta i l s
LAST_LOG_POSITION BIGINT Current Log Pos
LAST_LOG_POSITION_TIME TIMESTAMP Current Log Pos Timestamp
LAST_SAVEPOINT_VERSION INTEGER Current Savepoint Vers ion
LAST_SAVEPOINT_LOG_POSITION BIGINT Current Savepoint Log Pos i tion
LAST_SAVEPOINT_START_TIME TIMESTAMP Current Savepoint Timestamp
SHIPPED_LOG_POSITION BIGINT Shipped Log Pos i ton
SHIPPED_LOG_POSITION_TIME TIMESTAMP Shipped Log Pos i tion Timestamp
SHIPPED_LOG_BUFFERS_COUNT BIGINT Shipped Log Buffers Count
SHIPPED_LOG_BUFFERS_SIZE BIGINT Shipped Log Buffers Si ze in Bytes
SHIPPED_LOG_BUFFERS_DURATION BIGINT Shipped Log Buffer Duration inmicroseconds
SHIPPED_SAVEPOINT_VERSION INTEGER Shipped Savepoint Vers ion
SHIPPED_SAVEPOINT_LOG_POSITION BIGINT Shipped Savepoint Log Pos i tion
SHIPPED_SAVEPOINT_START_TIME TIMESTAMP Shipped Savepoint Start Time
SHIPPED_FULL_REPLICA_COUNT BIGINT Shipped Ful l Repl ica Count
SHIPPED_FULL_REPLICA_SIZE BIGINT Shipped Ful l Repl ica Si ze in Bytes
SHIPPED_FULL_REPLICA_DURATION BIGINT Shipped Ful l Repl ica Duration inmicroseconds
SHIPPED_LAST_FULL_REPLICA_SIZE BIGINT Shipped Las t Ful l Repl ica Si ze in Bytes
SHIPPED_LAST_FULL_REPLICA_START_TIME TIMESTAMP Shipped Las t Ful l Repl ica Start Time
SHIPPED_LAST_FULL_REPLICA_END_TIME TIMESTAMP Shipped Las t Ful l Repl ica End Time
SHIPPED_DELTA_REPLICA_COUNT BIGINT Shipped Del ta Repl ica Count
SHIPPED_DELTA_REPLICA_SIZE BIGINT Shipped Del ta Repl ica Si ze in Bytes
SHIPPED_DELTA_REPLICA_DURATION BIGINT Shipped Del ta Repl ica Duration inmicroseconds
SHIPPED_LAST_DELTA_REPLICA_SIZE BIGINT Shipped Las t Del ta Repl ica Si ze in Bytes
SHIPPED_LAST_DELTA_REPLICA_START_TIME TIMESTAMP Shipped Las t Del ta Repl ica Start Time
SHIPPED_LAST_DELTA_REPLICA_END_TIME TIMESTAMP Shipped Las t Del ta Repl ica End Time
SAP HANA System Tables and Monitoring Views Reference
167 2012-12-19
M_SERVICE_STATISTICS
Short description
Statistics on active services
Full description
PROCESS_CPU and TOTAL_CPU contain CPU usage in percent since last select. This select could be done byanother user or another session.To calculate exact CPU usage use 2 selects and this formula:
process_cpu = (select2.process_cpu-time - select1.process_cpu_time) / (select2.sys_timestamp - select1.sys_timestamp) total_cpu = (select2.total_cpu_time - select1.total_cpu_time ) / (select2.sys_timestamp - select1.sys_timestamp)
ACTIVE
Value Description
NO Service not s tarted.
STARTING Service i s s tarting. This s tate might las t for severa l minutes on fi rs t s tartup or recovery.
YES Service s tarted and ready for requests .
STOPPING Service i s s topping.
UNKNOWNIni tia l s tate a fter s tarting a landscape or when s tate not known (e.g a fter cras h). If theservice does not s tart wi thin a minute this s tate changes to NO.
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Hos t name
PORT INTEGER Interna l port
SERVICE_NAME VARCHAR(32) Service name
PROCESS_ID INTEGER Process ID
DETAIL VARCHAR(128) Deta i l information, s imi lar toCOORDINATOR_TYPE inM_SERVICES
ACTIVE_STATUS VARCHAR(16) NO, YES, UNKNOWN, STARTING,STOPPING
START_TIME TIMESTAMP Process s tart timestamp
SYS_TIMESTAMP TIMESTAMP Current sys tem timestamp
PROCESS_CPU SMALLINT Percent CPU usage of current process
PROCESS_CPU_TIME BIGINT Mi l l i second CPU usage of current processs ince s tart
TOTAL_CPU SMALLINT Percent CPU usage of a l l processes
TOTAL_CPU_TIME BIGINT Mi l l i second CPU usage of a l l processes s incestart
PROCESS_MEMORY BIGINT Process logica l memory us age
PROCESS_PHYSICAL_MEMORY BIGINT Process phys ica l memory usage
TOTAL_MEMORY BIGINT Hos t phys ica l+s wap memoryusage
AVAILABLE_MEMORY BIGINT Hos t phys ica l+s wap memory s i ze
PHYSICAL_MEMORY BIGINT Hos t phys ica l memory s i ze
REQUESTS_PER_SEC DOUBLE Rate Requests per second. Averageover las t 1000 requests
RESPONSE_TIME INTEGER Mi l l i second Request res ponse time. Averageover las t 1000 requests
FINISHED_NON_INTERNAL_REQUEST_COUNT BIGINT Counter Finished requests
ALL_FINISHED_REQUEST_COUNT BIGINT Counter Finished requests includinginterna l reques ts
ACTIVE_REQUEST_COUNT INTEGER Number of active requests
PENDING_REQUEST_COUNT INTEGER Number of pending reques ts
ACTIVE_THREAD_COUNT INTEGER Number of active threads
THREAD_COUNT INTEGER Number of tota l threads
OPEN_FILE_COUNT INTEGER Number of open fi les
SAP HANA System Tables and Monitoring Views Reference
168 2012-12-19
M_SERVICE_THREADS
Short description
Detailed information on threads created by services
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SERVICE_NAME VARCHAR(32) Service name. See M_SERVICE_TYPES for a l lknown service names
HIERARCHY VARCHAR(128) Thread grouping information. Fi l led withConnection-ID/(interna l )Transaction-ID
CONNECTION_ID INTEGER Connection ID
THREAD_ID BIGINT Thread ID
THREAD_TYPE VARCHAR(128) Thread Type
THREAD_METHOD VARCHAR(256) Thread method
THREAD_DETAIL NCLOB Thread deta i l
DURATION BIGINT Mi l l i second Thread Duration
CALLER VARCHAR(256) The service which ca l led this thread
CALLING VARCHAR(256) The service which the thread ca l l s
USER_NAME NVARCHAR(256) SQL user name
APPLICATION_USER_NAME NVARCHAR(256) Appl ication us er name
CPU_TIME_SELF BIGINT Microsecond CPU time of thread
CPU_TIME_CUMULATIVE BIGINT Microsecond CPU time of thread and assoziated chi ldren
SAP HANA System Tables and Monitoring Views Reference
169 2012-12-19
M_SERVICE_THREAD_CALLSTACKS
Short description
Stack frame information for service threads
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SERVICE_NAME VARCHAR(32) Service name. See M_SERVICE_TYPES for a l l known service names
THREAD_ID BIGINT Thread ID
FRAME_LEVEL INTEGER Level of s tack frame
FRAME_NAME VARCHAR(256) Name of s tack frame (function, fi le, l ibrary, ...)
SAP HANA System Tables and Monitoring Views Reference
170 2012-12-19
M_SERVICE_TRACES
Short description
Configured trace components for each service type
Structure
Column name Data type Unit Description
SERVICE_NAME VARCHAR(32) Service name
COMPONENT_NAME VARCHAR(32) Trace component name
SAP HANA System Tables and Monitoring Views Reference
171 2012-12-19
M_SERVICE_TYPES
Short description
Service types
Structure
Column name Data type Unit Description
SERVICE_NAME VARCHAR(32) Service name
INIFILE VARCHAR(36) Configuration fi le name of service
HAS_DETAIL VARCHAR(5) Boolean Service shows deta i l s in M_SERVICE_STATISTICS: 'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
172 2012-12-19
M_SESSION_CONTEXT
Short description
Session variables for each connection. Each variable is categorized to USER (the user specified variable usingSET command or client API call) or SYSTEM (predefined system-level property) When a session is opened, twoSYSTEM-variables PROTOCOL_VERSION (formatted as '<protocol version>=""> (<distribution protocol=""version>="">, <data format="" version>="">)') and COMPLETE_ARRAY_EXECUTION will be shown.
Full description
This view shows session variables of all currently open connections, including internal ones. Each variable iscategorized to USER (the user specified variable using SET command or client API call) or SYSTEM (predefinedsystem-level property). When a session is opened, two SYSTEM-variables PROTOCOL_VERSION (formatted as'<protocol version>=""> (<distribution protocol="" version>="">, <data format="" version>="">)') andCOMPLETE_ARRAY_EXECUTION will be shown.
The following list describes the predefined contents of the individual rows of the monitor view (VALUE), asidentified by KEY:
APPLICATIONApplication's name (for example, HDBStudio)
APPLICATIONVERSIONApplication's own version (for example, HDBStudio: "1.50.0.201207061631")
APPLICATIONUSERApplication's user name, which is mainly used for the trace filter
APPLICATIONACTIONWith APPLICATIONACTION, the application can define what logical action or step it is currentlydoing. The usage is up to the application and could be coarse grained like 'create sales order' or finegrained like 'refresh admin overview tab' in SAP HANA studio.
APPLICATIONSOURCEWith APPLICATIONSOURCE, the application can define from which source file SAP HANA was called.The usage is up to the application and could be something like <abap program="" name>="">:<linenumber>="">. This value is also displayed in M_PREPARED_STATEMENTS.APPLICATION_SOURCE.
TOTAL_ROWCOUNTSELECT ... LIMIT x returns up to x rows. With optional TOTAL_ROWCOUNT the (estimated) totalnumber of rows is set in TOTAL_ROWCOUNT variable. This variable is not deleted/reset by nonTOTAL_ROWCOUNT statements. The similar command SELECT TOP x... does not support thisextension.
TRACEPROFILEThis variable is only shown when a session's trace profile is specified. The value can contain one traceprofile name or a comma separated list of trace profile names.
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
CONNECTION_ID INTEGER Connection ID
KEY VARCHAR(32) Key name of a sess ion context variable
VALUE VARCHAR(512) Va lue of a sess ion context variable
SECTION VARCHAR(32) Section name to dis tinguish user's s ess ion variables
SAP HANA System Tables and Monitoring Views Reference
173 2012-12-19
M_SHARED_MEMORY
Short description
Shared memory usage information by SAP HANA indexserver
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
CATEGORY VARCHAR(128) Module name
ALLOCATED_SIZE BIGINT Al located shared memory s i ze on the module
USED_SIZE BIGINT Used shared memory s i ze on the module
FREE_SIZE BIGINT Free shared memory s i ze on the module
SAP HANA System Tables and Monitoring Views Reference
174 2012-12-19
M_SNAPSHOTS
Short description
Existing snapshots
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
ID BIGINT Snapshot ID
TIMESTAMP TIMESTAMP Creation time
FOR_BACKUP VARCHAR(5) Created for backup: 'TRUE', 'FALSE'
ANCHOR BIGINT HEXID Anchor
SAP HANA System Tables and Monitoring Views Reference
175 2012-12-19
M_SQL_PLAN_CACHE
Short description
Statistics of an individual execution plan
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_SQL_PLAN_CACHE_RESET. To reset the values, use the SQL command:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_SQL_PLAN_CACHE_RESET
or the management console command:
monitor reset -n M_SQL_PLAN_CACHE_RESET
Full description
GLOBAL: A plan always can be shared with any other connections concurrently. No restriction.SESSION EXCLUSIVE GLOBAL: If a connection uses a plan, the plan cannot be shared with any otherconnections concurrently, but after the connection releases the plan, it can be acquired by anotherconnection.SESSION LOCAL: A plan is never shared. This sharing type is more restricted than SESSION EXCLUSIVEGLOBAL. If a connection generates a plan, the plan belongs to the connection. This plan cannot beshared with any other connection and it cannot be also shared with any other cursor even if in thesame connection.GLOBAL: -1 (always).SESSION EXCLUSIVE GLOBAL: -1 or owner connection ID with positive value (can be changed).SESSION LOCAL: owner connection ID with positive value (never changed).
The M_SQL_PLAN_CACHE view shows statistics for an individual plan but not all plans. It shows whether aspecified plan runs longer than expected or which part of execution is dominant. For each cached plan, thisview delivers statistics from execution on distributed configuration as well as technical details such as relatedobject IDs, updated objects and so on.
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
STATEMENT_STRING NCLOB Statement s tring
USER_NAME NVARCHAR(256) User name whoprepared the plan
SCHEMA_NAME NVARCHAR(256) Schema name that theSQL plan belongs to. SQLplans are generated ineach schema eventhough the s tatements tring i s the same s incethe query optimizers tati s tics might bedi fferent
IS_VALID VARCHAR(5) TRUE i f the plan i scurrently va l id. A plan i sinva l idated whenever i tscorresponding s chemaobjects , such as tableand view, are changed.Inva l idated plans arerecompi led i f the samestatement i s executed,otherwise they areevicted by another planwhen newly compi led
IS_INTERNAL VARCHAR(5) TRUE i f the plan i sexecuted from adatabase interna lconnection. FALSE i f i t i sexecuted from a remoteconnection
IS_DISTRIBUTED_EXECUTION VARCHAR(5) TRUE i f tables arelocated in multi nodes ,FALSE otherwise
ABAP_VARCHAR_MODE VARCHAR(5) TRUE i f ABAP VARCHARmode enabled, FALSEotherwise. ABAP
SAP HANA System Tables and Monitoring Views Reference
176 2012-12-19
appl ication developersconcern this mode,which indicates nul lterminated s tring or not
ACCESSED_OBJECTS VARCHAR(2000) Relevant table object IDl i s t for the plan
TABLE_LOCATIONS VARCHAR(2000) Relevant table locationsfor the plan
TABLE_TYPES VARCHAR(128) Speci fi cation whetherthe plan refers Columnstore only, Row s toreonly or mixed, displayedas one of three poss ibleva lues 'ROW', 'COLUMN','ROW, COLUMN'
PLAN_SHARING_TYPE VARCHAR(128) The Plan sharing type:'GLOBAL', 'SESSIONEXCLUSIVE GLOBAL','SESSION LOCAL'
OWNER_CONNECTION_ID INTEGER A Connection owning theplan
PLAN_ID BIGINT Logica l plan ID which i sa non-negative va lue
PLAN_MEMORY_SIZE BIGINT Byte Memory s i ze used by theplan
REFERENCE_COUNT BIGINT Counter Number of s tatementsus ing the plan. Whenthe count reaches zero, i tcan be evicted by thevictim selection pol icy ofplan cache
PARAMETER_COUNT BIGINT Counter Number of parameters tobe ass igned for theexecution
UPDATED_TABLE_OID BIGINT Object ID of the updatedtable for the plan
EXECUTION_COUNT BIGINT Counter Accumulated count ofplan execution
EXECUTION_COUNT_BY_ROUTING BIGINT Counter Accumulated count ofplan execution by cl ient-routed connection ins tatement routing. Thiscolumn shows how manytimes the s tatement i sexecuted in routedconnection. The routedconnection means aphys ica l connection in apart of the logica lsess ion
TOTAL_CURSOR_DURATION BIGINT Microsecond Sum of time of planexecution includingcommunication timewith cl ients
AVG_CURSOR_DURATION BIGINT Microsecond Average time of planexecution includingcommunicate time withcl ients
MIN_CURSOR_DURATION BIGINT Microsecond Minimum time of planexecution includingcommunicate time withcl ients
MAX_CURSOR_DURATION BIGINT Microsecond Maximum time of planexecution includingcommunicate time withcl ients
TOTAL_EXECUTION_TIME BIGINT Microsecond Sum of time of planexecutions
AVG_EXECUTION_TIME BIGINT Microsecond Average time of planexecution
MIN_EXECUTION_TIME BIGINT Microsecond Minimum time of planexecution
MAX_EXECUTION_TIME BIGINT Microsecond Maximum time of planexecution
TOTAL_EXECUTION_OPEN_TIME BIGINT Microsecond Sum of time ofes tabl i shing resul t sets
AVG_EXECUTION_OPEN_TIME BIGINT Microsecond Average time for cursor
SAP HANA System Tables and Monitoring Views Reference
177 2012-12-19
open
MIN_EXECUTION_OPEN_TIME BIGINT Microsecond Minimum time for curs orclose
MAX_EXECUTION_OPEN_TIME BIGINT Microsecond Maximum time for cursorclose
TOTAL_EXECUTION_FETCH_TIME BIGINT Microsecond Sum of time fortrans ferring rows
AVG_EXECUTION_FETCH_TIME BIGINT Microsecond Average time for cursorfetch
MIN_EXECUTION_FETCH_TIME BIGINT Microsecond Minimum time for curs orfetch
MAX_EXECUTION_FETCH_TIME BIGINT Microsecond Maximum time for cursorfetch
TOTAL_EXECUTION_CLOSE_TIME BIGINT Microsecond Sum of time for cleanupof resul t sets
AVG_EXECUTION_CLOSE_TIME BIGINT Microsecond Average time for cursorclose
MIN_EXECUTION_CLOSE_TIME BIGINT Microsecond Minimum time for curs orclose
MAX_EXECUTION_CLOSE_TIME BIGINT Microsecond Maximum time for cursorclose
TOTAL_METADATA_CACHE_MISS_COUNT BIGINT Counter Accumulated count ofmetadata cache missesduring plan preparationand plan execution.When a metadata objecti s fi rs t reques ted to beaccessed in a s laveserver ins tance, i t getsthe object from a masterserver ins tance vianetwork communication,i f the object does notexis t or i s out of date.
TOTAL_TABLE_LOAD_TIME_DURING_PREPARATION BIGINT Microsecond Sum of table loadingtime during planpreparation
AVG_TABLE_LOAD_TIME_DURING_PREPARATION BIGINT Microsecond Average table loadingtime during planpreparation
MIN_TABLE_LOAD_TIME_DURING_PREPARATION BIGINT Microsecond Minimum table loadingtime during planpreparation
MAX_TABLE_LOAD_TIME_DURING_PREPARATION BIGINT Microsecond Maximum table loadingtime during planpreparation
PREPARATION_COUNT BIGINT Counter Number of planpreparations
TOTAL_PREPARATION_TIME BIGINT Microsecond Sum of time of planpreparation
AVG_PREPARATION_TIME BIGINT Microsecond Average time of planpreparation
MIN_PREPARATION_TIME BIGINT Microsecond Minimum time of planpreparation
MAX_PREPARATION_TIME BIGINT Microsecond Maximum time of planpreparation
TOTAL_RESULT_RECORD_COUNT BIGINT Counter Accumulated number ofrecords during planexecution.
TOTAL_LOCK_WAIT_COUNT BIGINT Counter Accumulated lock wai tcount for the plan
TOTAL_LOCK_WAIT_DURATION BIGINT Counter Accumulated lock wai tduration for the plan
LAST_CONNECTION_ID INTEGER The las t connection IDthat executed the plan
LAST_EXECUTION_TIMESTAMP TIMESTAMP Last executiontimestamp
LAST_PREPARATION_TIMESTAMP TIMESTAMP Last preparationtimestamp
SAP HANA System Tables and Monitoring Views Reference
178 2012-12-19
M_SQL_PLAN_CACHE_OVERVIEW
Short description
Overall statistics of evicted and cached plans
Full description
M_SQL_PLAN_CACHE_OVERVIEW shows the overall statistics of evicted and cached plans. It showsinformation such as how many times plan eviction occurred and how long it takes to execute currentlycached plans. In addition to statistics, the current status and flags of the SQL plan cache are shown in thisview.
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Hos t name
PORT INTEGER Interna l port
STATISTICS_COLLECTION_ENABLED VARCHAR(5) TRUE i f runtime s tati s ti cs arecol lected ALTER SYSTEM ALTERCONFIGURATION('indexs erver.ini ','sys tem') SET('sql ','plan_cache_stati s tics _enabled') =<'True' or 'Fa ls e'> WITH RECONFIGURE
PLAN_CACHE_CAPACITY BIGINT Byte Maximum SQL Plan Cache s i ze ALTERSYSTEM ALTER CONFIGURATION('indexs erver.ini ','sys tem') SET('sql ','plan_cache_s ize') = '268435456' WITHRECONFIGURE
EVICTED_PLAN_COUNT BIGINT Number of evicted plans from SQLPlan Cache
EVICTED_PLAN_PREPARATION_COUNT BIGINT Tota l plan preparation count forevicted plans
EVICTED_PLAN_EXECUTION_COUNT BIGINT Tota l plan execution count forevicted plans
EVICTED_PLAN_PREPARATION_TIME BIGINT Microsecond Tota l duration for plan preparationfor a l l evicted plans
EVICTED_PLAN_CURSOR_DURATION BIGINT Microsecond Tota l cursor duration for evictedplans
EVICTED_PLAN_TOTAL_EXECUTION_TIME BIGINT Microsecond Tota l execution time for evictedplans
EVICTED_PLAN_SIZE BIGINT Byte Accumulated tota l s i ze of evictedplans
CACHED_PLAN_COUNT BIGINT Tota l cached plan count in SQL PlanCache
CACHED_PLAN_PREPARATION_COUNT BIGINT Tota l plan preparation count forcached plans
CACHED_PLAN_EXECUTION_COUNT BIGINT Tota l execution count for cachedplans
CACHED_PLAN_PREPARATION_TIME BIGINT Microsecond Tota l plan preparation duration forcached plans
CACHED_PLAN_CURSOR_DURATION BIGINT Microsecond Tota l cursor duration for cachedplans
CACHED_PLAN_TOTAL_EXECUTION_TIME BIGINT Microsecond Tota l execution time for cachedplans
CACHED_PLAN_SIZE BIGINT Byte Tota l s i ze of SQL Plan Cache
PLAN_CACHE_ENABLED TINYINT TRUE i f SQL Plan Cache i s turned onALTER SYSTEM ALTER CONFIGURATION('indexs erver.ini ','sys tem') SET('sql ','plan_cache_enabled') = <'True' or'Fa lse'> WITH RECONFIGURE
CLEAR_TIMESTAMP TIMESTAMP Timestamp when SQL Plan Cache i scleared
SAP HANA System Tables and Monitoring Views Reference
179 2012-12-19
M_SQL_PLAN_CACHE_RESET
Short description
Statistics of an individual execution plan (since last reset)
This view contains values accumulated since the last reset of the main view M_SQL_PLAN_CACHE. Pleaserefer to M_SQL_PLAN_CACHE for information about the structure and use of this view.
In addition to the members mentioned in M_SQL_PLAN_CACHE, this view also contains a timestamp fieldRESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
180 2012-12-19
M_SYSTEM_INFORMATION_STATEMENTS
Short description
System information statements
Structure
Column name Data type Unit Description
NAME VARCHAR(64) Statement name
DESCRIPTION NVARCHAR(256) Statement description
STATEMENT NCLOB Actua l SQL s tatement
SAP HANA System Tables and Monitoring Views Reference
181 2012-12-19
M_SYSTEM_LIMITS
Short description
System limits information
Structure
Column name Data type Unit Description
CATEGORY VARCHAR(128) Category of sys tem l imit i s adaptable
NAME NVARCHAR(256) Name of sys tem l imit
VALUE VARCHAR(256) Va lue of sys tem l imit
TYPE VARCHAR(128) Type of va lue
UNIT VARCHAR(256) Unit of va lue
COMMENT VARCHAR(2000) Additiona l comment for sys tem l imits
SAP HANA System Tables and Monitoring Views Reference
182 2012-12-19
M_SYSTEM_OVERVIEW
Short description
Overview of system status including important resource usage information and alerts
Structure
Column name Data type Unit Description
SECTION VARCHAR(16) Section name
NAME VARCHAR(32) Key name in section
STATUS VARCHAR(8) Status va lue: OK, ERROR, WARNING or empty for info i tems
VALUE VARCHAR(256) Key va lue in section
SAP HANA System Tables and Monitoring Views Reference
183 2012-12-19
M_TABLES
Short description
Information on row and column tables
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
RECORD_COUNT BIGINT Number of records in this table
TABLE_SIZE BIGINT Al located memory s i ze for fi xed-s i ze and variable-s i ze part
IS_COLUMN_TABLE VARCHAR(5) Speci fies whether the table i s a column table: 'TRUE', 'FALSE'
TABLE_TYPE VARCHAR(16) Speci fies type of the table: 'ROW', 'COLUMN', 'HYBRID'
IS_PARTITIONED VARCHAR(5) Speci fies whether the table i s parti tioned: 'TRUE', 'FALSE'
IS_REPLICATED VARCHAR(5) Speci fies whether the table i s repl icated: 'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
184 2012-12-19
M_TABLE_LOB_FILES
Short description
All LOB files that belong to a table
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
COLUMN_NAME NVARCHAR(256) Column name
PART_ID INTEGER Part ID of spl i t table
TABLE_OID BIGINT Table OID, same as owner_oid i f the table i s found; 0 otherwise
CONTAINER_ID BIGINT Conta iner ID
PHYSICAL_SIZE BIGINT Byte Fi le s i ze
BINARY_SIZE BIGINT Byte LOB s i ze
CHARACTER_SIZE INTEGER Number of characters in NCLOB
PAGE_COUNT BIGINT Number of pages used for a LOB fi le
LOB_TYPE VARCHAR(5) Type of the lob
SAP HANA System Tables and Monitoring Views Reference
185 2012-12-19
M_TABLE_LOCATIONS
Short description
Tables and their logical location. Physical locations are shown in M_TABLE_PERSISTENCE_LOCATIONS
Full description
To move tables to other locations use:
ALTER TABLE name MOVE TO LOCATION 'host:port'
To move parts of a split table to other locations use:
ALTER TABLE name MOVE PART i TO LOCATION 'host:port'
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host where table data i s located. Empty for Views
PORT INTEGER Port where table data i s located. 0 for Views
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
PART_ID INTEGER Parti tion ID. 0 for non-parti tioned tables , 1 through number ofparti tions for parti tioned tables . -1 i f the whole table i s unloaded.
LOCATION VARCHAR(75) Host and port where the table data i s located
SAP HANA System Tables and Monitoring Views Reference
186 2012-12-19
M_TABLE_PERSISTENCE_LOCATIONS
Short description
Column store tables and their physical data locations
Full description
This view shows information on which node contains the persistence parts of a table. This will include theassigned node as visible from the view M_TABLE_LOCATIONS but will also include other nodes that stillcontains some persistence of the table. This could occur if a table is moved and not yet merged. In this casethe old node will still contain some persistence content for the table beside the currently assigned node.
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
PART_ID INTEGER Parti tion ID. 0 for non-parti tioned tables , 1 through number ofparti tions for parti tioned tables . -1 i f the whole table i sunloaded.
IS_HISTORY VARCHAR(5) Is this the his tory part of a table: 'TRUE', 'FALSE'
PERSISTENCE_HOST VARCHAR(64) Host where table data i s located
PERSISTENCE_PORT INTEGER Port where table data i s located
SAP HANA System Tables and Monitoring Views Reference
187 2012-12-19
M_TABLE_PERSISTENCE_STATISTICS
Short description
Persistence virtual file summary statistics for tables
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema Name
TABLE_NAME NVARCHAR(256) Table Name
DISK_SIZE BIGINT Tota l disk s i ze of a l l table parts
PAGE_COUNT BIGINT Tota l number of pages of a l l table parts
BYTES_WRITTEN BIGINT Number of bytes wri tten to the table
BYTES_APPENDED BIGINT Number of bytes appended to the table
BYTES_READ BIGINT Number of bytes read from the table
BYTESTREAM_WRITTEN BIGINT Number of bytes wri tten to the table via s treaminginterface
APPEND_COUNT BIGINT Number of times the table was appended to
WRITE_COUNT BIGINT Number of times the table was wri tten to
OPTIMIZE_COUNT BIGINT Number of times the table was wri tten to optimized
READ_COUNT BIGINT Number of times the table was read from
TRUNCATE_COUNT BIGINT Number of times the table was truncated
COPY_COUNT BIGINT Number of times the table was copied
SAP HANA System Tables and Monitoring Views Reference
188 2012-12-19
M_TABLE_VIRTUAL_FILES
Short description
All virtual files that belong to a table
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
PART_ID INTEGER Parti tion ID. 0 for non-parti tioned tables , 1 through number ofparti tions for parti tioned tables . -1 i f the whole table i s unloaded.
IS_HISTORY VARCHAR(5) Is this the his tory part of a table: 'TRUE', 'FALSE'
CONTAINER_ID BIGINT Conta iner ID
NAMESPACE VARCHAR(512) Fi le path
NAME VARCHAR(512) Fi le name
PHYSICAL_SIZE BIGINT Byte Fi le s i ze
PAGE_COUNT BIGINT Unused
SAP HANA System Tables and Monitoring Views Reference
189 2012-12-19
M_TEMPORARY_TABLES
Short description
Temporary tables
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
TABLE_OID BIGINT Object ID of the table
COMMENTS NVARCHAR(5000) Comment on the table
FIXED_PART_SIZE SMALLINT Byte Fixed-s i ze part of record
IS_LOGGED VARCHAR(5) Speci fies whether logging i s enabled for thetable: 'TRUE', 'FALSE'
IS_SYSTEM_TABLE VARCHAR(5) Speci fies whether the table i s a sys tem table:'TRUE', 'FALSE'
IS_COLUMN_TABLE VARCHAR(5) Speci fies whether the table i s a column table:'TRUE', 'FALSE'
IS_INSERT_ONLY VARCHAR(5) Speci fies whether the table i s an 'insert only'table: 'TRUE', 'FALSE'
IS_TENANT_SHARED_DATA VARCHAR(5) Speci fies whether the table can be s hared amongother ins tances : 'TRUE', 'FALSE'
IS_TENANT_SHARED_METADATA VARCHAR(5) Speci fies whether the table i s a globa l table:'TRUE', 'FALSE'
SESSION_TYPE VARCHAR(16) Sess ion type: 'NONE', 'SIMPLE', 'HISTORY'. For'HISTORY', time travel i s poss ible
IS_TEMPORARY VARCHAR(5) Speci fies whether the table i s a temporary table:'TRUE', 'FALSE'
TEMPORARY_TABLE_TYPE VARCHAR(8) Temporary table type
IS_USER_DEFINED_TYPE VARCHAR(5) 'TRUE' i f user defined table type, 'FALSE'otherwise
PRELOAD VARCHAR(5) 'TRUE' i f the table us es preloading, el se 'FALSE'.Only va l id for column s tore tables
SAP HANA System Tables and Monitoring Views Reference
190 2012-12-19
M_TEMPORARY_TABLE_COLUMNS
Short description
Columns of temporary tables
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
TABLE_OID BIGINT Object ID of the table
COLUMN_NAME NVARCHAR(256) Name of the column
POSITION INTEGER Ordina l pos i tion of the table column
DATA_TYPE_ID SMALLINT SQL data type ID of the column
DATA_TYPE_NAME VARCHAR(16) SQL data type name of the column
OFFSET SMALLINT Byte Offset of the column in the record
LENGTH INTEGER # of chars for char types ; # of max digi ts for numerictypes ; # of chars for datetime types ; # of bytes for LOBtypes
SCALE INTEGER Numeric types : the maximum number of digi ts to theright of the decimal point; time, timestamp: the decimaldigi ts are defined as the number of digi ts to the right ofthe decimal point in the second's component of the data
IS_NULLABLE VARCHAR(5) Speci fies whether the column i s a l lowed to accept a nul lva lue: 'TRUE', 'FALSE'
DEFAULT_VALUE NVARCHAR(5000) Defaul t va lue of the column
COLLATION NVARCHAR(5000) Col la tion of the column
COMMENTS NVARCHAR(5000) Comments on the column
MAX_VALUE NVARCHAR(5000) Maximum va lue
MIN_VALUE NVARCHAR(5000) Minimum va lue
CS_DATA_TYPE_ID INTEGER Column s tore data type ID
CS_DATA_TYPE_NAME VARCHAR(16) Column s tore data type name
DDIC_DATA_TYPE_ID INTEGER DDIC data type ID
DDIC_DATA_TYPE_NAME VARCHAR(7) DDIC data type name
COMPRESSION_TYPE VARCHAR(9) Type of compress ion: 'DEFAULT', 'PREFIXED', 'SPARSE','CLUSTERED', 'INDIRECT', 'RLE'
INDEX_TYPE VARCHAR(9) Type of index: 'NONE', 'FULL', 'SIGNATURE'
COLUMN_ID BIGINT ID of the column
PRELOAD VARCHAR(5) Speci fies i f column i s preloaded: 'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
191 2012-12-19
M_TEMPORARY_VIEWS
Short description
Temporary views
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema name
VIEW_NAME NVARCHAR(256) View name
VIEW_OID BIGINT Object ID of the view
IS_UNICODE VARCHAR(5) Speci fies whether the query s tring conta ins Unicode: 'TRUE','FALSE'
IS_READ_ONLY VARCHAR(5) Speci fies whether this view i s a read-only or an updatableview: 'TRUE', 'FALSE'
HAS_CHECK_OPTION VARCHAR(5) Speci fies whether this view has an updatable viewcondition: 'TRUE', 'FALSE'
HAS_COLUMN_ALIASE VARCHAR(5) Speci fies whether the view has a columns a l ias : 'TRUE','FALSE'
DEFINITION NCLOB Defini tion of the view
COMMENTS NVARCHAR(5000) Description on the view
IS_COLUMN_VIEW VARCHAR(5) Speci fies whether this view i s a column view or not: 'TRUE','FALSE'
VIEW_TYPE VARCHAR(16) Type of view : 'ROW', 'OLAP', 'JOIN', 'HIERARCHY', 'CALC'
IS_TENANT_SHARED VARCHAR(5) Speci fies whether the view metadata can be shared acros stenants : 'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
192 2012-12-19
M_TEMPORARY_VIEW_COLUMNS
Short description
Columns of temporary tables
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema name
VIEW_NAME NVARCHAR(256) View name
VIEW_OID BIGINT Object ID of the view
COLUMN_NAME NVARCHAR(256) View column name
POSITION INTEGER Ordina l pos i tion of the view column
DATA_TYPE_ID SMALLINT SQL data type ID of the column
DATA_TYPE_NAME VARCHAR(16) SQL data type name of the column
OFFSET SMALLINT Offset of the column in a record
LENGTH INTEGER # of chars for char types ; # of max digi ts for numerictypes ; # of chars for datetime types ; # of bytes for LOBtypes
SCALE INTEGER Numeric types : the maximum number of digi ts to theright of the decimal point; time, timestamp: the decimaldigi ts are defined as the number of digi ts to the right ofthe decimal point in the second's component of the data
IS_NULLABLE VARCHAR(5) Speci fies whether the column i s a l lowed to accept nul lva lue: 'TRUE', 'FALSE'
DEFAULT_VALUE NVARCHAR(5000) Defaul t va lue
COLLATION NVARCHAR(5000) Col la tion
COMMENTS NVARCHAR(5000) Description for this column
MAX_VALUE NVARCHAR(5000) Maximum va lue
MIN_VALUE NVARCHAR(5000) Minimum va lue
CS_DATA_TYPE_ID INTEGER Column s tore data type ID
CS_DATA_TYPE_NAME VARCHAR(16) Column s tore data type name
DDIC_DATA_TYPE_ID INTEGER DDIC data type ID
DDIC_DATA_TYPE_NAME VARCHAR(7) DDIC data type name
COMPRESSION_TYPE VARCHAR(9) Type of compress ion: 'DEFAULT', 'PREFIXED', 'SPARSE','CLUSTERED', 'INDIRECT', 'RLE'
INDEX_TYPE VARCHAR(9) Type of index: 'NONE', 'FULL', 'SIGNATURE'
COLUMN_ID BIGINT ID of the column
PRELOAD VARCHAR(5) Speci fies i f column i s preloaded: 'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
193 2012-12-19
M_TENANTS
Short description
Available tenant information
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Tenant service host name
PORT INTEGER Tenant service interna l port
TENANT_NAME VARCHAR(256) Tenant name
CREATE_TIME TIMESTAMP Creation time
TENANT_STATUS VARCHAR(16) Suspend s tatus : SUSPENDED, ACTIVE, PENDING
SQL_PORT INTEGER Tenant service SQL port
SAP HANA System Tables and Monitoring Views Reference
194 2012-12-19
M_TEXT_ANALYSIS_LANGUAGES
Short description
List of supported languages
Structure
Column name Data type Unit Description
LANGUAGE_NAME VARCHAR(256) Language name
LANGUAGE_CODE VARCHAR(2) Language ISO 639-1 code
SAP HANA System Tables and Monitoring Views Reference
195 2012-12-19
M_TEXT_ANALYSIS_MIME_TYPES
Short description
List of supported mime types
Structure
Column name Data type Unit Description
MIME_TYPE_NAME VARCHAR(256) Name of the mime type
MIME_TYPE_DESCRIPTION NVARCHAR(256) Description of the mime type
SAP HANA System Tables and Monitoring Views Reference
196 2012-12-19
M_TOPOLOGY_TREE
Short description
SAP HANA nameserver topology content
Full description
This monitoring view only returns data if you specify PATH=... . Use '/' as root path. For deeper paths usePATH+'/'+NAME. If NAME contains '/' you have to enclose it in CHR(1), For example
SELECT * FROM M_TOPOLOGY_TREE WHERE PATH='/index/'||CHR(1)||'SYSTEM:A/B'||CHR(1)||'#15046'
To change topology tree values use ALTER SYSTEM INIFILE ('topology.ini','system') set (PATH,NAME)=VALUETo delete values use ALTER SYSTEM INIFILE('topology.ini','system') remove (PATH,NAME)
Structure
Column name Data type Unit Description
PATH VARCHAR(512) Path to Key
NAME VARCHAR(256) Key name
VALUE VARCHAR(256) Key va lue
LEAF VARCHAR(5) Boolean Leaf flag: 'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
197 2012-12-19
M_TRACEFILES
Short description
All trace files
Full description
With the "CLEAR" command, all files that were opened by a service will be removed or reset to size 0. On adistributed system, this command will clear all traces on all hosts.
ALTER SYSTEM CLEAR TRACES ('ALERT','CLIENT','CRASHDUMP,'*','INDEXSERVER',...,,'DAEMON' );
It can clear different types of files:
Name Files
ALERT <service>a lert....trc
CLIENT loca lcl ient_....trc
CRASHDUMP *.crashdump....trc
* open *.trc fi les of a l l active services
INDEXSERVER,NAMESERVER,...,DAEMON open *.trc fi les of a s ingle service type
This command will delete files on host 'HOST_NAME'. When a service has a trace file open, then it cannot bedeleted, so a "CLEAR" command should be used in that case.
ALTER SYSTEM DELETE TRACES ('HOST_NAME', 'FILENAME1', 'FILENAME2' ... );
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
FILE_NAME VARCHAR(256) Fi le name
FILE_SIZE BIGINT Byte Fi le s i ze
FILE_MTIME TIMESTAMP Fi le date
SAP HANA System Tables and Monitoring Views Reference
198 2012-12-19
M_TRACEFILE_CONTENTS
Short description
SAP HANA information from trace files
Full description
This view only returns data if you specify 'HOST=... and FILE_NAME=...' as part of the where clause. UseHOST, FILE_NAME as returned by the view M_TRACEFILES. This prevents unintentional materialization of alltrace files.
The optional where clause 'OFFSET<,<=,=,>,>= value' is efficiently handled by this view. With 'OFFSET > -value'you can read from the end of the file, without having to know the file size in advance. With OFFSET <> -valueyou can read from the start and end of a file. Do not use the equivalent OFFSET < value OR OFFSET >-value,because this is very inefficient for large files and returns duplicates for small files where the file size is <2*value.
Trace files typically contain ASCII or CESU-8, but can also contain binary data. To support all kinds of data,each byte from the trace file is encoded as one NVARCHAR with values in the range 0 to 255. To recode asCESU-8 you have to use code like in this Python example:
cursor.execute(" select CONTENT from M_TRACEFILE_CONTENTS where HOST='...' and FILE_NAME='...' ")filedata=''for row in cursor.fetchall(): filedata += row[1].encode('latin-1') # reinterpret as bytearraydisplaydata = filedata.decode('utf-8','replace') # do not use 'strict' error handling
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
FILE_NAME VARCHAR(256) Fi le name
OFFSET BIGINT Byte Fi le offset
CONTENT NVARCHAR(1000) Fi le content at offset
SAP HANA System Tables and Monitoring Views Reference
199 2012-12-19
M_TRANSACTIONS
Short description
All transactions created by users or database
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
CONNECTION_ID INTEGER Connection ID
TRANSACTION_ID INTEGER Transaction object ID (This number i s reus edafter a transaction i s closed)
VOLUME_ID INTEGER Volume ID where the transaction has s tarted
TRANSACTION_SEQUENCE INTEGER Transaction sequence number in atransaction
UPDATE_TRANSACTION_ID BIGINT Write transaction ID (This number i s everincreas ing)
TRANSACTION_STATUS VARCHAR(128) Transaction s tatus ; INACTIVE, ACTIVE,PRECOMMITTED, ABORTING,PARTIAL_ABORTING, ACTIVE_PREPARE_COMMIT
TRANSACTION_TYPE VARCHAR(128) Transaction type; USER, VERSION GARBAGECOLLECTION, DDL VERSION GARBAGECOLLECTION, INTERNAL, EXTERNAL
START_TIME TIMESTAMP Start time
END_TIME TIMESTAMP End time
START_MVCC_TIMESTAMP BIGINT Interna l MVCC timestamp of the transactionstart time
END_MVCC_TIMESTAMP BIGINT Interna l MVCC timestamp of the transactionend time
EXECUTED_STATEMENT_COUNT INTEGER Number of executed s tatements in thetransaction
CREATED_VERSION_COUNT INTEGER Number of created vers ions in the trans action
ALLOCATED_VERSION_SIZE BIGINT Byte Al located vers ion s i ze in the transaction
ACQUIRED_LOCK_COUNT INTEGER Number of acquired locks in the trans action
LOCK_WAIT_COUNT INTEGER Number of lock wai ts in the transaction
LOCK_WAIT_TIME DOUBLE Second Accumulated lock wai t time in the trans action
LOG_SIZE BIGINT Byte Generated log amount in the transaction
CURRENT_STATEMENT_ID VARCHAR(256) Current s tatement ID
CURRENT_STATEMENT_SEQUENCE INTEGER Sequence number of the currently executedstatement
ALLOCATED_MEMORY_SIZE BIGINT Byte Memory s i ze occupied by the transaction
ACQUIRED_METALOCK_INDEX INTEGER Index of acquired meta lock
LOG_PARTITION_ID SMALLINT Log parti tion ID of the transaction
REDO_LOG_AMOUNT BIGINT Byte Size of redo log amount generated by thetransaction
UNDO_LOG_AMOUNT BIGINT Byte Size of undo log amount generated by thetransaction
MIN_MVCC_SNAPSHOT_TIMESTAMP BIGINT Logica l times tamp of the fi rs t executedstatement in the transaction
LAST_COMMIT_ID BIGINT Last commit ID of the transaction
ACTIVE_STATEMENT_COUNT INTEGER Number of opened curs ors in the transaction
ISOLATION_LEVEL VARCHAR(128) Isolation level of each transaction: READUNCOMMITTED, READ COMMITTED, REPEATABLEREAD, SERIALIZABLE
LOG_FLUSH_ENABLED VARCHAR(5) TRUE i f logging i s enabled for the transaction,FALSE otherwise
LOGGING_ENABLED VARCHAR(5) TRUE i f logging i s enabled for the transaction,FALSE otherwise
SAP HANA System Tables and Monitoring Views Reference
200 2012-12-19
M_UNDO_CLEANUP_FILES
Short description
Information about undo files and cleanup files
Full description
Each undo or cleanup file in the system is represented by one row in this view. Undo files contain informationneeded for transaction rollback. These files are removed on transaction end. If data is deleted but must stillbe accessible because of MVCC isolation, the corresponding information is written to cleanup files. Ontransaction end cleanup files are passed to history management. Garbage collection uses the cleanup files tofinally remove data. Undo files and cleanup files may be cached and reused because of performance issues.Cached files get assigned the type "FREE". Undo files for row store get the type "EXTERNALUNDO".
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
TYPE VARCHAR(16) Fi le type (UNDO, CLEANUP, EXTERNALUNDO,FREE)
TID BIGINT TID Transaction ID
PAGE_COUNT BIGINT Counter Page count
RAW_SIZE BIGINT Byte Raw s ize
CLEANUP_MARK BIGINT Cleanup pos i tion mark
NESTED_SESSION_ID INTEGER Nested sess ion ID
NESTED_SESSION_PARENT_ID INTEGER Nested sess ion parent ID
DEPENDENT_INDEX INTEGER Dependent index during redo
INDOUBT_FLAG VARCHAR(5) Indoubt flag for dis tributed transaction: 'TRUE','FALSE'
TENTATIVE_PRECOMMIT_POSITION BIGINT Tentative precommit pos i tion
SAP HANA System Tables and Monitoring Views Reference
201 2012-12-19
M_VERSION_MEMORY
Short description
Memory usage of row-store Multiversion Concurrency Control (MVCC) manager
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
ALLOCATED_MEMORY_SIZE BIGINT Byte Size of memory a l located for row-s tore vers ion s pace
USED_MEMORY_SIZE BIGINT Byte Size of memory actua l ly used by row-s tore vers ions
RECLAIMED_VERSION_SIZE BIGINT Byte Size of memory recla imed by row-s tore vers ion garbagecol lection
FREE_MEMORY_SIZE BIGINT Byte Size of memory freed and reusable in row-s tore vers ionspace
SAP HANA System Tables and Monitoring Views Reference
202 2012-12-19
M_VOLUMES
Short description
Volumes used by SAP HANA servers
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
SERVICE_NAME VARCHAR(256) Service name
VOLUME_ID INTEGER Volume ID
SUBPATH VARCHAR(512) Subpath appended to M_DISKS.PATH
LIVECACHE_STORE VARCHAR(10) Livecache i s enabled
REMOVE_STATUS VARCHAR(16) Remove progress
SAP HANA System Tables and Monitoring Views Reference
203 2012-12-19
M_VOLUME_FILES
Short description
Information about volume files
Full description
Information about files in the volume directories. All files in these directories will be shown, but onlyregistered files (that is, files currently used by the database) have a file type. TOTAL_SIZE is the size asreported by the file system.
The meaning of USED_SIZE depends on the file type:
DATA: Size of used and shadow pages in this data volume fileLOG: Used size equals TOTAL_SIZETRACE: Used size is zero for unused trace files and equals TOTAL_SIZE for used trace files
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Volume ID
FILE_TYPE VARCHAR(16) Type of fi le (DATA, LOG, TRACER, ...)
FILE_NAME VARCHAR(256) Fi le name
USED_SIZE BIGINT Size of used data within fi le
TOTAL_SIZE BIGINT Tota l fi le s i ze
SAP HANA System Tables and Monitoring Views Reference
204 2012-12-19
M_VOLUME_IO_STATISTICS
Short description
File access statistics
Note:This view has a resettable counterpart. This means, you can also see the values since the last reset inthe dependent view M_VOLUME_IO_STATISTICS_RESET. To reset the values, use the SQLcommand:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_VOLUME_IO_STATISTICS_RESET
or the management console command:
monitor reset -n M_VOLUME_IO_STATISTICS_RESET
Full description
This view shows information about basic I/O operations on I/O subsystems (that is, paths). Please refer toM_VOLUME_IO_PERFORMANCE_STATISTICS for detailed information about read/write performance onvarious buffer sizes.
TOTAL_READ/WRITE _SIZE is aggregated from M_VOLUME_IO_PERFORMANCE_STATISTICS. Note thatthe column TOTAL_IO_TIME is only an approximation of real I/O times and should not be used to computeexact throughput ratios.
Resetting this view implicitly resets the dependent child viewM_VOLUME_IO_PERFORMANCE_STATISTICS.
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers is tence Volume ID
PATH VARCHAR(512) Fi lesys tem path
FILESYSTEM_TYPE VARCHAR(16) Fi lesys tem type
TYPE VARCHAR(16) Type of conta ined fi les
CONFIGURATION VARCHAR(128) Configuration parameters
OPEN_CALL_COUNT BIGINT Counter Count of open ca l l s
CLOSE_CALL_COUNT BIGINT Counter Count of close ca l l s
EXISTS_CALL_COUNT BIGINT Counter Count of exis ts ca l l s
REMOVE_CALL_COUNT BIGINT Counter Count of remove ca l l s
RESIZE_CALL_COUNT BIGINT Counter Count of res ize ca l l s
SYNC_CALL_COUNT BIGINT Counter Count of sync ca l l s
GETSIZE_CALL_COUNT BIGINT Counter Count of get s i ze ca l l s
GETMODIFICATIONTIME_CALL_COUNT BIGINT Counter Count of get modi fication time ca l l s
GETDEVICEID_CALL_COUNT BIGINT Counter Count of get DeviceID ca l l s
ENQUEUED_WRITE_REQUESTS BIGINT Count of enqueued wri te requests(deprecated)
BLOCKED_WRITE_REQUESTS BIGINT Counter Count of blocked wri te requests
MAX_BLOCKED_WRITE_REQUESTS BIGINT Counter Max. count of blocked wri te requests
EOF_READS BIGINT Counter Count of EOF reads
TOTAL_SYNC_READS BIGINT Counter Count of synchronous reads
TOTAL_ASYNC_READS BIGINT Counter Count of as ynchronous reads withwaiting
TOTAL_TRIGGER_ASYNC_READS BIGINT Counter Count of triggered asynchronous reads
TRIGGER_ASYNC_READ_RATIO DOUBLE Percent Trigger-Ratio of as ynchronous reads
TOTAL_SHORT_READS BIGINT Counter Count of reads that read less bytesthan requested
TOTAL_FULL_RETRY_READS BIGINT Counter Count of ful l retry reads
TOTAL_FAILED_READS BIGINT Counter Count of fa i led reads
TOTAL_READ_SIZE BIGINT Byte Size of read data
TOTAL_READ_TIME BIGINT Microsecond Tota l read time
TOTAL_APPENDS BIGINT Counter Count of appends
TOTAL_SYNC_WRITES BIGINT Counter Count of synchronous wri tes
TOTAL_ASYNC_WRITES BIGINT Counter Count of as ynchronous wri tes wi thwaiting
SAP HANA System Tables and Monitoring Views Reference
205 2012-12-19
TOTAL_TRIGGER_ASYNC_WRITES BIGINT Counter Count of triggered asynchronouswri tes
TRIGGER_ASYNC_WRITE_RATIO DOUBLE Percent Trigger-Ratio of as ynchronous wri tes
TOTAL_SHORT_WRITES BIGINT Counter Count of wri tes that wrote les s bytesthan requested
TOTAL_FULL_RETRY_WRITES BIGINT Counter Count of ful l retry wri tes
TOTAL_FAILED_WRITES BIGINT Counter Count of fa i led wri tes
TOTAL_WRITE_SIZE BIGINT Byte Size of wri tten data
TOTAL_WRITE_TIME BIGINT Microsecond Tota l wri te time
TOTAL_IO_TIME BIGINT Microsecond Tota l IO time
SAP HANA System Tables and Monitoring Views Reference
206 2012-12-19
M_VOLUME_IO_STATISTICS_RESET
Short description
File access statistics (since last reset)
This view contains values accumulated since the last reset of the main view M_VOLUME_IO_STATISTICS.Please refer to M_VOLUME_IO_STATISTICS for information about the structure and use of this view.
In addition to the members mentioned in M_VOLUME_IO_STATISTICS, this view also contains a timestampfield RESET_TIME, which indicates the last time the data was reset.
SAP HANA System Tables and Monitoring Views Reference
207 2012-12-19
M_VOLUME_SIZES
Short description
Volume sizes used by SAP HANA servers
Structure
Column name Data type Unit Description
VOLUME_ID INTEGER Volume ID. See M_VOLUMES
DISK_ID INTEGER Disk ID. See M_DISKS
DATA_SIZE BIGINT Byte Data area s i ze
LOG_SIZE BIGINT Byte Log area s i ze
SAP HANA System Tables and Monitoring Views Reference
208 2012-12-19
M_WORKLOAD
Short description
Database workload collected every minute
Structure
Column name Data type Unit Description
HOST VARCHAR(64) Host name
PORT INTEGER Interna l port
EXECUTION_COUNT BIGINT Tota l count of a l l executed s tatements fordata manipulation, data defini tion, andsystem control
COMPILATION_COUNT BIGINT Number of s tatement preparation
UPDATE_TRANSACTION_COUNT BIGINT Number of update transactions
COMMIT_COUNT BIGINT Number of transaction commits
ROLLBACK_COUNT BIGINT Number of transaction rol lbacks
CURRENT_EXECUTION_RATE DOUBLE Current s tatement execution count per minute
PEAK_EXECUTION_RATE DOUBLE Peak s tatement execution count per minute
CURRENT_COMPILATION_RATE DOUBLE Current s tatement preparation count perminute
PEAK_COMPILATION_RATE DOUBLE Peak s tatement preparation count per minute
CURRENT_UPDATE_TRANSACTION_RATE DOUBLE Current update transaction count per minute
PEAK_UPDATE_TRANSACTION_RATE DOUBLE Peak update transaction count per minute
CURRENT_TRANSACTION_RATE DOUBLE Current trans action count per minute
PEAK_TRANSACTION_RATE DOUBLE Peak transaction count per minute
CURRENT_COMMIT_RATE DOUBLE Tota l number of commits per minute
PEAK_COMMIT_RATE DOUBLE Peak commit counts per minute
CURRENT_ROLLBACK_RATE DOUBLE Tota l number of rol lbacks per minute
PEAK_ROLLBACK_RATE DOUBLE Peak rol lback count per minute
CURRENT_MEMORY_USAGE_RATE DOUBLE Tota l s i ze of used memory per minute
PEAK_MEMORY_USAGE_RATE DOUBLE Peak s i ze of us ed memory per minute
SAP HANA System Tables and Monitoring Views Reference
209 2012-12-19
M_XS_APPLICATIONS
Short description
Applications deployed and running in SAP HANA XS
Structure
Column name Data type Unit Description
APPLICATION_NAME NVARCHAR(256) Name of the appl ication
DELIVERY_UNIT NVARCHAR(256) Name of the del ivery uni t that this appl ication belongs to
VENDOR NVARCHAR(256) Vendor of the del ivery uni t
VERSION NVARCHAR(256) Vers ion information of the del ivery uni t
VERSION_SP NVARCHAR(16) SP vers ion information of the del ivery uni t
VERSION_PATCH NVARCHAR(16) Patch vers ion information of the del ivery uni t
SAP HANA System Tables and Monitoring Views Reference
210 2012-12-19
M_XS_APPLICATION_ISSUES
Short description
Issues related to applications in SAP HANA XS
Structure
Column name Data type Unit Description
APPLICATION_NAME NVARCHAR(256) Name of the appl ication
ERROR_MESSAGE VARCHAR(1024) Textua l description of the i s sue
SAP HANA System Tables and Monitoring Views Reference
211 2012-12-19
OBJECTS
Short description
Available objects
Structure
Column name Data type Unit Description
OBJECT_CATEGORY VARCHAR(1) Object category of the object (defaul t = nul l )
SCHEMA_NAME NVARCHAR(256) Schema name of the object
OBJECT_NAME NVARCHAR(256) Object name
OBJECT_TYPE VARCHAR(32) Object type
OBJECT_OID BIGINT Object ID
SAP HANA System Tables and Monitoring Views Reference
212 2012-12-19
OBJECT_DEPENDENCIES
Short description
Dependencies between objects, for example, views which refer to a specific table
Structure
Column name Data type Unit Description
BASE_SCHEMA_NAME NVARCHAR(256) Schema name of the base object
BASE_OBJECT_NAME NVARCHAR(256) Object name of the base object
BASE_OBJECT_TYPE VARCHAR(32) Type of the base object
DEPENDENT_SCHEMA_NAME NVARCHAR(256) Schema name of the dependent object
DEPENDENT_OBJECT_NAME NVARCHAR(256) Object name of the dependent object
DEPENDENT_OBJECT_TYPE VARCHAR(32) Type of the base dependent
DEPENDENCY_TYPE INTEGER Type of dependency between base and dependentobject
SAP HANA System Tables and Monitoring Views Reference
213 2012-12-19
OWNERSHIP
Short description
Ownership of available objects when users create any object in other users' schemas
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name of the object
OWNER_NAME NVARCHAR(256) Name of the object owner
OBJECT_NAME NVARCHAR(256) Object name
OBJECT_TYPE VARCHAR(32) Object type
OBJECT_OID BIGINT Object ID
SAP HANA System Tables and Monitoring Views Reference
214 2012-12-19
PRIVILEGES
Short description
Available privileges
Structure
Columnname
Data type Unit Description
NAME NVARCHAR(256) Privi lege name
TYPE VARCHAR(32) 'SYSTEMPRIVILEGE', 'OBJECTPRIVILEGE', 'PACKAGEPRIVILEGE','APPLICATIONPRIVILEGE'
SAP HANA System Tables and Monitoring Views Reference
215 2012-12-19
PROCEDURES
Short description
Available stored procedures
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name of the s tored procedure
PROCEDURE_NAME NVARCHAR(256) Name of the s tored procedure
PROCEDURE_OID BIGINT Object ID of the s tored procedure
INPUT_PARAMETER_COUNT INTEGER Input type parameter count
OUTPUT_PARAMETER_COUNT INTEGER Output type parameter count
INOUT_PARAMETER_COUNT INTEGER In-out type parameter count
RESULT_SET_COUNT INTEGER Resul t set count
IS_UNICODE VARCHAR(5) Speci fies whether the s tored procedure conta insUnicode or not: 'TRUE', 'FALSE'
DEFINITION NCLOB Query s tring of the s tored procedure
PROCEDURE_TYPE VARCHAR(10) Type of the s tored procedure
READ_ONLY VARCHAR(5) Speci fies whether the procedure i s read-only or not:'TRUE', 'FALSE'
IS_VALID VARCHAR(5) Speci fies whether the procedure i s va l id or not. Thisbecomes 'FALSE' when i ts base objects are changedor dropped: 'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
216 2012-12-19
PROCEDURE_OBJECTS
Short description
Contains results of the system procedure GET_PROCEDURE_OBJECTS
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(128) Schema name of the s tored procedure
PROCEDURE_NAME NVARCHAR(128) Procedure name of the s tored procedure
OBJECT_SCHEMA NVARCHAR(128) Schema name of the object in the s tored procedure code
OBJECT_NAME NVARCHAR(128) Object name of the object in the s tored procedure code
OBJECT_TYPE_ID INTEGER Type ID of the object in the s tored procedure code
OBJECT_TYPE VARCHAR(32) Type of the object in the s tored procedure code
START_POSITION INTEGER Start pos i tion of the object in the s tored procedure code
END_POSITION INTEGER End pos i tion of the object in the s tored procedure code
SAP HANA System Tables and Monitoring Views Reference
217 2012-12-19
PROCEDURE_PARAMETERS
Short description
Parameters of stored procedures
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name of the s tored procedure
PROCEDURE_NAME NVARCHAR(256) Name of the s tored procedure
PROCEDURE_OID BIGINT Object ID of the s tored procedure
PARAMETER_NAME NVARCHAR(256) Parameter name
DATA_TYPE_ID SMALLINT Data type ID
DATA_TYPE_NAME VARCHAR(16) Data type name
LENGTH INTEGER Parameter length
SCALE INTEGER Sca le of the parameter
POSITION INTEGER Ordina l pos i tion of the parameter
TABLE_TYPE_SCHEMA NVARCHAR(256) Schema name of table type i f DATA_TYPE_NAME isTABLE_TYPE
TABLE_TYPE_NAME NVARCHAR(256) Name of table type i f DATA_TYPE_NAME is TABLE_TYPE
PARAMETER_TYPE VARCHAR(7) Parameter mode: 'IN', 'OUT', 'INOUT'
HAS_DEFAULT_VALUE VARCHAR(5) Speci fies whether the parameter has a defaul t va lue or not:'TRUE', 'FALSE'
IS_NULLABLE VARCHAR(5) Speci fies whether the parameter accepts a nul l va lue: 'TRUE','FALSE'
SAP HANA System Tables and Monitoring Views Reference
218 2012-12-19
QUERY_PLANS
Short description
Plans how to handle query execution
Structure
Column name Data type Unit Description
PLAN_ID VARCHAR(256) Plan ID
OPERATOR_NAME VARCHAR(5000) Operator name
OPERATOR_DETAILS NCLOB Deta i led information on operators in the query plan
OBJECT_NAME NVARCHAR(256) Object name
SUBTREE_COST DOUBLE Subtree cost
INPUT_CARDINALITY DOUBLE Input cardina l i ty
OUTPUT_CARDINALITY DOUBLE Output cardina l i ty
OPERATOR_ID INTEGER Operator ID
PARENT_OPERATOR_ID INTEGER Parent operator ID
LEVEL INTEGER Level
POSITION INTEGER Pos i tion
TIMESTAMP TIMESTAMP Timestamp
HOST VARCHAR(256) Host where the plan operator i s executed
PORT INTEGER Port where the plan operator i s executed
SAP HANA System Tables and Monitoring Views Reference
219 2012-12-19
REFERENTIAL_CONSTRAINTS
Short description
Referential constraints
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
COLUMN_NAME NVARCHAR(256) Column name
POSITION SMALLINT Column pos i tion in this cons tra int
CONSTRAINT_NAME NVARCHAR(256) Constra int name
REFERENCED_SCHEMA_NAME NVARCHAR(256) Schema name of the table referenced by thisconstra int
REFERENCED_TABLE_NAME NVARCHAR(256) Table name of the table referenced by thisconstra int
REFERENCED_COLUMN_NAME NVARCHAR(256) Name of column referenced by this column
REFERENCED_CONSTRAINT_NAME NVARCHAR(256) Name of unique constra int referenced by thisconstra int
UPDATE_RULE VARCHAR(16) Update rule: 'CASCADE', 'SET NULL', 'SET DEFAULT','RESTRICT'
DELETE_RULE VARCHAR(16) Delete rule: 'CASCADE', 'SET NULL', 'SET DEFAULT','RESTRICT'
SAP HANA System Tables and Monitoring Views Reference
220 2012-12-19
REORG_OVERVIEW
Short description
Overview of landscape redistributions
Structure
Column name Data type Unit Description
REORG_ID INTEGER Reorg ID
STATUS VARCHAR(32) Status message
START_DATE TIMESTAMP Start date
END_DATE TIMESTAMP End date
USER VARCHAR(256) User
ALGORITHM_ID INTEGER Algori thm ID
PARAMETERS VARCHAR(1024) Parameter va lues for a lgori thm
SAP HANA System Tables and Monitoring Views Reference
221 2012-12-19
REORG_PLAN
Short description
Current plan for landscape reorganization
Structure
Column name Data type Unit Description
STEP_ID INTEGER Step ID
SCHEMA_NAME NVARCHAR(256) Table name
TABLE_NAME NVARCHAR(256) Schema name
NEW_PARTITION_SPEC NCLOB New parti tion speci fi cation
OLD_PARTITION_SPEC NCLOB Old parti tion speci fi cation
PARTITION INTEGER Parti tion ID
NEW_HOST VARCHAR(64) Host where the table/parti tion i s moved to
NEW_PORT INTEGER Port where the table/parti tion i s moved to
OLD_HOST VARCHAR(64) Host where the table/parti tion was located
OLD_PORT INTEGER Port where the table/parti tion was located
SAP HANA System Tables and Monitoring Views Reference
222 2012-12-19
REORG_PLAN_INFOS
Short description
Additional informations about current landscape reorganization plan
Structure
Column name Data type Unit Description
KEY VARCHAR(256) Key
VALUE VARCHAR(1024) Va lue
SAP HANA System Tables and Monitoring Views Reference
223 2012-12-19
REORG_STEPS
Short description
Details of landscape redistribution
Structure
Column name Data type Unit Description
REORG_ID INTEGER Reorg ID
STEP_ID INTEGER Step ID
SCHEMA_NAME NVARCHAR(256) Table name
TABLE_NAME NVARCHAR(256) Schema name
NEW_PARTITION_SPEC NCLOB New parti tion speci fi cation
OLD_PARTITION_SPEC NCLOB Old parti tion speci fi cation
PARTITION INTEGER Parti tion ID
NEW_HOST VARCHAR(64) Host where the table/parti tion i s moved to
NEW_PORT INTEGER Port where the table/parti tion i s moved to
OLD_HOST VARCHAR(64) Host where the table/parti tion was located
OLD_PORT INTEGER Port where the table/parti tion was located
STATUS VARCHAR(32) Status message
ERROR VARCHAR(1024) Error message
START_DATE TIMESTAMP Start date
END_DATE TIMESTAMP End date
SAP HANA System Tables and Monitoring Views Reference
224 2012-12-19
ROLES
Short description
Shows available roles
Structure
Column name Data type Unit Description
ROLE_NAME NVARCHAR(256) Role name
ROLE_ID BIGINT Role ID
ROLE_MODE VARCHAR(5) Mode of the role: 'LOCAL'
GLOBAL_IDENTITY NVARCHAR(256) Identi ty speci fied for role with ROLE_MODE GLOBAL
CREATOR NVARCHAR(256) Name of user who created the role
CREATE_TIME TIMESTAMP Time the role was created
SAP HANA System Tables and Monitoring Views Reference
225 2012-12-19
SAML_PROVIDERS
Short description
Shows available SAML provider
Structure
Column name Data type Unit Description
SAML_PROVIDER_NAME NVARCHAR(256) Provider name
SUBJECT_NAME NVARCHAR(512) Subject of the X.509 certi fi cate of the SAML provider
ISSUER_NAME NVARCHAR(512) Is suer of the X.509 certi fi cate of the SAML provider
SAP HANA System Tables and Monitoring Views Reference
226 2012-12-19
SAML_USER_MAPPINGS
Short description
Shows the SAML providers known for each user
Structure
Column name Data type Unit Description
USER_NAME NVARCHAR(256) User name
SAML_PROVIDER_NAME NVARCHAR(256) Provider name
EXTERNAL_IDENTITY NVARCHAR(256) Name of the user known to the provider
SAP HANA System Tables and Monitoring Views Reference
227 2012-12-19
SCHEMAS
Short description
Shows available schemas
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
SCHEMA_OWNER NVARCHAR(256) Schema owner
HAS_PRIVILEGES VARCHAR(5000) Shows i f user i s schema owner or has any privi lege for theschema or any object wi thin the schema: 'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
228 2012-12-19
SEQUENCES
Short description
Available sequences
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name of the sequence
SEQUENCE_NAME NVARCHAR(256) Name of the sequence
SEQUENCE_OID BIGINT Object ID of the sequence
START_NUMBER BIGINT Start number
MIN_VALUE BIGINT Minimum va lue of the sequence
MAX_VALUE BIGINT Maximum va lue of the sequence
INCREMENT_BY BIGINT Incrementa l va lue
IS_CYCLED VARCHAR(5) Speci fies whether the sequence wi l l s tart wi th MIN_VALUE afterhaving reached MAX_VALUE in case of INCREMENT_BY greaterthan 0 or s tart wi th MAX_VALUE after having reached MIN_VALUEin case of INCREMENT_BY less than 0: 'TRUE', 'FALSE'
RESET_BY_QUERY NCLOB Reset by query s tring for the sequence
SAP HANA System Tables and Monitoring Views Reference
229 2012-12-19
SESSION_COOKIES
Short description
Shows info about available session cookies
Structure
Column name Data type Unit Description
USER_NAME NVARCHAR(256) Name of the user this s ess ion cookie was created for
CLIENT_HOST NVARCHAR(64) Host name of cl ient machine
CLIENT_PID BIGINT Cl ient Process ID
CREATE_TIME TIMESTAMP The time the sess ion cookie was created
LAST_CONNECT_TIME TIMESTAMP The las t time the sess ion cookie was used for success ful re-connection
SESSION_END_TIME TIMESTAMP The time the main connection has ended
SAP HANA System Tables and Monitoring Views Reference
230 2012-12-19
SQLSCRIPT_TRACE
Short description
Contains the names of the local temporary tables created by the SQLScript TRACE operator
Structure
Column name Data type Unit Description
TRACE_TIMESTAMP TIMESTAMP Timestamp generated when a TRACE i s performed
TRANSACTION_ID INTEGER Transaction object ID
STATEMENT_ID BIGINT Logica l ID of the outmost us er s tatement, which triggers theprocedure execution (di rect or indi rect)
PROCEDURE_OID BIGINT The procedure object ID
VARIABLE_NAME NVARCHAR(256) The interna l variable name used for the variable to which theTRACE operator i s ass igned
TABLE_NAME NVARCHAR(256) The name of the loca l temporary table conta ining the tableresul t
SAP HANA System Tables and Monitoring Views Reference
231 2012-12-19
STATISTICS
Short description
Stores a histogram of tables. The histogram can be used by query optimizer to calculate size of anintermediate result
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
COLUMN_NAME NVARCHAR(256) Column name
POSITION SMALLINT Ordina l pos i tion of the column in the table
MINVALUE DOUBLE Min va lue of the column. The va lue i s manipulated into theDouble type va lue
MINVALUE_STR NVARCHAR(256) String representation of the column
MAXVALUE DOUBLE Max va lue of the column. The va lue i s manipulated into theDouble type va lue
MAXVALUE_STR NVARCHAR(256) String representation of the column
COUNT DOUBLE Number of not nul l va lue of the column
DCOUNT DOUBLE Number of dis tinct va lue of the column
NULLCOUNT DOUBLE Number of nul l va lues of the column
SAP HANA System Tables and Monitoring Views Reference
232 2012-12-19
STRUCTURED_PRIVILEGES
Short description
Available structured privileges
Structure
Column name Data type Unit Description
STRUCTURED_PRIVILEGE_NAME NVARCHAR(256) Name of the s tructured privi lege
RESTRICTION_TYPE NVARCHAR(256) Type of the res triction: 'CUBERESTRICTION','ACTIVITYRESTRICTION', 'VALIDITYRESTRICTION','DIMENSIONRESTRICTION'
DIMENSION_ATTRIBUTE NVARCHAR(256) Name of the dimens ion attribute
FILTER_ID BIGINT Number of fi l ter to be able to combine a l loperators/ operands belonging to one fi l ter
FILTER_TYPE VARCHAR(16) Type of fi l ter: 'STATIC', 'DYNAMIC'
NEGATED VARCHAR(5) Operator was negated in fi l ter; 'TRUE', 'FALSE'
OPERATOR VARCHAR(16) Type of operator: 'CONTAINS PATTERN', 'BETWEEN','EQUAL', 'IN', 'LESS THAN', 'LESS EQUAL', 'GREATERTHAN', 'GREATER EQUAL'
OPERAND_ORDER INTEGER Sequence of operands per fi l ter ID
OPERAND NVARCHAR(513) Va lue the operator wi l l be compared to
SAP HANA System Tables and Monitoring Views Reference
233 2012-12-19
SYNONYMS
Short description
Available synonyms
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name of the synonym
SYNONYM_NAME NVARCHAR(256) Name of the synonym
SYNONYM_OID BIGINT Object ID of the synonym
OBJECT_SCHEMA NVARCHAR(256) Schema name of the referenced object
OBJECT_NAME NVARCHAR(256) Name of the referenced object
OBJECT_TYPE VARCHAR(32) Type of the referenced object
IS_COLUMN_OBJECT VARCHAR(5) Speci fies whether this view i s a column object or not: 'TRUE','FALSE'
IS_VALID VARCHAR(5) Speci fies whether the synonym is va l id or not. This becomes'FALSE' when i ts base object i s dropped: 'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
234 2012-12-19
TABLES
Short description
Available tables
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
TABLE_OID BIGINT Object ID of the table
COMMENTS NVARCHAR(5000) Table des cription
FIXED_PART_SIZE SMALLINT Fixed part s i ze of the table
IS_LOGGED VARCHAR(5) Speci fies whether or not logging was on forthe table at las t res tart time: 'TRUE', 'FALSE'
IS_SYSTEM_TABLE VARCHAR(5) Speci fies whether the table i s a sys tem table:'TRUE', 'FALSE'
IS_COLUMN_TABLE VARCHAR(5) Speci fies whether the table i s a columntable: 'TRUE', 'FALSE'
TABLE_TYPE VARCHAR(16) Speci fies type of the table: 'ROW', 'COLUMN','HYBRID'
IS_INSERT_ONLY VARCHAR(5) Speci fies whether the table i s an 'ins ert only'table: 'TRUE', 'FALSE'
IS_TENANT_SHARED_DATA VARCHAR(5) Speci fies whether the table can be sharedamong other ins tances : 'TRUE', 'FALSE'
IS_TENANT_SHARED_METADATA VARCHAR(5) Speci fies whether the table i s a globa l table:'TRUE', 'FALSE'
SESSION_TYPE VARCHAR(7) Sess ion type: 'NONE', 'SIMPLE', 'HISTORY'. For'HISTORY', time travel i s poss ible
IS_TEMPORARY VARCHAR(5) Speci fies whether the table i s a temporarytable: 'TRUE', 'FALSE'
TEMPORARY_TABLE_TYPE VARCHAR(8) Temporary table type
IS_USER_DEFINED_TYPE VARCHAR(5) 'TRUE' i f user defined table type, 'FALSE'otherwise
HAS_PRIMARY_KEY VARCHAR(5) 'TRUE' i f the table has a primary key, el s e'FALSE'. Only va l id for column s tore tables
PARTITION_SPEC NCLOB Deta i l s peci fi cation of table parti tioning.Only va l id for column s tore tables
USES_EXTKEY VARCHAR(5) 'TRUE' i f the table uses an externa l key, el se'FALSE'. Only va l id for column s tore tables
AUTO_MERGE_ON VARCHAR(5) 'TRUE' i f automatic del ta table merge i sactivated for the table, el se 'FALSE'. Only va l idfor column s tore tables
USES_DIMFN_CACHE VARCHAR(5) 'TRUE' i f DimFunctionCache feature i s used bythe table, el se 'FALSE'. Only va l id for columnstore tables
IS_PUBLIC VARCHAR(5) 'TRUE' i f the table i s publ ic, el se 'FALSE'. Onlyva l id for column s tore tables
AUTO_OPTIMIZE_COMPRESSION_ON VARCHAR(5) 'TRUE' i f automatic optimize compress ion i sactivated for the table, el se 'FALSE'. Only va l idfor column s tore tables
COMPRESSED_EXTKEY VARCHAR(5) 'TRUE' i f the table uses a compressedexterna l key, el se 'FALSE'. Only va l id forcolumn s tore tables
HAS_TEXT_FIELDS VARCHAR(5) 'TRUE' i f the table has at leas t one column oftype TEXT, el se 'FALSE'. Only va l id for columnstore tables
USES_QUEUE_TABLE VARCHAR(5) 'TRUE' i f the table uses a queue table, el s e'FALSE'. Only va l id for column s tore tables
IS_PRELOAD VARCHAR(5) 'TRUE' i f the table uses preloading, el se'FALSE'. Only va l id for column s tore tables
IS_PARTIAL_PRELOAD VARCHAR(5) 'TRUE' i f the table uses partia l preloading,else 'FALSE'. Only va l id for column s toretables
UNLOAD_PRIORITY TINYINT Speci fies unload priori ty of the table: 0 - 9. 0means not unloadable, 1 means la tes tunload, and 9 means earl ies t unload
HAS_SCHEMA_FLEXIBILITY VARCHAR(5) 'TRUE' i f the table has schema flexibi l i ty, el se'FALSE'. Only va l id for column s tore tables
SAP HANA System Tables and Monitoring Views Reference
235 2012-12-19
SAP HANA System Tables and Monitoring Views Reference
236 2012-12-19
TABLE_COLUMNS
Short description
Available table columns
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
TABLE_OID BIGINT Object ID of the table
COLUMN_NAME NVARCHAR(256) Name of the column
POSITION INTEGER Ordina l pos i tion of the column in a record
DATA_TYPE_ID SMALLINT SQL data type ID of the column
DATA_TYPE_NAME VARCHAR(16) SQL data type name of the column
OFFSET SMALLINT Offset of the column in the record
LENGTH INTEGER Number of chars for char types , number of max digi ts fornumeric types ; number of chars for datetime types ,number of bytes for LOB types
SCALE INTEGER Numeric types : the maximum number of digi ts to theright of the decimal point; time, timestamp: thedecimal digi ts are defined as the number of digi ts tothe right of the decimal point in the second'scomponent of the data
IS_NULLABLE VARCHAR(5) Speci fies whether the column i s a l lowed to accept nul lva lue: 'TRUE', 'FALSE'
DEFAULT_VALUE NVARCHAR(5000) Defaul t va lue of the column
COLLATION NVARCHAR(256) Col la tion used for this column
COMMENTS NVARCHAR(5000) Description for this column
MAX_VALUE NVARCHAR(5000) Maximum va lue
MIN_VALUE NVARCHAR(5000) Minimum va lue
CS_DATA_TYPE_ID INTEGER Column s tore data type ID
CS_DATA_TYPE_NAME VARCHAR(16) Column s tore data type name
DDIC_DATA_TYPE_ID INTEGER DDIC data type ID
DDIC_DATA_TYPE_NAME VARCHAR(7) DDIC data type name
COMPRESSION_TYPE VARCHAR(9) Type of compress ion: 'DEFAULT', 'PREFIXED', 'SPARSE','CLUSTERED', 'INDIRECT', 'RLE'. Columns inTABLE_COLUMNS show the defaul t va lue which can bespeci fied during table creation. They can a lso beupdated us ing an 'ALTER TABLE' s tatement.
INDEX_TYPE VARCHAR(9) Type of index: 'NONE', 'FULL', 'SIGNATURE'
COLUMN_ID BIGINT ID of the column
PRELOAD VARCHAR(5) Speci fies i f column i s preloaded: 'TRUE', 'FALSE'
GENERATED_ALWAYS_AS NVARCHAR(1000) Speci fies the expres s ion of the column created byGENERATED ALWAYS AS
HAS_SCHEMA_FLEXIBILITY VARCHAR(5) Speci fies i f column has schema flexibi l i ty: 'TRUE','FALSE'
FUZZY_SEARCH_INDEX VARCHAR(5) Speci fies i f column has fuzzy s earch index: 'TRUE','FALSE'
FUZZY_SEARCH_MODE VARCHAR(16) Speci fies fuzzy search mode
MEMORY_THRESHOLD INTEGER Speci fies memory threshold in bytes for LOB types
SAP HANA System Tables and Monitoring Views Reference
237 2012-12-19
TABLE_COLUMNS_ODBC
Short description
Available table columns
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
TABLE_OID BIGINT Object ID of the table
COLUMN_NAME NVARCHAR(256) Name of the column
DATA_TYPE_ID SMALLINT SQL data type ID of the column
DATA_TYPE_NAME VARCHAR(16) SQL data type name of the column
COLUMN_SIZE INTEGER Tota l number of characters required to display the va luewhen i t i s converted to characters
BUFFER_LENGTH INTEGER Length in bytes required to trans fer the va lue
DECIMAL_DIGITS INTEGER Tota l number of s igni fi cant digi ts to the right of thedecimal point
NUM_PREC_RADIX INTEGER For numeric data types ei ther 10 or 2. Speci fies how tointerpret columns COLUMN_SIZE and DECIMAL_DIGITS
NULLABLE VARCHAR(5) Speci fies whether the column i s a l lowed to accept nul lva lue: 'TRUE', 'FALSE'
COLUMN_DEF NVARCHAR(5000) Defaul t va lue of the column
SQL_DATA_TYPE SMALLINT SQL data type ID of the column
SQL_DATETIME_SUB SMALLINT Subtype code for datetime data types
CHAR_OCTET_LENGTH INTEGER Maximum length in bytes of a character or binary data typecolumn
POSITION INTEGER Ordina l pos i tion of the column in a record
COMMENTS NVARCHAR(5000) Description for this column
SAP HANA System Tables and Monitoring Views Reference
238 2012-12-19
TABLE_GROUPS
Short description
Overview of table groups relations
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
TABLE_NAME NVARCHAR(256) Table name
GROUP_TYPE NVARCHAR(256) Group type
SUBTYPE NVARCHAR(256) Subtype
GROUP_NAME NVARCHAR(256) Group name
SAP HANA System Tables and Monitoring Views Reference
239 2012-12-19
TRANSACTION_HISTORY
Short description
Committed transactions and their users
Structure
Column name Data type Unit Description
COMMIT_TIME TIMESTAMP Timestamp
COMMIT_ID BIGINT ID of the committed transaction
APP_USER NVARCHAR(256) User that used the transaction
SAP HANA System Tables and Monitoring Views Reference
240 2012-12-19
TRIGGERS
Short description
Triggers defined for tables
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name of the trigger
TRIGGER_NAME NVARCHAR(256) Trigger name
TRIGGER_OID BIGINT Object ID of the trigger
OWNER_NAME NVARCHAR(256) Name of the trigger owner
OWNER_OID BIGINT Object ID of the trigger owner
SUBJECT_TABLE_SCHEMA NVARCHAR(256) Schema name of the table, the trigger i s defined for
SUBJECT_TABLE_NAME NVARCHAR(256) Table name of the table, the trigger i s defined for
TRIGGER_ACTION_TIME VARCHAR(10) Time the trigger i s executed: 'BEFORE', 'AFTER', 'INSTEADOF' the speci fied event
TRIGGER_EVENT VARCHAR(7) Event, the trigger i s defined for: 'INSERT', 'UPDATE','DELETE'
TRIGGERED_ACTION_LEVEL VARCHAR(9) Level of the event, where the triggered action wi l lhappen: 'ROW', 'STATEMENT'
DEFINITION NCLOB Query s tring of the trigger
IS_VALID VARCHAR(5) Speci fies whether the trigger i s va l id or not. Thisbecomes 'FALSE' when i ts base objects are changed ordropped: 'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
241 2012-12-19
USERS
Short description
All users
Structure
Column name Data type Unit Description
USER_NAME NVARCHAR(256) Name of the user
USER_ID BIGINT ID of the user
USER_MODE VARCHAR(8) Mode of the us er: 'LOCAL', 'GLOBAL', 'EXTERNAL'
EXTERNAL_IDENTITY NVARCHAR(256) Externa l identi ty of the us er
CREATOR NVARCHAR(256) Creator of the user
CREATE_TIME TIMESTAMP Creation time
LAST_SUCCESSFUL_CONNECT TIMESTAMP Time of the las t success ful connect of the user
LAST_INVALID_CONNECT_ATTEMPT TIMESTAMP Time of the las t inva l id connect attempt
INVALID_CONNECT_ATTEMPTS INTEGER Number of inva l id connect attempts s ince las tsuccess ful connect
ADMIN_GIVEN_PASSWORD VARCHAR(5) Speci fies i f the password was given byadminis trator or by the user hims el f: 'TRUE','FALSE'
PASSWORD_CHANGE_TIME TIMESTAMP Time of las t password change, NULL, i fpassword-l i fetime wi l l not be checked for thisuser
PASSWORD_CHANGE_NEEDED VARCHAR(5) Speci fies i f user i s forced to change hispassword himsel f: 'TRUE', 'FALSE'
USER_DEACTIVATED VARCHAR(5) Speci fies i f user i s dectivated: 'TRUE', 'FALSE'
DEACTIVATION_TIME TIMESTAMP Time given with expl ici t deactivation commandfor this user
IS_PASSWORD_ENABLED VARCHAR(5) Authentication us ing password i s enabled:'TRUE', 'FALSE'
IS_KERBEROS_ENABLED VARCHAR(5) Authentication us ing KERBEROS i s enabled:'TRUE', 'FALSE'
IS_SAML_ENABLED VARCHAR(5) Authentication us ing SAML i s enabled: 'TRUE','FALSE'
SAP HANA System Tables and Monitoring Views Reference
242 2012-12-19
USER_PARAMETERS
Short description
All parameters and their values, which have been assigned to users in the system (using CREATE USER ... SETPARAMETER or ALTER USER ... SET PARAMETER)
Structure
Column name Data type Unit Description
USER_NAME NVARCHAR(256) Name of the user
PARAMETER NVARCHAR(256) Parameter name: CLIENT
VALUE NVARCHAR(256) Parameter va lue
SAP HANA System Tables and Monitoring Views Reference
243 2012-12-19
VIEWS
Short description
Available views
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
VIEW_NAME NVARCHAR(256) View name
VIEW_OID BIGINT Object ID of the view
IS_UNICODE VARCHAR(5) Speci fies whether the query s tring conta insUnicode: 'TRUE', 'FALSE'
IS_READ_ONLY VARCHAR(5) Speci fies whether this view i s read-only orupdatable: 'TRUE', 'FALSE'
HAS_CHECK_OPTION VARCHAR(5) Speci fies whether this view has an updatableview condi tion: 'TRUE', 'FALSE'
HAS_COLUMN_ALIASES VARCHAR(5) Speci fies whether the view has a columns a l ias :'TRUE', 'FALSE'
DEFINITION NCLOB View defini tion
COMMENTS NVARCHAR(5000) View description
IS_COLUMN_VIEW VARCHAR(5) Speci fies whether this view i s a column view ornot: 'TRUE', 'FALSE'
VIEW_TYPE VARCHAR(16) Type of view : 'ROW', 'OLAP', 'JOIN', 'HIERARCHY','CALC'
IS_TENANT_SHARED_METADATA VARCHAR(5) Speci fies whether the table i s a globa l table ornot: 'TRUE', 'FALSE'
IS_VALID VARCHAR(5) Speci fies whether the view i s va l id or not. Thisbecomes 'FALSE' when i ts base objects arechanged or dropped: 'TRUE', 'FALSE'
SAP HANA System Tables and Monitoring Views Reference
244 2012-12-19
VIEW_COLUMNS
Short description
Available view columns
Structure
Column name Data type Unit Description
SCHEMA_NAME NVARCHAR(256) Schema name
VIEW_NAME NVARCHAR(256) View name
VIEW_OID BIGINT Object ID of the view
COLUMN_NAME NVARCHAR(256) View column name
POSITION INTEGER Ordina l pos i tion of the view column
DATA_TYPE_ID SMALLINT Data type ID
DATA_TYPE_NAME VARCHAR(16) Data type name
OFFSET SMALLINT Offset of the column in a record
LENGTH INTEGER Number of chars for character types ; max number ofdigi ts for numeric types ; number of chars for datetimetypes ; number of bytes for LOB types
SCALE INTEGER Numeric types : the maximum number of digi ts to theright of the decimal point; time, timestamp: thedecimal digi ts are defined as the number of digi ts tothe right of the decimal point in the second'scomponent of the data
IS_NULLABLE VARCHAR(5) Speci fies whether the column i s a l lowed to accept nul lva lue: 'TRUE', 'FALSE'
DEFAULT_VALUE NVARCHAR(5000) Defaul t va lue
COLLATION NVARCHAR(256) Col la tion
COMMENTS NVARCHAR(5000) Description for this column
MAX_VALUE NVARCHAR(5000) Maximum va lue
MIN_VALUE NVARCHAR(5000) Minimum va lue
CS_DATA_TYPE_ID INTEGER Column s tore data type ID
CS_DATA_TYPE_NAME VARCHAR(16) Column s tore data type name
DDIC_DATA_TYPE_ID INTEGER DDIC data type ID
DDIC_DATA_TYPE_NAME VARCHAR(7) DDIC data type name
COMPRESSION_TYPE VARCHAR(9) Type of compress ion: 'DEFAULT', 'PREFIXED', 'SPARSE','CLUSTERED', 'INDIRECT', 'RLE'
INDEX_TYPE VARCHAR(9) Type of index: 'NONE', 'FULL', 'SIGNATURE'
COLUMN_ID BIGINT ID of the column
PRELOAD VARCHAR(5) Speci fies i f column i s preloaded: 'TRUE', 'FALSE'
GENERATED_ALWAYS_AS NVARCHAR(1000) Speci fies the expres s ion of the column created byGENERATED ALWAYS AS
HAS_SCHEMA_FLEXIBILITY VARCHAR(5) Speci fies i f column has schema flexibi l i ty: 'TRUE','FALSE'
FUZZY_SEARCH_INDEX VARCHAR(5) Speci fies i f column has fuzzy s earch index: 'TRUE','FALSE'
FUZZY_SEARCH_MODE VARCHAR(16) Speci fies fuzzy search mode
MEMORY_THRESHOLD INTEGER Speci fies memory threshold in bytes for LOB types
SAP HANA System Tables and Monitoring Views Reference
245 2012-12-19
Statistics Server Tables
The following tables are from the _SYS_STATISTICS schema.
SAP HANA System Tables and Monitoring Views Reference
246 2012-12-19
GLOBAL_COLUMN_TABLES_SIZE
Short description
Information on all column tables
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
DATA_SEQ INTEGER Data seqence ID of the s tati s ti cs
SERVER_TIMESTAMP TIMESTAMP Server timestamp
LAST_COMPRESSED_RECORD_COUNT BIGINT The number of entries in main during las tcompress ion run
MEMORY_SIZE_IN_DELTA BIGINT Current memory consumption in del ta
MEMORY_SIZE_IN_HISTORY_DELTA BIGINT Current memory consumption in his tory-del ta
MEMORY_SIZE_IN_HISTORY_MAIN BIGINT Current memory consumption in his tory-main
MEMORY_SIZE_IN_MAIN BIGINT Current memory consumption in main
MEMORY_SIZE_IN_TOTAL BIGINT Tota l memory s i ze i s the sum of memorys ize in main, del ta , and his tory parts
PART_COUNT BIGINT Count of parti tions of a table
RAW_RECORD_COUNT_IN_DELTA BIGINT Raw record count in del ta
RAW_RECORD_COUNT_IN_HISTORY_DELTA BIGINT Raw record count in his tory-del ta
RAW_RECORD_COUNT_IN_HISTORY_MAIN BIGINT Raw record count in main
RAW_RECORD_COUNT_IN_MAIN BIGINT Raw record count in his tory-main
RECORD_COUNT BIGINT Count of records
SCHEMA_NAME NVARCHAR 256 Schema name
TABLE_NAME NVARCHAR 256 Table name
ESTIMATED_MAX_MEMORY_SIZE_IN_TOTAL BIGINT Es timated maximum memory consumptionin tota l for table ful ly loaded
TABLE_COLUMN_COUNT BIGINT Count of table columns
SAP HANA System Tables and Monitoring Views Reference
247 2012-12-19
GLOBAL_CPU_STATISTICS (Deprecated)
Short description
Global CPU usage information
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
DATA_SEQ INTEGER Data seqence ID of the s tati s ti cs
SERVER_TIMESTAMP TIMESTAMP Server timestamp
TOTAL_CPU_IDLE_TIME BIGINT CPU idle time
TOTAL_CPU_IDLE_TIME_PERCENT SMALLINT CPU idle time in percent
TOTAL_CPU_SYSTEM_MODE_PERCENT SMALLINT Percenta of CPU spent per mode
TOTAL_CPU_SYSTEM_TIME BIGINT CPU time spent in kernel mode
TOTAL_CPU_USER_MODE_PERCENT SMALLINT Percentage of CPU time spent in user mode
TOTAL_CPU_USER_TIME BIGINT CPU time spent in user mode
TOTAL_CPU_WIO_MODE_PERCENT SMALLINT Percentage of CPU time spent in wa i t IOmode (Linux only, Windows a lways 0)
TOTAL_CPU_WIO_TIME BIGINT CPU time spent in wa i t IO (Linux only,Windows a lways 0)
TOTAL_INSTANCE_PROCESSES_CPU_PERCENT SMALLINT CPU usage of a l l proces ses in percent
TOTAL_INSTANCE_PROCESSES_CPU_TIME BIGINT CPU usage of a l l proces ses
SAP HANA System Tables and Monitoring Views Reference
248 2012-12-19
GLOBAL_INTERNAL_DISKFULL_EVENTS
Short description
Global Internal disk full events
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
DATA_SEQ INTEGER Data seqence ID of the s tati s ti cs
SERVER_TIMESTAMP TIMESTAMP Server timestamp
CREATE_TIME TIMESTAMP Time event was created
HANDLE_TIME TIMESTAMP Time event was handled
HOST VARCHAR 64 Host name
ID BIGINT ID of event
INFO VARCHAR 2000 Additiona l information
PORT INTEGER Interna l port
STATE VARCHAR 256 State of event
TYPE VARCHAR 256 Type of event
SAP HANA System Tables and Monitoring Views Reference
249 2012-12-19
GLOBAL_INTERNAL_EVENTS
Short description
Global internal events
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
DATA_SEQ INTEGER Data seqence ID of the s tati s ti cs
SERVER_TIMESTAMP TIMESTAMP Server timestamp
CREATE_TIME TIMESTAMP Time event was created
HANDLE_TIME TIMESTAMP Time event was handled
HOST VARCHAR 64 Host name
ID BIGINT ID of event
INFO VARCHAR 2000 Additiona l information
PORT INTEGER Interna l port
STATE VARCHAR 256 State of event
TYPE VARCHAR 256 Type of event
SAP HANA System Tables and Monitoring Views Reference
250 2012-12-19
GLOBAL_MEMORY_STATISTICS (Deprecated)
Short description
Global memory usage statistics
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
DATA_SEQ INTEGER Data s eqence ID of the s tati s ti cs
SERVER_TIMESTAMP TIMESTAMP Server timestamp
PHYSICAL_MEMORY_USED_BY_INSTANCE_PROCESSES BIGINT Phys ica l memory s i ze used byins tance processes
TOTAL_AVAILABLE_MEMORY BIGINT Phys ica l+swap memory s i ze
TOTAL_MEMORY_USED_BY_ALL_PROCESSES BIGINT Tota l process logica l memoryus age
TOTAL_MEMORY_USED_BY_INSTANCE_PROCESSES BIGINT Tota l ins tance process logica lmemory usage
TOTAL_PHYSICAL_MEMORY BIGINT Tota l phys ica l memory s i ze
SAP HANA System Tables and Monitoring Views Reference
251 2012-12-19
GLOBAL_PERSISTENCE_STATISTICS
Short description
Information on all available persistence
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
DATA_SEQ INTEGER Data seqence ID of the s tati s ti cs
SERVER_TIMESTAMP TIMESTAMP Server timestamp
TOTAL_DISKS_SIZE BIGINT Tota l di sk s i ze ava i lable
TOTAL_DISKS_USED_SIZE BIGINT Tota l di sk s i ze used
TOTAL_VOLUMES_DATA_SIZE BIGINT Tota l log area s i ze
TOTAL_VOLUMES_LOG_SIZE BIGINT Tota l data area s i ze
SAP HANA System Tables and Monitoring Views Reference
252 2012-12-19
GLOBAL_TABLES_SIZE (Deprecated)
Short description
Global information on tables sizes
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
DATA_SEQ INTEGER Data seqence ID of the s tati s ti cs
SERVER_TIMESTAMP TIMESTAMP Server timestamp
IS_COLUMN_TABLE VARCHAR 6 Speci fies whether the table i s a column table: 'TRUE'/'FALSE'
PART_COUNT BIGINT Count of parti tions of a table
RECORD_COUNT BIGINT Count of records
SCHEMA_NAME NVARCHAR 256 Schema name
TABLE_NAME NVARCHAR 256 Table name
TABLE_SIZE BIGINT Table s i ze
SAP HANA System Tables and Monitoring Views Reference
253 2012-12-19
HOST_BLOCKED_TRANSACTIONS
Short description
Information on currently blocked transactions per host
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
SERVER_TIMESTAMP TIMESTAMP Server timestamp
BLOCKED_TIME TIMESTAMP Blocked timestamp
BLOCKED_TRANSACTION_ID INTEGER Transaction ID of the transaction wai ting for alock
BLOCKED_UPDATE_TRANSACTION_ID BIGINT Transaction ID of the blocked updatetransaction
HOST VARCHAR 64 Host name
LOCK_MODE VARCHAR 32Lock mode:'SHARED'/'EXCLUSIVE'/'INTENTIONAL EXCLUSIVE'
LOCK_OWNER_TRANSACTION_ID INTEGER Transaction ID of the transaction holding thelock
LOCK_OWNER_UPDATE_TRANSACTION_ID BIGINT Transaction ID of the update transactionholding the lock
LOCK_TYPE VARCHAR 32 Lock type: 'RECORD'/'TABLE'/'METADATA'
PORT INTEGER Interna l port
WAITING_RECORD_ID VARCHAR 256ID of the record on which the lock i s currentlyplaced
WAITING_SCHEMA_NAME VARCHAR 32Name of the schema on which the lock i scurrently placed
WAITING_TABLE_NAME VARCHAR 32Name of the table on which the lock i scurrently placed
SAP HANA System Tables and Monitoring Views Reference
254 2012-12-19
HOST_COLUMN_TABLES_PART_SIZE
Short description
Information on column tables partition size per host
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
SERVER_TIMESTAMP TIMESTAMP Server timestamp
CREATE_TIME TIMESTAMP Created time
HOST VARCHAR 64 Host name
IS_DELTA_LOADED VARCHAR 6Flag to indicate that del ta part of table i sloaded
LAST_COMPRESSED_RECORD_COUNT BIGINT The number of entries in main during las tcompress ion run
LAST_MERGE_TIME TIMESTAMP Point in time, Unix time format, las t timethe table del ta part was merged into mainpart
LAST_REPLAY_LOG_TIME TIMESTAMP Point in time, Unix time format, las t timethe table log was replayed
LOADED VARCHAR 10Flag to show how many columns of tableare loaded in memory (NO, PARTIALLY, andFULL); see M_CS_COLUMNS for each column
MEMORY_SIZE_IN_DELTA BIGINT Current memory consumption in del ta
MEMORY_SIZE_IN_HISTORY_DELTA BIGINT Current memory consumption in his tory-del ta ; 0 for normal non-his tory tables
MEMORY_SIZE_IN_HISTORY_MAIN BIGINT Current memory consumption in his tory-main; 0 for normal non-his tory tables
MEMORY_SIZE_IN_MAIN BIGINT Current memory consumption in main; thisva lue varies depending on the number ofattributes actua l ly loaded
MEMORY_SIZE_IN_TOTAL BIGINT Tota l memory s i ze i s the sum of memorys ize in main, del ta , and his tory parts
MODIFY_TIME TIMESTAMP Modi fied time
PART_ID INTEGER Parti tion ID. 0 for non-parti tioned tablesand 1 through number of parti tions forparti tioned tables
PORT INTEGER Interna l port
RAW_RECORD_COUNT_IN_DELTA BIGINT
Current number of entries in table del tapart, this va lue di ffers from number ofvis ible table del ta rows because there areaddi tiona l entries such as deleted rows orupdated rows ; can conta in deleted records
RAW_RECORD_COUNT_IN_HISTORY_DELTA BIGINT Raw record count in his tory-del ta
RAW_RECORD_COUNT_IN_HISTORY_MAIN BIGINT Raw record count in his tory-main
RAW_RECORD_COUNT_IN_MAIN BIGINT
Current number of entries in table mainpart, this va lue di ffers from number ofvis ible table main rows because there areentries of modi fied rows marked asinva l idated
RECORD_COUNT BIGINT Record count
SCHEMA_NAME NVARCHAR 256 Schema name
TABLE_NAME NVARCHAR 256 Table name
ESTIMATED_MAX_MEMORY_SIZE_IN_TOTAL BIGINT Es timated maximum memory consumptionin tota l for table ful ly loaded
SAP HANA System Tables and Monitoring Views Reference
255 2012-12-19
HOST_DATA_VOLUME_PAGE_STATISTICS
Short description
Data volume page information per host
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
SERVER_TIMESTAMP TIMESTAMP Server timestamp
FILE_NAME VARCHAR 256 Fi le Name
FILL_RATIO DOUBLE 15 Fi l l ra tio
HOST VARCHAR 64 Host name
INITIAL_BLOCK_COUNT BIGINT Count of ini t pages
PAGE_SIZE INTEGER Page s i ze
PAGE_SIZE_CLASS VARCHAR 32 Page s i ze class
PORT INTEGER Interna l port
SHADOW_BLOCK_COUNT BIGINT Count of shadow blocks
SUPERBLOCK_COUNT BIGINT Number of us ed Superblocks
SUPERBLOCK_SIZE INTEGER Superblock s i ze
TOTAL_ALLOCATE_BLOCK_COUNT BIGINT Number of s ingle and groupa l located blocks
TOTAL_SET_BLOCK_FREE_AFTER_SAVEPOINT_COUNT BIGINT Number of s ingle and group freed-after-savepoint blocks
TOTAL_SET_BLOCK_FREE_COUNT BIGINT Number of s ingle and group freedblocks
USED_BLOCK_COUNT BIGINT Count of used blocks
VOLUME_ID INTEGER Pers i s tence Volume ID
SAP HANA System Tables and Monitoring Views Reference
256 2012-12-19
HOST_DATA_VOLUME_SUPERBLOCK_STATISTICS
Short description
Data volume superblock information per host
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
SERVER_TIMESTAMP TIMESTAMP Server timestamp
DATA_VOLUME_NAME VARCHAR 256 DataVolume name
FILL_RATIO DOUBLE 15 Fi l l ra tio
HOST VARCHAR 64 Host name
PORT INTEGER Interna l port
SUPERBLOCK_COUNT BIGINT Count of Superblocks
SUPERBLOCK_SIZE BIGINT Superblock s i ze
USED_SUPERBLOCK_COUNT BIGINT Count of used Superblocks
VOLUME_ID INTEGER Pers i s tence Volume ID
SAP HANA System Tables and Monitoring Views Reference
257 2012-12-19
HOST_DELTA_MERGE_STATISTICS
Short description
Table delta merge statistics per host
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
SERVER_TIMESTAMP TIMESTAMP Server timestamp
EXECUTION_TIME BIGINT Execution duration
HOST VARCHAR 64 Host name
MEMORY_MERGE VARCHAR 6 Flag to indicate table was merged in memory only
MERGED_DELTA_RECORDS INTEGER Number of documents in del ta
MOTIVATION VARCHAR 8 HARD, SMART, AUTO, FORCE
PART_ID INTEGER Parti tion number (0 for non-parti tioned tables and 1 throughnumber of parti tions for parti tioned tables
PASSPORT VARCHAR 256 Externa l identi fier for table merge ca l led by an appl ication
PORT INTEGER Interna l port
SCHEMA_NAME VARCHAR 256 Schema name
START_TIME TIMESTAMP Execution s tart time
SUCCESS VARCHAR 6
Cal l success flag; depends on field TYPE; HINT: appl icationmerge hint was accepted/rejected; MERGE/SPARSE: del tamerge/optimize compres s ion was completed with orwithout success
TABLE_NAME VARCHAR 256 Table name
TYPE VARCHAR 7MERGE (table del ta merge), HINT (appl ication merge hint),SPARSE (optimize compress ion)
SAP HANA System Tables and Monitoring Views Reference
258 2012-12-19
HOST_HEAP_ALLOCATORS
Short description
Memory allocator statistics per host
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
SERVER_TIMESTAMP TIMESTAMP Server timestamp
CATEGORY VARCHAR 128 Al locator name
DEPTH BIGINT Depth
EXCLUSIVE_ALLOC_ERRORS BIGINT Count of a l location errors
EXCLUSIVE_ALLOCATED_COUNT BIGINT Count of a l locations
EXCLUSIVE_ALLOCATED_SIZE BIGINT Tota l a l located s i ze in this a l locator
EXCLUSIVE_COUNT_IN_USE BIGINT Number of blocks currently in use
EXCLUSIVE_DEALLOCATED_COUNT BIGINT Count of dea l locations
EXCLUSIVE_DEALLOCATED_SIZE BIGINT Tota l dea l located s i ze in this a l locator
EXCLUSIVE_MAX_SINGLE_ALLOCATION_SIZE BIGINT Maximum ever a l located block s i ze in thisa l locator
EXCLUSIVE_PEAK_ALLOCATION_SIZE BIGINT Maximum s ize of this a l locator (es timate)
EXCLUSIVE_SIZE_IN_USE BIGINT Current s i ze of this a l locator
FLAGS VARCHAR 64 Al locator flags
HOST VARCHAR 64 Host name
INCLUSIVE_ALLOCATED_COUNT BIGINT Count of a l locations , includingsuba l locators
INCLUSIVE_ALLOCATED_SIZE BIGINT Tota l a l located s i ze in this a l locator andsuba l locators
INCLUSIVE_COUNT_IN_USE BIGINT Number of blocks currently in use, includingsuba l locators
INCLUSIVE_DEALLOCATED_COUNT BIGINT Count of dea l locations , includingsuba l locators
INCLUSIVE_DEALLOCATED_SIZE BIGINT Tota l dea l located s i ze in this a l locator andsuba l locators
INCLUSIVE_MAX_SINGLE_ALLOCATION_SIZE BIGINT Maximum ever a l located block s i ze in thisa l locator and s uba l locators
INCLUSIVE_PEAK_ALLOCATION_SIZE BIGINT Maximum s ize of this a l locator andsuba l locators (es timate)
INCLUSIVE_SIZE_IN_USE BIGINT Current s i ze of this a l locator, includingsuba l locators
MALLOC_PROXY_CACHE_MISSES BIGINT Count of mal loc proxy cache misses
PORT INTEGER Interna l port
STATISTICS_ID BIGINT Stati s tics object unique ID
VOLUME_ID INTEGER Pers i s tence Volume ID
SAP HANA System Tables and Monitoring Views Reference
259 2012-12-19
HOST_LONG_RUNNING_STATEMENTS
Short description
Information on long running system operations per host
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
SERVER_TIMESTAMP TIMESTAMP Server timestamp
APPLICATION_USER_NAME NVARCHAR 256 Appl ication user
AUTO_COMMIT VARCHAR 6Commit mode of the current trans action: TRUE i f the currentconnection i s in auto-commit mode, FALSE otherwise
CLIENT_HOST VARCHAR 64 Host name of cl ient machine
CLIENT_IP VARCHAR 16 IP of cl ient machine
CLIENT_PID BIGINT Cl ient Process ID
CONNECTION_ID INTEGER Connection ID
CONNECTION_START_TIME TIMESTAMP Connection s tart timestamp
DURATION BIGINT Connectino duration
HOST VARCHAR 64 Host name
PORT INTEGER Interna l port
THREAD_ID BIGINT Thread ID
TRANSACTION_ID INTEGER Transaction ID
USER_NAME NVARCHAR 256 Name of user who triggered the s tatement
SAP HANA System Tables and Monitoring Views Reference
260 2012-12-19
HOST_MEMORY_STATISTICS
Short description
Memory usage per host
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
SERVER_TIMESTAMP TIMESTAMP Server timestamp
CHECK_HOST VARCHAR 64 Host to be checked
HOST_AVAILABLE_MEMORY BIGINT Host phys ica l+s wap memory s i ze
HOST_PHYSICAL_MEMORY BIGINT Host phys ica l memory s i ze
HOST_TOTAL_USED_MEMORY BIGINT Host phys ica l+s wap memory usage
INSTANCE_PROCESSES_MEMORY BIGINT Process logica l memory us age
INSTANCE_PROCESSES_PHYSICAL_MEMORY BIGINT Process phys ica l memory usage
SAP HANA System Tables and Monitoring Views Reference
261 2012-12-19
HOST_ONE_DAY_FILE_COUNT
Short description
Information on trace files accumulated per host
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
SERVER_TIMESTAMP TIMESTAMP Server timestamp
FILE_TYPE VARCHAR 128 Fi le type
HOST VARCHAR 64 Host name
NUM_FILES BIGINT Number of trace fi les
SUM_SIZE BIGINT Tota l s i ze of trace fi les
SAP HANA System Tables and Monitoring Views Reference
262 2012-12-19
HOST_RESOURCE_UTILIZATION_STATISTICS
Short description
Host resource utilization
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
SERVER_TIMESTAMP TIMESTAMP Server timestamp
FREE_PHYSICAL_MEMORY BIGINT Free phys ica l memory on the host
FREE_SWAP_SPACE BIGINT Free swap memory on the host
HOST VARCHAR 64 Host name
TOTAL_CPU_IDLE_TIME BIGINT CPU idle time
TOTAL_CPU_SYSTEM_TIME BIGINT CPU time spent in kernel mode
TOTAL_CPU_USER_TIME BIGINT CPU time spent in user mode
TOTAL_CPU_WIO_TIME BIGINT CPU time spent in wa i t IO (Linux only, Windows a lways 0)
USED_PHYSICAL_MEMORY BIGINT Used phys ica l memory on the host
USED_SWAP_SPACE BIGINT Used swap memory on the host
SAP HANA System Tables and Monitoring Views Reference
263 2012-12-19
HOST_SERVICE_MEMORY
Short description
Service memory usage per host
Structure
SNAPSHOT_ID TIMESTAMP ID of the snaphot
SERVER_TIMESTAMP TIMESTAMP Server timestamp
CODE_SIZE BIGINT Process code s i ze
COMPACTORS_ALLOCATED_SIZE BIGINT Tota l memory a l located by compactors
COMPACTORS_FREEABLE_SIZE BIGINT Memory which can be freed on demand
HEAP_MEMORY_ALLOCATED_SIZE BIGINT Process heap memory a l located s i ze
HEAP_MEMORY_USED_SIZE BIGINT Process heap memory used
HOST VARCHAR 64 Host name
LOGICAL_MEMORY_SIZE BIGINT Process vi rtua l memory s i ze
PHYSICAL_MEMORY_SIZE BIGINT Process phys ica l memory s i ze
PORT INTEGER Interna l port
PROCESS_ID BIGINT Process ID
SERVICE_NAME VARCHAR 256 Service name
SHARED_MEMORY_ALLOCATED_SIZE BIGINT Process shared memory a l located (row s tore only)
SHARED_MEMORY_USED_SIZE BIGINT Process shared memory used (row s tore only)
STACK_SIZE BIGINT Process s tack s i ze
SAP HANA System Tables and Monitoring Views Reference
264 2012-12-19
HOST_SERVICE_STATISTICS
Short description
Memory utilization by services per host
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
SERVER_TIMESTAMP TIMESTAMP Server timestamp
ACTIVE_REQUEST_COUNT INTEGER Number of active requests
ACTIVE_STATUS VARCHAR 128 NO, YES, UNKNOWN, STARTING, STOPPING
ACTIVE_THREAD_COUNT INTEGER Number of active threads
ALL_FINISHED_REQUEST_COUNT BIGINT Finis hed requests including interna lreques ts
AVAILABLE_MEMORY BIGINT Host phys ica l+s wap memory s i ze
DETAIL VARCHAR 128Deta i l information, s imi lar toCOORDINATOR_TYPE in M_SERVICES
FINISHED_NON_INTERNAL_REQUEST_COUNT BIGINT Finis hed requests
HOST VARCHAR 64 Host name
OPEN_FILE_COUNT INTEGER Number of open fi les
PENDING_REQUEST_COUNT INTEGER Number of pending requests
PHYSICAL_MEMORY BIGINT Host phys ica l memory s i ze
PORT INTEGER Interna l port
PROCESS_CPU_TIME BIGINT CPU usage of current process s ince s tart
PROCESS_ID BIGINT Process ID
PROCESS_MEMORY BIGINT Process logica l memory usage
PROCESS_PHYSICAL_MEMORY BIGINT Process phys ica l memory usage
REQUESTS_PER_SEC DOUBLE 15Reques ts per second. Average over las t1000 requests
RESPONSE_TIME INTEGER Reques t response time. Average over las t1000 requests
SERVICE_NAME VARCHAR 256 Service name
START_TIME TIMESTANP Process s tart time
THREAD_COUNT INTEGER Number of tota l threads
TOTAL_MEMORY BIGINT CPU usage of a l l threads
SAP HANA System Tables and Monitoring Views Reference
265 2012-12-19
HOST_TABLE_VIRTUAL_FILES
Short description
Virtual files that belong to a table per host
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
SERVER_TIMESTAMP TIMESTAMP Server timestamp
CONTAINER_ID BIGINT Conta iner ID
HOST VARCHAR 64 Host name
NAME VARCHAR 512 Fi le name
NAMESPACE VARCHAR 512 Fi le path
PAGE_COUNT BIGINT Unused
PART_ID INTEGER Part ID of spl i t table
PHYSICAL_SIZE BIGINT Fi le s i ze
PORT INTEGER Interna l port
SCHEMA_NAME VARCHAR 256 Schema name
TABLE_NAME VARCHAR 256 Table name
SAP HANA System Tables and Monitoring Views Reference
266 2012-12-19
HOST_VIRTUAL_FILES
Short description
Information on virtual files per host
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
SERVER_TIMESTAMP TIMESTAMP Server timestamp
BYTES_APPENDED BIGINT Tota l bytes appended to vi rtua l fi les .
BYTES_READ BIGINT Tota l bytes read from vi rtua l fi les .
BYTES_WRITTEN BIGINT Tota l bytes wri tten to vi rtua l fi les .
BYTESTREAM_WRITTEN BIGINT Tota l bytes wri tten by byte s tream.
CONTAINER_ID BIGINT Conta iner ID
HOST VARCHAR 64 Host name
PAGE_COUNT BIGINT Number of pages
PHYSICAL_SIZE BIGINT Phys ica l s i ze
PORT INTEGER Interna l port
SUM_APPEND INTEGER Sum of appends
SUM_COPY INTEGER Sum of copies
SUM_READ INTEGER Sum of reads
SUM_TRUNCATE INTEGER Sum of truncates
SUM_WRITE INTEGER Sum of wri tes
SUM_WRITEOPTIMIZED INTEGER Sum of optimized wri tes
VOLUME_ID INTEGER Pers i s tence Volume ID
SAP HANA System Tables and Monitoring Views Reference
267 2012-12-19
HOST_VOLUME_FILES
Short description
Information about volume files per host
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
SERVER_TIMESTAMP TIMESTAMP Server timestamp
FILE_NAME VARCHAR 256 Fi le name
FILE_TYPE VARCHAR 128 Type of fi le (DATA, LOG, TRACER, ...)
HOST VARCHAR 64 Host name
PORT INTEGER Interna l port
TOTAL_SIZE BIGINT Tota l fi le s i ze
USED_SIZE BIGINT Size of used data within fi le
VOLUME_ID INTEGER Volume ID
SAP HANA System Tables and Monitoring Views Reference
268 2012-12-19
HOST_VOLUME_IO_PERFORMANCE_STATISTICS
Short description
File performance statistics per host
Structure
SAP HANA System Tables and Monitoring Views Reference
269 2012-12-19
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
SERVER_TIMESTAMP TIMESTAMP Server timestamp
AVG_READ_ENQUEUE_TIME BIGINT Time for enqueuing read I/Oevents (avg)
AVG_READ_SIZE BIGINT Size of read data (avg)
AVG_READ_SYNC_TIME BIGINT Time for s ynchronous reads (avg)
AVG_READ_TIME BIGINT Time for read events (avg)
AVG_WRITE_ENQUEUE_TIME BIGINT Time for enqueuing wri te I/Oevents (avg)
AVG_WRITE_SIZE BIGINT Size of wri tten data (avg)
AVG_WRITE_SYNC_TIME BIGINT Time for s ynchronous wri tes (avg)
AVG_WRITE_TIME BIGINT Time for wri te events (avg)
DELAYED_READ_REQUESTS BIGINT Count of delayed read requests
DELAYED_WRITE_REQUESTS BIGINT Count of delayed wri te requests
DEQUEUED_DELAYED_REQUESTS BIGINT Count of dequeued delayedrequests
FULL_RETRY_READS BIGINT Count of ful l retry reads
FULL_RETRY_WRITES BIGINT Count of ful l retry wri tes
HOST VARCHAR 64 Hos t name
ITEMS_IN_DELAY_QUEUE BIGINT Count of i tems in delay queue
LAST_READ_ENQUEUE_TIME BIGINT Time for enqueuing read I/Oevents (las t)
LAST_READ_SIZE BIGINT Size of read data (las t)
LAST_READ_SYNC_TIME BIGINT Time for s ynchronous reads (las t)
LAST_READ_TIME BIGINT Time for read events (las t)
LAST_WRITE_ENQUEUE_TIME BIGINT Time for enqueuing wri te I/Oevents (las t)
LAST_WRITE_SIZE BIGINT Size of wri tten data (las t)
LAST_WRITE_SYNC_TIME BIGINT Time for s ynchronous wri tes (las t)
LAST_WRITE_TIME BIGINT Time for wri te events (las t)
MAX_IO_BUFFER BIGINT Max. I/O buffer s i ze
MAX_ITEMS_IN_DELAY_QUEUE BIGINT Maximum s ize of delay queue
MAX_READ_ENQUEUE_TIME BIGINT Time for enqueuing read I/Oevents (max)
MAX_READ_SIZE BIGINT Size of read data (max)
MAX_READ_SYNC_TIME BIGINT Time for s ynchronous reads (max)
MAX_READ_TIME BIGINT Time for read events (max)
MAX_WRITE_ENQUEUE_TIME BIGINT Time for enqueuing wri te I/Oevents (max)
MAX_WRITE_SIZE BIGINT Size of wri tten data (max)
MAX_WRITE_SYNC_TIME BIGINT Time for s ynchronous wri tes (max)
MAX_WRITE_TIME BIGINT Time for wri te events (max)
MIN_READ_ENQUEUE_TIME BIGINT Time for enqueuing read I/Oevents (min)
MIN_READ_SIZE BIGINT Size of read data (min)
MIN_READ_SYNC_TIME BIGINT Time for s ynchronous reads (min)
MIN_READ_TIME BIGINT Time for read events (min)
MIN_WRITE_ENQUEUE_TIME BIGINT Time for enqueuing wri te I/Oevents (min)
MIN_WRITE_SIZE BIGINT Size of wri tten data (min)
MIN_WRITE_SYNC_TIME BIGINT Time for s ynchronous wri tes (min)
MIN_WRITE_TIME BIGINT Time for wri te events (min)
PATH VARCHAR 256 Fi lesys tem path
PORT INTEGER Interna l port
READ_COMPLETIONS BIGINT Count of read completions
READ_REQUESTS BIGINT Count of read requests
READ_SYNC BIGINT Count of s ynchronous reads
RESUBMITTED_DELAYED_REQUESTS BIGINT Count of res ubmitted delayedrequests
RESUBMITTED_DELAYED_REQUESTS_DELAYED_AGAIN BIGINT Count of res ubmitted delayedrequests delayed
SHORT_READS BIGINT Count of s hort reads
SHORT_WRITES BIGINT Count of s hort wri tes
SAP HANA System Tables and Monitoring Views Reference
270 2012-12-19
SUM_READ_ENQUEUE_TIME BIGINT Time for enqueuing read I/Oevents (tota l )
SUM_READ_SIZE BIGINT Size of read data (tota l )
SUM_READ_SYNC_TIME BIGINT Time for s ynchronous reads (tota l )
SUM_READ_TIME BIGINT Time for read events (tota l )
SUM_WRITE_ENQUEUE_TIME BIGINT Time for enqueuing wri te I/Oevents (tota l )
SUM_WRITE_SIZE BIGINT Size of wri tten data (tota l )
SUM_WRITE_SYNC_TIME BIGINT Time for s ynchronous wri tes (tota l )
SUM_WRITE_TIME BIGINT Time for wri te events (tota l )
TYPE VARCHAR 16 Type of conta ined fi les
VOLUME_ID INTEGER Pers i s tence Volume ID
WRITE_COMPLETIONS BIGINT Count of wri te completions
WRITE_REQUESTS BIGINT Count of wri te requests
WRITE_SYNC BIGINT Count of s ynchronous wri tes
SAP HANA System Tables and Monitoring Views Reference
271 2012-12-19
HOST_VOLUME_IO_STATISTICS
Short description
File access statistics per host
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
SERVER_TIMESTAMP TIMESTAMP Server timestamp
CLOSE_CALL_COUNT BIGINT Count of close ca l l s
ENQUEUED_WRITE_REQUESTS BIGINT Count of enqueued wri te requests
EOF_READS BIGINT Count of EOF reads
EXISTS_CALL_COUNT BIGINT Count of exis ts ca l l s
HOST VARCHAR 64 Host name
OPEN_CALL_COUNT BIGINT Count of open ca l l s
PATH VARCHAR 256 Fi lesys tem path
PORT INTEGER Interna l port
REMOVE_CALL_COUNT BIGINT Count of remove ca l l s
RESIZE_CALL_COUNT BIGINT Count of res ize ca l l s
SYNC_CALL_COUNT BIGINT Count of sync ca l l s
TOTAL_FULL_RETRY_READS BIGINT Count of ful l retry reads
TOTAL_FULL_RETRY_WRITES BIGINT Count of ful l retry wri tes
TOTAL_IO_TIME BIGINT Tota l I/O time
TOTAL_READ_SIZE BIGINT Size of read data
TOTAL_SHORT_READS BIGINT Count of short reads
TOTAL_SHORT_WRITES BIGINT Count of short wri tes
TOTAL_WRITE_SIZE BIGINT Size of wri tten data
TYPE VARCHAR 16 Type of conta ined fi les
VOLUME_ID INTEGER Pers i s tence Volume ID
SAP HANA System Tables and Monitoring Views Reference
272 2012-12-19
STATISTICS_ALERTS
Short description
Information on alerts and their status
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
HOST VARCHAR 64 Host name
SQL_PORT INTEGER SQL port
ALERT_ID INTEGER Alert ID
ALERT_SEQ INTEGER Alert Sequence
ALERT_TIMESTAMP TIMESTAMP Timestamp of a lert
ALERT_RATING TINYINT 3 Alert rating (1-5)
ALERT_DETAILS NVARCHAR 1024 Information on the a lert
EMAIL_STATE TINYINT 3 Emai l sent or not; va lues 1 or 0
PROCESS_STATE TINYINT 3 State of the process
PROCESS_TIME TIMESTAMP Timestamp of the process
PROCESS_AGENT NVARCHAR 256 User owing the process
SAP HANA System Tables and Monitoring Views Reference
273 2012-12-19
STATISTICS_ALERT_INFORMATION
Short description
Information on alerts, possible resolutions and polling intervals
Structure
Column name Data type Unit Description
ALERT_ID INTEGER Alert ID
ALERT_NAME NVARCHAR 64 Name of the Alert
ALERT_DESCRIPTION NVARCHAR 1024 Description of the a lert
ALERT_USERACTION NVARCHAR 1024 Hint to user on actions to take in response to the a lert
INTERVAL NVARCHAR 128 Interva l between pol l ing
SAP HANA System Tables and Monitoring Views Reference
274 2012-12-19
STATISTICS_ALERT_LAST_CHECK_INFORMATION
Short description
Information from the last alert poll
Structure
Column name Data type Unit Description
SNAPSHOT_ID TIMESTAMP ID of the snaphot
HOST VARCHAR 64 Host name
SQL_PORT INTEGER SQL port
ALERT_ID INTEGER Alert ID
ALERT_SEQ INTEGER Alert Sequence
ALERT_LAST_CHECK_TIMESTAMP TIMESTAMP Timestamp of las t a lert check
ALERT_LAST_CHECK_RATING TINYINT 3 Rating of las t a lert check
ALERT_LAST_CHECK_EMAIL TINYINT 3 Emai l sent on las t a lert check
SAP HANA System Tables and Monitoring Views Reference
275 2012-12-19
STATISTICS_INTERVAL_INFORMATION
Short description
Information on polling interval durations and last start times
Structure
Column name Data type Unit Description
NAME NVARCHAR 128 Name of interva l
DURATION INTEGER Duration of interna l in seconds
START_TIME TIMESTAMP Start time of interva l
SAP HANA System Tables and Monitoring Views Reference
276 2012-12-19
STATISTICS_LASTVALUES
Short description
Information on the last recorded status per process
Structure
Column name Data type Unit Description
HOST VARCHAR 64 Host name
PORT INTEGER Interna l port
NAME NVARCHAR 128 Process name
INDEX NVARCHAR 128
REACHED_AT TIMESTAMP Timestamp of las t va lue
VALUE NVARCHAR 1024
SAP HANA System Tables and Monitoring Views Reference
277 2012-12-19
STATISTICS_STATE
Short description
Information on current state of statistics process
Structure
Column name Data type Unit Description
STATE NVARCHAR 64 State of the process (Starting, Stopping, Running, Stopped)
REACHED_AT TIMESTAMP Time the s tate was reached
SAP HANA System Tables and Monitoring Views Reference
278 2012-12-19
STATISTICS_VERSION
Short description
Information on version of the statistics
Structure
Column name Data type Unit Description
VERSION TINYINT 3 Stati s tics vers ion
SINCE TIMESTAMP Active s ince, timestamp
SAP HANA System Tables and Monitoring Views Reference
279 2012-12-19