Вы находитесь на странице: 1из 279

SAP HANA System Tables and Monitoring Views Reference

SAP HANA Appliance Software SPS 05, Revision 45


Target Audience Consultants Administrators SAP Hardware Partner Others

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 for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Excel, Outlook, PowerPoint, Silverlight, and Visual Studio are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, 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, System Storage, Storwize, XIV, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, AIX, Intelligent Miner, WebSphere, Tivoli, Informix, and Smarter Planet are trademarks or registered trademarks of IBM Corporation. Linux is the registered trademark of Linus Torvalds in the United States and other countries. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are trademarks or registered trademarks of Adobe Systems Incorporated in the United States and other 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, and MultiWin are trademarks or registered trademarks of Citrix Systems Inc. HTML, XML, XHTML, and W3C are trademarks or registered trademarks of W3C, 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 registered trademarks of Apple Inc. IOS is a registered trademark of Cisco Systems Inc. RIM, BlackBerry, BBM, BlackBerry Curve, BlackBerry Bold, BlackBerry Pearl,

2012-12-19

BlackBerry Torch, BlackBerry Storm, BlackBerry Storm2, BlackBerry PlayBook, and BlackBerry App World are trademarks or registered trademarks of Research in Motion Limited. Google App Engine, Google Apps, Google Checkout, Google Data API, Google Maps, 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, SAP BusinessObjects Explorer, StreamWork, SAP HANA, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects Software Ltd. Business Objects is an SAP company. Sybase and Adaptive Server, iAnywhere, Sybase 365, SQL Anywhere, and other Sybase products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Sybase Inc. Sybase is an SAP company. Crossgate, m@gic EDDY, B2B 360, and B2B 360 Services are registered trademarks of Crossgate AG in Germany and other countries. Crossgate is an SAP company. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.

2012-12-19

Table of Content

Table of Content
Table of Content SAP HANA System Tables and Monitoring Views Reference
About thi s Document SAP HANA Gui des AUDIT_POLICIES AUTHORIZATION_GRAPH CONSTRAINTS CS_BO_VIEWS CS_FREESTYLE_COLUMNS CS_JOIN_CONDITIONS CS_JOIN_CONSTRAINTS CS_JOIN_PATHS CS_JOIN_TABLES CS_KEY_FIGURES CS_VIEW_COLUMNS DATA_TYPES EFFECTIVE_PRIVILEGES EFFECTIVE_ROLES EXPLAIN_PLAN_TABLE FULLTEXT_INDEXES FUNCTIONS FUNCTION_PARAMETERS GRANTED_PRIVILEGES GRANTED_ROLES INDEXES INDEX_COLUMNS INVALID_CONNECT_ATTEMPTS M_ATTACHED_STORAGES M_BACKUP_CATALOG M_BACKUP_CATALOG_FILES M_BACKUP_CONFIGURATION M_BLOCKED_TRANSACTIONS M_CACHES M_CACHES_RESET M_CACHE_ENTRIES M_CATALOG_MEMORY M_CE_CALCSCENARIOS M_CE_CALCVIEW_DEPENDENCIES M_CE_DEBUG_INFOS M_CE_DEBUG_JSONS M_CE_DEBUG_NODE_MAPPING M_CE_PLE_CALCSCENARIOS M_CLIENT_VERSIONS M_COMPACTION_THREAD M_CONDITIONAL_VARIABLES M_CONDITIONAL_VARIABLES_RESET M_CONFIGURATION M_CONNECTIONS M_CONNECTION_STATISTICS

4 9
9 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 51 52 53 54 56

2012-12-19

Table of Content M_CONNECTION_STATISTICS M_CONTAINER_DIRECTORY M_CONTAINER_NAME_DIRECTORY M_CONTEXT_MEMORY M_CONTEXT_MEMORY_RESET M_CONVERTER_STATISTICS M_CONVERTER_STATISTICS_RESET M_CS_ALL_COLUMNS M_CS_COLUMNS M_CS_PARTITIONS M_CS_TABLES M_CS_UNLOADS M_DATABASE M_DATABASE_HISTORY M_DATA_VOLUMES M_DATA_VOLUME_PAGE_STATISTICS M_DATA_VOLUME_PAGE_STATISTICS_RESET M_DATA_VOLUME_SUPERBLOCK_STATISTICS M_DELTA_MERGE_STATISTICS M_DISKS M_ERROR_CODES M_EVENTS M_EXPENSIVE_STATEMENTS M_EXPORT_BINARY_STATUS M_EXTRACTORS M_FEATURES M_FULLTEXT_QUEUES M_FUZZY_SEARCH_INDEXES M_GARBAGE_COLLECTION_STATISTICS M_GARBAGE_COLLECTION_STATISTICS_RESET M_HEAP_MEMORY M_HEAP_MEMORY_RESET M_HISTORY_INDEX_LAST_COMMIT_ID M_HOST_INFORMATION M_HOST_RESOURCE_UTILIZATION M_IMPORT_BINARY_STATUS M_INIFILES M_INIFILE_CONTENTS M_JOB_PROGRESS M_LANDSCAPE_HOST_CONFIGURATION M_LICENSE M_LICENSE_USAGE_HISTORY M_LIVECACHE_CONTAINER_STATISTICS M_LIVECACHE_CONTAINER_STATISTICS_RESET M_LIVECACHE_LOCKS M_LIVECACHE_LOCK_STATISTICS M_LIVECACHE_LOCK_STATISTICS_RESET M_LIVECACHE_OMS_VERSIONS M_LIVECACHE_PROCEDURE_STATISTICS M_LIVECACHE_PROCEDURE_STATISTICS_RESET M_LIVECACHE_SCHEMA_STATISTICS M_LIVECACHE_SCHEMA_STATISTICS_RESET M_LOCK_WAITS_STATISTICS 56 58 59 60 61 62 64 65 66 67 68 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 109 114 115 116 117

2012-12-19

Table of Content

M_LOG_BUFFERS M_LOG_BUFFERS_RESET M_LOG_PARTITIONS M_LOG_PARTITIONS_RESET M_LOG_SEGMENTS M_LOG_SEGMENTS_RESET M_MEMORY_OBJECTS M_MEMORY_OBJECTS_RESET M_MEMORY_OBJECT_DISPOSITIONS M_MERGED_TRACES M_MONITORS M_MONITOR_COLUMNS M_MUTEXES M_MUTEXES_RESET M_MVCC_TABLES M_OBJECT_LOCKS M_OBJECT_LOCK_STATISTICS M_OBJECT_LOCK_STATISTICS_RESET M_PAGEACCESS_STATISTICS M_PAGEACCESS_STATISTICS_RESET M_PASSWORD_POLICY M_PERFTRACE M_PERSISTENCE_ENCRYPTION_KEYS M_PERSISTENCE_ENCRYPTION_STATUS M_PERSISTENCE_MANAGERS M_PERSISTENCE_MANAGERS_RESET M_PREPARED_STATEMENTS M_READWRITELOCKS M_READWRITELOCKS_RESET M_RECORD_LOCKS M_REORG_ALGORITHMS M_REPO_TRANSPORT_FILES M_RS_INDEXES M_RS_TABLES M_RS_TABLE_VERSION_STATISTICS M_SAVEPOINTS M_SAVEPOINT_STATISTICS M_SAVEPOINT_STATISTICS_RESET M_SEMAPHORES M_SEMAPHORES_RESET M_SERVICES M_SERVICE_COMPONENT_MEMORY M_SERVICE_MEMORY M_SERVICE_NETWORK_IO M_SERVICE_REPLICATION M_SERVICE_STATISTICS M_SERVICE_THREADS M_SERVICE_THREAD_CALLSTACKS M_SERVICE_TRACES M_SERVICE_TYPES M_SESSION_CONTEXT M_SHARED_MEMORY

118 119 120 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 148 149 150 151 152 153 154 156 158 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174

2012-12-19

Table of Content

M_SNAPSHOTS M_SQL_PLAN_CACHE M_SQL_PLAN_CACHE_OVERVIEW M_SQL_PLAN_CACHE_RESET M_SYSTEM_INFORMATION_STATEMENTS M_SYSTEM_LIMITS M_SYSTEM_OVERVIEW M_TABLES M_TABLE_LOB_FILES M_TABLE_LOCATIONS M_TABLE_PERSISTENCE_LOCATIONS M_TABLE_PERSISTENCE_STATISTICS M_TABLE_VIRTUAL_FILES M_TEMPORARY_TABLES M_TEMPORARY_TABLE_COLUMNS M_TEMPORARY_VIEWS M_TEMPORARY_VIEW_COLUMNS M_TENANTS M_TEXT_ANALYSIS_LANGUAGES M_TEXT_ANALYSIS_MIME_TYPES M_TOPOLOGY_TREE M_TRACEFILES M_TRACEFILE_CONTENTS M_TRANSACTIONS M_UNDO_CLEANUP_FILES M_VERSION_MEMORY M_VOLUMES M_VOLUME_FILES M_VOLUME_IO_STATISTICS M_VOLUME_IO_STATISTICS_RESET M_VOLUME_SIZES M_WORKLOAD M_XS_APPLICATIONS M_XS_APPLICATION_ISSUES OBJECTS OBJECT_DEPENDENCIES OWNERSHIP PRIVILEGES PROCEDURES PROCEDURE_OBJECTS PROCEDURE_PARAMETERS QUERY_PLANS REFERENTIAL_CONSTRAINTS REORG_OVERVIEW REORG_PLAN REORG_PLAN_INFOS REORG_STEPS ROLES SAML_PROVIDERS SAML_USER_MAPPINGS SCHEMAS SEQUENCES

175 176 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229

2012-12-19

Table of Content

SESSION_COOKIES SQLSCRIPT_TRACE STATISTICS STRUCTURED_PRIVILEGES SYNONYMS TABLES TABLE_COLUMNS TABLE_COLUMNS_ODBC TABLE_GROUPS TRANSACTION_HISTORY TRIGGERS USERS USER_PARAMETERS VIEWS VIEW_COLUMNS Sta ti s ti cs Server Ta bl es GLOBAL_COLUMN_TABLES_SIZE GLOBAL_CPU_STATISTICS (Depreca ted) GLOBAL_INTERNAL_DISKFULL_EVENTS GLOBAL_INTERNAL_EVENTS GLOBAL_MEMORY_STATISTICS (Depreca ted) GLOBAL_PERSISTENCE_STATISTICS GLOBAL_TABLES_SIZE (Depreca ted) HOST_BLOCKED_TRANSACTIONS HOST_COLUMN_TABLES_PART_SIZE HOST_DATA_VOLUME_PAGE_STATISTICS HOST_DATA_VOLUME_SUPERBLOCK_STATISTICS HOST_DELTA_MERGE_STATISTICS HOST_HEAP_ALLOCATORS HOST_LONG_RUNNING_STATEMENTS HOST_MEMORY_STATISTICS HOST_ONE_DAY_FILE_COUNT HOST_RESOURCE_UTILIZATION_STATISTICS HOST_SERVICE_MEMORY HOST_SERVICE_STATISTICS HOST_TABLE_VIRTUAL_FILES HOST_VIRTUAL_FILES HOST_VOLUME_FILES HOST_VOLUME_IO_PERFORMANCE_STATISTICS HOST_VOLUME_IO_STATISTICS STATISTICS_ALERTS STATISTICS_ALERT_INFORMATION STATISTICS_ALERT_LAST_CHECK_INFORMATION STATISTICS_INTERVAL_INFORMATION STATISTICS_LASTVALUES STATISTICS_STATE STATISTICS_VERSION

230 231 232 233 234 235 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 272 273 274 275 276 277 278 279

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 using SQL commands. The results appear as tables. Each table contains the following columns: Column name: Contains the name of the table column name Data type: Describes what the data type is (integer, character, boolean and so on). For a full explanation 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 is displayed here Description: Describes the column The tables are listed in alphabetical order. System tables can be identified as they have no prefix whereas the monitoring views are prefixed with M_. Some other abbreviations are used in the table names and they are explained here: CS Column Store RS Row store CE Calculation Engine XS XSEngine

SAP HANA Guides


Latest documentation for SAP HANA: https://service.sap.com/hana* http://help.sap.com/hana_appliance

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

AUDIT_POLICIES
Short description
Defined audit policies

Structure
Column name
AUDIT_POLICY_NAME AUDIT_POLICY_OID EVENT_STATUS EVENT_LEVEL IS_AUDIT_POLICY_ACTIVE EVENT_ACTION USER_NAME OBJECT_TYPE OBJECT_SCHEMA OBJECT_NAME

Data type
NVARCHAR(256) BIGINT VARCHAR(32) VARCHAR(16) VARCHAR(5) VARCHAR(32) NVARCHAR(256) VARCHAR(32) NVARCHAR(256) NVARCHAR(256)

Unit

Description
Audi t pol i cy na me Object ID of the a udi t pol i cy Sta tus of events to be a udi ted: 'SUCCESSFUL EVENTS', 'UNSUCCESSFUL EVENTS', 'ALL EVENTS' Level of events to be a udi ted: 'EMERGENCY', 'CRITICAL', 'ALERT', 'WARNING', 'INFO' Audi t pol i cy i s a cti ve: 'TRUE', 'FALSE' Acti on to be a udi ted, for exa mpl e: 'SELECT', 'GRANT PRIVILEGE', ... Us er whos e a cti ons a re to be a udi ted Type of object to be a udi ted, 'INVALID' i n ca s e of cha nge of object type a fter crea ti on of a udi t pol i cy Schema of object to be a udi ted Na me of object to be a udi ted

10

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

AUTHORIZATION_GRAPH
Short description
Represents authorization dependencies of complex database objects

Structure
Column name
ROOT_DEPENDENT_TYPE_ID ROOT_DEPENDENT_OBJECT_ID DEPENDENT_TYPE_ID DEPENDENT_TYPE_ID_NAME DEPENDENT_SUBTYPE_ID DEPENDENT_SUBTYPE_ID_NAME DEPENDENT_OBJECT_ID DEPENDENT_SCHEMA_NAME DEPENDENT_OBJECT_NAME DEPENDENT_OWNER_OID DEPENDENT_OWNER_NAME DEPENDENT_READONLY UNDERLYING_TYPE_ID UNDERLYING_TYPE_ID_NAME UNDERLYING_SUBTYPE_ID UNDERLYING_SUBTYPE_ID_NAME UNDERLYING_OBJECT_ID UNDERLYING_SCHEMA_NAME UNDERLYING_OBJECT_NAME UNDERLYING_OWNER_OID UNDERLYING_OWNER_NAME UNDERLYING_READONLY DEPENDENCY_USER_OID

Data type
SMALLINT BIGINT SMALLINT NVARCHAR(256) SMALLINT NVARCHAR(256) BIGINT NVARCHAR(256) NVARCHAR(256) BIGINT NVARCHAR(256) INTEGER SMALLINT NVARCHAR(256) SMALLINT NVARCHAR(256) BIGINT NVARCHAR(256) NVARCHAR(256) BIGINT NVARCHAR(256) INTEGER BIGINT

Unit

Description
Object type ID of the root object to s how a s a gra ph Object ID of the root object to s how a s a gra ph Object type ID of the dependent object Object type na me of the dependent object Object s ubtype ID of the dependent object Object s ubtype na me of the dependent object Object ID of the dependent object Schema na me the dependent object bel ongs to Object na me of the dependent object ID of the us er owni ng the dependent object Na me of the us er owni ng the dependent object Rea donl y property of the dependent object Object type ID of the underl yi ng object Object type na me of the underl yi ng object Object s ubtype ID of the underl yi ng object Object s ubtype na me of the underl yi ng object Object ID of the underl yi ng object Schema na me the underl yi ng object bel ongs to Object na me of the underl yi ng object ID of the us er owni ng the underl yi ng object Na me of the us er owni ng the underl yi ng object Rea donl y property of the underl yi ng object ID of the us er requi red to ha ve a certa i n pri vi l ege on the underl yi ng object i n order to va l i da te the dependent object Na me of the us er requi red to ha ve a certa i n pri vi l ege on the underl yi ng object i n order to va l i da te the dependent object Type of dependency determi nes the va l i da ti on s ema nti cs for dependenci es s ha ri ng the s a me dependent objects ID of the pri vi l ege the dependency us er i s requi red to ha ve on the underl yi ng object Na me of the pri vi l ege the dependency us er i s requi red to ha ve on the underl yi ng object Current s ta te of the dependency (a s i nteger). It i s s et by the object va l i da ti on l ogi c a nd refl ects mi s s i ng pri vi l eges or i nva l i da ted objects : 0 .. 3 Current s ta te of a pri vi l ege for the dependent object: 'INVALID', 'NOT AUTHORIZED', 'AUTHORIZED NON GRANTABLE', 'AUTHORIZED GRANTABLE' Current s ta te of a pri vi l ege on upper node (dependent object): 'INVALID', 'NOT GRANTABLE', 'GRANTABLE'

DEPENDENCY_USER_NAME

NVARCHAR(256)

DEPENDENCY_TYPE

SMALLINT

PRIVILEGE_ID PRIVILEGE_NAME IS_VALID

BIGINT NVARCHAR(256) TINYINT

DEPENDENCY_STATUS

VARCHAR(40)

AVAILABLE_PRIVILEGES

VARCHAR(256)

11

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

CONSTRAINTS
Short description
Constraints defined for tables

Structure
Column name
SCHEMA_NAME TABLE_NAME COLUMN_NAME POSITION CONSTRAINT_NAME IS_PRIMARY_KEY IS_UNIQUE_KEY

Data type
NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) SMALLINT NVARCHAR(256) VARCHAR(5) VARCHAR(5)

Unit

Description
Schema na me Ta bl e na me Col umn na me Col umn pos i ti on i n thi s cons tra i nt Cons tra i nt na me Cons tra i nt i s pri ma ry key cons tra i nt: 'TRUE', 'FALSE' Cons tra i nt i s uni que cons tra i nt: 'TRUE', 'FALSE'

12

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

CS_BO_VIEWS
Short description
Business object views for column store join views

Structure
Column name
SCHEMA_NAME VIEW_NAME BO_VIEW_NAME ANCHOR_SCHEMA_NAME ANCHOR_TABLE_NAME

Data type
NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) NVARCHAR(256)

Unit

Description
Schema na me Joi n vi ew na me Bus i nes s object vi ew na me Anchor s chema na me Anchor ta bl e na me

13

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

CS_FREESTYLE_COLUMNS
Short description
Freestyle search columns for column store join views

Structure
Column name
SCHEMA_NAME VIEW_NAME COLUMN_NAME

Data type
NVARCHAR(256) NVARCHAR(256) NVARCHAR(256)

Unit

Description
Schema na me Joi n vi ew na me Frees tyl e col umn na me

14

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

CS_JOIN_CONDITIONS
Short description
Join conditions defined for column store join views

Structure
Column name
SCHEMA_NAME VIEW_NAME JOIN_CONDITION_NAME JOIN_ORDER TABLE_SCHEMA_NAME1 TABLE_NAME1 COLUMN_NAME1 ALIAS_NUMBER1 TABLE_SCHEMA_NAME2 TABLE_NAME2 COLUMN_NAME2 ALIAS_NUMBER2 CONSTRAINTS JOIN_TYPE CARDINALITY

Data type
NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) BIGINT NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) INTEGER NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) INTEGER NVARCHAR(256) VARCHAR(5) VARCHAR(3)

Unit

Description
Schema na me Joi n vi ew na me Joi n condi ti on na me Joi n order number Schema na me of col umn 1 Ta bl e na me of col umn 1 Na me of col umn 1 Al i a s Number of ta bl e na me 1 Schema na me of col umn 2 Ta bl e na me of col umn 2 Na me of col umn 2 Al i a s Number of ta bl e na me 2 Joi n cons tra i nt na me Joi n type: 'i nner', 'l eft', 'ri ght', 'ful l ' Joi n ca rdi na l i ty: '1:1', '1:n', 'n:1', 'n:n'

15

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

CS_JOIN_CONSTRAINTS
Short description
Join constraints defined for column store join views

Structure
Column name
SCHEMA_NAME VIEW_NAME JOIN_CONSTRAINT_NAME CONSTRAINT_TYPE LOCATION TABLE_SCHEMA_NAME TABLE_NAME COLUMN_NAME OPERATOR VALUE

Data type
NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) VARCHAR(32) NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) NVARCHAR(5000)

Unit

Description
Schema na me Joi n vi ew na me Joi n cons tra i nt na me Type of cons tra i nt owner Na me of cons tra i nt owner Schema na me of ta bl e Ta bl e na me of col umn Col umn na me Opera tor Va l ue

16

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

CS_JOIN_PATHS
Short description
Join paths defined for column store join views

Structure
Column name
SCHEMA_NAME VIEW_NAME JOIN_PATH_NAME JOIN_CONDITIONS JOIN_CONSTRAINTS

Data type
NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) NVARCHAR(5000) NVARCHAR(5000)

Unit

Description
Schema na me Joi n vi ew na me Joi n pa th na me Comma s epa ra ted l i s t of joi n condi ti ons Comma s epa ra ted l i s t of joi n cons tra i nts

17

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

CS_JOIN_TABLES
Short description
Physical tables referred by column store join views

Structure
Column name
SCHEMA_NAME VIEW_NAME TABLE_SCHEMA_NAME TABLE_NAME TABLE_TYPE

Data type
NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) VARCHAR(32)

Unit

Description
Schema na me Joi n vi ew na me Schema na me of phys i ca l ta bl e na me Phys i ca l ta bl e na me Type of ta bl e: 'FACT_TABLE', 'D_TABLE', 'X_TABLE', 'Y_TABLE', 'TEMP_TABLE', 'S_TABLE', 'EXTERNAL_OBJECT', 'CONVERSION_TABLE', 'OLAP_TEXT_TABLE', 'AUTHORIZATION_TABLE', 'HIERARCHY'

18

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

CS_KEY_FIGURES
Short description
Key figures defined for column store join views

Structure
Column name
SCHEMA_NAME VIEW_NAME KEY_FIGURE_NAME DEFAULT_AGGREGATION_TYPE DESCRIPTION UNIT_CONVERSION_NAME TABLE_SCHEMA_NAME TABLE_NAME COLUMN_NAME EXPRESSION_FLAGS EXPRESSION

Data type
NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) VARCHAR(32) NVARCHAR(5000) NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) VARCHAR(32) NVARCHAR(256)

Unit

Description
Schema na me Joi n vi ew na me Key fi gure na me Aggrega ti on type l i ke: 's um', 'count', 'mi n', ... Des cri pti on Na me of uni t convers i on Schema na me of ta bl e Ta bl e na me of col umn Col umn na me Expres s i on fl a gs Expres s i on

19

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

CS_VIEW_COLUMNS
Short description
Columns defined for column store join views

Structure
Column name
SCHEMA_NAME VIEW_NAME VIEW_COLUMN_NAME TABLE_SCHEMA_NAME TABLE_NAME ALIAS_NUMBER COLUMN_NAME JOIN_PATH CS_TYPE EXPRESSION_FLAGS EXPRESSION

Data type
NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) INTEGER NVARCHAR(256) NVARCHAR(256) VARCHAR(16) VARCHAR(32) NVARCHAR(256)

Unit

Description
Schema na me Joi n vi ew na me Vi ew col umn na me Schema na me of ta bl e Ta bl e na me of col umn Al i a s number Col umn na me Joi n pa th na me Col umn s tore da ta type Expres s i on fl a gs Expres s i on

20

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

DATA_TYPES
Short description
Available SQL data types

Structure
Column name
TYPE_ID TYPE_NAME COLUMN_SIZE LITERAL_PREFIX

Data type
SMALLINT VARCHAR(16) INTEGER CHAR(1)

Unit

Description
Da ta type ID Da ta type na me Ma xi mum s i ze of the da ta type tha t thi s s ys tem ca n s upport ODBC 2.0 SQLGetTypeInfo Va rcha r. Cha ra cter or cha ra cters us ed to prefi x a l i tera l , for exa mpl e, a s i ngl e quota ti on ma rk (') for cha ra cter da ta types or 0x for bi na ry da ta types ; NULL i s returned for da ta types where a l i tera l prefi x i s not a ppl i ca bl e ODBC 2.0 SQLGetTypeInfo Va rcha r. Cha ra cter or cha ra cters us ed to termi na te a l i tera l , for exa mpl e, a s i ngl e quota ti on ma rk (') for cha ra cter da ta types ; NULL i s returned for da ta types where a l i tera l s uffi x i s not a ppl i ca bl e ODBC 2.0 SQLGetTypeInfo Va rcha r. A l i s t of keywords , s epa ra ted by comma s , corres pondi ng to ea ch pa ra meter tha t the a ppl i ca ti on ma y s peci fy i n pa renthes es when us i ng the na me tha t i s returned i n the TYPE_NAME fi el d Speci fi es whether the da ta type ca n a ccept nul l or not ODBC 2.0 SQLGetTypeInfo s ma l l i nt. Whether a cha ra cter da ta type i s ca s e-s ens i ti ve i n col l a ti ons a nd compa ri s ons How the da ta type ca n be us ed i n the WHERE cl a us e Si gned or uns i gned Whether the da ta type ha s predefi ned fi xed preci s i on a nd s ca l e (ODBC) Whether the da ta type i s a utoi ncrementi ng (ODBC) ODBC 2.0 SQLGetTypeInfo va rcha r. Loca l i zed vers i on of the da ta s ource-dependent na me of the da ta type ODBC 2.0 SQLGetTypeInfo s ma l l i nt. The mi ni mum s ca l e of the da ta type on the da ta s ource ODBC 2.0 SQLGetTypeInfo s ma l l i nt. The ma xi mum s ca l e of the da ta type on the da ta s ource ODBC 3.0 SQLGetTypeInfo s ma l l i nt. The va l ue of the SQL da ta type a s i t a ppea rs i n the SQL_DESC_TYPE fi el d of the des cri ptor. Thi s col umn i s the s a me a s the DATATYPE col umn, except for i nterva l a nd da teti me da ta types ODBC 3.0 SQLGetTypeInfo s ma l l i nt. When the va l ue of SQL_DATATYPE i s SQL_DATETIME or SQL_INTERVAL, thi s col umn conta i ns the da teti me/i nterva l s ubcode ODBC 3.0 SQLGetTypeInfo i nteger. In ca s e of a n a pproxi ma te numeri c da ta type, va l ue i s 2 to i ndi ca te tha t COLUMN_SIZE s peci fi es the number of bi ts . For exa ct numeri c da ta types va l ue 10 i ndi ca tes tha t COLUMN_SIZE s peci fi es the number of deci ma l di gi ts ODBC 3.0 SQLGetTypeInfo s ma l l i nt. If the da ta type i s a n i nterva l da ta type, then thi s col umn conta i ns the va l ue of the i nterva l l ea di ng preci s i on. Otherwi s e, thi s col umn i s NULL

LITERAL_SUFFIX

CHAR(1)

CREATE_PARAMS

VARCHAR(16)

NULLABLE CASE_SENSITIVE SEARCHABLE UNSIGNED_ATTRIBUTE FIXED_PREC_SCALE AUTO_UNIQUE_VALUE LOCAL_TYPE_NAME MINIMUM_SCALE MAXIMUM_SCALE SQL_DATA_TYPE

TINYINT TINYINT TINYINT TINYINT TINYINT TINYINT VARCHAR(16) SMALLINT SMALLINT SMALLINT

SQL_DATETIME_SUB

SMALLINT

NUM_PREC_RADIX

INTEGER

INTERVAL_PRECISION

SMALLINT

21

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

EFFECTIVE_PRIVILEGES
Short description
Privileges of the current user

Structure
Column name
USER_NAME GRANTEE GRANTEE_TYPE GRANTOR GRANTOR_TYPE OBJECT_TYPE SCHEMA_NAME OBJECT_NAME COLUMN_NAME PRIVILEGE IS_GRANTABLE IS_VALID

Data type
NVARCHAR(256) NVARCHAR(256) VARCHAR(4) NVARCHAR(256) VARCHAR(4) VARCHAR(32) NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) VARCHAR(5) VARCHAR(5)

Unit

Description
Na me of the us er for whom effecti ve pri vi l eges a re s hown Us er or rol e tha t ha s the pri vi l ege 'USER' or 'ROLE' Us er or rol e tha t provi ded the pri vi l ege 'USER' or 'ROLE' Type of the gra nted object l i ke: 'TABLE', 'SCHEMA', ... Schema na me the object bel ongs to Object na me of gra nted object Col umn na me Pri vi l ege gra nted Pri vi l ege wa s gra nted 'WITH GRANT OPTION', 'WITH ADMIN OPTION': 'TRUE', 'FALSE' Pri vi l ege i s va l i d or i t beca me i nva l i d beca us e of i mpl i ci t revoki ng: 'TRUE', 'FALSE'

22

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

EFFECTIVE_ROLES
Short description
Roles of the current user

Structure
Column name
USER_NAME GRANTEE GRANTEE_TYPE GRANTOR ROLE_NAME IS_GRANTABLE

Data type
NVARCHAR(256) NVARCHAR(256) VARCHAR(4) NVARCHAR(256) NVARCHAR(256) VARCHAR(5)

Unit

Description
Na me of the us er for whom effecti ve rol es a re s hown Us er or rol e tha t ha s the rol e 'USER' or 'ROLE' Us er tha t gra nted the rol e Rol e gra nted Rol e wa s gra nted 'WITH ADMIN OPTION': 'TRUE', 'FALSE'

23

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

EXPLAIN_PLAN_TABLE
Short description
SQL query plan explanation result

Structure
Column name
STATEMENT_NAME

Data type
VARCHAR(256)

Unit

Description
The s tri ng s peci fi ed a s STATEMENT_NAME on executi ng EXPLAIN PLAN comma nd. Thi s i s us ed to di s ti ngui s h pl a ns from ea ch other when there a re mul ti pl e pl a ns i n EXPLAIN_PLAN_TABLE vi ew Na me of a n opera tor. Deta i l s a re des cri bed i n the fol l owi ng s ecti on Deta i l s of a n opera tor. Predi ca tes a nd expres s i ons us ed by the opera tor a re s hown here Executi on engi ne where the pl a n opera tor i s executed: COLUMN or ROW Schema na me the dependent object bel ongs to Na me of da ta ba s e ta bl es a nd vi ews a cces s ed by a n opera tor Ta bl e s tored type: COLUMN or ROW Es ti ma ted i nput row count of a n opera tor. Thi s i s a va i l a bl e onl y for opera tors a cces s i ng ta bl es a nd vi ews di rectl y Es ti ma ted output row count of a n opera tor Es ti ma ted cos t of executi ng the s ubtree s ta rti ng from a n opera tor Uni que ID of a n opera tor. IDs a re i ntegers s ta rti ng from 1 OPERATOR_ID of the pa rent of a n opera tor. The s ha pe of a query pl a n i s a tree a nd the topol ogy of the tree ca n be recons tructed us i ng OPERATOR_ID a nd PARENT_OPERATOR_ID. PARENT_OPERATOR_ID of the root opera tor i s s hown a s NULL Level from the root opera tor. Level of the root opera tor i s 1, l evel of a chi l d of the root opera tor i s 2 a nd s o on. Thi s ca n be uti l i zed for output i ndenta ti on Pos i ti on i n the pa rent opera tor. Pos i ti on of the fi rs t chi l d i s 1, pos i ti on of the s econd chi l d i s 2 a nd s o on Hos t where the pl a n opera tor i s genera ted Port where the pl a n opera tor i s genera ted Da te a nd ti me when the EXPLAIN PLAN comma nd wa s executed Connecti on ID

OPERATOR_NAME OPERATOR_DETAILS EXECUTION_ENGINE SCHEMA_NAME TABLE_NAME TABLE_TYPE TABLE_SIZE OUTPUT_SIZE SUBTREE_COST OPERATOR_ID PARENT_OPERATOR_ID

VARCHAR(5000) NCLOB VARCHAR(256) NVARCHAR(256) NVARCHAR(256) VARCHAR(5000) DOUBLE DOUBLE DOUBLE INTEGER INTEGER

LEVEL

INTEGER

POSITION HOST PORT TIMESTAMP CONNECTION_ID

INTEGER VARCHAR(256) INTEGER TIMESTAMP INTEGER

24

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

FULLTEXT_INDEXES
Short description
Fulltext indexes on table columns

Structure
Column name
SCHEMA_NAME TABLE_NAME TABLE_OID INDEX_NAME INDEX_OID LANGUAGE_COLUMN MIME_TYPE_COLUMN LANGUAGE_DETECTION FAST_PREPROCESS

Data type
NVARCHAR(256) NVARCHAR(256) BIGINT NVARCHAR(256) BIGINT NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) VARCHAR(5)

Unit

Description
Schema na me Ta bl e na me Object ID of the ta bl e Na me of the ful l text i ndex Object ID of the ful l text i ndex Col umn na me of the i ndexed ta bl e conta i ni ng l a ngua ge i ndi ca tors for the i ndexed documents Col umn na me of the i ndexed ta bl e conta i ni ng MIME type i ndi ca tors for the i ndexed documents Set of l a ngua ges to be cons i dered for a utoma ti c l a ngua ge detecti on If s et to true, preproces s i ng wi l l be done wi th reduced functi ona l i ty (e.g. l i ngui s ti c s ea rch i s not a va i l a bl e), whi ch wi l l s peed up the i ndexi ng If s et to true, fuzzy s ea rch i s performed wi th a n a ddi ti ona l i ndex (fa s ter s ea rch, but hi gher memory cons umpti on) If s et to true, the text-a ttri butes wi l l not s tore a ny DAFs , i .e. i t i s not pos s i bl e to retri eve the HTMLconverted or ori gi na l da ta from the text-a ttri bute. If the text-a ttri bute i s a s ha dow a ttri bute (i .e. crea ted vi a CREATE FULLTEXT INDEX), the s ource-a ttri bute (conta i ni ng the ori gi na l da ta ) i s not a ffected by thi s fl a g If s et to true, the i ndex i s a n expl i ci t ful l text i ndex, i .e. crea ted by CREATE FULLTEXT INDEX Us ed to s tore cha nge-tra cki ng beha vi or of the ful l text i ndex Us ed to s tore cha nge-tra cki ng beha vi or of the ful l text i ndex An expl i ci t confi g-fi l e ca n be s peci fi ed, for exa mpl e, to ena bl e na med enti ty extra cti on Na me of the i nterna l text-a ttri bute, onl y s et i f the ful l text i ndex wa s not crea ted us i ng TEXT-da ta type Fl oa t between 0.0 a nd 1.0 whi ch s peci fi es how much memory the phra s e i ndex ma y us e (a s a percenta ge of the memory s i ze of the ful l text i ndex) If s et to true, text mi ni ng ca pa bi l i ti es wi l l be ena bl ed on the i ndexed col umn If s et to true, a n a ddi ti ona l ta bl e i s crea ted tha t s tores text a na l ys i s res ul ts , norma l l y thi s pa ra meter s houl d be s et to fa l s e

FUZZY_SEARCH_INDEX

VARCHAR(5)

SEARCH_ONLY

VARCHAR(5)

IS_EXPLICIT FLUSH_AFTER_DOCUMENTS FLUSH_EVERY_MINUTES CONFIGURATION INTERNAL_COLUMN_NAME PHRASE_INDEX_RATIO

VARCHAR(5) INTEGER INTEGER NVARCHAR(256) NVARCHAR(512) REAL

TEXT_MINING TEXT_ANALYSIS

VARCHAR(5) VARCHAR(5)

25

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

FUNCTIONS
Short description
Available functions

Structure
Column name
SCHEMA_NAME FUNCTION_NAME FUNCTION_OID INPUT_PARAMETER_COUNT RETURN_VALUE_COUNT IS_UNICODE DEFINITION FUNCTION_TYPE IS_VALID

Data type
NVARCHAR(256) NVARCHAR(256) BIGINT INTEGER INTEGER VARCHAR(5) NCLOB VARCHAR(10) VARCHAR(5)

Unit

Description
Schema na me of the functi on Na me of the functi on Object ID of the functi on Input type pa ra meter count Return va l ue type pa ra meter count Speci fi es whether the functi on conta i ns Uni code or not: 'TRUE', 'FALSE' Query s tri ng of the functi on Type of the functi on Speci fi es whether the functi on i s va l i d or not. Thi s becomes 'FALSE' when i ts ba s e objects a re cha nged or dropped: 'TRUE', 'FALSE'

26

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

FUNCTION_PARAMETERS
Short description
Parameters of functions

Structure
Column name
SCHEMA_NAME FUNCTION_NAME FUNCTION_OID PARAMETER_NAME DATA_TYPE_ID DATA_TYPE_NAME LENGTH SCALE POSITION TABLE_TYPE_SCHEMA TABLE_TYPE_NAME PARAMETER_TYPE HAS_DEFAULT_VALUE IS_NULLABLE

Data type
NVARCHAR(256) NVARCHAR(256) BIGINT NVARCHAR(256) INTEGER VARCHAR(16) INTEGER INTEGER INTEGER NVARCHAR(256) NVARCHAR(256) VARCHAR(7) VARCHAR(5) VARCHAR(5)

Unit

Description
Schema na me of the functi on Na me of the functi on Object ID of the functi on Pa ra meter na me Da ta type ID Da ta type na me Pa ra meter l ength Sca l e of the pa ra meter Ordi na l pos i ti on of the pa ra meter Schema na me of ta bl e type i f DATA_TYPE_NAME i s TABLE_TYPE Na me of ta bl e type i f DATA_TYPE_NAME i s TABLE_TYPE Pa ra meter mode: IN, OUT, INOUT Speci fi es whether the pa ra meter ha s a defa ul t va l ue or not: 'TRUE', 'FALSE' Speci fi es whether the pa ra meter a ccepts a nul l va l ue: 'TRUE', 'FALSE'

27

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

GRANTED_PRIVILEGES
Short description
Privileges granted to users and roles

Structure
Column name
GRANTEE GRANTEE_TYPE GRANTOR OBJECT_TYPE SCHEMA_NAME OBJECT_NAME COLUMN_NAME PRIVILEGE IS_GRANTABLE IS_VALID

Data type
NVARCHAR(256) VARCHAR(4) NVARCHAR(256) VARCHAR(32) NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) VARCHAR(5) VARCHAR(5)

Unit

Description
Us er or rol e the pri vi l ege i s gra nted to 'USER' or 'ROLE' Us er who gra nted the pri vi l ege Type of the gra nted object l i ke: 'TABLE', 'SCHEMA', ... Schema na me the object bel ongs to Object na me of gra nted object Col umn na me Pri vi l ege gra nted Pri vi l ege wa s gra nted 'WITH GRANT OPTION', 'WITH ADMIN OPTION': 'TRUE', 'FALSE' Pri vi l ege i s va l i d or i t beca me i nva l i d beca us e of i mpl i ci t revoki ng: 'TRUE', 'FALSE'

28

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

GRANTED_ROLES
Short description
Roles granted to users or other roles

Structure
Column name
GRANTEE GRANTEE_TYPE ROLE_NAME GRANTOR IS_GRANTABLE

Data type
NVARCHAR(256) VARCHAR(4) NVARCHAR(256) NVARCHAR(256) VARCHAR(5)

Unit

Description
Us er or rol e the rol e i s gra nted to 'USER' or 'ROLE' Na me of the gra nted rol e Us er who gra nted the rol e Rol e wa s gra nted 'WITH ADMIN OPTION': 'TRUE', 'FALSE'

29

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

INDEXES
Short description
Indexes on tables

Structure
Column name
SCHEMA_NAME TABLE_NAME TABLE_OID INDEX_NAME INDEX_OID INDEX_TYPE

Data type
NVARCHAR(256) NVARCHAR(256) BIGINT NVARCHAR(256) BIGINT VARCHAR(32)

Unit

Description
Schema na me Ta bl e na me Object ID of the ta bl e Index na me Object ID of the i ndex Type of RS-i ndex: 'BTREE', 'BTREE_UNIQUE', 'CPBTREE', 'CPBTREE_UNIQUE'; Type of CS-i ndex: 'INVERTED', 'INVERTED_UNIQUE', 'CONCAT_INVERTED', 'CONCAT_INVERTED_UNIQUE' Cons tra i nt type of the i ndex: 'UNIQUE', 'NOT_NULL_UNIQUE', 'PRIMARY_KEY' Length of the key B-tree fi l l fa ctor (50~100) B-tree s pl i t type: 'SPLIT_PERCENT', 'SPLIT_INVOKER' B-tree s pl i t pos i ti on (0~100)

CONSTRAINT KEY_LENGTH BTREE_FILL_FACTOR BTREE_SPLIT_TYPE BTREE_SPLIT_POSITION

VARCHAR(32) SMALLINT SMALLINT TINYINT TINYINT

30

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

INDEX_COLUMNS
Short description
Columns of indexes

Structure
Column name
SCHEMA_NAME TABLE_NAME TABLE_OID INDEX_NAME INDEX_OID CONSTRAINT COLUMN_NAME POSITION ASCENDING_ORDER

Data type
NVARCHAR(256) NVARCHAR(256) BIGINT NVARCHAR(256) BIGINT VARCHAR(32) NVARCHAR(256) SMALLINT VARCHAR(5)

Unit

Description
Schema na me Ta bl e na me Object ID of the ta bl e Index na me Object ID of the i ndex Cons tra i nt type of the i ndex: UNIQUE, NOT_NULL_UNIQUE, PRIMARY_KEY Na me of the i ndexed col umn Ordi na l pos i ti on of the i ndexed col umn Speci fi es whether the i ndexed col umn i s a s cendi ng order or not: 'TRUE', 'FALSE'

31

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

INVALID_CONNECT_ATTEMPTS
Short description
Number of invalid connect attempts for a user between two successful connects

Structure
Column name
USER_NAME SUCCESSFUL_CONNECT_TIME INVALID_CONNECT_ATTEMPTS

Data type
NVARCHAR(256) TIMESTAMP BIGINT

Unit

Description
Na me of the us er Ti me of the va l i d connect a ttempt Number of i nva l i d connect a ttempts for thi s us er between l a s t s ucces s ful connect a nd gi ven ti me

32

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_ATTACHED_STORAGES
Short description
Information about currently attached devices

Structure
Column name
HOST STORAGE_ID PATH KEY VALUE

Data type
VARCHAR(64) INTEGER VARCHAR(512) VARCHAR(256) VARCHAR(2000)

Unit

Description
Hos t Stora ge ID Pa th Key (from s tora ge provi der) Va l ue (from s tora ge provi der)

33

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_BACKUP_CATALOG
Short description
Common data for all backup catalog entries

Structure
Column name
ENTRY_ID ENTRY_TYPE_NAME

Data type
BIGINT VARCHAR(64)

Unit
Counter

Description
Uni que ID of a ba ckup ca ta l og entry Cl a s s i fi ca ti on of ba ckup ca ta l og entri es . The fol l owi ng types a re s upported: 'compl ete da ta ba ckup', 'l og ba ckup', 'l og mi s s i ng'

BACKUP_ID

BIGINT

Counter

Uni que ID of a da ta ba ckup or a l og ba ckup res pecti vel y. Al l ba ckup fi l es of a s i ngl e da ta ba ckup s ha re the s a me BACKUP_ID Sta rt ti me gi ven i n s erver l oca l ti me Sta rt ti me gi ven i n UTC Stop ti me gi ven i n s erver l oca l ti me Stop ti me gi ven i n UTC Res ul t of corres pondi ng a cti on: 's ucces s ful ', 'fa i l ed', 'runni ng', 'ca ncel pendi ng', 'ca ncel ed' Addi ti ona l i nforma ti on Addi ti ona l i nforma ti on

SYS_START_TIME UTC_START_TIME SYS_END_TIME UTC_END_TIME STATE_NAME COMMENT MESSAGE

TIMESTAMP TIMESTAMP TIMESTAMP TIMESTAMP VARCHAR(64) VARCHAR(256) VARCHAR(512)

34

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_BACKUP_CATALOG_FILES
Short description
Location information of all backup catalog entries

Structure
Column name
ENTRY_ID BACKUP_ID

Data type
BIGINT BIGINT

Unit

Description
Uni que ID of a ba ckup ca ta l og entry Uni que ID of a da ta ba ckup a nd l og ba ckup res pecti vel y. Al l ba ckup fi l es of a s i ngl e da ta ba ckup s ha re the s a me BACKUP_ID Pers i s tence vol ume ID Type of pers i s tence to be ba cked up: 'vol ume', 'topol ogy' Hos t na me Type of da ta ba s e s ervi ce: 'i ndexs erver', 'na mes erver', 's ta ti s ti cs s erver' In ca s e of a da ta ba ckup thi s va l ue s peci fi es the l og pos i ti on tha t mus t be proces s ed next when a l og recovery i s reques ted a fter res tori ng the da ta ba ckup In ca s e of a l og ba ckup thi s va l ue s peci fi es the l og pos i ti on of the ol des t l og entry conta i ned i n the ba ckup In ca s e of a l og ba ckup thi s va l ue s peci fi es the l og pos i ti on of the younges t l og entry conta i ned i n the ba ckup Speci fi es the s i ze of the ba ckup Da ta or l og ba ckup wa s wri tten to thi s l oca ti on Type of l oca ti on: 'fi l e', 'ba cki nt' Identi fi er of ba ckup recei ved from a ba ckup tool

SOURCE_ID SOURCE_TYPE_NAME HOST SERVICE_TYPE_NAME REDO_LOG_POSITION

BIGINT VARCHAR(64) VARCHAR(64) VARCHAR(64) BIGINT

FIRST_REDO_LOG_POSITION LAST_REDO_LOG_POSITION

BIGINT BIGINT

BACKUP_SIZE DESTINATION_PATH DESTINATION_TYPE_NAME EXTERNAL_BACKUP_ID

BIGINT VARCHAR(512) VARCHAR(16) VARCHAR(64)

35

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_BACKUP_CONFIGURATION
Short description
Backup configuration statistics

Structure
Column name
MAX_RECOVERY_FILE_AGE LOG_REPLAY_STEP_SIZE MAX_RECOVERY_BACKINT_CHANNELS BACKINT_EXECUTABLE_LINK BACKINT_EXECUTABLE BACKINT_DATA_BACKUP_PATH BACKINT_LOG_BACKUP_PATH

Data type
BIGINT BIGINT BIGINT VARCHAR(256) VARCHAR(256) VARCHAR(256) VARCHAR(256)

Unit
Second Byte

Description
Ma x recovery fi l e a ge Log repl a y s tep s i ze i n bytes Ma x number of pa ra l l el ba cki nt cha nnel s per reques t duri ng recovery Li nkna me of the ba cki nt executa bl e Rea l fi l ena me of the ba cki nt executa bl e Da ta ba ckup di rectory for ba cki nt Log ba ckup di rectory for ba cki nt

36

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_BLOCKED_TRANSACTIONS
Short description
Transaction list waiting for locks

Structure
Column name
HOST PORT BLOCKED_TRANSACTION_ID BLOCKED_UPDATE_TRANSACTION_ID LOCK_OWNER_TRANSACTION_ID LOCK_OWNER_UPDATE_TRANSACTION_ID BLOCKED_TIME WAITING_RECORD_ID WAITING_SCHEMA_NAME WAITING_TABLE_NAME WAITING_OBJECT_NAME WAITING_OBJECT_TYPE LOCK_TYPE LOCK_MODE

Data type
VARCHAR(64) INTEGER INTEGER BIGINT INTEGER BIGINT TIMESTAMP VARCHAR(256) NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) VARCHAR(32) VARCHAR(32) VARCHAR(32)

Unit

Description
Hos t na me Interna l port Tra ns a cti on object ID of the tra ns a cti on wa i ti ng for a l ock Wri te tra ns a cti on ID of the bl ocked wri te tra ns a cti on Tra ns a cti on object ID of the tra ns a cti on hol di ng the l ock Wri te tra ns a cti on ID of the wri te tra ns a cti on hol di ng the l ock Bl ocked ti mes ta mp ID of the record on whi ch the l ock i s currentl y pl a ced Na me of the s chema on whi ch the l ock i s currentl y pl a ced Depreca ted: us e WAITING_OBJECT_NAME i ns tea d Na me of the object on whi ch the l ock i s currentl y pl a ced Object type Lock type: 'RECORD', 'TABLE', 'METADATA' Lock mode: 'SHARED', 'EXCLUSIVE', 'INTENTIONAL EXCLUSIVE'

37

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the 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
HOST PORT VOLUME_ID CACHE_ID TOTAL_SIZE USED_SIZE ENTRY_COUNT INSERT_COUNT INVALIDATE_COUNT HIT_COUNT MISS_COUNT

Data type
VARCHAR(64) INTEGER INTEGER VARCHAR(128) BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID The uni que i denti fi er for the ca che

Byte Byte Counter Counter Counter Counter Counter

The ma xi mum a va i l a bl e memory budget i n bytes a va i l a bl e for the ca che i ns ta nce The memory i n bytes us ed by the ca che i ns ta nce The number of entri es i n the ca che i ns ta nce The number of i ns erti ons i nto the ca che i ns ta nce The number of i nva l i da ti ons i n the ca che i ns ta nce The number of ca che hi ts for the ca che i ns ta nce The number of ca che mi s s es for the ca che i ns ta nce

38

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 to M_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.

39

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_CACHE_ENTRIES
Short description
Cache entry information

Structure
Column name
HOST PORT VOLUME_ID CACHE_ID ENTRY_ID ENTRY_DESCRIPTION COMPONENT USER_NAME MEMORY_SIZE CREATE_TIME READ_COUNT

Data type
VARCHAR(64) INTEGER INTEGER VARCHAR(128) VARCHAR(128) NVARCHAR(5000) VARCHAR(128) NVARCHAR(256) BIGINT TIMESTAMP BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID ID of the ca che tha t crea ted the entry ID of the ca ched entry Des cri pti on of the ca ched entry Informa ti on a bout the component tha t crea ted the ca ched entry Informa ti on a bout the us er tha t crea ted the ca ched entry Us ed memory to s tore the ca ched entry i n the ca che Poi nt i n ti me when the ca che entry wa s i ns erted i nto the ca che Determi nes how often the ca che entry wa s rea d s ucces s ful l y from the ca che

40

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_CATALOG_MEMORY
Short description
Memory usage information by catalog manager

Structure
Column name
HOST PORT CATEGORY ALLOCATION_COUNT ALLOCATED_FIXED_PART_SIZE USED_FIXED_PART_SIZE ALLOCATED_VARIABLE_PART_SIZE USED_VARIABLE_PART_SIZE

Data type
VARCHAR(64) INTEGER VARCHAR(128) BIGINT BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Ca tegory of ca ta l og da ta The number of a l l oca ted entri es

Byte Byte Byte Byte

Al l oca ted memory s i ze for fi xed-s i ze pa rt Us ed memory s i ze for fi xed-s i ze pa rt Al l oca ted memory s i ze for va ri a bl e-s i ze pa rt Us ed memory s i ze for va ri a bl e-s i ze pa rt

41

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_CE_CALCSCENARIOS
Short description
All available CalculationScenarios

Structure
Column name
HOST PORT SCENARIO_NAME IS_PERSISTENT FLAGS CREATE_TIME MEMORY_SIZE COMPONENT SCENARIO_VERSION JSON

Data type
VARCHAR(64) INTEGER NVARCHAR(256) VARCHAR(5) BIGINT TIMESTAMP BIGINT NVARCHAR(256) NVARCHAR(256) NCLOB

Unit

Description
Hos t na me Interna l port Scena ri o na me

Bool ea n

Indi ca tes i f ca l cul a ti on s cena ri o i s pers i s tent or tra ns i ent: 'TRUE', 'FALSE' Ca l cul a ti on s cena ri o fl a gs Crea ti on ti me

Byte

Memory s i ze of l oa ded ca l cul a ti on s cena ri o model Component tha t crea te the ca l cul a ti on s cena ri o Scena ri o vers i on of the ca l cul a ti on s cena ri o JSON s tri ng repres enti ng the ca l cul a ti on s cena ri o

42

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_CE_CALCVIEW_DEPENDENCIES
Short description
All views that are referencing a CalculationScenario

Structure
Column name
HOST PORT SCHEMA_NAME VIEW_NAME CALCNODE_NAME SCENARIO_NAME

Data type
VARCHAR(64) INTEGER NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) NVARCHAR(256)

Unit

Description
Hos t na me Interna l port Schema na me of col umn vi ew Col umn vi ew na me Referenced ca l cul a ti on node na me Scena ri o na me

43

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_CE_DEBUG_INFOS
Short description
Debug information after execution of a CalculationScenario

Structure
Column name
HOST PORT SCENARIO_NAME NODE_NAME STATEMENT_ID DEBUG_TYPE_MASK TABLE_NAME COLUMN_NAMES TABLE_SIZE EXECUTION_TIMESTAMP

Data type
VARCHAR(64) INTEGER NVARCHAR(256) NVARCHAR(256) BIGINT BIGINT NVARCHAR(256) CLOB BIGINT TIMESTAMP

Unit

Description
Hos t na me Interna l port Scena ri o na me Ca l cul a ti on node na me Sta tement ID Bi t ma s k i ndi ca ti ng type of debug i nforma ti on Ta bl e na me (tempora y i ntermedi a te res ul t ta bl e) Col umn na mes

Byte

Ta bl e s i ze (tempora y i ntermedi a te res ul t ta bl e) Executi on ti mes ta mp

44

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_CE_DEBUG_JSONS
Short description
All available JSONS (original, instantiated, optimized) of a scenario for a concrete query

Structure
Column name
HOST PORT SCENARIO_NAME STATEMENT_ID TYPE MODEL_JSON EXECUTION_TIMESTAMP

Data type
VARCHAR(64) INTEGER NVARCHAR(256) BIGINT VARCHAR(16) NCLOB TIMESTAMP

Unit

Description
Hos t na me Interna l port Scena ri o na me Sta tement ID JSON type (ori gi na l , i ns ta nti a ted, opti mi zed, extra ce) JSON s tri ng repres enti ng the ca l cul a ti on s cena ri o Executi on ti mes ta mp

45

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_CE_DEBUG_NODE_MAPPING
Short description
Node mapping between CalculationNodes and RuntimeNodes after execution

Structure
Column name
HOST PORT STATEMENT_ID SCENARIO_NAME NODE_NAME NODE_TYPE SUCC_SCENARIO_NAME SUCC_NODE_NAME RUNTIME_NODE_NAME RUNTIME_NODE_JSON EXECUTION_TIMESTAMP

Data type
VARCHAR(64) INTEGER BIGINT NVARCHAR(256) NVARCHAR(256) VARCHAR(16) NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) NCLOB TIMESTAMP

Unit

Description
Hos t na me Interna l port Sta tement ID Scena ri o na me Ca l cul a ti on node na me Ca l cul a ti on node type (ROOT, TEMPLATE, CALC_DS) Succes s or s cena ri o na me Succes s or ca l cul a ti on node na me Runti me ca l cul a ti on node na me JSON s tri ng repres enti ng the ca l cul a ti on node Executi on ti mes ta mp

46

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_CE_PLE_CALCSCENARIOS
Short description
All available CalculationScenarios created by the PlanningEngine

Structure
Column name
HOST PORT SCHEMA_NAME SCENARIO_NAME

Data type
VARCHAR(64) INTEGER NVARCHAR(256) NVARCHAR(256)

Unit

Description
Hos t na me Interna l port Schema na me of ca l cul a ti on s cena ri o Ca l cul a ti on s cena ri o na me

47

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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
CLIENT_TYPE CLIENT_RELEASE_ID CLIENT_RELEASE_DESC MIN_VERSION MAX_VERSION

Data type
VARCHAR(256) SMALLINT VARCHAR(256) SMALLINT SMALLINT

Unit

Description
Cl i ent, e.g. 'ABAP_FDA', 'BI Model er' Techni ca l rel ea s e ID Huma n rea da bl e rel ea s e des cri pti on Lowes t s upported protocol vers i on Hi ghes t s upported protocol vers i on

48

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_COMPACTION_THREAD
Short description
Compaction thread statistics

Full description
The compaction thread automatically calls compaction of memory (including resource container shrink) in case memory gets low, but is not already exhausted. It also executes the compaction requests triggered by other processes (inter-process memory management). Some information about the compaction requests and the compacted sizes is shown in this view.

Structure
Column name
HOST PORT VOLUME_ID NUM_COMPACTION_COLLISIONS

Data type
VARCHAR(64) INTEGER INTEGER BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID

Counter

Count of memory compa cti on col l i s i ons (other threa d currentl y i n compa cti on a nd compa cti on wa s not forced) Count number of compa cti on reques ts Compa cti on reques t i n bytes (l a s t) Compa cti on reques t i n bytes (ma x) Compa cti on reques t i n bytes (mi n) Compa cti on reques t i n bytes (tota l ) Compa cti on reques t i n bytes (a vg) Bytes compa cti bl e a t compa cti on ca l l (l a s t) Bytes compa cti bl e a t compa cti on ca l l (ma x) Bytes compa cti bl e a t compa cti on ca l l (mi n) Bytes compa cti bl e a t compa cti on ca l l (tota l ) Bytes compa cti bl e a t compa cti on ca l l (a vg) Bytes compa cted by memory ga rba ge col l ecti on (defra gmenta ti on) (l a s t) Bytes compa cted by memory ga rba ge col l ecti on (defra gmenta ti on) (ma x) Bytes compa cted by memory ga rba ge col l ecti on (defra gmenta ti on) (mi n) Bytes compa cted by memory ga rba ge col l ecti on (defra gmenta ti on) (tota l ) Bytes compa cted by memory ga rba ge col l ecti on (defra gmenta ti on) (a vg) Compa cti on res ul t i n bytes (di fference of a l l oca ted bytes before a nd a fter compa cti on, di fference ma y be i nfl uenced by other fa ctors tha n compa cti on) (l a s t) Compa cti on res ul t i n bytes (di fference of a l l oca ted bytes before a nd a fter compa cti on, di fference ma y be i nfl uenced by other fa ctors tha n compa cti on) (ma x) Compa cti on res ul t i n bytes (di fference of a l l oca ted bytes before a nd a fter compa cti on, di fference ma y be i nfl uenced by other fa ctors tha n compa cti on) (mi n) Compa cti on res ul t i n bytes (di fference of a l l oca ted bytes before a nd a fter compa cti on, di fference ma y be i nfl uenced by other fa ctors tha n compa cti on) (tota l ) Compa cti on res ul t i n bytes (di fference of a l l oca ted bytes before

NUM_COMPACTIONS LAST_SIZE_COMPACTION_REQUESTS MAX_SIZE_COMPACTION_REQUESTS MIN_SIZE_COMPACTION_REQUESTS SUM_SIZE_COMPACTION_REQUESTS AVG_SIZE_COMPACTION_REQUESTS LAST_SIZE_FREEABLE MAX_SIZE_FREEABLE MIN_SIZE_FREEABLE SUM_SIZE_FREEABLE AVG_SIZE_FREEABLE LAST_SIZE_FREED_BY_GARBAGE_COLLECTION MAX_SIZE_FREED_BY_GARBAGE_COLLECTION MIN_SIZE_FREED_BY_GARBAGE_COLLECTION SUM_SIZE_FREED_BY_GARBAGE_COLLECTION AVG_SIZE_FREED_BY_GARBAGE_COLLECTION LAST_COMPACTION_RESULT

BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Counter Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte

MAX_COMPACTION_RESULT

BIGINT

Byte

MIN_COMPACTION_RESULT

BIGINT

Byte

SUM_COMPACTION_RESULT

BIGINT

Byte

AVG_COMPACTION_RESULT

BIGINT

Byte

49

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

a nd a fter compa cti on, di fference ma y be i nfl uenced by other fa ctors tha n compa cti on) (a vg)

50

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the dependent view M_CONDITIONAL_VARIABLES_RESET. To reset the values, use the SQL command:
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 variable objects. It does not contain information about all conditional variables.

Structure
Column name
HOST PORT VOLUME_ID STATISTICS_NAME STATISTICS_ID WAIT_COUNT BLOCKING_COUNT TIMEOUT_COUNT WAIT_RATE LAST_BLOCKING_TIME MAX_BLOCKING_TIME MIN_BLOCKING_TIME SUM_BLOCKING_TIME AVG_BLOCKING_TIME CREATE_COUNT DESTROY_COUNT

Data type
VARCHAR(64) INTEGER INTEGER VARCHAR(128) BIGINT BIGINT BIGINT BIGINT DOUBLE BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID Sta ti s ti cs object na me Sta ti s ti cs object uni que ID

Counter Counter Counter Percent Mi cros econd Mi cros econd Mi cros econd Mi cros econd Mi cros econd Counter Counter

Count of wa i t ca l l s Count of bl ocki ng wa i t ca l l s Count of ti meouts Wa i t ra te Ti me of bl ocki ng wa i t ca l l s (l a s t) Ti me of bl ocki ng wa i t ca l l s (ma x) Ti me of bl ocki ng wa i t ca l l s (mi n) Ti me of bl ocki ng wa i t ca l l s (tota l ) Ti me of bl ocki ng wa i t ca l l s (a vg) Count of s ema phore crea ti on (for s ha red s ta ti s ti cs onl y) Count of s ema phore des tructi on (for s ha red s ta ti s ti cs onl y)

51

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 timestamp field RESET_TIME, which indicates the last time the data was reset.

52

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_CONFIGURATION
Short description
Configuration parameters

Structure
Column name
HOST PORT VOLUME_ID SECTION_NAME SECTION_INDEX PARAMETER_NAME PARAMETER_INDEX PARAMETER_TYPE PARAMETER_VALUE PARAMETER_UNIT OPTIONS GROUP_NAME SERVICE_NAME HOST_NAME DATABASE_NAME SHORT_DESCRIPTION LONG_DESCRIPTION CONSTRAINT ONLINE_CHANGEABLE HOST_OVERWRITABLE DATABASE_OVERWRITABLE

Data type
VARCHAR(64) INTEGER INTEGER VARCHAR(512) VARCHAR(1024) VARCHAR(512) VARCHAR(1024) VARCHAR(1024) VARCHAR(5000) VARCHAR(64) VARCHAR(1024) VARCHAR(256) VARCHAR(256) VARCHAR(256) VARCHAR(256) VARCHAR(256) VARCHAR(5000) VARCHAR(5000) VARCHAR(6) VARCHAR(6) VARCHAR(6)

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID Secti on na me Secti on i ndex, e.g.: pa ra meter[s ecti on_i ndex][pa ra meter_i ndex] Pa ra meter na me Pa ra meter i ndex, e.g.: pa ra meter[s ecti on_i ndex][pa ra meter_i ndex] Pa ra meter da ta type Pa ra meter da ta va l ue Pa ra meter da ta uni t Addi ti ona l fl a gs Group na me Servi ce na me Hos t s peci fi c pa ra meter Logi ca l da ta ba s e na me Short pa ra meter des cri pti on Deta i l ed i nforma ti on Cons tra i nt des cri pti on Onl i ne cha nge a l l owed Hos t s peci fi c va l ue a l l owed Da ta ba s e s peci fi c va l ue a l l owed

53

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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
HOST PORT CONNECTION_ID TRANSACTION_ID START_TIME IDLE_TIME CONNECTION_STATUS CLIENT_HOST CLIENT_IP CLIENT_PID USER_NAME CONNECTION_TYPE OWN IS_HISTORY_SAVED MEMORY_SIZE_PER_CONNECTION AUTO_COMMIT

Data type
VARCHAR(64) INTEGER INTEGER INTEGER TIMESTAMP BIGINT VARCHAR(128) VARCHAR(64) VARCHAR(16) BIGINT NVARCHAR(256) VARCHAR(128) VARCHAR(5) VARCHAR(5) BIGINT VARCHAR(5)

Unit

Description
Hos t na me Interna l port Connecti on ID Tra ns a cti on object ID Connected Ti me

Mi l l i s econd

Ti me tha t the connecti on i s unus ed a nd i dl e Connecti on Sta tus : RUNNING or IDLE Hos t na me of cl i ent ma chi ne IP of cl i ent ma chi ne Cl i ent Proces s ID Us er na me Connecti on type: Remote, Loca l , Hi s tory (remote), Hi s tory (l oca l )

Bool ea n Bool ea n Byte Bool ea n

Own connecti on: TRUE i f own connecti on, FALSE i f not Fi el d i s no l onger va l i d - wi l l be depreca ted s oon Al l oca ted memory s i ze per connecti on Commi t mode of the current tra ns a cti on: TRUE i f the current connecti on i s i n a utocommi t mode, FALSE otherwi s e The l a s t a cti on done by the current connecti on: ExecuteGroup, Commi tTra ns , AbortTra ns , Prepa reSta tement, Cl os eSta tement, ExecutePrepa red, ExecuteSta tement, FetchCurs or, Cl os eCurs or, LobGetPi ece, LogPutPi ece, LobFi nd, Authenti ca te, Connect, Di s connect, ExecQi dIta b, Curs orFetchIta b, Ins ertIncompl eteIta b, Aba pStrea m, TxSta rtXA, TxJoi nXA Current s ta tement ID Current opera tor na me Sum of the record count fetched by s el ect s ta tements Sum of the record count a ffected by DML/DDL s ta tements (e.g. INSERT/UPDATE/DELETE/REPLACE/CREATE TABLE .. LIKE .. WITH DATA/CREATE TABLE .. AS (SELECT ..)/IMPORT/EXPORT)

LAST_ACTION

VARCHAR(128)

CURRENT_STATEMENT_ID CURRENT_OPERATOR_NAME FETCHED_RECORD_COUNT AFFECTED_RECORD_COUNT

VARCHAR(256) VARCHAR(64) BIGINT BIGINT

SENT_MESSAGE_SIZE SENT_MESSAGE_COUNT RECEIVED_MESSAGE_SIZE RECEIVED_MESSAGE_COUNT CREATOR_THREAD_ID CREATED_BY

BIGINT BIGINT BIGINT BIGINT BIGINT VARCHAR(256)

Byte

Tota l s i ze of mes s a ges s ent by the current connecti on Tota l mes s a ge count s ent by the current connecti on

Byte

Tota l s i ze of mes s a ges recei ved by the current connecti on Tota l mes s a ge count recei ved by the current connecti on Threa d ID who crea ted the current connecti on Engi ne component tha t crea ted the connecti ons : Ses s i on, Pl a nni ng, Repos i tory, Ca l cEngi ne, Authenti ca ti on, Ta bl e Exporter, Loa der, LLVM, JSVM, IMS Sea rch API, OLAP Engi ne, Mergedog, Pi ng Sta tus , Na me Server, Queue Server, SQL Stored Procedure, Authori za ti on, TrexVi a Dbs l from ABAP, Hybri dTa bl e Reorga ni zer, Ses s i on externa l

IS_ENCRYPTED

VARCHAR(5)

Bool ea n

Encrypted: TRUE i f the s ecure communi ca ti on i s ena bl ed (SSL ena bl ed),

54

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

communi ca ti on i s ena bl ed (SSL ena bl ed), FALSE, otherwi s e END_TIME PARENT_CONNECTION_ID CLIENT_DISTRIBUTION_MODE TIMESTAMP INTEGER VARCHAR(128) The ti me when the connecti on i s cl os ed for hi s tory connecti ons Pa rent connecti on ID Cl i ent di s tri buti on mode of the current connecti on (i .e. [di s tri buti on] cl i ent_di s tri buti on_mode) Logi ca l connecti on ID i n s ta tement routi ng Current s chema na me Current executi ng threa d ID

LOGICAL_CONNECTION_ID CURRENT_SCHEMA_NAME CURRENT_THREAD_ID

INTEGER NVARCHAR(256) BIGINT

55

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_CONNECTION_STATISTICS
Short description
Detailed statistics on each connection between an application and database

Structure
Column name
HOST PORT CONNECTION_ID SELECT_EXECUTION_COUNT SELECT_TOTAL_EXECUTION_TIME

Data type
VARCHAR(64) INTEGER INTEGER BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Connecti on ID Tota l number of s el ect s ta tement executi ons

Mi cros econd

Tota l executi on ti me of s el ect s ta tement executi on Avera ge executi on ti me of s el ect s ta tement executi on Ma xi mum executi on ti me of s el ect s ta tement executi on Tota l number of s el ect for upda te exeuti on

SELECT_AVG_EXECUTION_TIME

REAL

Mi cros econd

SELECT_MAX_EXECUTION_TIME

BIGINT

Mi cros econd

SELECT_FOR_UPDATE_COUNT SELECT_FOR_UPDATE_TOTAL_EXECUTION_TIME

BIGINT BIGINT Mi cros econd

Tota l executi on ti me of s el ect for upda te executi on Avera ge executi on ti me of s el ect for upda te executi on Ma xi mum executi on ti me of s el ect for upda te executi on Number of l ock wa i ts duri ng s el ect for upda te

SELECT_FOR_UPDATE_AVG_EXECUTION_TIME

REAL

Mi cros econd

SELECT_FOR_UPDATE_MAX_EXECUTION_TIME

BIGINT

Mi cros econd

SELECT_FOR_UPDATE_LOCK_WAIT_COUNT SELECT_FOR_UPDATE_TOTAL_LOCK_WAIT_TIME SELECT_FOR_UPDATE_AVG_LOCK_WAIT_TIME SELECT_FOR_UPDATE_MAX_LOCK_WAIT_TIME UPDATE_COUNT

BIGINT BIGINT REAL BIGINT BIGINT Mi cros econd Mi cros econd Mi cros econd

Tota l l ock wa i t ti me duri ng s el ect for upda te Avera ge l ock wa i t ti me duri ng s el ect for upda te Ma xi mum l ock wa i t ti me uri ng s el ect for upda te Tota l number of upda te s ta tement a nd i ns ert s ta tement executi ons

UPDATE_TOTAL_EXECUTION_TIME

BIGINT

Mi cros econd

Tota l executi on ti me of upda te s ta tement executi ons Avera ge executi on ti me of upda te s ta tement executi ons Ma xi mum executi on ti me of upda te s ta tement executi ons Number of l ock wa i ts duri ng upda te s ta tement executi ons

UPDATE_AVG_EXECUTION_TIME

REAL

Mi cros econd

UPDATE_MAX_EXECUTION_TIME

BIGINT

Mi cros econd

UPDATE_LOCK_WAIT_COUNT

BIGINT

UPDATE_TOTAL_LOCK_WAIT_TIME

BIGINT

Mi cros econd

Tota l l ock wa i t executi on ti me duri ng upda te s ta tement executi ons Avera ge l ock wa i t ti me duri ng upda te s ta tement exectui ons Ma xi mum l ock wa i t ti me duri ng upda te s ta tement executi ons Number of rea d onl y tra ns a cti ons Tota l executi on ti me of rea d onl y tra ns a cti ons Avera ge executi on ti me of rea d onl y tra ns a cti ons

UPDATE_AVG_LOCK_WAIT_TIME

REAL

Mi cros econd

UPDATE_MAX_LOCK_WAIT_TIME

BIGINT

Mi cros econd

READ_ONLY_TRANSACTION_COUNT READ_ONLY_TRANSACTION_TOTAL_EXECUTION_TIME READ_ONLY_TRANSACTION_AVG_EXECUTION_TIME

BIGINT BIGINT REAL

Mi cros econd Mi cros econd Mi cros econd

56

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

READ_ONLY_TRANSACTION_MAX_EXECUTION_TIME UPDATE_TRANSACTION_COUNT UPDATE_TRANSACTION_TOTAL_EXECUTION_TIME UPDATE_TRANSACTION_AVG_EXECUTION_TIME UPDATE_TRANSACTION_MAX_EXECUTION_TIME ROLLBACK_COUNT ROLLBACK_TOTAL_EXECUTION_TIME ROLLBACK_AVG_EXECUTION_TIME ROLLBACK_MAX_EXECUTION_TIME OTHERS_COUNT

BIGINT BIGINT BIGINT REAL BIGINT BIGINT BIGINT REAL BIGINT BIGINT

Mi cros econd

Ma xi mum executi on ti me of rea d onl y tra ns a cti ons Number of upda te tra ns a cti ons

Mi cros econd Mi cros econd Mi cros econd

Tota l executi on ti me of upda te tra ns a cti ons Avera ge executi on ti me of upda te tra ns a cti ons Ma xi mum executi on ti me of upda te tra ns a cti ons Number of rol l ba cked tra ns a cti ons

Mi cros econd Mi cros econd Mi cros econd

Tota l executi on ti me of rol l ba cks Avera ge executi on ti me of rol l ba cks Ma xi mum executi on ti me of rol l ba cks Number of other s ta tement executi ons i ncl udi ng da ta defi ni ti on s ta tements a nd da ta control s ta tements

OTHERS_TOTAL_EXECUTION_TIME OTHERS_AVG_EXECUTION_TIME OTHERS_MAX_EXECUTION_TIME OTHERS_LOCK_WAIT_COUNT OTHERS_TOTAL_LOCK_WAIT_TIME OTHERS_AVG_LOCK_WAIT_TIME OTHERS_MAX_LOCK_WAIT_TIME LAST_EXECUTED_TIME

BIGINT REAL BIGINT BIGINT BIGINT REAL BIGINT TIMESTAMP

Mi cros econd Mi cros econd Mi cros econd

Tota l executi on ti me of other s ta tements Avera ge executi on ti me of other s ta tements Ma xi mum executi on ti me of other s ta tements Tota l l ock wa i t count of other s ta tements

Mi cros econd Mi cros econd Mi cros econd

Tota l l ock wa i t ti me of other s ta tements Avera ge l ock wa i t ti me of other s ta tements Ma xi mum l ock wa i t ti me of other s ta tements La s t executi on ti mes ta mp wi th thi s connecti on Avera ge memory s i ze us ed duri ng ea ch executi on Ma xi mum memory s i ze us ed duri ng ea ch executi on Mi ni mum memory s i ze us ed duri ng ea ch executi on Sum of memory s i ze us ed duri ng ea ch executi on Avera ge ti me of s ta tement prepa ra ti on Ma xi mum ti me of s ta tement prepa ra ti on Mi ni mi m ti me of s ta tement prepa ra ti on Tota l ti me of s ta tement prepa ra ti on Tota l count of s ta tement prepa ra ti on Executi on count by the cl i ent routed connecti on i n s ta tement routi ng The ti me when the connecti on i s cl os ed for hi s tory connecti ons

AVG_EXECUTION_MEMORY_SIZE

BIGINT

MAX_EXECUTION_MEMORY_SIZE

BIGINT

MIN_EXECUTION_MEMORY_SIZE

BIGINT

TOTAL_EXECUTION_MEMORY_SIZE AVG_PREPARATION_TIME MAX_PREPARATION_TIME MIN_PREPARATION_TIME TOTAL_PREPARATION_TIME TOTAL_PREPARATION_COUNT EXECUTION_COUNT_BY_ROUTING

BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

END_TIME

TIMESTAMP

57

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_CONTAINER_DIRECTORY
Short description
ContainerDirectory statistics

Structure
Column name
HOST PORT VOLUME_ID CNT_CREATE CNT_CREATE_ROLLBACK CNT_REMOVE CNT_REMOVE_FAIL CNT_REMOVE_ROLLBACK CNT_MOVE CNT_GET_PHYSICALSIZE CNT_GET CNT_GET_FAIL CNT_BEGIN CNT_ITERATED CNT_CACHEHIT CNT_CACHEMISS CNT_CONTAINERS

Data type
VARCHAR(64) INTEGER INTEGER BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID

Counter Counter Counter Counter Counter Counter Counter Counter Counter Counter Counter Counter Counter Counter

Count of crea tes Count of rol l ed ba ck crea tes Count of removes Count of fa i l ed removes Count of rol l ed ba ck removes Count of moves Count of getPhys i ca l Si ze Count of retri eved conta i ners Count of fa i l ed gets Count of us ed i tera tors Count of i tera ted conta i ners Count of ca che hi ts Count of ca che mi s s es Count of exi s ti ng conta i ners

58

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_CONTAINER_NAME_DIRECTORY
Short description
ContainerNameDirectory statistics

Structure
Column name
HOST PORT VOLUME_ID CNT_CREATE CNT_CREATE_FAIL CNT_INITIAL_CREATE CNT_INITIAL_SKIP CNT_REMOVE CNT_REMOVE_FAIL CNT_REMOVE_ALL CNT_RENAME CNT_RENAME_FAIL CNT_EXISTS CNT_GET CNT_GET_FAIL CNT_BEGIN CNT_ITERATE CNT_CONTAINERS

Data type
VARCHAR(64) INTEGER INTEGER BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID

Counter Counter Counter Counter Counter Counter Counter Counter Counter Counter Counter Counter Counter Counter Counter

Count of crea tes Count of fa i l ed crea tes Count of crea tes on l oa d Count of s ki ps on l oa d Count of removes Count of fa i l ed removes Count of removeAl l Count of rena mes Count of fa i l ed rena mes Count of checked conta i ners Count of retri eved conta i ners Count of fa i l ed gets Count of us ed i tera tors Count of i tera ted conta i ners Count of exi s ti ng conta i ners

59

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the 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 not contain information about all memory, only on memory, which can be uniquely associated with either a connection, 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
HOST PORT VOLUME_ID STATISTICS_ID CATEGORY DEPTH INCLUSIVE_SIZE_IN_USE INCLUSIVE_COUNT_IN_USE INCLUSIVE_ALLOCATED_SIZE INCLUSIVE_DEALLOCATED_SIZE INCLUSIVE_ALLOCATED_COUNT INCLUSIVE_DEALLOCATED_COUNT INCLUSIVE_MAX_SINGLE_ALLOCATION_SIZE INCLUSIVE_PEAK_ALLOCATION_SIZE EXCLUSIVE_SIZE_IN_USE EXCLUSIVE_COUNT_IN_USE EXCLUSIVE_ALLOCATED_SIZE EXCLUSIVE_DEALLOCATED_SIZE EXCLUSIVE_ALLOCATED_COUNT EXCLUSIVE_DEALLOCATED_COUNT EXCLUSIVE_MAX_SINGLE_ALLOCATION_SIZE EXCLUSIVE_PEAK_ALLOCATION_SIZE EXCLUSIVE_ALLOC_ERRORS MALLOC_PROXY_CACHE_MISSES FLAGS

Data type
VARCHAR(64) INTEGER INTEGER BIGINT VARCHAR(128) BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT VARCHAR(64)

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID Sta ti s ti cs object uni que ID Al l oca tor na me Depth

Byte Counter Byte Byte Counter Counter Byte Byte Byte Counter Byte Byte Counter Counter Byte Byte Counter Counter

Current s i ze of thi s a l l oca tor, i ncl udi ng s uba l l oca tors Number of bl ocks currentl y i n us e, i ncl udi ng s uba l l oca tors Tota l a l l oca ted s i ze i n thi s a l l oca tor a nd s uba l l oca tors Tota l dea l l oca ted s i ze i n thi s a l l oca tor a nd s uba l l oca tors Count of a l l oca ti ons , i ncl udi ng s uba l l oca tors Count of dea l l oca ti ons , i ncl udi ng s uba l l oca tors Ma xi mum ever a l l oca ted bl ock s i ze i n thi s a l l oca tor a nd s uba l l oca tors Ma xi mum s i ze of thi s a l l oca tor a nd s uba l l oca tors (es ti ma te) Current s i ze of thi s a l l oca tor Number of bl ocks currentl y i n us e Tota l a l l oca ted s i ze i n thi s a l l oca tor Tota l dea l l oca ted s i ze i n thi s a l l oca tor Count of a l l oca ti ons Count of dea l l oca ti ons Ma xi mum ever a l l oca ted bl ock s i ze i n thi s a l l oca tor Ma xi mum s i ze of thi s a l l oca tor (es ti ma te) Count of a l l oca ti on errors Count of ma l l oc proxy ca che mi s s es Al l oca tor fl a gs

60

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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. Please refer 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 field RESET_TIME, which indicates the last time the data was reset.

61

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the dependent view M_CONVERTER_STATISTICS_RESET. To reset the values, use the SQL command:
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 them to physical pages within the DataVolume(s). See also: M_PAGEACCESS_STATISTICS , M_DATA_VOLUME_PAGE_STATISTICS

Structure
Column name
HOST PORT VOLUME_ID TYPE MAX_LEVEL MAX_PAGENUMBER ALLOCATED_PAGE_COUNT ALLOCATED_PAGE_SIZE

Data type
VARCHAR(64) INTEGER INTEGER VARCHAR(32) BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID Type of converter

Counter HEXID Counter Byte

Ma xi mum l evel , e.g. l evel of root pa ge Ma xi mum pa ge number Number of currentl y a l l oca ted pa ges Tota l s i ze [bytes ] of currentl y a l l oca ted pa ges Ma xi mum number of a l l oca ted pa ges Ma xi mum s i ze [bytes ] of a l l oca ted pa ges Number of pa ge a l l oca ti ons Number of pa ge a l l oca ti ons or retri eva l s duri ng s ta ti c pha s e Number of pa ge dea l l oca ti ons Number of phys i ca l pa ge a s s i gnments Number of phys i ca l pa ge una s s i gnments Number of phys i ca l pa ge una s s i gnments duri ng drop s na ps hot Number of s na ps hots crea ted Number of s na ps hots dropped Number of l evel 0 converter pa ges wri tten to di s k Number of l evel 1 converter pa ges

MAX_ALLOCATED_PAGE_COUNT MAX_ALLOCATED_PAGE_SIZE

BIGINT BIGINT

Counter Byte

ALLOCATE_PAGE_COUNT ALLOCATE_OR_GET_STATIC_PAGE_COUNT

BIGINT BIGINT

Counter Counter

DEALLOCATE_PAGE_COUNT ASSIGN_PHYSICAL_PAGE_COUNT UNASSIGN_PHYSICAL_PAGE_COUNT

BIGINT BIGINT BIGINT

Counter Counter Counter

UNASSIGN_PHYSICAL_PAGE_COUNT_DURING_DROP_SNAPSHOT

BIGINT

Counter

CREATE_SNAPSHOT_COUNT DROP_SNAPSHOT_COUNT WRITE_CONVERTERPAGE_LEVEL0_COUNT

BIGINT BIGINT BIGINT

Counter Counter Counter

WRITE_CONVERTERPAGE_LEVEL1_COUNT

BIGINT

Counter

62

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

wri tten to di s k WRITE_CONVERTERPAGE_LEVEL2_COUNT BIGINT Counter Number of l evel 2 converter pa ges wri tten to di s k Number of l evel 3 converter pa ges wri tten to di s k Number of l evel 4 converter pa ges wri tten to di s k

WRITE_CONVERTERPAGE_LEVEL3_COUNT

BIGINT

Counter

WRITE_CONVERTERPAGE_LEVEL4_COUNT

BIGINT

Counter

63

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 timestamp field RESET_TIME, which indicates the last time the data was reset.

64

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_CS_ALL_COLUMNS
Short description
Runtime information of all columns of column tables, inclusive internal ones

Structure
Column name
HOST PORT SCHEMA_NAME TABLE_NAME COLUMN_NAME PART_ID

Data type
VARCHAR(64) INTEGER NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) INTEGER

Unit

Description
Hos t na me Interna l port Schema na me Ta bl e na me Col umn na me Pa rti ti on ID. 0 for non-pa rti ti oned ta bl es , 1 through number of pa rti ti ons for pa rti ti oned ta bl es , a nd -1 duri ng ta bl e s chema cha nge tempora ri l y Sum of MEMORY_SIZE_IN_MAIN a nd MEMORY_SIZE_IN_DELTA col umns Current memory cons umpti on i n ma i n; 0 i f not l oa ded Current memory cons umpti on i n del ta ; 0 i f not l oa ded Es ti ma ted s i ze a s s umi ng tha t col umn i s not compres s ed MEMORY_SIZE_IN_TOTAL / UNCOMPRESSED_SIZE * 100 Record count; 0 i f not l oa ded Di s ti nct count of va l ues ; 0 i f not l oa ded Type of col umn compres s i on: ca n be SPARSE, PREFIXED, CLUSTERED, INDIRECT, RLE or DEFAULT i f col umn i s onl y di cti ona ry coded. Col umns i n M_CS_COLUMNS s how the runti me va l ue, whi ch ca n be cha nged duri ng the runti me Type of i nverted i ndex; ca n be FULL, SIGNATURE or NONE for no i ndex Loa d s ta tus of i nverted i ndex; ca n be NOT APPLICABLE, UNLOADED, LOADING or LOADED Col umn i nterna l i mpl ementa ti on s pec s umma ry La s t ti me the col umn wa s rea d or there wa s a n i ns ert to, upda te of or del ete from the col umn; Undefi ned for unl oa ded col umns Fl a g to i ndi ca te tha t col umn i s l oa ded i nto memory: 'TRUE', 'FALSE' Object ID of ta bl e Current memory cons umpti on i n da ta Current memory cons umpti on i n di ct Current memory cons umpti on i n i ndex Current memory cons umpti on i n mi s c Current memory cons umpti on i n da ta Current memory cons umpti on i n di ct Current memory cons umpti on i n i ndex Current memory cons umpti on i n mi s c Ti me needed for crea ti ng i nverted i ndex Col umn i nterna l i mpl ementa ti on s pec s umma ry Attri bute type for i nterna l col umns ; NULL for noni nterna l col umns

MEMORY_SIZE_IN_TOTAL MEMORY_SIZE_IN_MAIN MEMORY_SIZE_IN_DELTA UNCOMPRESSED_SIZE COMPRESSION_RATIO_IN_PERCENTAGE COUNT DISTINCT_COUNT COMPRESSION_TYPE

BIGINT BIGINT BIGINT BIGINT DOUBLE BIGINT BIGINT VARCHAR(16)

INDEX_TYPE INDEX_LOADED IMPLEMENTATION_FLAGS LAST_ACCESS_TIME

VARCHAR(16) VARCHAR(16) BIGINT TIMESTAMP

LOADED TABLE_OID MAIN_MEMORY_SIZE_IN_DATA MAIN_MEMORY_SIZE_IN_DICT MAIN_MEMORY_SIZE_IN_INDEX MAIN_MEMORY_SIZE_IN_MISC DELTA_MEMORY_SIZE_IN_DATA DELTA_MEMORY_SIZE_IN_DICT DELTA_MEMORY_SIZE_IN_INDEX DELTA_MEMORY_SIZE_IN_MISC INDEX_CREATE_DURATION DELTA_IMPLEMENTATION_FLAGS INTERNAL_ATTRIBUTE_TYPE

VARCHAR(5) BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT VARCHAR(32)

65

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_CS_COLUMNS
Short description
Runtime information of columns of column tables

Structure
Column name
HOST PORT SCHEMA_NAME TABLE_NAME COLUMN_NAME PART_ID

Data type
VARCHAR(64) INTEGER NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) INTEGER

Unit

Description
Hos t na me Interna l port Schema na me Ta bl e na me Col umn na me Pa rti ti on ID. 0 for non-pa rti ti oned ta bl es , 1 through number of pa rti ti ons for pa rti ti oned ta bl es , a nd -1 duri ng ta bl e s chema cha nge tempora ri l y

MEMORY_SIZE_IN_TOTAL MEMORY_SIZE_IN_MAIN MEMORY_SIZE_IN_DELTA UNCOMPRESSED_SIZE COMPRESSION_RATIO_IN_PERCENTAGE COUNT DISTINCT_COUNT COMPRESSION_TYPE

BIGINT BIGINT BIGINT BIGINT DOUBLE BIGINT BIGINT VARCHAR(16)

Byte Byte Byte Byte Percent

Sum of MEMORY_SIZE_IN_MAIN a nd MEMORY_SIZE_IN_DELTA col umns Current memory cons umpti on i n ma i n; 0 i f not l oa ded Current memory cons umpti on i n del ta ; 0 i f not l oa ded Es ti ma ted s i ze a s s umi ng tha t col umn i s not compres s ed MEMORY_SIZE_IN_TOTAL / UNCOMPRESSED_SIZE * 100 Record count; 0 i f not l oa ded Di s ti nct count of va l ues ; 0 i f not l oa ded Type of col umn compres s i on: ca n be SPARSE, PREFIXED, CLUSTERED, INDIRECT, RLE or DEFAULT i f col umn i s onl y di cti ona ry coded. Col umns i n M_CS_COLUMNS s how the runti me va l ue, whi ch ca n be cha nged duri ng the runti me Type of i nverted i ndex; ca n be FULL, SIGNATURE or NONE for no i ndex Loa d s ta tus of i nverted i ndex; ca n be NOT APPLICABLE, UNLOADED, LOADING or LOADED Col umn i nterna l i mpl ementa ti on s pec s umma ry La s t ti me the col umn wa s rea d or there wa s a n i ns ert to, upda te of or del ete from the col umn; Undefi ned for unl oa ded col umns

INDEX_TYPE INDEX_LOADED

VARCHAR(16) VARCHAR(16)

IMPLEMENTATION_FLAGS LAST_ACCESS_TIME

BIGINT TIMESTAMP

LOADED

VARCHAR(5)

Bool ea n

Fl a g to i ndi ca te tha t col umn i s l oa ded i nto memory: 'TRUE', 'FALSE'

66

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_CS_PARTITIONS
Short description
Partition information of column tables

Structure
Column name
SCHEMA_NAME TABLE_NAME PART_ID PARTITION SUBPARTITION

Data type
NVARCHAR(256) NVARCHAR(256) INTEGER INTEGER INTEGER

Unit

Description
Schema Na me Ta bl e Na me Pa rti ti on ID. 0 for non-pa rti ti oned ta bl es , 1 through number of pa rti ti ons for pa rti ti oned ta bl es . -1 i f the whol e ta bl e i s unl oa ded. Pa rti ti on ID. 0 for non-pa rti ti oned ta bl es a nd 1 through number of pa rti ti ons for pa rti ti oned ta bl es Subpa rti ti on ID. 0 for non-pa rti ti oned ta bl es or ta bl es wi thout mul ti -l evel pa rti ti oni ng a nd 1 through number of s ubpa rti ti ons for pa rti ti oned ta bl e wi th mul ti -l evel pa rti ti oni ong Ra nge defi ni ti on of pa rti ti on/s ubpa rti ti on for ra nge-pa rti ti oned ta bl es , empty otherwi s e

RANGE

VARCHAR(64)

67

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_CS_TABLES
Short description
Runtime data of column tables

Structure
Column name
HOST PORT SCHEMA_NAME TABLE_NAME PART_ID

Data type
VARCHAR(64) INTEGER NVARCHAR(256) NVARCHAR(256) INTEGER

Unit

Description
Hos t na me Interna l port Schema na me Ta bl e na me Pa rti ti on ID. 0 for non-pa rti ti oned a nd non-repl i ca ted ta bl es , 1 through number of pa rti ti ons for pa rti ti oned ta bl es , 1 through number of the ori gi na l ta bl e a nd a l l i ts repl i ca for repl i ca ted ta bl es , a nd -1 tempora ri l y duri ng ta bl e s chema cha nge

MEMORY_SIZE_IN_TOTAL

BIGINT

Byte

Tota l memory s i ze i s the s um of memory s i ze i n ma i n, del ta , a nd hi s tory pa rts Current memory cons umpti on i n ma i n; thi s va l ue va ri es dependi ng on the number of a ttri butes a ctua l l y l oa ded Current memory cons umpti on i n del ta Current memory cons umpti on i n hi s tory-ma i n; 0 for norma l nonhi s tory ta bl es Current memory cons umpti on i n hi s tory-del ta ; 0 for norma l nonhi s tory ta bl es Es ti ma ted ma xi mum memory cons umpti on i n tota l for ta bl e ful l y l oa ded Record count Current number of entri es i n ta bl e ma i n pa rt, thi s va l ue di ffers from number of vi s i bl e ta bl e ma i n rows beca us e there a re entri es of modi fi ed rows ma rked a s i nva l i da ted Current number of entri es i n ta bl e del ta pa rt, thi s va l ue di ffers from number of vi s i bl e ta bl e del ta rows beca us e there a re a ddi ti ona l entri es s uch a s del eted rows or upda ted rows ; ca n conta i n del eted records Ra w record count i n hi s tory-ma i n Ra w record count i n hi s tory-del ta The number of entri es i n ma i n duri ng l a s t opti mi ze compres s i on run Ma xi mum ta bl e row number, thi s number i s pure techni ca l a nd onl y i nterna l l y us ed Ma xi mum commi t-ID of tra ns a cti ons for whi ch cha nges were a l rea dy merged to ta bl e ma i n pa rt Ma xi mum rowi d, thi s number i s pure techni ca l a nd onl y i nterna l l y us ed

MEMORY_SIZE_IN_MAIN

BIGINT

Byte

MEMORY_SIZE_IN_DELTA MEMORY_SIZE_IN_HISTORY_MAIN

BIGINT BIGINT

Byte Byte

MEMORY_SIZE_IN_HISTORY_DELTA

BIGINT

Byte

ESTIMATED_MAX_MEMORY_SIZE_IN_TOTAL

BIGINT

Byte

RECORD_COUNT RAW_RECORD_COUNT_IN_MAIN

BIGINT BIGINT

Byte

RAW_RECORD_COUNT_IN_DELTA

BIGINT

RAW_RECORD_COUNT_IN_HISTORY_MAIN RAW_RECORD_COUNT_IN_HISTORY_DELTA LAST_COMPRESSED_RECORD_COUNT

BIGINT BIGINT BIGINT

MAX_UDIV

BIGINT

MAX_MERGE_CID

BIGINT

MAX_ROWID

BIGINT

IS_DELTA2_ACTIVE

VARCHAR(5)

Bool ea n

Fl a g to i ndi ca te tha t a s econd del ta i s us ed: 'TRUE', 'FALSE'. Duri ng a ta bl e del ta merge upda tes a nd i ns erts a re s tored to a s econd del ta beca us e the del ta one i s l ocked Fl a g to i ndi ca te tha t del ta pa rt of ta bl e i s l oa ded: 'TRUE', 'FALSE'

IS_DELTA_LOADED

VARCHAR(5)

Bool ea n

68

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

IS_LOG_DELTA PERSISTENT_MERGE

VARCHAR(5) VARCHAR(5)

Bool ea n Bool ea n

Fl a g to i ndi ca te tha t currentl y del ta l og i s wri tten: 'TRUE', 'FALSE' Fl a g to i ndi ca te tha t new ma i n pa rt wi l l be wri tten to di s k duri ng ta bl e del ta merge unl es s reques ted di fferentl y: 'TRUE', 'FALSE' Crea ted ti me Modi fi ed ti me Poi nt i n ti me, Uni x ti me forma t, l a s t ti me the ta bl e del ta pa rt wa s merged i nto ma i n pa rt Poi nt i n ti me, Uni x ti me forma t, l a s t ti me the ta bl e l og wa s repl a yed Fl a g to s how how ma ny col umns of ta bl e a re l oa ded i n memory (NO, PARTIALLY, a nd FULL); s ee M_CS_COLUMNS for ea ch col umn Number of rea d a cces s es on the ta bl e or pa rti ti on Number of wri te a cces s es on the ta bl e or pa rti ti on Number of del ta merges done on the ta bl e or pa rti ti on

CREATE_TIME MODIFY_TIME LAST_MERGE_TIME

TIMESTAMP TIMESTAMP TIMESTAMP

LAST_REPLAY_LOG_TIME LOADED

TIMESTAMP VARCHAR(10)

READ_COUNT WRITE_COUNT MERGE_COUNT IS_REPLICA

BIGINT BIGINT BIGINT VARCHAR(5) Bool ea n

Fl a g to i ndi ca te tha t the pa rt i s a repl i ca

69

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_CS_UNLOADS
Short description
A history of column unloads

Structure
Column name
HOST PORT UNLOAD_TIME SCHEMA_NAME TABLE_NAME COLUMN_NAME PART_ID

Data type
VARCHAR(64) INTEGER TIMESTAMP NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) INTEGER

Unit

Description
Hos t na me Interna l port Ti mes ta mp of unl oa d event Schema na me Ta bl e na me Col umn na me. Empty i f the whol e ta bl e i s unl oa ded. Pa rti ti on ID. 0 for non-pa rti ti oned ta bl es , 1 through number of pa rti ti ons for pa rti ti oned ta bl es . -1 i f the whol e ta bl e i s unl oa ded. Object Id of the ta bl e Fl a g to i ndi ca te whether the hi s tory pa rt i s unl oa ded (onl y rel eva nt for hi s tory ta bl es ). Empty i f the whol e ta bl e i s unl oa ded. Unl oa d rea s on (LOW MEMORY or EXPLICIT)

TABLE_OID IS_HISTORY REASON

BIGINT VARCHAR(5) NVARCHAR(16)

70

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_DATABASE
Short description
Database information

Full description
HOST equal to: M_LANDSCAPE_HOST_CONFIGURATION.HOST WHERE NAMESERVER_CONFIG_ROLE='MASTER 1'

Structure
Column name
DATABASE_NAME HOST START_TIME VERSION

Data type
VARCHAR(256) VARCHAR(64) TIMESTAMP VARCHAR(32)

Unit

Description
Sys tem SID Defa ul t ma s ter hos t Sta rt ti me Vers i on: ma jor.mi nor.pa tch.bui l d

71

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_DATABASE_HISTORY
Short description
Installation version history

Structure
Column name
INSTALL_TIME VERSION

Data type
TIMESTAMP VARCHAR(32)

Unit

Description
Ins ta l l /fi rs t s ta rt ti me Vers i on: ma jor.mi nor.pa tch.bui l d

72

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_DATA_VOLUMES
Short description
DataVolume statistics

Structure
Column name
HOST PORT VOLUME_ID FILE_NAME FILE_ID SIZE MAX_SIZE

Data type
VARCHAR(64) INTEGER INTEGER VARCHAR(512) BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID Fi l ena me of Da ta Vol ume Fi l eID of Da ta Vol ume

Byte Byte

Si ze of Da ta Vol ume Ma x. s i ze of Da ta Vol ume

73

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the dependent view M_DATA_VOLUME_PAGE_STATISTICS_RESET. To reset the values, use the SQL command:
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 inside DataVolumes. 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 the start of the database. Columns SUPERBLOCK_COUNT, USED_BLOCK_COUNT and SHADOW_BLOCK_COUNT contain the number of (super)blocks currently in use by the database. FILL_RATIO gives the ratio of minimum number of needed superblocks versus the actual number of used superblocks. Note that unused superblocks are not part of this formula (see M_DATA_VOLUME_SUPERBLOCK_STATISTICS ).

Structure
Column name
HOST PORT VOLUME_ID DATA_VOLUME_NAME PAGE_SIZECLASS PAGE_SIZE SUPERBLOCK_SIZE INITIAL_BLOCK_COUNT TOTAL_ALLOCATE_BLOCK_COUNT TOTAL_SET_BLOCK_FREE_COUNT TOTAL_SET_BLOCK_FREE_AFTER_SAVEPOINT_COUNT SUPERBLOCK_COUNT USED_BLOCK_COUNT SHADOW_BLOCK_COUNT FILL_RATIO

Data type
VARCHAR(64) INTEGER INTEGER VARCHAR(512) VARCHAR(16) BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT DOUBLE

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID Da ta Vol ume na me Pa ge s i ze cl a s s

Byte Byte Counter Counter Counter Counter Counter Counter Counter Percent

Pa ge s i ze Superbl ock s i ze Count of i ni t pa ges Number of s i ngl e a nd group a l l oca ted bl ocks Number of s i ngl e a nd group freed bl ocks Number of s i ngl e a nd group freed-a fter-s a vepoi nt bl ocks Number of us ed Superbl ocks Count of us ed bl ocks Count of s ha dow bl ocks Fi l l ra ti o

74

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 view M_DATA_VOLUME_PAGE_STATISTICS . Please refer to M_DATA_VOLUME_PAGE_STATISTICS for information about the structure and use of this view. In addition to the members mentioned in M_DATA_VOLUME_PAGE_STATISTICS , this view also contains a timestamp field RESET_TIME, which indicates the last time the data was reset.

75

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 of Superblocks currently occupied by at least one used or shadow page. FILL_RATIO gives the ratio of the number of used superblocks versus the total number of superblocks. Note that the fill ratio of the superblocks themselves is not part of this formula. See also: M_DATA_VOLUME_PAGE_STATISTICS

Structure
Column name
HOST PORT VOLUME_ID DATA_VOLUME_NAME SUPERBLOCK_SIZE USED_SUPERBLOCK_COUNT SUPERBLOCK_COUNT FILL_RATIO

Data type
VARCHAR(64) INTEGER INTEGER VARCHAR(512) BIGINT BIGINT BIGINT DOUBLE

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID Da ta Vol ume na me

Byte Counter Counter Percent

Superbl ock s i ze Count of us ed Superbl ocks Count of Superbl ocks Fi l l ra ti o

76

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 was last restarted. Table delta merges, optimize compression runs and application merge hints are listed separately.

Structure
Column name
HOST PORT TYPE

Data type
VARCHAR(64) INTEGER VARCHAR(8)

Unit

Description
Hos t na me Interna l port MERGE (ta bl e del ta merge), HINT (a ppl i ca ti on merge hi nt), SPARSE (opti mi ze compres s i on), FACT (fa ct ta bl e compres s i on) Schema na me Ta bl e na me Pa rti ti on ID. 0 for non-pa rti ti oned ta bl es , 1 through number of pa rti ti ons for pa rti ti oned ta bl es . -1 i f the whol e ta bl e i s unl oa ded.

SCHEMA_NAME TABLE_NAME PART_ID

NVARCHAR(256) NVARCHAR(256) INTEGER

HISTORY MEMORY_MERGE PASSPORT START_TIME EXECUTION_TIME MOTIVATION SUCCESS

VARCHAR(5) VARCHAR(5) VARCHAR(256) TIMESTAMP BIGINT VARCHAR(8) VARCHAR(5)

Bool ea n Bool ea n

Fl a g to i ndi ca te hi s tory pa rt wa s merged: 'TRUE', 'FALSE' Fl a g to i ndi ca te ta bl e wa s merged i n memory onl y: 'TRUE', 'FALSE' Externa l i denti fi er for ta bl e merge ca l l ed by a n a ppl i ca ti on Executi on s ta rt ti me

Mi l l i s econd Bool ea n

Executi on dura ti on HARD, SMART, AUTO, FORCE Ca l l s ucces s fl a g; depends on fi el d TYPE; HINT: a ppl i ca ti on merge hi nt wa s a ccepted/rejected; MERGE/SPARSE: del ta merge/opti mi ze compres s i on wa s compl eted wi th or wi thout s ucces s : 'TRUE', 'FALSE' Number of documents i n del ta Error code of the l a s t error tha t occurred. Ca n be us ed to expl a i n why a merge di d not s ucceed. See M_ERROR_CODES for error code des cri pti ons

MERGED_DELTA_RECORDS LAST_ERROR

INTEGER INTEGER

Counter

77

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_DISKS
Short description
Disk configuration and utilization of the host machine

Structure
Column name
DISK_ID DEVICE_ID HOST PATH SUBPATH FILESYSTEM_TYPE USAGE_TYPE TOTAL_SIZE USED_SIZE

Data type
INTEGER BIGINT VARCHAR(64) VARCHAR(512) VARCHAR(512) VARCHAR(16) VARCHAR(16) BIGINT BIGINT

Unit

Description
Di s k ID Da ta ba s e Interna l Devi ce ID Hos t na me. Wi l l onl y be s et i f di s k i s us ed by exa ctl y one hos t. Pa th Subpa th Fi l es ys tem type Us a ge Type: LOG, DATA, TRACE, DATA_BACKUP a nd LOG_BACKUP

Byte Byte

Vol ume Us ed Spa ce Vol ume Si ze

78

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_ERROR_CODES
Short description
Error codes with descriptions

Structure
Column name
CODE CODE_STRING DESCRIPTION

Data type
INTEGER VARCHAR(256) VARCHAR(2000)

Unit

Description
Error Code Error Code Stri ng Error Des cri pti on

79

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 an event 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 removed periodically by the StatisticsServer

Structure
Column name
HOST PORT TYPE ID INFOTEXT CREATE_TIME UPDATE_TIME HANDLE_TIME STATE ACKNOWLEDGED FAILED_HANDLES

Data type
VARCHAR(64) INTEGER VARCHAR(256) BIGINT VARCHAR(2000) TIMESTAMP TIMESTAMP TIMESTAMP VARCHAR(256) VARCHAR(5) BIGINT

Unit

Description
Hos t Port Type of event ID of event Addi ti ona l i nfo freetext Ti me event wa s crea ted Ti me event wa s upda ted Ti me event wa s ha ndl ed Sta te of event Event a cknowl edged: 'TRUE', 'FALSE' Number of fa i l ed ha ndl e a ttempts

80

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 be performance bottlenecks. The M_EXPENSIVE_STATEMENTS view provides convenient access to the most expensive statements that were executed on the system. A statement is considered being expensive if its runtime exceeds a particular threshold. For example to configure the threshold using the SAP HANA studio note that the expensive statements trace needs 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 the threshold. There are the following main types of operations: ExecuteStatement: execution of simple exact query string PrepareStatement: preparation of prepared statement ExecutePrepared: execution of prepared statement FetchCursor: fetching resultset CloseCursor: closing cursor CloseStatement: closing prepared statement AggregatedExecuteStatement: calculates overall execution time For example, if a query has 4 session requests from a client as follows: 1. Prepare: 10 msec 2. Execute: 20 msec 3. Fetch: 15 msec 4. Close: 5 msec Assuming that all operations were longer than the threshold they will be shown as: OPERATION DURATION PrepareStatement 10 ExecutePrepared 20 FetchCursor 15 Close 5 AggregatedExecuteStatement 50 (10+20+15+5)

Structure
Column name
HOST PORT CONNECTION_ID TRANSACTION_ID STATEMENT_ID DB_USER APP_USER START_TIME DURATION_MICROSEC OBJECT_NAME OPERATION RECORDS STATEMENT_STRING PARAMETERS ERROR_CODE ERROR_TEXT LOCK_WAIT_COUNT LOCK_WAIT_DURATION ALLOC_MEM_SIZE_ROWSTORE ALLOC_MEM_SIZE_COLSTORE MEMORY_SIZE

Data type
VARCHAR(64) INTEGER INTEGER BIGINT NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) TIMESTAMP BIGINT NVARCHAR(5000) NVARCHAR(5000) BIGINT NCLOB NVARCHAR(5000) INTEGER NVARCHAR(5000) INTEGER BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Connecti on ID Tra ns a cti on object ID Sta tement ID Us er na me Appl i ca ti on us er na me Sta tement s ta rt ti me

Mi cros econd

Sta tement dura ti on Rel a ted objects Type of opera ti on: e.g. prepa re, execute, fetch, cl os e Number of records Sta tement s tri ng Pa ra meters Error code Error mes s a ge Accumul a ted l ock wa i t count Accumul a ted l ock wa i t dura ti on

Byte Byte

Al l oca ted memory s i ze for row s tore Al l oca ted memory s i ze for col umn s tore Memory requi red for computi ng the s ta tement, i ncl . memory for i ntermedi a te res ul ts . Kept for ca che rea s ons or rel ea s ed a fter the s ta tement executi on. Memory reus ed from ca ched da ta s tructures , 0 i f ca ches empty CPU ti me (us ) cons umed to compute the s ta tement

REUSED_MEMORY_SIZE CPU_TIME

BIGINT BIGINT

81

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

82

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_EXPORT_BINARY_STATUS
Short description
Export status information for current session

Structure
Column name
HOST PORT CONNECTION_ID SCHEMA_NAME TABLE_NAME INDEX_TYPE STATUS ERROR

Data type
VARCHAR(64) INTEGER INTEGER NVARCHAR(256) NVARCHAR(256) VARCHAR(16) VARCHAR(16) VARCHAR(512)

Unit

Description
Hos t na me Interna l port Connecti on ID to di s ti ngui s h da ta of ea ch i mport s es s i on (-1 for Python) Schema of ta bl e or vi ew bei ng i mported Na me of ta bl e or vi ew bei ng i mported Index type: 'UNKNOWN', 'PHYSICAL', 'OLAP', 'JOIN', 'HIERARCHY', 'CALCULATION', ... Import s ta tus . 'queued', 'worki ng', 's ki pped', 'done', 'fa i l ed' Empty i f i mport wa s s ucces s ful , error text otherwi s e

83

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_EXTRACTORS
Short description
Direct extractor connection (DXC) status information

Structure
Column name
SCHEMA_NAME TABLE_NAME CLIENT STATUS REQUEST_ID ERROR_MESSAGE PHASE TIMESTAMP

Data type
NVARCHAR(256) NVARCHAR(256) NVARCHAR(3) VARCHAR(5) INTEGER NVARCHAR(5000) VARCHAR(32) TIMESTAMP

Unit

Description
Na me of the s chema where the DSO ta bl es a re genera ted Na me of the DSO s peci fi c s ta tus ta bl e The ID of the cl i ent Genera l s ta tus overvi ew s a yi ng 'OK' or 'ERROR' SID of the reques t us ed for a cti va ti on The mes s a ge i n ca s e of a n error The pha s e of the l a s t runni ng opera ti on Ti mes ta mp of the opera ti on pha s e

84

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_FEATURES
Short description
All supported features

Structure
Column name
COMPONENT_NAME FEATURE_NAME FEATURE_VERSION

Data type
VARCHAR(16) VARCHAR(32) BIGINT

Unit

Description
Na me of the component owni ng the fea ture Na me of the fea ture Vers i on of the fea ture

85

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_FULLTEXT_QUEUES
Short description
Fulltext index queue status

Structure
Column name
HOST PORT INDEX_OID SCHEMA_NAME TABLE_NAME PART_ID

Data type
VARCHAR(64) INTEGER BIGINT NVARCHAR(256) NVARCHAR(256) INTEGER

Unit

Description
Hos t na me Interna l port OID of the corres pondi ng ful l text i ndex Schema of the da ta ta bl e Na me of the da ta ta bl e Pa rti ti on ID. 0 for non-pa rti ti oned ta bl es , 1 through number of pa rti ti ons for pa rti ti oned ta bl es . -1 i f the whol e ta bl e i s unl oa ded. Na me of the document col umn Queue s ta tus (ACTIVE, SUSPENDED) Tota l number of documents i n the ori gi na l ta bl e Number of s ucces s ful l y i ndexed documents Number of documents currentl y i n the queue Number of fa i l ed documents

COLUMN_NAME STATUS TOTAL_DOCUMENT_COUNT INDEXED_DOCUMENT_COUNT QUEUE_DOCUMENT_COUNT ERROR_DOCUMENT_COUNT

NVARCHAR(256) NVARCHAR(16) BIGINT BIGINT BIGINT BIGINT

86

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_FUZZY_SEARCH_INDEXES
Short description
Runtime information of fuzzy search indexes of column tables

Structure
Column name
HOST PORT SCHEMA_NAME TABLE_NAME COLUMN_NAME PART_ID

Data type
VARCHAR(64) INTEGER NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) INTEGER

Unit

Description
Hos t na me Interna l port Schema na me Ta bl e na me Col umn na me Pa rti ti on ID. 0 for non-pa rti ti oned ta bl es , 1 through number of pa rti ti ons for pa rti ti oned ta bl es , a nd -1 duri ng ta bl e s chema cha nge tempora ri l y Fuzzy i ndex s ea rch mode

FUZZY_SEARCH_MODE MEMORY_SIZE_IN_TOTAL MEMORY_SIZE_IN_MAIN MEMORY_SIZE_IN_DELTA LOADED

NVARCHAR(256) BIGINT BIGINT BIGINT VARCHAR(5) Byte Byte Byte Bool ea n

Sum of MEMORY_SIZE_IN_MAIN a nd MEMORY_SIZE_IN_DELTA Current s i ze of the fuzzy s ea rch i ndexes i n ma i n; 0 i f not l oa ded Current s i ze of the fuzzy s ea rch i ndexes i n del ta ; 0 i f not l oa ded Fl a g to i ndi ca te tha t col umn i s l oa ded i nto memory: 'TRUE', 'FALSE'

87

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the dependent view M_GARBAGE_COLLECTION_STATISTICS_RESET. To reset the values, use the SQL 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 transaction can reference them. References to such objects are kept in history (cleanup) files, which are processed by the garbage collector. Normally, the system runs in statement consistency isolation level, that is, a consistent view is acquired when an SQL command starts. Alternatively, the system can be run in transaction consistency isolation level, where the 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 a minReadTID Transaction ID (TID), which is the minimum TID, from which the changes are "seen" by the transaction. Global minReadTID (minimum of minReadTIDs of all consistent views) is used by the garbage collector 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 that some transaction holds its consistent view for very long time (for example, a long-running transaction of a forgotten read transaction in a GUI). You can look into M_TRANSACTIONS to see information about each running transaction.

Structure
Column name
HOST PORT VOLUME_ID STORE_TYPE HISTORY_COUNT WAITER_COUNT MIN_READ_TID LAST_STARTED_TID FIRST_WAITING_TID ENTERS STARTED_JOBS PROCESSED_JOBS QUEUE_LOADS QUEUE_LOADS_NONEMPTY QUEUE_EMPTY_COUNT SAVEPOINTS LAST_HISTORY_SIZE_AT_SVP MAX_HISTORY_SIZE_AT_SVP MIN_HISTORY_SIZE_AT_SVP SUM_HISTORY_SIZE_AT_SVP AVG_HISTORY_SIZE_AT_SVP EMPTY_HISTORY_AT_SVP_COUNT

Data type
VARCHAR(64) INTEGER INTEGER VARCHAR(16) INTEGER INTEGER BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT DOUBLE BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID type of s tora ge ha ndl ed (COLUMN STORE, LIVECACHE)

Counter Counter TID TID TID Counter Counter Counter Counter Counter Counter Counter Counter Counter Counter Counter Ra te Counter

Current count of hi s tory fi l es i n GC Current count of GC wa i ters La s t known mi ni mum TID of a rea di ng tra ns a cti on a t EOT TID of the l a s t s ta rted GC job TID of the fi rs t wa i ti ng GC job Count of hi s tory fi l es whi ch entered the queue Count of ga rba ge col l ecti on jobs s ta rted Count of ga rba ge col l ecti on fi l es proces s ed Count of a l l GC queue l oa ds Count of GC queue l oa ds whi ch found s ome el ements Count of queue empty s ta tes a fter GC fi ni s hed Count of s a vepoi nts Count of hi s tory fi l es pres ent a t s a vepoi nt (l a s t) Count of hi s tory fi l es pres ent a t s a vepoi nt (ma x) Count of hi s tory fi l es pres ent a t s a vepoi nt (mi n) Count of hi s tory fi l es pres ent a t s a vepoi nt (tota l ) Count of hi s tory fi l es pres ent a t s a vepoi nt (a vg) Count of s a vepoi nts fi ndi ng empty queue

88

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 view M_GARBAGE_COLLECTION_STATISTICS . Please refer to M_GARBAGE_COLLECTION_STATISTICS for information about the structure and use of this view. In addition to the members mentioned in M_GARBAGE_COLLECTION_STATISTICS , this view also contains a timestamp field RESET_TIME, which indicates the last time the data was reset.

89

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the 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 to heap memory, you can also query memory consumption by connection/statement/user using M_CONTEXT_MEMORY. The overhead of allocators is not considered here. See also: M_CONTEXT_MEMORY, M_SERVICE_MEMORY

Structure
Column name
HOST PORT VOLUME_ID STATISTICS_ID CATEGORY DEPTH INCLUSIVE_SIZE_IN_USE INCLUSIVE_COUNT_IN_USE INCLUSIVE_ALLOCATED_SIZE INCLUSIVE_DEALLOCATED_SIZE INCLUSIVE_ALLOCATED_COUNT INCLUSIVE_DEALLOCATED_COUNT INCLUSIVE_MAX_SINGLE_ALLOCATION_SIZE INCLUSIVE_PEAK_ALLOCATION_SIZE EXCLUSIVE_SIZE_IN_USE EXCLUSIVE_COUNT_IN_USE EXCLUSIVE_ALLOCATED_SIZE EXCLUSIVE_DEALLOCATED_SIZE EXCLUSIVE_ALLOCATED_COUNT EXCLUSIVE_DEALLOCATED_COUNT EXCLUSIVE_MAX_SINGLE_ALLOCATION_SIZE EXCLUSIVE_PEAK_ALLOCATION_SIZE EXCLUSIVE_ALLOC_ERRORS MALLOC_PROXY_CACHE_MISSES FLAGS

Data type
VARCHAR(64) INTEGER INTEGER BIGINT VARCHAR(128) BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT VARCHAR(64)

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID Sta ti s ti cs object uni que ID Al l oca tor na me Depth

Byte Counter Byte Byte Counter Counter Byte Byte Byte Counter Byte Byte Counter Counter Byte Byte Counter Counter

Current s i ze of thi s a l l oca tor, i ncl udi ng s uba l l oca tors Number of bl ocks currentl y i n us e, i ncl udi ng s uba l l oca tors Tota l a l l oca ted s i ze i n thi s a l l oca tor a nd s uba l l oca tors Tota l dea l l oca ted s i ze i n thi s a l l oca tor a nd s uba l l oca tors Count of a l l oca ti ons , i ncl udi ng s uba l l oca tors Count of dea l l oca ti ons , i ncl udi ng s uba l l oca tors Ma xi mum ever a l l oca ted bl ock s i ze i n thi s a l l oca tor a nd s uba l l oca tors Ma xi mum s i ze of thi s a l l oca tor a nd s uba l l oca tors (es ti ma te) Current s i ze of thi s a l l oca tor Number of bl ocks currentl y i n us e Tota l a l l oca ted s i ze i n thi s a l l oca tor Tota l dea l l oca ted s i ze i n thi s a l l oca tor Count of a l l oca ti ons Count of dea l l oca ti ons Ma xi mum ever a l l oca ted bl ock s i ze i n thi s a l l oca tor Ma xi mum s i ze of thi s a l l oca tor (es ti ma te) Count of a l l oca ti on errors Count of ma l l oc proxy ca che mi s s es Al l oca tor fl a gs

90

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 refer to 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 field RESET_TIME, which indicates the last time the data was reset.

91

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_HISTORY_INDEX_LAST_COMMIT_ID
Short description
Last commit ID of history index for each session

Structure
Column name
SESSION_ID SESSION_OWNER_VOLUME_ID LAST_COMMIT_ID

Data type
BIGINT BIGINT BIGINT

Unit

Description
Ses s i on ID Vol ume ID of thi s s es s i on La s t commi t ID of hi s tory i ndex i n thi s s es s i on

92

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 lines of the monitor view (VALUE), as identified by KEY: sapsystem Two digit SAP system instance number sid Three letter SAP system name build_version Build version number. Same as M_DATABASE.VERSION build_branch Build branch name in revision control software

Structure
Column name
HOST KEY VALUE

Data type
VARCHAR(64) VARCHAR(32) VARCHAR(256)

Unit

Description
Hos t na me Key Va l ue

93

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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
HOST FREE_PHYSICAL_MEMORY USED_PHYSICAL_MEMORY FREE_SWAP_SPACE USED_SWAP_SPACE ALLOCATION_LIMIT TOTAL_CPU_USER_TIME TOTAL_CPU_SYSTEM_TIME TOTAL_CPU_WIO_TIME TOTAL_CPU_IDLE_TIME SYS_TIMESTAMP UTC_TIMESTAMP

Data type
VARCHAR(64) BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT TIMESTAMP TIMESTAMP

Unit

Description
Hos t na me

Byte Byte Byte Byte Byte Mi l l i s econd Mi l l i s econd Mi l l i s econd Mi l l i s econd

Free phys i ca l memory on the hos t Us ed phys i ca l memory on the hos t Free s wa p memory on the hos t Us ed s wa p memory on the hos t Al l oca ti on l i mi t for a l l proces s es CPU ti me s pent i n us er mode CPU ti me s pent i n kernel mode CPU ti me s pent i n wa i t IO (Li nux onl y, Wi ndows a l wa ys 0) CPU i dl e ti me Hos t ti mes ta mp i n l oca l ti me zone Hos t ti mes ta mp i n UTC

94

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_IMPORT_BINARY_STATUS
Short description
Import status information for current session

Structure
Column name
HOST PORT CONNECTION_ID SCHEMA_NAME TABLE_NAME INDEX_TYPE STATUS ERROR

Data type
VARCHAR(64) INTEGER INTEGER NVARCHAR(256) NVARCHAR(256) VARCHAR(16) VARCHAR(16) VARCHAR(512)

Unit

Description
Hos t na me Interna l port Connecti on ID to di s ti ngui s h da ta of ea ch i mport s es s i on (-1 for Python) Schema of ta bl e or vi ew bei ng i mported Na me of ta bl e or vi ew bei ng i mported Index type: 'UNKNOWN', 'PHYSICAL', 'OLAP', 'JOIN', 'HIERARCHY', 'CALCULATION', ... Import s ta tus . 'queued', 'worki ng', 's ki pped', 'done', 'fa i l ed' Empty i f i mport wa s s ucces s ful , error text otherwi s e

95

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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', ('secti on2', 'key2') = 'value2';

For the TENANT and HOST layers:


ALTER SYSTEM INIFILE('filename', 'layer', 'layername') SET ('section1', 'key1') = 'v alue1', ('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
FILE_NAME DEFAULT_LAYER SYSTEM_LAYER TENANT_LAYER HOST_LAYER

Data type
VARCHAR(256) VARCHAR(5) VARCHAR(5) VARCHAR(5) VARCHAR(5)

Unit

Description
Confi gura ti on fi l e na me

Bool ea n Bool ea n Bool ea n Bool ea n

TRUE i f fi l e ha s confi gura ti on on thi s l a yer (Al wa ys TRUE) TRUE i f fi l e ha s confi gura ti on on thi s l a yer TRUE i f fi l e ha s confi gura ti on on thi s l a yer TRUE i f fi l e ha s confi gura ti on on thi s l a yer

96

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_INIFILE_CONTENTS
Short description
Configuration information from inifiles

Structure
Column name
FILE_NAME LAYER_NAME TENANT_NAME HOST SECTION KEY VALUE

Data type
VARCHAR(256) VARCHAR(16) VARCHAR(256) VARCHAR(64) VARCHAR(128) VARCHAR(128) VARCHAR(5000)

Unit

Description
Confi gura ti on fi l e na me Confi gura ti on l a yer: DEFAULT, SYSTEM, TENANT, HOST Tena nt na me, i f l a yer i s TENANT Hos t na me, i f l a yer i s HOST Confi gura ti on s ecti on na me Confi gura ti on key na me Confi gura ti on va l ue

97

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_JOB_PROGRESS
Short description
Current long running system operations

Structure
Column name
HOST PORT SCHEMA_NAME OBJECT_NAME JOB_NAME CONNECTION_ID START_TIME CURRENT_PROGRESS MAX_PROGRESS PROGRESS_DETAIL

Data type
VARCHAR(64) INTEGER NVARCHAR(256) NVARCHAR(256) NVARCHAR(128) INTEGER TIMESTAMP INTEGER INTEGER NVARCHAR(256)

Unit

Description
Hos t na me Interna l port Schema of the object Na me of the object Type of the opera ti on Connecti on tha t tri ggered the opera ti on Sta rt ti me of the opera ti on Steps of the opera ti on tha t a re a l rea dy fi ni s hed Ma xi mum s teps of the opera ti on Deta i l i nforma ti on of the opera ti on

98

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 stored procedure:
UPDATE_LANDSCAPE_CONFIGURATION(ACTION in VARCHAR(80), DATA in NCLOB) -> resultset (N AME,VALUE)

HOST_ACTIVE
Value
YES STARTING PARTIAL STOPPING NO

Description
Al l s ervi ces a re a cti ve Some s ervi ces a re a cti ve, hos t i s s ta rti ng Some s ervi ces a re a cti ve Some s ervi ces a re a cti ve, hos t i s s toppi ng No s ervi ces a re a cti ve

HOST_STATUS
Value
OK IGNORE INFO WARNING ERROR

Description
La nds ca pe opera ti ona l , hos t a ctua l rol e equa l s confi gured rol e La nds ca pe opera ti ona l , hos t confi gured a s s ta ndby i s a va i l a bl e, but not us ed La nds ca pe opera ti ona l , hos t a ctua l rol e i s di fferent from confi gured rol e La nds ca pe not opera ti ona l , hos t s houl d become opera ti ona l a fter s ta rtup/fa i l over La nds ca pe not opera ti ona l , hos t i s mi s s i ng

FAILOVER_STATUS
Value Description
No fa i l over pendi ng/a cti ve wa i ti ng .. s ec wa i ti ng fa i l over to 'hos t' fa i l ba ck to 'hos t' fa i l ed Fa i l ure detected. Wa i ti ng s ome ti me for res ta rt to prevent unneces s a ry fa i l over Fa i l ure detected. Wa i ti ng for other 's ta rti ng' hos t Fa i l over to 'hos t' a cti ve. Fa i l ba ck to worker 'hos t' a cti ve. Ha ppens when a s ta ndby hos t wa s a s s i gned a nd i s s topped. There i s no a utoma ti c fa i l ba ck whi l e the s ta ndby hos t i s a s s i gned, beca us e thi s woul d ca us e s ome downti me Fa i l over fa i l ed. See na mes erver.trc for deta i l s

NAMESERVER_CONFIG_ROLE During installation up to 3 hosts are automatically configured as MASTER candidates. All others are SLAVE. 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_ROLE Exactly 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_ROLE During installation with 'hdbaddhost' the host is configured as WORKER or STANDBY INDEXSERVER_ACTUAL_ROLE Exactly 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 MASTER or SLAVE and a configured STANDBY has an actual role of STANDBY. After failover the actual roles switch and the HOST_STATUS changes from OK+IGNORE to 2*INFO. FAILOVER_CONFIG_GROUP Hosts can be grouped. During failover a host is looked for within the same group. If no host is available in the same group, hosts from other groups are used. Usage of other groups can be disabled with the configuration parameter: nameserver.ini

Structure

99

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

Column name
HOST HOST_ACTIVE HOST_STATUS FAILOVER_STATUS FAILOVER_GROUP FAILOVER_CONFIG_GROUP FAILOVER_ACTUAL_GROUP NAMESERVER_CONFIG_ROLE NAMESERVER_ACTUAL_ROLE INDEXSERVER_CONFIG_ROLE INDEXSERVER_ACTUAL_ROLE STORAGE_PARTITION REMOVE_STATUS

Data type
VARCHAR(64) VARCHAR(128) VARCHAR(128) VARCHAR(128) VARCHAR(256) VARCHAR(256) VARCHAR(256) VARCHAR(16) VARCHAR(16) VARCHAR(16) VARCHAR(16) INTEGER VARCHAR(16)

Unit

Description
Hos t na me Hos t a cti ve Sta tus (Summa ry of Acti ve va l ues of a l l s ervi ces on tha t hos t) Hos t s ta tus Fa i l over s ta tus DEPRECATED: repl a ced by FAILOVER_..._GROUP col umns Confi gured fa i l over group Actua l fa i l over group Na mes erver confi gured rol e: MASTER, SLAVE Na mes erver a ctua l rol e: MASTER, SLAVE Indexs erver confi gured rol e: WORKER, STANDBY Indexs erver a ctua l rol e: MASTER, SLAVE, STANDBY Stora ge Pa rti ti on ~= s ubpa th us ed by tha t hos t Remove progres s

100

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_LICENSE
Short description
Information on the currently valid license (if any) installed on this system

Structure
Column name
HARDWARE_KEY SYSTEM_ID INSTALL_NO SYSTEM_NO PRODUCT_NAME PRODUCT_LIMIT PRODUCT_USAGE START_DATE EXPIRATION_DATE LAST_SUCCESSFUL_CHECK PERMANENT VALID ENFORCED LOCKED_DOWN MEASUREMENT_XML

Data type
VARCHAR(11) VARCHAR(3) VARCHAR(10) VARCHAR(18) VARCHAR(256) BIGINT BIGINT TIMESTAMP TIMESTAMP TIMESTAMP VARCHAR(5) VARCHAR(5) VARCHAR(5) VARCHAR(5) CLOB

Unit

Description
Ha rdwa re key of thi s SAP HANA i ns ta l l a ti on Sys tem i denti fi er (SID) of thi s SAP HANA da ta ba s e Ins ta l l a ti on number of thi s SAP HANA da ta ba s e Sys tem number of thi s SAP HANA da ta ba s e Na me of the l i cens ed s oftwa re product, e.g. SAP HANA Li cens ed a mount of ma i n memory a s s peci fi ed by the l i cens e Currentl y uti l i zed a mount of ma i n memory Sta rt da te of the va l i di ty peri od of the l i cens e Expi ra ti on da te of the va l i di ty peri od of the l i cens e La tes t da te on whi ch the l i cens e wa s s ucces s ful l y checked a nd found va l i d TRUE i f the l i cens e i s a perma nent one, FALSE i f the l i cens e i s a tempora ry one TRUE i f the l i cens e i s currentl y va l i d, otherwi s e FALSE TRUE i f the l i cens e i s a memory-enforced l i cens e, otherwi s e FALSE TRUE i f the s ys tem i s l ocked down due to l i cens e s ta tus , otherwi s e FALSE Mea s urement l og produced for thi s l i cens ed s ys tem wi th current memory cons umpti on

101

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_LICENSE_USAGE_HISTORY
Short description
Information on the maximum resource consumption per time period, used for validity check of license installed on this system (if any)

Structure
Column name
PRODUCT_USAGE PERIOD_START_TIME PERIOD_END_TIME

Data type
BIGINT TIMESTAMP TIMESTAMP

Unit

Description
Ma xi mum uti l i zed a mount of ma i n memory us ed i n thi s peri od Sta rt ti me of the peri od the ma xi mum wa s us ed i n End ti me of the peri od the ma xi mum wa s us ed i n

102

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the dependent view M_LIVECACHE_CONTAINER_STATISTICS_RESET. To reset the values, use the SQL command:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_LIVECACHE_CONTAINER_STATISTICS_RESE T

or the management console command:


monitor reset -n M_LIVECACHE_CONTAINER_STATISTICS_RESET

Structure
Column name
HOST PORT CONTAINER_ID OMS_CLASS_ID OMS_CLASS_NAME OMS_SCHEMA_HANDLE OMS_CONTAINER_NO CLASS_SIZE KEY_SIZE KEY_PARTITION_COUNT KEY_PARTITION_PREFIX_SIZE CACHED_KEYS COPY_ON_UPDATE OBJECT_COUNT OBJECT_SIZE_SUM HISTORY_OBJECT_COUNT HISTORY_SIZE_SUM PAGE_COUNT PAGE_SIZE_SUM OBJECT_CREATE_COUNT OBJECT_UPDATE_COUNT OBJECT_DELETE_COUNT CREATE_TIME

Data type
VARCHAR(64) INTEGER BIGINT INTEGER VARCHAR(64) INTEGER INTEGER BIGINT INTEGER INTEGER INTEGER VARCHAR(5) VARCHAR(5) BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT TIMESTAMP

Unit

Description
Hos t na me Interna l port Conta i ner ID OMS cl a s s ID OMS cl a s s na me OMS s chema ha ndl e OMS conta i ner number

Byte Byte Byte

Object cl a s s s i ze Object key s i ze Key pa rti ti on count Key pa rti ti on prefi x l ength Ca ched keys a cti ve: 'TRUE', 'FALSE' Copy on upda te a cti ve: 'TRUE', 'FALSE'

Counter Byte Counter Byte Counter Byte Counter Counter Counter

Object count Object s i ze s um Hi s tory (ma rk del eted) object count Hi s tory da ta s i ze s um Pa ge count Pa ge s i ze s um Object crea te count s i nce res ta rt Object upda te count s i nce res ta rt Object del ete count s i nce res ta rt Crea te ti mes ta mp

103

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 view M_LIVECACHE_CONTAINER_STATISTICS . Please refer to M_LIVECACHE_CONTAINER_STATISTICS for information about the structure and use of this view. In addition to the members mentioned in M_LIVECACHE_CONTAINER_STATISTICS , this view also contains a timestamp field RESET_TIME, which indicates the last time the data was reset.

104

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 shows information 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 necessary lock-information is stored in the respective object header. This view can only be used if liveCache is enabled.

Structure
Column name
HOST PORT ID CLASS GRANTED_MODE MODE

Data type
VARCHAR(64) INTEGER VARCHAR(20) VARCHAR(20) VARCHAR(20) VARCHAR(20)

Unit

Description
Hos t na me Interna l port ID of the l ock (OID, conta i ner ID, or s chema ID dependent on the l ock cl a s s ) The cl a s s tha t the l ock bel ongs to The mode tha t the l ock ha s currentl y gra nted to s ome reques t(s ) The mode tha t the reques t i s reques ti ng on the l ock: 'Free', 'IntendSha re', 'IntendExcl us i ve', 'Sha re', 'Sha reIntendExcl us i ve', 'Excl us i ve' The type s peci fi es when the l ock ca n be removed (ei ther a t tra ns a cti on-end (EOT) or i f not vi s i bl e a nymore (Cons i s tent)) Sta te of thi s l ock reques t

TYPE STATE TID TIMEOUT

VARCHAR(10) VARCHAR(10) BIGINT BIGINT TID

Tra ns a cti on ID bel ongi ng to thi s l ock reques t Rema i ni ng ti meout, i f ti meout i s s peci fi ed

105

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the dependent view M_LIVECACHE_LOCK_STATISTICS_RESET. To reset the values, use the SQL command:
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 shows the 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
HOST PORT CONTAINER_EXCLUSIVE_COUNT CONTAINER_SHARED_COUNT CONTAINER_COLLISION_COUNT CONTAINER_TIMEOUT_COUNT SCHEMA_EXCLUSIVE_COUNT SCHEMA_SHARED_COUNT SCHEMA_COLLISION_COUNT SCHEMA_TIMEOUT_COUNT OBJECT_EXCLUSIVE_COUNT OBJECT_SHARED_COUNT OBJECT_COLLISION_COUNT OBJECT_TIMEOUT_COUNT COMMITTED_REQUESTS_COUNT

Data type
VARCHAR(64) INTEGER BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port

Counter Counter Counter Counter Counter Counter Counter Counter Counter Counter Counter Counter Counter

Number of excl us i ve l ock reques ts on conta i ners Number of s ha red l ock reques ts on conta i ners Number of l ock col l i s i ons on conta i ners Number of l ock ti meouts on conta i ners Number of excl us i ve l ock reques ts on s chema s Number of s ha red l ock reques ts on s chema s Number of l ock col l i s i ons on s chema s Number of l ock ti meouts on s chema s Number of excl us i ve l ock reques ts on objects Number of s ha red l ock reques ts on objects Number of l ock col l i s i ons on objects Number of ti meouts on objects Number of commi tted reques ts

106

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 view M_LIVECACHE_LOCK_STATISTICS . Please refer to M_LIVECACHE_LOCK_STATISTICS for information about the structure and use of this view. In addition to the members mentioned in M_LIVECACHE_LOCK_STATISTICS , this view also contains a timestamp field RESET_TIME, which indicates the last time the data was reset.

107

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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
HOST PORT VERSION_ID CREATE_DATE LAST_OPEN_DATE IS_OPEN HEAP_USAGE VERSION_DESCRIPTION

Data type
VARCHAR(64) INTEGER VARCHAR(22) TIMESTAMP TIMESTAMP VARCHAR(5) BIGINT NVARCHAR(512)

Unit

Description
Hos t na me Interna l port ID of the OMS vers i on Ti mes ta mp of the crea ti on of the OMS vers i on Ti mes ta mp, when the OMS vers i on wa s opened l a s t

Bool ea n

Fl a g i ndi ca ti ng whether the vers i on i s currentl y open: 'TRUE', 'FALSE' Memory tha t i s currentl y us ed by the vers i on Des cri pti on

108

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the dependent view M_LIVECACHE_PROCEDURE_STATISTICS_RESET. To reset the values, use the SQL command:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_LIVECACHE_PROCEDURE_STATISTICS_RESE T

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
HOST PORT OBJECT_NAME METHOD_NAME CALL_COUNT SUM_RUN_TIME MAX_RUN_TIME MIN_RUN_TIME AVERAGE_RUN_TIME DEREF_COUNT DEREF_BASE_COUNT DEREF_BASE_IN_VERSION_COUNT

Data type
VARCHAR(64) INTEGER VARCHAR(128) VARCHAR(128) BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Object na me Method na me

Counter Mi cros econd Mi cros econd Mi cros econd Mi cros econd Counter Counter Counter

Number of ca l l s of the procedure Sum runti me of the procedure Ma x runti me of the procedure Mi n runti me of the procedure Avera ge runti me of the procedure Number of OID derefs Number of OID derefs a ga i ns t ba s i s Number of OID derefs a ga i ns t ba s i s from wi thi n a n OMS vers i on Number of key derefs Number of key derefs a ga i ns t ba s i s Number of key derefs a ga i ns t ba s i s from wi thi n a n OMS vers i on Number of objects rea d vi a a n OID-i tera tor from the ba s i s Number of objects rea d vi a a key-i tera tor from the ba s i s Number of objects rea d vi a a n OID-i tera tor from the ba s i s from wi thi n a n OMS vers i on Number of objects , crea ted i n a n OMS-vers i on, rea d vi a a n OID-i tera tor Number of objects rea d vi a a n OID-i tera tor from the ba s i s from wi thi n a n OMS vers i on Number of objects , crea ted i n a n OMS vers i on, rea d vi a a key-i tera tor

DEREF_KEYED_OBJECT_COUNT DEREF_KEYED_OBJECT_BASE_COUNT DEREF_KEYED_OBJECT_BASE_IN_VERSION_COUNT

BIGINT BIGINT BIGINT

Counter Counter Counter

ITER_BASE_COUNT

BIGINT

Counter

ITER_KEYED_OBJECT_BASE_COUNT

BIGINT

Counter

ITER_BASE_IN_VERSION_COUNT

BIGINT

Counter

ITER_IN_VERSION_COUNT

BIGINT

Counter

ITER_KEYED_OBJECT_BASE_IN_VERSION_COUNT

BIGINT

Counter

ITER_KEYED_OBJECT_IN_VERSION_COUNT

BIGINT

Counter

109

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

DEREF_VAR_OBJECT_COUNT DEREF_VAR_OBJECT_BASE_COUNT DEREF_VAR_OBJECT_BASE_SIZE DEREF_VAR_OBJECT_BASE_IN_VERSION_COUNT

BIGINT BIGINT BIGINT BIGINT

Counter Counter Byte Counter

Number of derefs of va r objects Number of derefs of va r objects a ga i ns t ba s i s Accumul a ted s i ze of va r objects rea d from the ba s i s Number of derefs of va r objects a ga i ns t ba s i s from wi thi n a n OMS vers i on Accumul a ted s i ze of va r objects rea d from the ba s i s from wi thi n a n OMS vers i on Number of newl y crea ted s ta nda rd objects Number of newl y crea ted keyed objects Number of newl y crea ted va r objects Number of newl y crea ted s ta nda rd objects i n a n OMS vers i on Number of newl y crea ted keyed objects i n a n OMS vers i on Number of newl y crea ted va r objects i n a n OMS vers i on Number of s tore ca l l s on s ta nda rd objects Number of s tore ca l l s on s ta nda rd objects i n a n OMS vers i no Number of s tore ca l l s on keyed objects Number of s tore ca l l s on keyed objects i n a n OMS vers i on Number of s tore ca l l s on va r objects Accumul a ted s i ze of s tore ca l l s on va r objects Number of s tore ca l l s on va r objects i n a n OMS vers i on Accumul a ted s i ze of s tore ca l l s on va r objects i n a n OMS vers i on Number of upda tes of s ta nda rd objects i n the ba s i s Number of upda tes of keyed objects i n the ba s i s Number of upda tes of va r objects i n the ba s i s Accumul a ted s i zes of upda ted objects i n the ba s i s Number of del ete ca l l s on s ta nda rd objects Number of del ete ca l l s on keyed objects Number of del ete ca l l s on va r objects Number of del ete ca l l s on s ta nda rd objects i n a n OMS vers i on Number of del ete ca l l s on keyed objects i n a n OMS vers i on Number of del ete ca l l s on va r objects i n a n OMS vers i on Number of del eted

DEREF_VAR_OBJECT_BASE_IN_VERSION_SIZE

BIGINT

Byte

NEW_OBJECT_COUNT NEW_KEYED_OBJECT_COUNT NEW_VAR_OBJECT_COUNT NEW_OBJECT_IN_VERSION_COUNT

BIGINT BIGINT BIGINT BIGINT

Counter Counter Counter Counter

NEW_KEYED_OBJECT_IN_VERSION_COUNT

BIGINT

Counter

NEW_VAR_OBJECT_IN_VERSION_COUNT

BIGINT

Counter

STORE_COUNT STORE_IN_VERSION_COUNT

BIGINT BIGINT

Counter Counter

STORE_KEYED_OBJECT_COUNT STORE_KEYED_OBJECT_IN_VERSION_COUNT

BIGINT BIGINT

Counter Counter

STORE_VAR_OBJECT_COUNT STORE_VAR_OBJECT_SIZE STORE_VAR_OBJECT_IN_VERSION_COUNT

BIGINT BIGINT BIGINT

Counter Byte Counter

STORE_VAR_OBJECT_IN_VERSION_SIZE

BIGINT

Byte

STORE_BASE_COUNT

BIGINT

Counter

STORE_KEYED_OBJECT_BASE_COUNT STORE_VAR_OBJECT_BASE_COUNT STORE_VAR_OBJECT_BASE_SIZE

BIGINT BIGINT BIGINT

Counter Counter Byte

DELETE_COUNT DELETE_KEYED_OBJECT_COUNT DELETE_VAR_OBJECT_COUNT DELETE_IN_VERSION_COUNT

BIGINT BIGINT BIGINT BIGINT

Counter Counter Counter Counter

DELETE_KEYED_OBJECT_IN_VERSION_COUNT

BIGINT

Counter

DELETE_VAR_OBJECT_IN_VERSION_COUNT

BIGINT

Counter

DELETE_BASE_COUNT

BIGINT

Counter

110

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

s ta nda rd objects i n the ba s i s DELETE_KEYED_OBJECT_BASE_COUNT DELETE_VAR_OBJECT_BASE_COUNT LOCK_EXCLUSIVE_BASE_COUNT BIGINT BIGINT BIGINT Counter Counter Counter Number of del eted keyed objects i n the ba s i s Number of del eted va r objects i n the ba s i s Number of excl us i ve l ock reques ts on s ta nda rd objects i n the ba s i s Number of s ha re l ock reqeus ts on s ta nda rd objects i n the ba s i s Number of excl us i ve l ock reques ts on keyed objects i n the ba s i s Number of s ha re l ock reqeus ts on keyed objects i n the ba s i s Number of excl us i ve l ock reques ts on va r objects i n the ba s i s Number of s ha re l ock reqeus ts on va r objects i n the ba s i s Number of OMS rel ea s e ca l l s Number of rel ea s ed s ta nda rd objects Number of rel ea s es keyed objects Number of rel ea s es va r objects Number of hops i n the hi s tory cha i n duri ng deref Number of hops i n the hi s tory cha i n duri ng i tera ti on Number of dbp-excepti ons thrown Number of out-of-da teexcepti ons thrown Number of out-of-memoryexcepti ons thrown Number of ti meoutexcepti ons thrown Number of OMS termi na te ca l l s Number of rol l ed ba ck s ubtra ns a cti ons Number of commi tted s ubtra ns a cti ons Ma xi ma l s ubtra ns a cti on l evel Number of new-cons i s tentvi ew ca l l s wi th objects Avera ge wa i t ti me of newcons i s tent-vi ew ca l l s wi th objects Ma xi ma l wa i t ti me of newcons i s tent-vi ew ca l l s wi th objects Number of ca che hi ts i n the key-ca che Number of ca che hi ts i n the key-mi s s -ca che Number of key-derefs i n a n OMS vers i on on objects crea ted i n thi s vers i on Number of reha s hes of the OMS-object-ha s h Avera ge s ea rch l ength on the ha s h-cha i ns of the OMS-object-ha s h

LOCK_SHARE_BASE_COUNT

BIGINT

Counter

LOCK_EXCLUSIVE_KEYED_OBJECT_BASE_COUNT

BIGINT

Counter

LOCK_SHARE_KEYED_OBJECT_BASE_COUNT

BIGINT

Counter

LOCK_EXCLUSIVE_VAR_OBJECT_BASE_COUNT

BIGINT

Counter

LOCK_SHARE_VAR_OBJECT_BASE_COUNT

BIGINT

Counter

RELEASE_CALLED_COUNT RELEASE_EXECUTED_COUNT RELEASE_EXECUTED_KEYED_OBJECT_COUNT RELEASE_EXECUTED_VAR_OBJECT_COUNT HISTORY_HOP_COUNT ITER_HISTORY_HOP_COUNT

BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Counter Counter Counter Counter Counter Counter

EXCEPTION_COUNT OUT_OF_DATE_EXCEPTION_COUNT OUT_OF_MEMORY_EXCEPTION_COUNT TIMEOUT_EXCEPTION_COUNT OMS_TERMINATE_COUNT SUBTRANSACTION_ROLLBACK_COUNT SUBTRANSACTION_COMMIT_COUNT MAX_SUBTRANSACTION_LEVEL NEW_CONSISTENT_VIEW_COUNT AVERAGE_NEW_CONSISTENT_VIEW_WAIT_TIME

BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Counter Counter Counter Counter Counter Counter Counter Counter Counter Second

NEW_CONSISTENT_VIEW_MAX_WAIT_TIME

BIGINT

Second

KEY_CACHE_HIT_COUNT KEY_MISS_CACHE_HIT_COUNT DEREF_VERSION_KEYED_OBJECT_COUNT

BIGINT BIGINT BIGINT

Counter Counter Counter

OMS_REHASH_COUNT AVERAGE_HASH_CHAIN_SEARCH_LENGTH

BIGINT BIGINT

Counter Mi cros econd

111

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

MAX_HASH_CHAIN_LENGTH

BIGINT

Counter

Ma xi mum l ength of a ha s hcha i n of the OMS-objectha s h Number of crea ted OMS vers i ons Number of open-vers i on ca l l s Number of cl os e-vers i on ca l l s Number of dropped OMS vers i ons Number of a l l oca ti ons vi a a us er a l l oca tor Ma x s i ze of a n chunk a l l oca ted vi a a us er a l l oca tor Mi n s i ze of a n chunk a l l oca ted vi a a us er a l l oca tor Avera ge s i ze of a n chunk a l l oca ted vi a a us er a l l oca tor Number of dea l l oca ti ons vi a a us er a l l oca tor Ma x s i ze of a n chunk dea l l oca ted vi a a us er a l l oca tor Mi n s i ze of a n chunk dea l l oca ted vi a a us er a l l oca tor Avera ge s i ze of a n chunk dea l l oca ted vi a a us er a l l oca tor Ma xi ma l di fference between a l l oca ti on a nd dea l l oca ti on on a us er a l l oca tor duri ng the executi on of a method Number of a l l oca ti ons vi a a n OMS i nterna l a l l oca tor Ma x s i ze of a n chunk a l l oca ted vi a a n OMS i nterna l a l l oca tor Mi n s i ze of a n chunk a l l oca ted vi a a n OMS i nterna l a l l oca tor Avera ge s i ze of a n chunk a l l oca ted vi a a n OMS i nterna l a l l oca tor Number of dea l l oca ti ons vi a a n OMS i nterna l a l l oca tor Ma x s i ze of a n chunk dea l l oca ted vi a a n OMS i nterna l a l l oca tor Mi n s i ze of a n chunk dea l l oca ted vi a a n OMS i nterna l a l l oca tor Avera ge s i ze of a n chunk dea l l oca ted vi a a n OMS i nterna l a l l oca tor Ma xi mum di fference between a l l oca ti on a nd dea l l oca ti on on a n OMS i nterna l a l l oca tor duri ng the executi on of a method Avera ge s trea m communi ca ti on ti me Number of communi ca ti ons for rea di ng ABAP ta bl es Number of communi ca ti ons for wri ti ng ABAP ta bl es Number of rows rea d from

VERSION_CREATE_COUNT VERSION_OPEN_COUNT VERSION_CLOSE_COUNT VERSION_DROP_COUNT USER_ALLOC_COUNT USER_MAX_CHUNK_ALLOCATED_SIZE

BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Counter Counter Counter Counter Counter Byte

USER_MIN_CHUNK_ALLOCATED_SIZE

BIGINT

Byte

USER_AVERAGE_CHUNK_ALLOCATED_SIZE

BIGINT

Mi cros econd

USER_DELETE_COUNT USER_MAX_CHUNK_DELETED_SIZE

BIGINT BIGINT

Counter Byte

USER_MIN_CHUNK_DELETED_SIZE

BIGINT

Byte

USER_AVERAGE_CHUNK_DELETED_SIZE

BIGINT

Mi cros econd

USER_DELTA_MAX_SIZE

BIGINT

Byte

OMS_ALLOC_COUNT OMS_MAX_CHUNK_ALLOCATED_SIZE

BIGINT BIGINT

Counter Byte

OMS_MIN_CHUNK_ALLOCATED_SIZE

BIGINT

Byte

OMS_AVERAGE_CHUNK_ALLOCATED_SIZE

BIGINT

Mi cros econd

OMS_DELETE_COUNT

BIGINT

Counter

OMS_MAX_CHUNK_DELETED_SIZE

BIGINT

Byte

OMS_MIN_CHUNK_DELETED_SIZE

BIGINT

Byte

OMS_AVERAGE_CHUNK_DELETED_SIZE

BIGINT

Byte

OMS_DELTA_MAX_SIZE

BIGINT

Byte

STREAM_COMMUNICATION_TIME STREAM_READ_COUNT

BIGINT BIGINT

Mi cros econd Counter

STREAM_WRITE_COUNT

BIGINT

Counter

STREAM_READ_ROW_COUNT

BIGINT

Counter

112

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

ABAP ta bl es STREAM_WRITE_ROW_COUNT BIGINT Counter Number of rows wri tten to ABAP ta bl es

113

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 view M_LIVECACHE_PROCEDURE_STATISTICS . Please refer to M_LIVECACHE_PROCEDURE_STATISTICS for information about the structure and use of this view. In addition to the members mentioned in M_LIVECACHE_PROCEDURE_STATISTICS , this view also contains a timestamp field RESET_TIME, which indicates the last time the data was reset.

114

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the dependent view M_LIVECACHE_SCHEMA_STATISTICS_RESET. To reset the values, use the SQL command:
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
HOST PORT OMS_SCHEMA_HANDLE OMS_SCHEMA_NAME CREATE_TIME

Data type
VARCHAR(64) INTEGER INTEGER NVARCHAR(96) TIMESTAMP

Unit

Description
Hos t na me Interna l port OMS s chema ID OMS s chema na me Crea te ti mes ta mp

115

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 view M_LIVECACHE_SCHEMA_STATISTICS . Please refer to M_LIVECACHE_SCHEMA_STATISTICS for information about the structure and use of this view. In addition to the members mentioned in M_LIVECACHE_SCHEMA_STATISTICS , this view also contains a timestamp field RESET_TIME, which indicates the last time the data was reset.

116

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_LOCK_WAITS_STATISTICS
Short description
Accumulated lock wait count and duration for record lock, table lock and metadata lock for all available services from DB startup until now

Structure
Column name
HOST PORT LOCK_TYPE TOTAL_LOCK_WAITS TOTAL_LOCK_WAIT_TIME

Data type
VARCHAR(64) INTEGER VARCHAR(32) BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Lock type: RECORD, TABLE, METADATA Tota l l ock wa i t count Tota l l ock wa i t dura ti on (uni t: mi cro s econd)

117

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the 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_COUNT columns. This defines how much log information can be collected transiently in memory, before the log queue becomes full. Counters for buffer switches indicate performance of the in-memory log buffers. Normally, buffer switching happens 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 wait ratio 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/or count check 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 properly detected 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
HOST PORT VOLUME_ID LOG_MODE BUFFER_SIZE BUFFER_COUNT SEGMENT_SIZE BACKUP_ENABLED BACKUP_TIMEOUT SWITCH_NOWAIT_COUNT SWITCH_WAIT_COUNT SWITCH_OPEN_COUNT

Data type
VARCHAR(64) INTEGER INTEGER VARCHAR(16) BIGINT BIGINT BIGINT VARCHAR(5) BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID Log mode

Ki l obyte Counter Mega byte

Si ze of one l og buffer i n memory Count of l og buffers i n memory Ma xi mum s i ze of one l og s egment Log s egment ba ckup ena bl ed: 'TRUE', 'FALSE' ('FALSE' on l og ba ckup hi s tory broken)

Second Counter Counter Counter

Log s egment ba ckup ti meout Count of buffer s wi tches wi thout bl ocki ng on buffer s ema phore Count of buffer s wi tches wi th bl ocki ng on buffer s ema phore Count of i gnored s ti l l -open buffer s wi tches (res ol ved ra ces )

118

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 to M_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 field RESET_TIME, which indicates the last time the data was reset.

119

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the 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 to optimize workload. See also: M_LOG_BUFFERS , M_LOG_SEGMENTS , M_VOLUME_IO_STATISTICS

Structure
Column name
HOST PORT VOLUME_ID PARTITION_ID PATH LAST_BUFFER_PREPARE_SIZE MAX_BUFFER_PREPARE_SIZE MIN_BUFFER_PREPARE_SIZE SUM_BUFFER_PREPARE_SIZE

Data type
VARCHAR(64) INTEGER INTEGER BIGINT VARCHAR(512) BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID Log pa rti ti on ID Log pa rti ti on root pa th

Byte Byte Byte Byte

Si ze of l og buffer a t prepa re ti me (a ctua l l og da ta s i ze) (l a s t) Si ze of l og buffer a t prepa re ti me (a ctua l l og da ta s i ze) (ma x) Si ze of l og buffer a t prepa re ti me (a ctua l l og da ta s i ze) (mi n) Si ze of l og buffer a t prepa re ti me (a ctua l l og da ta s i ze) (tota l ) Si ze of l og buffer a t prepa re ti me (a ctua l l og da ta s i ze) (a vg) Si ze of l og buffer a l i gnment overhea d a t I/O ti me (l a s t) Si ze of l og buffer a l i gnment overhea d a t I/O ti me (ma x) Si ze of l og buffer a l i gnment overhea d a t I/O ti me (mi n) Si ze of l og buffer a l i gnment overhea d a t I/O ti me (tota l ) Si ze of l og buffer a l i gnment overhea d a t I/O ti me (a vg) Si ze of l og buffer a t I/O ti me (a ctua l da ta pl us a l i gnment overhea d) (l a s t) Si ze of l og buffer a t I/O ti me (a ctua l da ta pl us a l i gnment overhea d) (ma x) Si ze of l og buffer a t I/O ti me (a ctua l da ta pl us a l i gnment overhea d) (mi n) Si ze of l og buffer a t I/O ti me (a ctua l da ta pl us a l i gnment overhea d) (tota l ) Si ze of l og buffer a t I/O ti me (a ctua l da ta pl us a l i gnment overhea d) (a vg) Group commi t frequency (ca l l ba ck count per buffer wi th s ync ca l l ba ck) (l a s t) Group commi t frequency (ca l l ba ck count per buffer wi th

AVG_BUFFER_PREPARE_SIZE LAST_BUFFER_OVERHEAD_SIZE MAX_BUFFER_OVERHEAD_SIZE MIN_BUFFER_OVERHEAD_SIZE SUM_BUFFER_OVERHEAD_SIZE AVG_BUFFER_OVERHEAD_SIZE LAST_BUFFER_IO_SIZE

BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Byte Byte Byte Byte Byte Byte Byte

MAX_BUFFER_IO_SIZE

BIGINT

Byte

MIN_BUFFER_IO_SIZE

BIGINT

Byte

SUM_BUFFER_IO_SIZE

BIGINT

Byte

AVG_BUFFER_IO_SIZE

BIGINT

Byte

LAST_GROUP_COMMIT_FREQUENCY

BIGINT

Counter

MAX_GROUP_COMMIT_FREQUENCY

BIGINT

Counter

120

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

s ync ca l l ba ck) (ma x) MIN_GROUP_COMMIT_FREQUENCY BIGINT Counter Group commi t frequency (ca l l ba ck count per buffer wi th s ync ca l l ba ck) (mi n) Group commi t frequency (ca l l ba ck count per buffer wi th s ync ca l l ba ck) (tota l ) Group commi t frequency (ca l l ba ck count per buffer wi th s ync ca l l ba ck) (a vg) Ca l l ba ck ti me per buffer wi th s ync ca l l ba ck (l a s t) Ca l l ba ck ti me per buffer wi th s ync ca l l ba ck (ma x) Ca l l ba ck ti me per buffer wi th s ync ca l l ba ck (mi n) Ca l l ba ck ti me per buffer wi th s ync ca l l ba ck (tota l ) Ca l l ba ck ti me per buffer wi th s ync ca l l ba ck (a vg) Count of buffers prepa red for I/O Count of compl eted a nd wri tten buffers Count of buffers wri tten out-oforder Count of new l og s egment reques ts Count of currentl y free l og s egments Count of currentl y i n-ba ckup l og s egments Count of currentl y i n-ba ckup trunca ted l og s egments Count of l og s egments ba cked up s o fa r Tota l l og s egment count i n the pa rti ti on Count of s egments i n-l oa d duri ng recovery Count of s egments wa i ti ng for l oa d duri ng recovery Count of s egments i n proces s duri ng recovery Count of s egments proces s ed duri ng recovery

SUM_GROUP_COMMIT_FREQUENCY

BIGINT

Counter

AVG_GROUP_COMMIT_FREQUENCY

BIGINT

Counter

LAST_CALLBACK_TIME MAX_CALLBACK_TIME MIN_CALLBACK_TIME SUM_CALLBACK_TIME AVG_CALLBACK_TIME PREPARED_BUFFERS WRITTEN_BUFFERS WRITTEN_BUFFERS_OOO NEW_SEGMENT_REQUEST_COUNT FREE_SEGMENTS IN_BACKUP_SEGMENTS IN_BACKUP_TRUNCATED_SEGMENTS BACKED_UP_SEGMENTS TOTAL_SEGMENTS RECOVERY_SEGMENTS_IN_LOAD RECOVERY_SEGMENTS_WAITING_FOR_LOAD RECOVERY_SEGMENTS_IN_PROCESS RECOVERY_SEGMENTS_PROCESSED

BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Mi cros econd Mi cros econd Mi cros econd Mi cros econd Mi cros econd Counter Counter Counter Counter Counter Counter Counter Counter Counter Counter Counter Counter Counter

121

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 . Please refer 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 field RESET_TIME, which indicates the last time the data was reset.

122

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the 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 is currently 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 for reuse (log segments will stay in the state Closed or BackedUp until the backup is done). After a data backup, empty log files can be freed explicitly after backup using the RECLAIM LOG SQL command. This command can also be used in other log modes after a savepoint to release empty log files freed by the savepoint. See also: M_LOG_BUFFERS , M_LOG_PARTITIONS , M_VOLUME_IO_STATISTICS

Structure
Column name
HOST PORT VOLUME_ID PARTITION_ID SEGMENT_ID FILE_NAME FILE_OFFSET STATE MIN_POSITION MAX_POSITION HOLE_POSITION USED_SIZE TOTAL_SIZE IN_BACKUP

Data type
VARCHAR(64) INTEGER INTEGER BIGINT BIGINT VARCHAR(512) BIGINT VARCHAR(16) BIGINT BIGINT BIGINT BIGINT BIGINT VARCHAR(5)

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID Log pa rti ti on ID Log s egment ID wi thi n pa rti ti on Log s egment fi l e na me

Byte

Sta rt pos i ti on of l og s egment i n the fi l e Log s egment s ta te Fi rs t pos i ti on conta i ned i n thi s l og s egment Pos i ti on behi nd the l a s t l og record i n thi s l og s egment (cl os ed l og s egments onl y) Sta rt pos i ti on of the l og hol e before thi s l og s egment (equa l to mi n pos i ti on i f no hol e)

Byte Byte

Us ed l og s egment s i ze i n bytes Tota l l og s egment s i ze i n bytes Fl a g for l og s egment i n ba ckup: 'TRUE', 'FALSE'

123

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 refer to 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 field RESET_TIME, which indicates the last time the data was reset.

124

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the 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 container and about the throughput of the resource container. One row in this view represents one resource type (the type is specified by the resource statistic). The resource statistics are kept in a tree data structure and this view 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
HOST PORT VOLUME_ID TYPE OBJECT_COUNT OBJECT_SIZE NON_SWAPPABLE_SIZE SWAPPABLE_SIZE PUT_COUNT PUT_SIZE EVICT_COUNT EVICT_SIZE TEMP_EVICT_COUNT TEMP_EVICT_SIZE RESIZE_COUNT RESIZE_DELTA_SIZE SHRINK_COUNT SHRINK_SIZE FAILED_SHRINK_COUNT FAILED_SHRINK_SIZE

Data type
VARCHAR(64) INTEGER INTEGER VARCHAR(128) BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID Object (s ta ti s ti c) type

Counter Byte Byte Byte Counter Byte Counter Byte Counter Byte Counter Byte Counter Byte Counter Byte

Number of objects currentl y i n memory object conta i ner Si ze of objects currentl y i n memory object conta i ner Si ze of non s wa ppa bl e objects currentl y i n memory object conta i ner Si ze of s wa ppa bl e objects currentl y i n memory object conta i ner Tota l number of put objects Tota l s i ze of put objects Tota l number of evi cted objects Tota l s i ze of evi cted objects Tota l number of temp-evi cted objects Tota l s i ze of temp-evi cted objects Tota l number of res i zes Tota l s i ze del ta cha nged by res i ze of objects Tota l number of s hrunk objects Tota l s i ze of s hrunk objects Tota l number of objects s hri nk fa i l ed to remove Tota l s i ze of objects s hri nk fa i l ed to remove

125

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 . Please refer 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 field RESET_TIME, which indicates the last time the data was reset.

126

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_MEMORY_OBJECT_DISPOSITIONS
Short description
Disposition specific memory object statistics. The statistics are calculated and reading them may take a while.

Full description
The number and the size of resources in the resource container are shown depending on their specific disposition (whether the memory objects are short, mid, long-term or non-swappable). For each type of resource (specified by the resource statistic), which is currently in the resource container, one row is added to this view. The tree structure of the resource statistics is not considered here, therefore the values are not aggregated. Caution: Reading this view may take some time as the entire resource container must be traversed to generate this view.

Structure
Column name
HOST PORT VOLUME_ID TYPE TEMPORARY_OBJECT_COUNT EARLY_UNLOAD_OBJECT_COUNT INTERNAL_SHORT_TERM_OBJECT_COUNT SHORT_TERM_OBJECT_COUNT MID_TERM_OBJECT_COUNT LONG_TERM_OBJECT_COUNT NON_SWAPPABLE_OBJECT_COUNT TEMPORARY_OBJECT_SIZE EARLY_UNLOAD_OBJECT_SIZE INTERNAL_SHORT_TERM_OBJECT_SIZE SHORT_TERM_OBJECT_SIZE MID_TERM_OBJECT_SIZE LONG_TERM_OBJECT_SIZE NON_SWAPPABLE_OBJECT_SIZE

Data type
VARCHAR(64) INTEGER INTEGER VARCHAR(128) BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID Object (s ta ti s ti c) type)

Counter Counter Counter Counter Counter Counter Counter Byte Byte Byte Byte Byte Byte Byte

Number of tempora ry objects Number of ea rl y unl oa d objects Number of i nterna l s hort term objects Number of s hort term objects Number of mi d term objects Number of l ong term objects Number of non s wa ppa bl e objects Si ze of tempora ry objects Si ze of ea rl y unl oa d objects Si ze of i nterna l s hort term objects Si ze of s hort term objects Si ze of mi d term objects Si ze of l ong term objects Si ze of non s wa ppa bl e objects

127

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_MERGED_TRACES
Short description
Contains the merged content of the server trace files for all of the SAP HANA processes

Structure
Column name
HOST PORT USER_NAME APPLICATION_USER_NAME SERVICE_NAME CONNECTION_ID TRANSACTION_ID THREAD_ID TIMESTAMP TRACE_LEVEL COMPONENT SOURCE_FILE_NAME SOURCE_FILE_LINE TRACE_TEXT TRACE_FILE_NAME TRACE_FILE_LINE PASSPORT_ROOT_CONTEXT_ID PASSPORT_TRANSACTION_ID PASSPORT_CONNECTION_ID PASSPORT_CONNECTION_COUNTER PASSPORT_COMPONENT_NAME PASSPORT_ACTION

Data type
VARCHAR(64) BIGINT NVARCHAR(256) NVARCHAR(256) VARCHAR(256) INTEGER BIGINT BIGINT TIMESTAMP VARCHAR(16) VARCHAR(32) VARCHAR(512) BIGINT NCLOB VARCHAR(256) INTEGER VARCHAR(32) VARCHAR(32) VARCHAR(32) BIGINT NVARCHAR(32) NVARCHAR(40)

Unit

Description
Hos t on whi ch s erver proces s ra n Communi ca ti on port of s erver proces s Da ta ba s e us er Appl i ca ti on us er Na me of s erver proces s Connecti on ID Tra ns a cti on ID ID of threa d tha t wrote tra ce entry Ti me when tra ce entry wa s wri tten Tra ce l evel Tra ce component Source fi l e whi ch conta i ns tra ce Source fi l e l i ne Tra ced text Na me of tra ce fi l e conta i ni ng tra ce entry Tra ce fi l e l i ne

Gui d

SAP EPP Pa s s port GUID i denti fyi ng s ource of reques t SAP EPP Pa s s port GUID i denti fyi ng bus i nes s tra ns a cti on

Gui d

SAP EPP Pa s s port GUID i denti fyi ng connecti on SAP EPP Pa s s port connecti on counter SAP EPP Pa s s port component na me of i ni ti a l /root context SAP EPP Pa s s port a cti on

128

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_MONITORS
Short description
Available monitoring views

Full description
This view can be used in conjunction with M_MONITOR_COLUMNS to get information about existing monitoring views. See also: M_MONITOR_COLUMNS

Structure
Column name
SCHEMA_NAME VIEW_NAME DESCRIPTION RESETTABLE

Data type
NVARCHAR(256) NVARCHAR(256) NVARCHAR(2000) VARCHAR(5)

Unit

Description
Schema na me Na me of moni tori ng vi ew Short des cri pti on of the moni tori ng vi ew Set to TRUE, i f va l ues of thi s moni tor ca n be res et

129

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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
VIEW_NAME VIEW_COLUMN_NAME DATA_TYPE_ID DATA_TYPE_NAME POSITION DEFAULT_VALUE UNIT COLLATION LENGTH SCALE IS_NULLABLE DESCRIPTION

Data type
NVARCHAR(256) NVARCHAR(256) SMALLINT VARCHAR(16) INTEGER NVARCHAR(5000) VARCHAR(16) NVARCHAR(256) INTEGER INTEGER VARCHAR(5) NVARCHAR(5000)

Unit

Description
Na me of moni tori ng vi ew Na me of moni tori ng vi ew col umn Col umn da ta type ID Col umn da ta type na me Ordi na l pos i ti on of the col umn i n a record Defa ul t va l ue Uni t for the va l ue Col l a ti on Length Sca l e TRUE, i f NULL va l ue i s a l l owed Short des cri pti on of the moni tori ng vi ew col umn

130

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the 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. It does not contain information about all mutex objects. Information like LOCK_COUNT, WAIT_COUNT and WAIT_TIMES can be used to analyze performance bottlenecks. Using OWNER_ID you can find possible deadlocks.

Structure
Column name
HOST PORT VOLUME_ID STATISTICS_NAME STATISTICS_ID LOCK_COUNT WAIT_COUNT SPURIOUS_WAKEUP_COUNT COLLISION_RATE OWNER_ID LAST_WAIT_TIME MAX_WAIT_TIME MIN_WAIT_TIME SUM_WAIT_TIME AVG_WAIT_TIME CREATE_COUNT DESTROY_COUNT

Data type
VARCHAR(64) INTEGER INTEGER VARCHAR(128) BIGINT BIGINT BIGINT BIGINT DOUBLE BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID Sta ti s ti cs object na me Sta ti s ti cs object uni que ID

Counter Counter Counter Percent Mi cros econd Mi cros econd Mi cros econd Mi cros econd Mi cros econd Counter Counter

Count of l ock ca l l s Count of bl ocki ng l ock ca l l s Count of s puri ous wa keups (col l i s i ons on futex) Col l i s i on ra te i n percent Context ID of the owner context Ti me of bl ocki ng l ock ca l l s (l a s t) Ti me of bl ocki ng l ock ca l l s (ma x) Ti me of bl ocki ng l ock ca l l s (mi n) Ti me of bl ocki ng l ock ca l l s (tota l ) Ti me of bl ocki ng l ock ca l l s (a vg) Count of mutex crea ti on (for s ha red s ta ti s ti cs onl y) Count of mutex des tructi on (for s ha red s ta ti s ti cs onl y)

131

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 to M_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 field RESET_TIME, which indicates the last time the data was reset.

132

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_MVCC_TABLES
Short description
Statistics of row-store Multiversion Concurrency Control (MVCC) manager

Structure
Column name
HOST PORT NAME VALUE

Data type
VARCHAR(64) INTEGER VARCHAR(256) VARCHAR(128)

Unit

Description
Hos t na me Interna l port Na me col umn Va l ue col umn

133

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_OBJECT_LOCKS
Short description
Status of currently acquired locks on objects with detailed information such as lock acquisition time, lock mode

Structure
Column name
HOST PORT LOCK_OWNER_TRANSACTION_ID LOCK_OWNER_UPDATE_TRANSACTION_ID ACQUIRED_TIME SCHEMA_NAME OBJECT_NAME OBJECT_TYPE LOCK_MODE

Data type
VARCHAR(64) INTEGER INTEGER BIGINT TIMESTAMP NVARCHAR(256) NVARCHAR(256) VARCHAR(32) VARCHAR(32)

Unit

Description
Hos t na me Interna l port Tra ns a cti on object ID owni ng the l ock Wri te tra ns a cti on ID owni ng the l ock Lock a cqui s i ti on ti me Schema na me Object na me Object type Lock mode: EXCLUSIVE, INTENTIONAL EXCLUSIVE

134

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the dependent view M_OBJECT_LOCK_STATISTICS_RESET. To reset the values, use the SQL command:
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
HOST PORT OBJECT_TYPE SCHEMA_NAME OBJECT_NAME PART_ID OBJECT_ID LOCK_TYPE LOCK_WAIT_COUNT LOCK_WAIT_TIME LOCK_FAILED_COUNT

Data type
VARCHAR(64) INTEGER VARCHAR(32) NVARCHAR(256) NVARCHAR(256) INTEGER BIGINT VARCHAR(32) BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Object Type: RECORD, TABLE, VIEW, SYNONYM, SEQUENCE.. Schema na me tha t the Object bel ongs to Object Na me Pa rti ti on no. (0 for non-pa rti ti oned ta bl es , -1 for not s upported) Object ID Lock Type: OBJECT, RECORD Lock Wa i t Count Lock Wa i t Ti me (uni t: mi cro s econd) Lock Fa i l ed Count (onl y s upported RECORD type l ock fa i l ed count)

135

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 timestamp field RESET_TIME, which indicates the last time the data was reset.

136

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the dependent view M_PAGEACCESS_STATISTICS_RESET. To reset the values, use the SQL command:
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 values are the number of the respective operations on the page access. CHUNK_SIZE is the number of pages accessed by one operation ( CHUNK_SIZE is 1 except for RowStorePageAccess where blocks of pages are accessed. For example, LOAD_COUNT=4 and CHUNK_SIZE=1024 means that 2*1024=4096 pages had been loaded). On allocation / deallocation the corresponding Converter is accessed. See also: M_CONVERTER_STATISTICS

Structure
Column name
HOST PORT VOLUME_ID TYPE CHUNK_SIZE ALLOCATE_COUNT GET_COUNT LOAD_COUNT TRIGGER_LOAD_COUNT DEALLOCATE_COUNT

Data type
VARCHAR(64) INTEGER INTEGER VARCHAR(32) INTEGER BIGINT BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID Type of pa gea cces s

Counter Counter Counter Counter Counter Counter

Chunk s i ze Number of a l l oca ti ons Number of gets Number of s ynchronous l oa ds Number of a s ynchronous l oa ds Number of dea l l oca ti ons

137

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 timestamp field RESET_TIME, which indicates the last time the data was reset.

138

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 the contents of the individual lines of the monitor view (VALUE), as identified by PROPERTY: force_first_password_change Defines if a user is forced to change his administrator-given password before being allowed to work any further last_used_passwords Number of recently used passwords of a user, which they cannot reuse maximum_invalid_connect_attempts Maximum number of allowed invalid connect attempts before a user is locked maximum_password_lifetime Number of days a password stays valid maximum_unused_inital_password_lifetime Number of days an unused administrator-given password stays valid maximum_unused_productive_password_lifetime Number of days an unused user-given password stays valid minimal_password_length Minimum number of characters required by a valid password minimum_password_lifetime Minimum number of days until a user-given password can be changed password_expire_warning_time Warnings about nearly expired password will start to be shown at the configured number of days before expiration password_layout Describes the kind(s) of character the password has to consist of password_lock_time Number of minutes the user is locked after too many invalid connect attempts

Structure
Column name
PROPERTY VALUE

Data type
VARCHAR(128) VARCHAR(5000)

Unit

Description
Confi gura ti on property Va l ue

139

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 plan execution details can be recorded. If a duration is specified it automatically stops after the configured amount of seconds.
ALTER SYSTEM START PERFTRACE [USER name] [APPLICATIONUSER name] [PLAN_EXECUTION] [FU NCTION_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. If no file name is given 'perftrace.tpt' is used.
ALTER SYSTEM SAVE PERFTRACE [INTO FILE 'filename']

Structure
Column name
STATUS START_TIME STOP_TIME FILE_SIZE REMAINING_SECONDS USER_NAME APPLICATION_USER_NAME APPLICATION_NAME PASSPORT_TRACELEVEL PLAN_EXECUTION FUNCTION_PROFILER

Data type
VARCHAR(16) TIMESTAMP TIMESTAMP BIGINT INTEGER NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) VARCHAR(8) VARCHAR(5) VARCHAR(5)

Unit

Description
Sta tus : STOPPED, STARTED, SAVING Sta rt ti me Stop ti me

Byte Second

Si ze of col l ected tra ce fi l es . Onl y va l i d i f s topped a nd not s a ved Rema i ni ng s econds unti l a utoma ti c s top SQL us er na me fi l ter Appl i ca ti on us er na me fi l ter Appl i ca ti on na me fi l ter Pa s s port fi l ter: 'MEDIUM', 'HIGH'

Bool ea n Bool ea n

Fl a g i f pl a n executi on deta i l s a re recorded Fl a g i f functi on profi l er deta i l s a re recorded: 'TRUE', 'FALSE'

140

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_PERSISTENCE_ENCRYPTION_KEYS
Short description
Information about encryption page keys

Structure
Column name
HOST PORT VALID_FROM_SAVEPOINT VALID_FROM_TIMESTAMP IS_ENCRYPTED

Data type
VARCHAR(64) INTEGER INTEGER TIMESTAMP VARCHAR(5)

Unit

Description
Hos t na me Interna l port

HEXID Mi cros econd

Va l i d from s a vepoi nt vers i on Va l i d from ti mes ta mp gi ven i n UTC Pers i s tence encrypti on i s a cti ve: 'TRUE', 'FALSE'

141

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_PERSISTENCE_ENCRYPTION_STATUS
Short description
Information about persistence encryption

Structure
Column name
HOST PORT ENCRYPTION_ACTIVE

Data type
VARCHAR(64) INTEGER VARCHAR(5)

Unit

Description
Hos t na me Interna l port Encrypti on i s currentl y a cti ve for wri ti ng i nto pers i s tence: 'TRUE', 'FALSE' Encrypti on wi l l be a cti ve for wri ti ng i nto pers i s tence a fter next s a vepoi nt: 'TRUE', 'FALSE' Next s a vepoi nt wi l l a cti va te a new key: 'TRUE', 'FALSE' Next s a vepoi nt wi l l a cti va te a new root key: 'TRUE', 'FALSE' Convers i on of da ta to l a tes t encrypti on s ta tus or key a cti ve: 'TRUE', 'FALSE'

ENCRYPTION_ACTIVE_AFTER_NEXT_SAVEPOINT

VARCHAR(5)

KEY_CHANGE_WITH_NEXT_SAVEPOINT ROOT_KEY_CHANGE_WITH_NEXT_SAVEPOINT DATA_CONVERSION_ACTIVE

VARCHAR(5) VARCHAR(5) VARCHAR(5)

KEY_PAGE_ENTRY_COUNT

BIGINT

Counter

Number of entri es wi thi n key pa ge

142

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the dependent view M_PERSISTENCE_MANAGERS_RESET. To reset the values, use the SQL command:
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
HOST PORT VOLUME_ID MAX_TID CCH_COUNT MASS_CCH_COUNT LAST_CCH_TIME MAX_CCH_TIME MIN_CCH_TIME SUM_CCH_TIME AVG_CCH_TIME LAST_MASS_CCH_TIME MAX_MASS_CCH_TIME MIN_MASS_CCH_TIME SUM_MASS_CCH_TIME AVG_MASS_CCH_TIME PREPARE_COMMIT_POS MASTER_COMMIT_POS

Data type
VARCHAR(64) INTEGER INTEGER BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID

TID Counter Counter Mi cros econd Mi cros econd Mi cros econd Mi cros econd Mi cros econd Mi cros econd Mi cros econd Mi cros econd Mi cros econd Mi cros econd

Ma xi mum known TID Count of norma l cons i s tent cha nges (termi na ted s es s i ons ) Count of cons i s tent cha nges for ma s s opera ti ons (termi na ted s es s i ons ) Ti me s pent i n norma l cons i s tent cha nges (termi na ted s es s i ons ) (l a s t) Ti me s pent i n norma l cons i s tent cha nges (termi na ted s es s i ons ) (ma x) Ti me s pent i n norma l cons i s tent cha nges (termi na ted s es s i ons ) (mi n) Ti me s pent i n norma l cons i s tent cha nges (termi na ted s es s i ons ) (tota l ) Ti me s pent i n norma l cons i s tent cha nges (termi na ted s es s i ons ) (a vg) Ti me s pent i n cons i s tent cha nges for ma s s opera ti ons (termi na ted s es s i ons ) (l a s t) Ti me s pent i n cons i s tent cha nges for ma s s opera ti ons (termi na ted s es s i ons ) (ma x) Ti me s pent i n cons i s tent cha nges for ma s s opera ti ons (termi na ted s es s i ons ) (mi n) Ti me s pent i n cons i s tent cha nges for ma s s opera ti ons (termi na ted s es s i ons ) (tota l ) Ti me s pent i n cons i s tent cha nges for ma s s opera ti ons (termi na ted s es s i ons ) (a vg) Newes t known l og pos i ti on of prepa re commi t (s l a ve onl y) Newes t known l og pos i ti on of commi t record on tra ns a cti on ma s ter from the poi nt of vi ew of thi s node Count of i n-doubt wa i ters for currentl yrunni ng COMMIT (ma s ter onl y)

INDOUBT_WAITERS INDOUBT_RESTART_COUNT INDOUBT_ONLINE_COUNT SAVEPOINT_CONFIG_FREQUENCY SAVEPOINT_ACTIVE_FREQUENCY CHECKSUM_ALGORITHM

BIGINT BIGINT BIGINT BIGINT BIGINT VARCHAR(16) Counter Counter Second Second

Count of open i n-doubt tra ns a cti ons before res ta rt (ma s ter onl y) Count of open i n-doubt tra ns a cti ons s i nce l a s t res ta rt (ma s ter onl y) Confi gured s a vepoi nt frequency Currentl y a cti ve s a vepoi nt frequency Currentl y us ed checks um a l gori thm for modi fi ed pa ges a nd l og buffers

143

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 timestamp field RESET_TIME, which indicates the last time the data was reset.

144

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_PREPARED_STATEMENTS
Short description
Prepared statements list

Structure
Column name
HOST PORT CONNECTION_ID STATEMENT_ID START_MVCC_TIMESTAMP COMPILED_TIME STATEMENT_STATUS STATEMENT_STRING ALLOCATED_MEMORY_SIZE USED_MEMORY_SIZE PLAN_ID LAST_EXECUTED_TIME RECOMPILE_COUNT EXECUTION_COUNT AVG_EXECUTION_TIME MAX_EXECUTION_TIME MIN_EXECUTION_TIME TOTAL_EXECUTION_TIME AVG_CURSOR_DURATION MAX_CURSOR_DURATION MIN_CURSOR_DURATION TOTAL_CURSOR_DURATION AVG_EXECUTION_MEMORY_SIZE MAX_EXECUTION_MEMORY_SIZE MIN_EXECUTION_MEMORY_SIZE TOTAL_EXECUTION_MEMORY_SIZE AVG_LOCKWAIT_TIME MAX_LOCKWAIT_TIME MIN_LOCKWAIT_TIME TOTAL_LOCKWAIT_COUNT TOTAL_LOCKWAIT_TIME AVG_PREPARATION_TIME MAX_PREPARATION_TIME MIN_PREPARATION_TIME TOTAL_PREPARATION_TIME TOTAL_PREPARATION_COUNT HAS_HOLDABLE_CURSOR PARENT_STATEMENT_ID APPLICATION_SOURCE

Data type
VARCHAR(64) INTEGER INTEGER VARCHAR(256) BIGINT TIMESTAMP VARCHAR(128) NCLOB BIGINT BIGINT BIGINT TIMESTAMP BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT VARCHAR(5) VARCHAR(256) NVARCHAR(2000)

Unit

Description
Hos t na me Interna l port Connecti on ID Prepa red s ta tement ID Interna l MVCC ti mes ta mp of the tra ns a cti on s ta rt ti me Compi l a ti on ti mes ta mp of the s ta tement Sta tus of SQL s ta tement SQL s ta tement

Byte Byte

Current s na ps hot of a l l oca ted memory s i ze for executi ng thi s s ta tement Current s na ps hot of us ed memory s i ze for executi ng thi s s ta tement Logi ca l pl a n ID La s t executi on ti mes ta mp of the s ta tement Recompi l e count Count of executi ons Avera ge ti me of s ta tement executi on Ma xi mum ti me of s ta tement executi on Mi ni mum ti me of s ta tement executi on Sum of s ta tement executi on ti me Avera ge ti me of s ta tement executi on i ncl udi ng communi ca ti on ti me wi th cl i ents Ma xi mum ti me of s ta tement executi on i ncl udi ng communi ca ti on ti me wi th cl i ents Mi ni mum ti me of s ta tement executi on i ncl udi ng communi ca ti on ti me wi th cl i ents Sum of s ta tement executi on ti me i ncl udi ng communi ca ti on ti me wi th cl i ents Avera ge memory s i ze us ed duri ng ea ch executi on Ma xi mum memory s i ze us ed duri ng ea ch executi on Mi ni mum memory s i ze us ed duri ng ea ch executi on Sum of memory s i ze us ed duri ng ea ch executi on Avera ge l ock wa i t ti me for the s ta tement Ma xi mum l ock wa i t ti me for the s ta tement Mi ni mum l ock wa i t ti me for the s ta tement Tota l l ock wa i t count for the s ta tement Accumul a ted l ock wa i t ti me for the s ta tement Avera ge ti me of s ta tement prepa ra ti on Ma xi mum ti me of s ta tement prepa ra ti on Mi ni mum ti me of s ta tement prepa ra ti on Tota l ti me of s ta tement prepa ra ti on Tota l count of s ta tement prepa ra ti on Hol da bl e curs or exi s tence Pa rent prepa red s ta tement ID Appl i ca ti on s ource i nforma ti on

145

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the 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 lock objects. 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
HOST PORT VOLUME_ID STATISTICS_NAME STATISTICS_ID OWNER_ID EXCLUSIVE_LOCK_COUNT EXCLUSIVE_WAIT_COUNT EXCLUSIVE_CAS_COLLISION_COUNT EXCLUSIVE_COLLISION_RATE LAST_EXCLUSIVE_WAIT_TIME MAX_EXCLUSIVE_WAIT_TIME MIN_EXCLUSIVE_WAIT_TIME SUM_EXCLUSIVE_WAIT_TIME AVG_EXCLUSIVE_WAIT_TIME INTENT_LOCK_COUNT INTENT_WAIT_COUNT INTENT_CAS_COLLISION_COUNT INTENT_TIMEOUT_COUNT INTENT_COLLISION_RATE LAST_INTENT_WAIT_TIME MAX_INTENT_WAIT_TIME MIN_INTENT_WAIT_TIME SUM_INTENT_WAIT_TIME AVG_INTENT_WAIT_TIME SHARED_LOCK_COUNT SHARED_WAIT_COUNT SHARED_CAS_COLLISION_COUNT SHARED_TIMEOUT_COUNT SHARED_COLLISION_RATE LAST_SHARED_WAIT_TIME MAX_SHARED_WAIT_TIME MIN_SHARED_WAIT_TIME SUM_SHARED_WAIT_TIME

Data type
VARCHAR(64) INTEGER INTEGER VARCHAR(128) BIGINT BIGINT BIGINT BIGINT BIGINT DOUBLE BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT DOUBLE BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT DOUBLE BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID Sta ti s ti cs object na me Sta ti s ti cs object uni que ID Context ID of the owner context (for excl us i ve/i ntent l ocks )

Counter Counter Counter Percent Mi cros econd Mi cros econd Mi cros econd Mi cros econd Mi cros econd Counter Counter Counter Counter Percent Mi cros econd Mi cros econd Mi cros econd Mi cros econd Mi cros econd Counter Counter Counter Counter Percent Mi cros econd Mi cros econd Mi cros econd Mi cros econd

Count of excl us i ve l ock ca l l s Count of bl ocki ng excl us i ve l ock ca l l s Col l i s i on count on a tomi c opera ti on on excl us i ve l ock Col l i s i on ra te on excl us i ve l ock i n percent Ti me of bl ocki ng excl us i ve l ock ca l l s (l a s t) Ti me of bl ocki ng excl us i ve l ock ca l l s (ma x) Ti me of bl ocki ng excl us i ve l ock ca l l s (mi n) Ti me of bl ocki ng excl us i ve l ock ca l l s (tota l ) Ti me of bl ocki ng excl us i ve l ock ca l l s (a vg) Count of i ntent l ock ca l l s Count of bl ocki ng i ntent l ock ca l l s Col l i s i on count on a tomi c opera ti on on i ntent l ock Count of ti med out i ntent l ock ca l l s Col l i s i on ra te on i ntent l ock i n percent Ti me of bl ocki ng i ntent l ock ca l l s (l a s t) Ti me of bl ocki ng i ntent l ock ca l l s (ma x) Ti me of bl ocki ng i ntent l ock ca l l s (mi n) Ti me of bl ocki ng i ntent l ock ca l l s (tota l ) Ti me of bl ocki ng i ntent l ock ca l l s (a vg) Count of s ha red l ock ca l l s Count of bl ocki ng s ha red l ock ca l l s Col l i s i on count on a tomi c opera ti on on s ha red l ock Count of ti med out s ha red l ock ca l l s Col l i s i on ra te on s ha red l ock i n percent Ti me of bl ocki ng s ha red l ock ca l l s (l a s t) Ti me of bl ocki ng s ha red l ock ca l l s (ma x) Ti me of bl ocki ng s ha red l ock ca l l s (mi n) Ti me of bl ocki ng s ha red l ock ca l l s (tota l )

146

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

AVG_SHARED_WAIT_TIME COLLISION_RATE CREATE_COUNT DESTROY_COUNT

BIGINT DOUBLE BIGINT BIGINT

Mi cros econd Percent Counter Counter

Ti me of bl ocki ng s ha red l ock ca l l s (a vg) Gl oba l col l i s i on ra te Count of rea d/wri te l ock crea ti on (for s ha red s ta ti s ti cs onl y) Count of rea d/wri te l ock des tructi on (for s ha red s ta ti s ti cs onl y)

147

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 . Please refer 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 field RESET_TIME, which indicates the last time the data was reset.

148

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_RECORD_LOCKS
Short description
Record lock status

Structure
Column name
HOST PORT LOCK_OWNER_TRANSACTION_ID LOCK_OWNER_UPDATE_TRANSACTION_ID ACQUIRED_TIME RECORD_ID SCHEMA_NAME TABLE_NAME LOCK_MODE

Data type
VARCHAR(64) INTEGER INTEGER BIGINT TIMESTAMP VARCHAR(256) NVARCHAR(256) NVARCHAR(256) VARCHAR(32)

Unit

Description
Hos t na me Interna l port Tra ns a cti on object ID owni ng the l ock Wri te tra ns a cti on ID owni ng the l ock Lock a cqui s i ti on ti me Record ID Schema na me Ta bl e na me Lock mode:I (Excl us i ve Lock)

149

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_REORG_ALGORITHMS
Short description
Landscape redistribution algorithms

Structure
Column name
ALGORITHM_ID DESCRIPTION PARAMETERS

Data type
INTEGER VARCHAR(256) VARCHAR(256)

Unit

Description
ID of a l gori thm Des cri pti on Opti ona l pa ra meters

150

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_REPO_TRANSPORT_FILES
Short description
All repository transport files

Structure
Column name
HOST FILE_NAME FILE_SIZE FILE_MTIME

Data type
VARCHAR(64) VARCHAR(256) BIGINT TIMESTAMP

Unit

Description
Hos t na me Fi l e na me

Byte

Fi l e s i ze Fi l e da te

151

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_RS_INDEXES
Short description
Statistics of B-tree and CPB-tree indexes

Structure
Column name
HOST PORT SCHEMA_NAME TABLE_NAME INDEX_NAME KEY_TYPE INDEX_STATUS TREE_HEIGHT LEAF_NODE_COUNT NONLEAF_NODE_COUNT NODE_SIZE FANOUT BULKLOAD_FACTOR INDEX_SIZE ENTRY_COUNT FIXED_LEAF_NODE_COUNT

Data type
VARCHAR(64) INTEGER NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) VARCHAR(128) VARCHAR(16) BIGINT BIGINT BIGINT BIGINT DOUBLE DOUBLE BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Schema na me Ta bl e na me Index na me Key type (da ta type or compos i te) Index s ta tus : 'VALID', 'INVALID', 'UNUSABLE' B-tree l evel Number of l ea f nodes Number of i ntermedi a te nodes

Byte

Node s i ze Index fa n-out Fi l l fa ctor of crea ti ng or recoveri ng i ndexes

Byte

Index s i ze i n memory = number of nodes * node s i ze Number of i ndexed records Number of fi xed l ea f nodes . 'FIXED' mea ns tha t the key l engths of a l l entri es i n the node ha ve the s a me va l ue Number of fi xed non-l ea f nodes Avera ge offs et s i ze of l ea f nodes Avera ge offs et s i ze of non-l ea f nodes Avera ge poi nter s i ze of l ea f nodes Avera ge poi nter s i ze of non-l ea f nodes Pa rti a l key l ength of l ea f node Pa rti a l key l ength of non-l ea f node Index uti l i za ti on (num_entri es / ma x_entri es ) Informa ti on whether the i ndex i s uni que: 'TRUE', 'FALSE' Number of s ea rch opera ti ons on thi s CPB-tree i ndex s i nce moni tori ng l evel wa s cha nged to 2 Number of i ns ert opera ti ons on thi s CPB-tree i ndex s i nce moni tori ng l evel wa s cha nged to 2 Number of remove opera ti ons on thi s CPB-tree i ndex s i nce moni tori ng l evel wa s cha nged to 2 Number of references of ful l keys on thi s CPB-tree i ndex s i nce moni tori ng l evel wa s cha nged to 2. Ful l key references occur when keys ca nnot be res ol ved by pa rti a l keys i n CPB-tree nodes Number of di s ti nct keys Number of keys Number of l ea f nodes whos e dupl i ca te keys a re el i mi na ted Number of unus ed s l ots per l ea f node

FIXED_NONLEAF_NODE_COUNT AVG_LEAF_OFFSET_SIZE AVG_NONLEAF_OFFSET_SIZE AVG_LEAF_POINTER_SIZE AVG_NONLEAF_POINTER_SIZE LEAF_PARTIAL_KEY_SIZE NONLEAF_PARTIAL_KEY_SIZE INDEX_UTILIZATION IS_UNIQUE SEARCH_COUNT

BIGINT DOUBLE DOUBLE DOUBLE DOUBLE BIGINT BIGINT DOUBLE VARCHAR(5) BIGINT

INSERT_COUNT

BIGINT

REMOVE_COUNT

BIGINT

FULL_KEY_REFERENCE_COUNT

BIGINT

DISTINCT_KEY_COUNT KEY_COUNT ELIMINATED_DUPLICATE_LEAF_NODE_COUNT UNUSED_LEAF_SLOTS_PER_NODE

BIGINT BIGINT BIGINT DOUBLE

152

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_RS_TABLES
Short description
Information on row tables: detailed table sizes and record count

Structure
Column name
HOST PORT SCHEMA_NAME TABLE_NAME RECORD_COUNT ALLOCATED_FIXED_PART_SIZE FIXED_PAGE_HEADER_SIZE FIXED_PAGE_FRAGMENT_SIZE USED_FIXED_PART_SIZE FIXED_PART_FRAGMENT_SIZE FIXED_PART_FREE_SIZE ALLOCATED_VARIABLE_PART_SIZE USED_VARIABLE_PART_SIZE VARIABLE_PART_FRAGMENT_SIZE LOAD_STATUS

Data type
VARCHAR(64) INTEGER NVARCHAR(256) NVARCHAR(256) BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT VARCHAR(32)

Unit

Description
Hos t na me Interna l port Schema na me Ta bl e na me Number of records i n thi s ta bl e

Byte Byte Byte Byte Byte Byte Byte Byte Byte

Al l oca ted memory s i ze for fi xed-s i ze pa rt Al l oca ted a nd us ed memory s i ze for pa ge hea ders of fi xed-s i ze pa rt Fra gmented memory s i ze of fi xed-s i ze pa rt Us ed memory s i ze for fi xed-s i ze pa rt Fra gmented memory s i ze of us ed fi xed-s i ze pa rt Free memory s i ze i n the pa ges of fi xed-s i ze pa rt Al l oca ted memory s i ze for va ri a bl e-s i ze pa rt Us ed memory s i ze for va ri a bl e-s i ze pa rt Fra gmented memory s i ze of us ed va ri a bl e-s i ze pa rt Loa di ng s ta te of ta bl e: 'LOADED', 'NOW_LOADING', 'PREPARING_UNLOAD', 'NOW_UNLOADING', 'UNLOADED', 'NOT_SUPPORTED'

153

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_RS_TABLE_VERSION_STATISTICS
Short description
Information on row table versions: detailed version counts and used sizes

Structure
Column name
HOST PORT SCHEMA_NAME TABLE_NAME TABLE_OID CONTAINER_ID

Data type
VARCHAR(64) INTEGER NVARCHAR(256) NVARCHAR(256) BIGINT INTEGER

Unit

Description
Hos t na me Interna l port Na me of s chema to whi ch the conta i ner bel ongs Ta bl e na me of the conta i ner Object ID of the ta bl e Some ta bl es ma y ha ve s evera l conta i ners to s tore i ts da ta . Conta i ner ID i s a n uni que i denti fi er of ea ch conta i ner TRUE i f the ta bl e i s a s ys tem ta bl e Number of a l l vers i ons i n the conta i ner. Thi s i ncl udes a l l vers i ons rega rdl es s of thei r vers i on type a nd s ta tus . Number of i ns ert-vers i ons i n the conta i ner Number of upda te-vers i ons i n the conta i ner Number of del ete-vers i ons i n the conta i ner Number of a l l commi tted vers i ons i n the conta i ner (i ncl udes a l l types ) Number of commi tted i ns ert-vers i ons i n the conta i ner Number of commi tted upda te-vers i ons i n the conta i ner Number of commi tted del ete-vers i ons i n the conta i ner Number of a l l uncommi tted vers i ons i n the conta i ner (i ncl udes a l l types ) Number of uncommi tted i ns ert-vers i ons i n the conta i ner Number of uncommi tted upda te-vers i ons i n the conta i ner Number of uncommi tted del ete-vers i ons i n the conta i ner Us ed s i zed of vers i ons i n the conta i ner. Thi s i ncl udes a l l vers i ons rega rdl es s of thei r vers i on type a nd s ta tus . Us ed s i zed of i ns ert-vers i ons i n the conta i ner Us ed s i zed of upda te-vers i ons i n the conta i ner Us ed s i zed of del ete-vers i ons i n the conta i ner Us ed s i zed of a l l commi tted vers i ons i n the conta i ner (i ncl udes a l l types ) Us ed s i zed of commi tted i ns ert-vers i ons i n the conta i ner Us ed s i zed of commi tted upda tevers i ons i n the conta i ner Us ed s i zed of commi tted del ete-vers i ons i n the conta i ner Us ed s i zed of a l l uncommi tted vers i ons i n the conta i ner (i ncl udes a l l types ) Us ed s i zed of uncommi tted i ns ertvers i ons i n the conta i ner Us ed s i zed of uncommi tted upda tevers i ons i n the conta i ner Us ed s i zed of uncommi tted del etevers i ons i n the conta i ner Ea ch commi tted vers i on ha s i ts commi t

IS_SYSTEM_TABLE VERSION_COUNT

VARCHAR(5) BIGINT

INSERT_VERSION_COUNT UPDATE_VERSION_COUNT DELETE_VERSION_COUNT COMMITTED_VERSION_COUNT COMMITTED_INSERT_VERSION_COUNT COMMITTED_UPDATE_VERSION_COUNT COMMITTED_DELETE_VERSION_COUNT UNCOMMITTED_VERSION_COUNT UNCOMMITTED_INSERT_VERSION_COUNT UNCOMMITTED_UPDATE_VERSION_COUNT UNCOMMITTED_DELETE_VERSION_COUNT VERSION_SIZE

BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

INSERT_VERSION_SIZE UPDATE_VERSION_SIZE DELETE_VERSION_SIZE COMMITTED_VERSION_SIZE COMMITTED_INSERT_VERSION_SIZE COMMITTED_UPDATE_VERSION_SIZE COMMITTED_DELETE_VERSION_SIZE UNCOMMITTED_VERSION_SIZE UNCOMMITTED_INSERT_VERSION_SIZE UNCOMMITTED_UPDATE_VERSION_SIZE UNCOMMITTED_DELETE_VERSION_SIZE MIN_COMMIT_ID

BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

154

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

ID. MIN_COMMIT_ID refers to the mi ni mum va l ue of commi t ID a mong a l l commi tted vers i ons

155

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 not persisted. 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 ALTER SYSTEM SAVEPOINT or by a data backup. The savepoint then runs through various states, which are then recorded 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 reflect savepoint 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 information in restart record (log position, transaction manager state, etc.), increment savepoint version. PAGES_IN_CRITICAL_PHASE and SIZE_IN_CRITICAL_PHASE counters are updated appropriately. EXITCRITICAL - exit critical phase: release critical phase lock and restart updaters. POSTCRITICAL - call any post-critical-phase callbacks and finalize savepoint record, clean up unneeded RTT entries. FINISHING - wait for flush of pages written in critical phase and write out restart record and anchor page. 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 in a savepoint. Normally, this should be in the milliseconds range, except for a global savepoint for data backup, which may take longer due to global synchronization across all nodes. If the critical phase duration 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 configured savepoint frequency REQUESTED_FREQUENCY (in the range 0-10%, depending on load). Higher ratios 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 is only flushed during savepoint, column store also flushes the data between savepoints to balance the load. High ratio of FLUSHED_*PAGES_IN_CRITICAL_PHASE vs. FLUSHED_*PAGES or ratio of FLUSHED_*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 situations like global savepoint for data backup (but also in this case, the number of pages written in the critical phase should be on the order of magnitude 1% or less of asynchronously flushed pages). High amounst of data written in the critical phase indicates overload of the I/O subsystem and will most probably lead to increased blocking times of update transactions due to increased CRITICAL_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 case where 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 slave node (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

156

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

Column name
HOST PORT VOLUME_ID START_TIME STATE VERSION REQUESTED_FREQUENCY TIME_SINCE_PREVIOUS DURATION CRITICAL_PHASE_DURATION

Data type
VARCHAR(64) INTEGER INTEGER TIMESTAMP VARCHAR(16) INTEGER BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID Sa vepoi nt s ta rt ti me Sa vepoi nt s ta te

Counter Second Second Mi cros econd Mi cros econd

Sa vepoi nt vers i on Confi gured s a vepoi nt frequency Ti me between previ ous a nd thi s s a vepoi nt Tota l ti me s pent for crea ti ng s a vepoi nt Ti me s pent i n cri ti ca l pha s e (upda tes a re bl ocked duri ng thi s ) Tota l a mount of bytes wri tten for thi s s a vepoi nt Count of a s ynchronous l y fl us hed pa ges Count of pa ges fl us hed i n cri ti ca l pha s e Count of a s ynchronous l y fl us hed row s tore pa ges Count of row s tore pa ges fl us hed i n cri ti ca l pha s e Si ze of a s ynchronous l y fl us hed pa ges Si ze of pa ges fl us hed i n cri ti ca l pha s e Si ze of a s ynchronous l y fl us hed row s tore pa ges Si ze of row s tore pa ges fl us hed i n cri ti ca l pha s e Tota l s i ze of rol l ba ck tra ns a cti on ta bl e a t thi s s a vepoi nt

TOTAL_SIZE FLUSHED_PAGES FLUSHED_PAGES_IN_CRITICAL_PHASE FLUSHED_ROWSTORE_PAGES FLUSHED_ROWSTORE_PAGES_IN_CRITICAL_PHASE FLUSHED_SIZE FLUSHED_SIZE_IN_CRITICAL_PHASE FLUSHED_ROWSTORE_SIZE FLUSHED_ROWSTORE_SIZE_IN_CRITICAL_PHASE RTT_SIZE

BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Byte Counter Counter Counter Counter Byte Byte Byte Byte Counter

157

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the dependent view M_SAVEPOINT_STATISTICS_RESET. To reset the values, use the SQL command:
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-executing savepoint. Other columns contain aggregated values. Refer to M_SAVEPOINTS for further information about various counters. See also: M_SAVEPOINTS

Structure
Column name
HOST PORT VOLUME_ID SAVEPOINTS START_TIME STATE VERSION REQUESTED_FREQUENCY

Data type
VARCHAR(64) INTEGER INTEGER BIGINT TIMESTAMP VARCHAR(16) INTEGER BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID

Counter

Count of executed s a vepoi nts La s t s a vepoi nt s ta rt ti me cl ock) La s t s a vepoi nt s ta te

Counter Second

La s t s a vepoi nt vers i on Currentl y a cti ve confi gured s a vepoi nt frequency Actua l s a vepoi nt frequency (ti me between l a s t two s a vepoi nts ) (l a s t) Actua l s a vepoi nt frequency (ti me between l a s t two s a vepoi nts ) (a vg) Tota l ti me s pent crea ti ng s a vepoi nt (l a s t) Tota l ti me s pent crea ti ng s a vepoi nt (a vg) Ti me s pent i n cri ti ca l pha s e (upda tes a re bl ocked duri ng thi s pha s e) (l a s t) Ti me s pent i n cri ti ca l pha s e (upda tes a re bl ocked duri ng thi s pha s e) (a vg) Tota l a mount of bytes wri tten for a s a vepoi nt (l a s t) Tota l a mount of bytes wri tten for a s a vepoi nt (a vg) Count of a s ynchronous l y fl us hed pa ges (l a s t) Count of

LAST_FREQUENCY

BIGINT

Second

AVG_FREQUENCY

BIGINT

Second

LAST_DURATION

BIGINT

Mi cros econd

AVG_DURATION

BIGINT

Mi cros econd

LAST_CRITICAL_PHASE_DURATION

BIGINT

Mi cros econd

AVG_CRITICAL_PHASE_DURATION

BIGINT

Mi cros econd

LAST_TOTAL_SIZE

BIGINT

Byte

AVG_TOTAL_SIZE

BIGINT

Byte

LAST_FLUSHED_PAGES

BIGINT

Counter

AVG_FLUSHED_PAGES

DOUBLE

Ra te

158

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

a s ynchronous l y fl us hed pa ges (a vg) LAST_FLUSHED_PAGES_IN_CRITICAL_PHASE BIGINT Counter Count of pa ges fl us hed i n cri ti ca l pha s e (l a s t) Count of pa ges fl us hed i n cri ti ca l pha s e (a vg) Count of a s ynchronous l y fl us hed row s tore pa ges (l a s t) Count of a s ynchronous l y fl us hed row s tore pa ges (a vg) Count of row s tore pa ges fl us hed i n cri ti ca l pha s e (l a s t) Count of row s tore pa ges fl us hed i n cri ti ca l pha s e (a vg) Si ze of a s ynchronous l y fl us hed pa ges (l a s t) Si ze of a s ynchronous l y fl us hed pa ges (a vg) Si ze of pa ges fl us hed i n cri ti ca l pha s e (l a s t) Si ze of pa ges fl us hed i n cri ti ca l pha s e (a vg) Si ze of a s ynchronous l y fl us hed row s tore pa ges (l a s t) Si ze of a s ynchronous l y fl us hed row s tore pa ges (a vg) Si ze of row s tore pa ges fl us hed i n cri ti ca l pha s e (l a s t) Si ze of row s tore pa ges fl us hed i n cri ti ca l pha s e (a vg) Tota l s i ze of rol l ba ck tra ns a cti on ta bl e a t l a s t s a vepoi nt (ma y be l es s tha n s um of components i f there a re dupl i ca te TIDs )

AVG_FLUSHED_PAGES_IN_CRITICAL_PHASE

DOUBLE

Ra te

LAST_FLUSHED_ROWSTORE_PAGES

BIGINT

Counter

AVG_FLUSHED_ROWSTORE_PAGES

DOUBLE

Ra te

LAST_FLUSHED_ROWSTORE_PAGES_IN_CRITICAL_PHASE

BIGINT

Counter

AVG_FLUSHED_ROWSTORE_PAGES_IN_CRITICAL_PHASE

DOUBLE

Ra te

LAST_FLUSHED_SIZE AVG_FLUSHED_SIZE LAST_FLUSHED_SIZE_IN_CRITICAL_PHASE AVG_FLUSHED_SIZE_IN_CRITICAL_PHASE LAST_FLUSHED_ROWSTORE_SIZE

BIGINT BIGINT BIGINT BIGINT BIGINT

Byte Byte Byte Byte Byte

AVG_FLUSHED_ROWSTORE_SIZE

BIGINT

Byte

LAST_FLUSHED_ROWSTORE_SIZE_IN_CRITICAL_PHASE

BIGINT

Byte

AVG_FLUSHED_ROWSTORE_SIZE_IN_CRITICAL_PHASE

BIGINT

Byte

LAST_RTT_SIZE

BIGINT

Counter

159

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 timestamp field RESET_TIME, which indicates the last time the data was reset.

160

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the 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 not contain information about all semaphores.

Structure
Column name
HOST PORT VOLUME_ID STATISTICS_NAME STATISTICS_ID WAIT_COUNT BLOCKING_COUNT TIMEOUT_COUNT WAIT_RATE LAST_BLOCKING_TIME MAX_BLOCKING_TIME MIN_BLOCKING_TIME SUM_BLOCKING_TIME AVG_BLOCKING_TIME CREATE_COUNT DESTROY_COUNT

Data type
VARCHAR(64) INTEGER INTEGER VARCHAR(128) BIGINT BIGINT BIGINT BIGINT DOUBLE BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID Sta ti s ti cs object na me Sta ti s ti cs object uni que ID

Counter Counter Counter Percent Mi cros econd Mi cros econd Mi cros econd Mi cros econd Mi cros econd Counter Counter

Count of wa i t ca l l s Count of bl ocki ng wa i t ca l l s Count of ti meouts Wa i t ra te Ti me of bl ocki ng wa i t ca l l s (l a s t) Ti me of bl ocki ng wa i t ca l l s (ma x) Ti me of bl ocki ng wa i t ca l l s (mi n) Ti me of bl ocki ng wa i t ca l l s (tota l ) Ti me of bl ocki ng wa i t ca l l s (a vg) Count of s ema phore crea ti on (for s ha red s ta ti s ti cs onl y) Count of s ema phore des tructi on (for s ha red s ta ti s ti cs onl y)

161

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 to M_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 field RESET_TIME, which indicates the last time the data was reset.

162

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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
n.a . not empty not empty empty

Host
not empty not empty empty empty

Port
not 0 0 0 0

Description
Reconfi gure s i ngl e s ervi ce on hos t y wi th port z Reconfi gure a l l s ervi ces of type x on hos t y Reconfi gure a l l s ervi ces of type x Reconfi gure a l l s ervi ces

Structure
Column name
HOST PORT SERVICE_NAME PROCESS_ID DETAIL ACTIVE_STATUS SQL_PORT COORDINATOR_TYPE

Data type
VARCHAR(64) INTEGER VARCHAR(256) INTEGER VARCHAR(128) VARCHAR(16) INTEGER VARCHAR(16)

Unit

Description
Hos t na me Interna l port Servi ce na me. See M_SERVICE_TYPES for a l l known s ervi ce na mes Proces s ID Onl y for di s pl a y. Us e COORDINATOR_TYPE to tes t s ervi ce rol e NO, YES, UNKNOWN, STARTING, STOPPING SQL port Coordi na tor type i n di s tri buted l a nds ca pe: MASTER, SLAVE, STANDBY, NONE

163

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_SERVICE_COMPONENT_MEMORY
Short description
Service-specific memory usage by logical component

Structure
Column name
HOST PORT COMPONENT USED_MEMORY_SIZE

Data type
VARCHAR(64) INTEGER VARCHAR(64) BIGINT

Unit

Description
Hos t where the s ervi ce i s runni ng Port where the s ervi ce i s runni ng The l ogi ca l component for whi ch memory us a ge i s reported Amount of memory whi ch i s currentl y a ctua l l y us ed for the l ogi ca l component

164

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_SERVICE_MEMORY
Short description
Detailed information on memory utilization by services

Structure
Column name
HOST PORT SERVICE_NAME PROCESS_ID LOGICAL_MEMORY_SIZE PHYSICAL_MEMORY_SIZE CODE_SIZE STACK_SIZE HEAP_MEMORY_ALLOCATED_SIZE HEAP_MEMORY_USED_SIZE SHARED_MEMORY_ALLOCATED_SIZE SHARED_MEMORY_USED_SIZE COMPACTORS_ALLOCATED_SIZE COMPACTORS_FREEABLE_SIZE ALLOCATION_LIMIT EFFECTIVE_ALLOCATION_LIMIT TOTAL_MEMORY_USED_SIZE

Data type
VARCHAR(64) INTEGER VARCHAR(32) INTEGER BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Servi ce na me Proces s ID

Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte

Vi rtua l memory s i ze (opera ti ng s ys tem pers pecti ve) Phys i ca l /res i dent memory s i ze (opera ti ng s ys tem pers pecti ve) Code s i ze, i ncl udi ng s ha red l i bra ri es Sta ck s i ze Hea p pa rt of the memory pool Amount of pool hea p memory tha t i s currentl y a ctua l l y i n us e Sha red memory pa rt of the memory pool Amount of pool s ha red memory tha t i s currentl y a ctua l l y i n us e Pa rt of the memory pool tha t ca n potenti a l l y (=i f unpi nned) be freed on memory s horta ge Memory whi ch ca n a ctua l l y be freed on memory s horta ge Ma xi mum memory pool s i ze (confi gura bl e va l ue) Effecti ve ma xi mum memory pool s i ze, cons i deri ng pool s i zes of other proces s es (computed va l ue) Amount of memory from the memory pool tha t i s currentl y a ctua l l y i n us e

165

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_SERVICE_NETWORK_IO
Short description
Service network I/O statistics

Structure
Column name
SENDER_HOST SENDER_PORT RECEIVER_HOST RECEIVER_PORT SEND_SIZE RECEIVE_SIZE SEND_DURATION RECEIVE_DURATION REQUEST_COUNT

Data type
VARCHAR(64) INTEGER VARCHAR(64) INTEGER BIGINT BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me of the s endi ng s ervi ce Port tha t the s endi ng s ervi ce l i s tens on Hos t na me of the recei vi ng s ervi ce Port tha t the recei vi ng s ervi ce l i s tens on

Byte Byte Mi cros econd Mi cros econd Counter

Number of bytes s ent Number of bytes recei ved Ti me s pent s endi ng Ti me s pent recei vi ng Number of reques ts ha ndl ed

166

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_SERVICE_REPLICATION
Short description
Information about replicated services

Structure
Column name
HOST PORT VOLUME_ID SITE_ID SITE_NAME SECONDARY_HOST SECONDARY_PORT SECONDARY_SITE_ID SECONDARY_SITE_NAME SECONDARY_ACTIVE_STATUS SECONDARY_CONNECT_TIME SECONDARY_RECONNECT_COUNT SECONDARY_FAILOVER_COUNT REPLICATION_MODE REPLICATION_STATUS REPLICATION_STATUS_DETAILS LAST_LOG_POSITION LAST_LOG_POSITION_TIME LAST_SAVEPOINT_VERSION LAST_SAVEPOINT_LOG_POSITION LAST_SAVEPOINT_START_TIME SHIPPED_LOG_POSITION SHIPPED_LOG_POSITION_TIME SHIPPED_LOG_BUFFERS_COUNT SHIPPED_LOG_BUFFERS_SIZE SHIPPED_LOG_BUFFERS_DURATION SHIPPED_SAVEPOINT_VERSION SHIPPED_SAVEPOINT_LOG_POSITION SHIPPED_SAVEPOINT_START_TIME SHIPPED_FULL_REPLICA_COUNT SHIPPED_FULL_REPLICA_SIZE SHIPPED_FULL_REPLICA_DURATION SHIPPED_LAST_FULL_REPLICA_SIZE SHIPPED_LAST_FULL_REPLICA_START_TIME SHIPPED_LAST_FULL_REPLICA_END_TIME SHIPPED_DELTA_REPLICA_COUNT SHIPPED_DELTA_REPLICA_SIZE SHIPPED_DELTA_REPLICA_DURATION SHIPPED_LAST_DELTA_REPLICA_SIZE SHIPPED_LAST_DELTA_REPLICA_START_TIME SHIPPED_LAST_DELTA_REPLICA_END_TIME

Data type
VARCHAR(64) INTEGER INTEGER INTEGER VARCHAR(256) VARCHAR(64) INTEGER INTEGER VARCHAR(256) VARCHAR(16) TIMESTAMP INTEGER INTEGER VARCHAR(16) VARCHAR(16) VARCHAR(1024) BIGINT TIMESTAMP INTEGER BIGINT TIMESTAMP BIGINT TIMESTAMP BIGINT BIGINT BIGINT INTEGER BIGINT TIMESTAMP BIGINT BIGINT BIGINT BIGINT TIMESTAMP TIMESTAMP BIGINT BIGINT BIGINT BIGINT TIMESTAMP TIMESTAMP

Unit

Description
Hos t na me Interna l port Vol ume ID Genera ted s i te ID Logi ca l s i te na me Seconda ry Hos t Na me Seconda ry Port Genera ted ID of s econda ry s i te Seconda ry l ogi ca l s i te na me Seconda ry Acti ve Sta tus Ti me the connecti on wa s es ta bl i s hed from the s econda ry Seconda ry Reconnect Count Seconda ry Fa i l over Count Repl i ca ti on Mode Repl i ca ti on Sta tus Repl i ca ti on Sta tus Deta i l s Current Log Pos Current Log Pos Ti mes ta mp Current Sa vepoi nt Vers i on Current Sa vepoi nt Log Pos i ti on Current Sa vepoi nt Ti mes ta mp Shi pped Log Pos i ton Shi pped Log Pos i ti on Ti mes ta mp Shi pped Log Buffers Count Shi pped Log Buffers Si ze i n Bytes Shi pped Log Buffer Dura ti on i n mi cros econds Shi pped Sa vepoi nt Vers i on Shi pped Sa vepoi nt Log Pos i ti on Shi pped Sa vepoi nt Sta rt Ti me Shi pped Ful l Repl i ca Count Shi pped Ful l Repl i ca Si ze i n Bytes Shi pped Ful l Repl i ca Dura ti on i n mi cros econds Shi pped La s t Ful l Repl i ca Si ze i n Bytes Shi pped La s t Ful l Repl i ca Sta rt Ti me Shi pped La s t Ful l Repl i ca End Ti me Shi pped Del ta Repl i ca Count Shi pped Del ta Repl i ca Si ze i n Bytes Shi pped Del ta Repl i ca Dura ti on i n mi cros econds Shi pped La s t Del ta Repl i ca Si ze i n Bytes Shi pped La s t Del ta Repl i ca Sta rt Ti me Shi pped La s t Del ta Repl i ca End Ti me

167

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 by another 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
NO STARTING YES STOPPING UNKNOWN

Description
Servi ce not s ta rted. Servi ce i s s ta rti ng. Thi s s ta te mi ght l a s t for s evera l mi nutes on fi rs t s ta rtup or recovery. Servi ce s ta rted a nd rea dy for reques ts . Servi ce i s s toppi ng. Ini ti a l s ta te a fter s ta rti ng a l a nds ca pe or when s ta te not known (e.g a fter cra s h). If the s ervi ce does not s ta rt wi thi n a mi nute thi s s ta te cha nges to NO.

Structure
Column name
HOST PORT SERVICE_NAME PROCESS_ID DETAIL

Data type
VARCHAR(64) INTEGER VARCHAR(32) INTEGER VARCHAR(128)

Unit

Description
Hos t na me Interna l port Servi ce na me Proces s ID Deta i l i nforma ti on, s i mi l a r to COORDINATOR_TYPE i n M_SERVICES NO, YES, UNKNOWN, STARTING, STOPPING Proces s s ta rt ti mes ta mp Current s ys tem ti mes ta mp

ACTIVE_STATUS START_TIME SYS_TIMESTAMP PROCESS_CPU PROCESS_CPU_TIME TOTAL_CPU TOTAL_CPU_TIME PROCESS_MEMORY PROCESS_PHYSICAL_MEMORY TOTAL_MEMORY AVAILABLE_MEMORY PHYSICAL_MEMORY REQUESTS_PER_SEC RESPONSE_TIME FINISHED_NON_INTERNAL_REQUEST_COUNT ALL_FINISHED_REQUEST_COUNT ACTIVE_REQUEST_COUNT PENDING_REQUEST_COUNT ACTIVE_THREAD_COUNT THREAD_COUNT OPEN_FILE_COUNT

VARCHAR(16) TIMESTAMP TIMESTAMP SMALLINT BIGINT SMALLINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT DOUBLE INTEGER BIGINT BIGINT INTEGER INTEGER INTEGER INTEGER INTEGER Ra te Mi l l i s econd Counter Counter Percent Mi l l i s econd Percent Mi l l i s econd

CPU us a ge of current proces s CPU us a ge of current proces s s i nce s ta rt CPU us a ge of a l l proces s es CPU us a ge of a l l proces s es s i nce s ta rt Proces s l ogi ca l memory us a ge Proces s phys i ca l memory us a ge Hos t phys i ca l +s wa p memory us a ge Hos t phys i ca l +s wa p memory s i ze Hos t phys i ca l memory s i ze Reques ts per s econd. Avera ge over l a s t 1000 reques ts Reques t res pons e ti me. Avera ge over l a s t 1000 reques ts Fi ni s hed reques ts Fi ni s hed reques ts i ncl udi ng i nterna l reques ts Number of a cti ve reques ts Number of pendi ng reques ts Number of a cti ve threa ds Number of tota l threa ds Number of open fi l es

168

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_SERVICE_THREADS
Short description
Detailed information on threads created by services

Structure
Column name
HOST PORT SERVICE_NAME HIERARCHY CONNECTION_ID THREAD_ID THREAD_TYPE THREAD_METHOD THREAD_DETAIL DURATION CALLER CALLING USER_NAME APPLICATION_USER_NAME CPU_TIME_SELF CPU_TIME_CUMULATIVE

Data type
VARCHAR(64) INTEGER VARCHAR(32) VARCHAR(128) INTEGER BIGINT VARCHAR(128) VARCHAR(256) NCLOB BIGINT VARCHAR(256) VARCHAR(256) NVARCHAR(256) NVARCHAR(256) BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Servi ce na me. See M_SERVICE_TYPES for a l l known s ervi ce na mes Threa d groupi ng i nforma ti on. Fi l l ed wi th Connecti on-ID/(i nterna l )Tra ns a cti on-ID Connecti on ID Threa d ID Threa d Type Threa d method Threa d deta i l

Mi l l i s econd

Threa d Dura ti on The s ervi ce whi ch ca l l ed thi s threa d The s ervi ce whi ch the threa d ca l l s SQL us er na me Appl i ca ti on us er na me

Mi cros econd Mi cros econd

CPU ti me of threa d CPU ti me of threa d a nd a s s ozi a ted chi l dren

169

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_SERVICE_THREAD_CALLSTACKS
Short description
Stack frame information for service threads

Structure
Column name
HOST PORT SERVICE_NAME THREAD_ID FRAME_LEVEL FRAME_NAME

Data type
VARCHAR(64) INTEGER VARCHAR(32) BIGINT INTEGER VARCHAR(256)

Unit

Description
Hos t na me Interna l port Servi ce na me. See M_SERVICE_TYPES for a l l known s ervi ce na mes Threa d ID Level of s ta ck fra me Na me of s ta ck fra me (functi on, fi l e, l i bra ry, ...)

170

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_SERVICE_TRACES
Short description
Configured trace components for each service type

Structure
Column name
SERVICE_NAME COMPONENT_NAME

Data type
VARCHAR(32) VARCHAR(32)

Unit

Description
Servi ce na me Tra ce component na me

171

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_SERVICE_TYPES
Short description
Service types

Structure
Column name
SERVICE_NAME INIFILE HAS_DETAIL

Data type
VARCHAR(32) VARCHAR(36) VARCHAR(5)

Unit

Description
Servi ce na me Confi gura ti on fi l e na me of s ervi ce

Bool ea n

Servi ce s hows deta i l s i n M_SERVICE_STATISTICS: 'TRUE', 'FALSE'

172

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_SESSION_CONTEXT
Short description
Session variables for each connection. Each variable is categorized to USER (the user specified variable using SET command or client API call) or SYSTEM (predefined system-level property) When a session is opened, two SYSTEM-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 is categorized to USER (the user specified variable using SET command or client API call) or SYSTEM (predefined system-level property). When a session is opened, two SYSTEM-variables PROTOCOL_VERSION (formatted as '<protocol version>=""> (<distribution protocol="" version>="">, <data format="" version>="">)') and COMPLETE_ARRAY_EXECUTION will be shown. The following list describes the predefined contents of the individual rows of the monitor view (VALUE), as identified by KEY: APPLICATION Application's name (for example, HDBStudio) APPLICATIONVERSION Application's own version (for example, HDBStudio: "1.50.0.201207061631") APPLICATIONUSER Application's user name, which is mainly used for the trace filter APPLICATIONACTION With APPLICATIONACTION, the application can define what logical action or step it is currently doing. The usage is up to the application and could be coarse grained like 'create sales order' or fine grained like 'refresh admin overview tab' in SAP HANA studio. APPLICATIONSOURCE With 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>="">:<line number>="">. This value is also displayed in M_PREPARED_STATEMENTS.APPLICATION_SOURCE. TOTAL_ROWCOUNT SELECT ... LIMIT x returns up to x rows. With optional TOTAL_ROWCOUNT the (estimated) total number of rows is set in TOTAL_ROWCOUNT variable. This variable is not deleted/reset by non TOTAL_ROWCOUNT statements. The similar command SELECT TOP x... does not support this extension. TRACEPROFILE This variable is only shown when a session's trace profile is specified. The value can contain one trace profile name or a comma separated list of trace profile names.

Structure
Column name
HOST PORT CONNECTION_ID KEY VALUE SECTION

Data type
VARCHAR(64) INTEGER INTEGER VARCHAR(32) VARCHAR(512) VARCHAR(32)

Unit

Description
Hos t na me Interna l port Connecti on ID Key na me of a s es s i on context va ri a bl e Va l ue of a s es s i on context va ri a bl e Secti on na me to di s ti ngui s h us er's s es s i on va ri a bl es

173

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_SHARED_MEMORY
Short description
Shared memory usage information by SAP HANA indexserver

Structure
Column name
HOST PORT CATEGORY ALLOCATED_SIZE USED_SIZE FREE_SIZE

Data type
VARCHAR(64) INTEGER VARCHAR(128) BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Modul e na me Al l oca ted s ha red memory s i ze on the modul e Us ed s ha red memory s i ze on the modul e Free s ha red memory s i ze on the modul e

174

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_SNAPSHOTS
Short description
Existing snapshots

Structure
Column name
HOST PORT VOLUME_ID ID TIMESTAMP FOR_BACKUP ANCHOR

Data type
VARCHAR(64) INTEGER INTEGER BIGINT TIMESTAMP VARCHAR(5) BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID Sna ps hot ID Crea ti on ti me Crea ted for ba ckup: 'TRUE', 'FALSE'

HEXID

Anchor

175

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the 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 other connections concurrently, but after the connection releases the plan, it can be acquired by another connection. SESSION LOCAL: A plan is never shared. This sharing type is more restricted than SESSION EXCLUSIVE GLOBAL. If a connection generates a plan, the plan belongs to the connection. This plan cannot be shared with any other connection and it cannot be also shared with any other cursor even if in the same 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 a specified plan runs longer than expected or which part of execution is dominant. For each cached plan, this view delivers statistics from execution on distributed configuration as well as technical details such as related object IDs, updated objects and so on.

Structure
Column name
HOST PORT VOLUME_ID STATEMENT_STRING USER_NAME SCHEMA_NAME

Data type
VARCHAR(64) INTEGER INTEGER NCLOB NVARCHAR(256) NVARCHAR(256)

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID Sta tement s tri ng Us er na me who prepa red the pl a n Schema na me tha t the SQL pl a n bel ongs to. SQL pl a ns a re genera ted i n ea ch s chema even though the s ta tement s tri ng i s the s a me s i nce the query opti mi zer s ta ti s ti cs mi ght be di fferent TRUE i f the pl a n i s currentl y va l i d. A pl a n i s i nva l i da ted whenever i ts corres pondi ng s chema objects , s uch a s ta bl e a nd vi ew, a re cha nged. Inva l i da ted pl a ns a re recompi l ed i f the s a me s ta tement i s executed, otherwi s e they a re evi cted by a nother pl a n when newl y compi l ed TRUE i f the pl a n i s executed from a da ta ba s e i nterna l connecti on. FALSE i f i t i s executed from a remote connecti on TRUE i f ta bl es a re l oca ted i n mul ti nodes , FALSE otherwi s e TRUE i f ABAP VARCHAR mode ena bl ed, FALSE otherwi s e. ABAP

IS_VALID

VARCHAR(5)

IS_INTERNAL

VARCHAR(5)

IS_DISTRIBUTED_EXECUTION

VARCHAR(5)

ABAP_VARCHAR_MODE

VARCHAR(5)

176

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

a ppl i ca ti on devel opers concern thi s mode, whi ch i ndi ca tes nul l termi na ted s tri ng or not ACCESSED_OBJECTS TABLE_LOCATIONS TABLE_TYPES VARCHAR(2000) VARCHAR(2000) VARCHAR(128) Rel eva nt ta bl e object ID l i s t for the pl a n Rel eva nt ta bl e l oca ti ons for the pl a n Speci fi ca ti on whether the pl a n refers Col umn s tore onl y, Row s tore onl y or mi xed, di s pl a yed a s one of three pos s i bl e va l ues 'ROW', 'COLUMN', 'ROW, COLUMN' The Pl a n s ha ri ng type: 'GLOBAL', 'SESSION EXCLUSIVE GLOBAL', 'SESSION LOCAL' Connecti on owni ng the pl a n Logi ca l pl a n ID whi ch i s a non-nega ti ve va l ue Byte Counter Memory s i ze us ed by the pl a n Number of s ta tements us i ng the pl a n. When the count rea ches zero, i t ca n be evi cted by the vi cti m s el ecti on pol i cy of pl a n ca che Number of pa ra meters to be a s s i gned for the executi on Object ID of the upda ted ta bl e for the pl a n Counter Counter Accumul a ted count of pl a n executi on Accumul a ted count of pl a n executi on by cl i entrouted connecti on i n s ta tement routi ng. Thi s col umn s hows how ma ny ti mes the s ta tement i s executed i n routed connecti on. The routed connecti on mea ns a phys i ca l connecti on i n a pa rt of the l ogi ca l s es s i on Sum of ti me of pl a n executi on i ncl udi ng communi ca ti on ti me wi th cl i ents Avera ge ti me of pl a n executi on i ncl udi ng communi ca te ti me wi th cl i ents Mi ni mum ti me of pl a n executi on i ncl udi ng communi ca te ti me wi th cl i ents Ma xi mum ti me of pl a n executi on i ncl udi ng communi ca te ti me wi th cl i ents Sum of ti me of pl a n executi ons Avera ge ti me of pl a n executi on Mi ni mum ti me of pl a n executi on Ma xi mum ti me of pl a n executi on Sum of ti me of es ta bl i s hi ng res ul t s ets Avera ge ti me for curs or

PLAN_SHARING_TYPE

VARCHAR(128)

OWNER_CONNECTION_ID PLAN_ID PLAN_MEMORY_SIZE REFERENCE_COUNT

INTEGER BIGINT BIGINT BIGINT

PARAMETER_COUNT

BIGINT

Counter

UPDATED_TABLE_OID EXECUTION_COUNT EXECUTION_COUNT_BY_ROUTING

BIGINT BIGINT BIGINT

TOTAL_CURSOR_DURATION

BIGINT

Mi cros econd

AVG_CURSOR_DURATION

BIGINT

Mi cros econd

MIN_CURSOR_DURATION

BIGINT

Mi cros econd

MAX_CURSOR_DURATION

BIGINT

Mi cros econd

TOTAL_EXECUTION_TIME AVG_EXECUTION_TIME MIN_EXECUTION_TIME MAX_EXECUTION_TIME TOTAL_EXECUTION_OPEN_TIME AVG_EXECUTION_OPEN_TIME

BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Mi cros econd Mi cros econd Mi cros econd Mi cros econd Mi cros econd Mi cros econd

177

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

open MIN_EXECUTION_OPEN_TIME MAX_EXECUTION_OPEN_TIME TOTAL_EXECUTION_FETCH_TIME AVG_EXECUTION_FETCH_TIME MIN_EXECUTION_FETCH_TIME MAX_EXECUTION_FETCH_TIME TOTAL_EXECUTION_CLOSE_TIME AVG_EXECUTION_CLOSE_TIME MIN_EXECUTION_CLOSE_TIME MAX_EXECUTION_CLOSE_TIME TOTAL_METADATA_CACHE_MISS_COUNT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT Mi cros econd Mi cros econd Mi cros econd Mi cros econd Mi cros econd Mi cros econd Mi cros econd Mi cros econd Mi cros econd Mi cros econd Counter Mi ni mum ti me for curs or cl os e Ma xi mum ti me for curs or cl os e Sum of ti me for tra ns ferri ng rows Avera ge ti me for curs or fetch Mi ni mum ti me for curs or fetch Ma xi mum ti me for curs or fetch Sum of ti me for cl ea nup of res ul t s ets Avera ge ti me for curs or cl os e Mi ni mum ti me for curs or cl os e Ma xi mum ti me for curs or cl os e Accumul a ted count of meta da ta ca che mi s s es duri ng pl a n prepa ra ti on a nd pl a n executi on. When a meta da ta object i s fi rs t reques ted to be a cces s ed i n a s l a ve s erver i ns ta nce, i t gets the object from a ma s ter s erver i ns ta nce vi a network communi ca ti on, i f the object does not exi s t or i s out of da te. Sum of ta bl e l oa di ng ti me duri ng pl a n prepa ra ti on Avera ge ta bl e l oa di ng ti me duri ng pl a n prepa ra ti on Mi ni mum ta bl e l oa di ng ti me duri ng pl a n prepa ra ti on Ma xi mum ta bl e l oa di ng ti me duri ng pl a n prepa ra ti on Number of pl a n prepa ra ti ons Sum of ti me of pl a n prepa ra ti on Avera ge ti me of pl a n prepa ra ti on Mi ni mum ti me of pl a n prepa ra ti on Ma xi mum ti me of pl a n prepa ra ti on Accumul a ted number of records duri ng pl a n executi on. Accumul a ted l ock wa i t count for the pl a n Accumul a ted l ock wa i t dura ti on for the pl a n The l a s t connecti on ID tha t executed the pl a n La s t executi on ti mes ta mp La s t prepa ra ti on ti mes ta mp

TOTAL_TABLE_LOAD_TIME_DURING_PREPARATION

BIGINT

Mi cros econd

AVG_TABLE_LOAD_TIME_DURING_PREPARATION

BIGINT

Mi cros econd

MIN_TABLE_LOAD_TIME_DURING_PREPARATION

BIGINT

Mi cros econd

MAX_TABLE_LOAD_TIME_DURING_PREPARATION

BIGINT

Mi cros econd

PREPARATION_COUNT TOTAL_PREPARATION_TIME AVG_PREPARATION_TIME MIN_PREPARATION_TIME MAX_PREPARATION_TIME TOTAL_RESULT_RECORD_COUNT

BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Counter Mi cros econd Mi cros econd Mi cros econd Mi cros econd Counter

TOTAL_LOCK_WAIT_COUNT TOTAL_LOCK_WAIT_DURATION LAST_CONNECTION_ID LAST_EXECUTION_TIMESTAMP LAST_PREPARATION_TIMESTAMP

BIGINT BIGINT INTEGER TIMESTAMP TIMESTAMP

Counter Counter

178

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 shows information such as how many times plan eviction occurred and how long it takes to execute currently cached plans. In addition to statistics, the current status and flags of the SQL plan cache are shown in this view.

Structure
Column name
HOST PORT STATISTICS_COLLECTION_ENABLED

Data type
VARCHAR(64) INTEGER VARCHAR(5)

Unit

Description
Hos t na me Interna l port TRUE i f runti me s ta ti s ti cs a re col l ected ALTER SYSTEM ALTER CONFIGURATION ('i ndexs erver.i ni ','s ys tem') SET('s ql ', 'pl a n_ca che_s ta ti s ti cs _ena bl ed') = <'True' or 'Fa l s e'> WITH RECONFIGURE

PLAN_CACHE_CAPACITY

BIGINT

Byte

Ma xi mum SQL Pl a n Ca che s i ze ALTER SYSTEM ALTER CONFIGURATION ('i ndexs erver.i ni ','s ys tem') SET('s ql ', 'pl a n_ca che_s i ze') = '268435456' WITH RECONFIGURE Number of evi cted pl a ns from SQL Pl a n Ca che Tota l pl a n prepa ra ti on count for evi cted pl a ns Tota l pl a n executi on count for evi cted pl a ns

EVICTED_PLAN_COUNT EVICTED_PLAN_PREPARATION_COUNT EVICTED_PLAN_EXECUTION_COUNT EVICTED_PLAN_PREPARATION_TIME EVICTED_PLAN_CURSOR_DURATION EVICTED_PLAN_TOTAL_EXECUTION_TIME EVICTED_PLAN_SIZE CACHED_PLAN_COUNT CACHED_PLAN_PREPARATION_COUNT CACHED_PLAN_EXECUTION_COUNT CACHED_PLAN_PREPARATION_TIME CACHED_PLAN_CURSOR_DURATION CACHED_PLAN_TOTAL_EXECUTION_TIME CACHED_PLAN_SIZE PLAN_CACHE_ENABLED

BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT TINYINT Mi cros econd Mi cros econd Mi cros econd Byte Mi cros econd Mi cros econd Mi cros econd Byte

Tota l dura ti on for pl a n prepa ra ti on for a l l evi cted pl a ns Tota l curs or dura ti on for evi cted pl a ns Tota l executi on ti me for evi cted pl a ns Accumul a ted tota l s i ze of evi cted pl a ns Tota l ca ched pl a n count i n SQL Pl a n Ca che Tota l pl a n prepa ra ti on count for ca ched pl a ns Tota l executi on count for ca ched pl a ns Tota l pl a n prepa ra ti on dura ti on for ca ched pl a ns Tota l curs or dura ti on for ca ched pl a ns Tota l executi on ti me for ca ched pl a ns Tota l s i ze of SQL Pl a n Ca che TRUE i f SQL Pl a n Ca che i s turned on ALTER SYSTEM ALTER CONFIGURATION ('i ndexs erver.i ni ','s ys tem') SET('s ql ', 'pl a n_ca che_ena bl ed') = <'True' or 'Fa l s e'> WITH RECONFIGURE Ti mes ta mp when SQL Pl a n Ca che i s cl ea red

CLEAR_TIMESTAMP

TIMESTAMP

179

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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. Please refer 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 field RESET_TIME, which indicates the last time the data was reset.

180

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_SYSTEM_INFORMATION_STATEMENTS
Short description
System information statements

Structure
Column name
NAME DESCRIPTION STATEMENT

Data type
VARCHAR(64) NVARCHAR(256) NCLOB

Unit

Description
Sta tement na me Sta tement des cri pti on Actua l SQL s ta tement

181

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_SYSTEM_LIMITS
Short description
System limits information

Structure
Column name
CATEGORY NAME VALUE TYPE UNIT COMMENT

Data type
VARCHAR(128) NVARCHAR(256) VARCHAR(256) VARCHAR(128) VARCHAR(256) VARCHAR(2000)

Unit

Description
Ca tegory of s ys tem l i mi t i s a da pta bl e Na me of s ys tem l i mi t Va l ue of s ys tem l i mi t Type of va l ue Uni t of va l ue Addi ti ona l comment for s ys tem l i mi ts

182

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_SYSTEM_OVERVIEW
Short description
Overview of system status including important resource usage information and alerts

Structure
Column name
SECTION NAME STATUS VALUE

Data type
VARCHAR(16) VARCHAR(32) VARCHAR(8) VARCHAR(256)

Unit

Description
Secti on na me Key na me i n s ecti on Sta tus va l ue: OK, ERROR, WARNING or empty for i nfo i tems Key va l ue i n s ecti on

183

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_TABLES
Short description
Information on row and column tables

Structure
Column name
SCHEMA_NAME TABLE_NAME RECORD_COUNT TABLE_SIZE IS_COLUMN_TABLE TABLE_TYPE IS_PARTITIONED IS_REPLICATED

Data type
NVARCHAR(256) NVARCHAR(256) BIGINT BIGINT VARCHAR(5) VARCHAR(16) VARCHAR(5) VARCHAR(5)

Unit

Description
Schema na me Ta bl e na me Number of records i n thi s ta bl e Al l oca ted memory s i ze for fi xed-s i ze a nd va ri a bl e-s i ze pa rt Speci fi es whether the ta bl e i s a col umn ta bl e: 'TRUE', 'FALSE' Speci fi es type of the ta bl e: 'ROW', 'COLUMN', 'HYBRID' Speci fi es whether the ta bl e i s pa rti ti oned: 'TRUE', 'FALSE' Speci fi es whether the ta bl e i s repl i ca ted: 'TRUE', 'FALSE'

184

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_TABLE_LOB_FILES
Short description
All LOB files that belong to a table

Structure
Column name
HOST PORT SCHEMA_NAME TABLE_NAME COLUMN_NAME PART_ID TABLE_OID CONTAINER_ID PHYSICAL_SIZE BINARY_SIZE CHARACTER_SIZE PAGE_COUNT LOB_TYPE

Data type
VARCHAR(64) INTEGER NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) INTEGER BIGINT BIGINT BIGINT BIGINT INTEGER BIGINT VARCHAR(5)

Unit

Description
Hos t na me Interna l port Schema na me Ta bl e na me Col umn na me Pa rt ID of s pl i t ta bl e Ta bl e OID, s a me a s owner_oi d i f the ta bl e i s found; 0 otherwi s e Conta i ner ID

Byte Byte

Fi l e s i ze LOB s i ze Number of cha ra cters i n NCLOB Number of pa ges us ed for a LOB fi l e Type of the l ob

185

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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
HOST PORT SCHEMA_NAME TABLE_NAME PART_ID LOCATION

Data type
VARCHAR(64) INTEGER NVARCHAR(256) NVARCHAR(256) INTEGER VARCHAR(75)

Unit

Description
Hos t where ta bl e da ta i s l oca ted. Empty for Vi ews Port where ta bl e da ta i s l oca ted. 0 for Vi ews Schema na me Ta bl e na me Pa rti ti on ID. 0 for non-pa rti ti oned ta bl es , 1 through number of pa rti ti ons for pa rti ti oned ta bl es . -1 i f the whol e ta bl e i s unl oa ded. Hos t a nd port where the ta bl e da ta i s l oca ted

186

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 the assigned node as visible from the view M_TABLE_LOCATIONS but will also include other nodes that still contains some persistence of the table. This could occur if a table is moved and not yet merged. In this case the old node will still contain some persistence content for the table beside the currently assigned node.

Structure
Column name
SCHEMA_NAME TABLE_NAME PART_ID

Data type
NVARCHAR(256) NVARCHAR(256) INTEGER

Unit

Description
Schema na me Ta bl e na me Pa rti ti on ID. 0 for non-pa rti ti oned ta bl es , 1 through number of pa rti ti ons for pa rti ti oned ta bl es . -1 i f the whol e ta bl e i s unl oa ded. Is thi s the hi s tory pa rt of a ta bl e: 'TRUE', 'FALSE' Hos t where ta bl e da ta i s l oca ted Port where ta bl e da ta i s l oca ted

IS_HISTORY PERSISTENCE_HOST PERSISTENCE_PORT

VARCHAR(5) VARCHAR(64) INTEGER

187

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_TABLE_PERSISTENCE_STATISTICS
Short description
Persistence virtual file summary statistics for tables

Structure
Column name
SCHEMA_NAME TABLE_NAME DISK_SIZE PAGE_COUNT BYTES_WRITTEN BYTES_APPENDED BYTES_READ BYTESTREAM_WRITTEN APPEND_COUNT WRITE_COUNT OPTIMIZE_COUNT READ_COUNT TRUNCATE_COUNT COPY_COUNT

Data type
NVARCHAR(256) NVARCHAR(256) BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Unit

Description
Schema Na me Ta bl e Na me Tota l di s k s i ze of a l l ta bl e pa rts Tota l number of pa ges of a l l ta bl e pa rts Number of bytes wri tten to the ta bl e Number of bytes a ppended to the ta bl e Number of bytes rea d from the ta bl e Number of bytes wri tten to the ta bl e vi a s trea mi ng i nterfa ce Number of ti mes the ta bl e wa s a ppended to Number of ti mes the ta bl e wa s wri tten to Number of ti mes the ta bl e wa s wri tten to opti mi zed Number of ti mes the ta bl e wa s rea d from Number of ti mes the ta bl e wa s trunca ted Number of ti mes the ta bl e wa s copi ed

188

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_TABLE_VIRTUAL_FILES
Short description
All virtual files that belong to a table

Structure
Column name
HOST PORT SCHEMA_NAME TABLE_NAME PART_ID IS_HISTORY CONTAINER_ID NAMESPACE NAME PHYSICAL_SIZE PAGE_COUNT

Data type
VARCHAR(64) INTEGER NVARCHAR(256) NVARCHAR(256) INTEGER VARCHAR(5) BIGINT VARCHAR(512) VARCHAR(512) BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Schema na me Ta bl e na me Pa rti ti on ID. 0 for non-pa rti ti oned ta bl es , 1 through number of pa rti ti ons for pa rti ti oned ta bl es . -1 i f the whol e ta bl e i s unl oa ded. Is thi s the hi s tory pa rt of a ta bl e: 'TRUE', 'FALSE' Conta i ner ID Fi l e pa th Fi l e na me

Byte

Fi l e s i ze Unus ed

189

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_TEMPORARY_TABLES
Short description
Temporary tables

Structure
Column name
HOST PORT SCHEMA_NAME TABLE_NAME TABLE_OID COMMENTS FIXED_PART_SIZE IS_LOGGED IS_SYSTEM_TABLE IS_COLUMN_TABLE IS_INSERT_ONLY IS_TENANT_SHARED_DATA IS_TENANT_SHARED_METADATA SESSION_TYPE IS_TEMPORARY TEMPORARY_TABLE_TYPE IS_USER_DEFINED_TYPE PRELOAD

Data type
VARCHAR(64) INTEGER NVARCHAR(256) NVARCHAR(256) BIGINT NVARCHAR(5000) SMALLINT VARCHAR(5) VARCHAR(5) VARCHAR(5) VARCHAR(5) VARCHAR(5) VARCHAR(5) VARCHAR(16) VARCHAR(5) VARCHAR(8) VARCHAR(5) VARCHAR(5)

Unit

Description
Hos t na me Interna l port Schema na me Ta bl e na me Object ID of the ta bl e Comment on the ta bl e

Byte

Fi xed-s i ze pa rt of record Speci fi es whether l oggi ng i s ena bl ed for the ta bl e: 'TRUE', 'FALSE' Speci fi es whether the ta bl e i s a s ys tem ta bl e: 'TRUE', 'FALSE' Speci fi es whether the ta bl e i s a col umn ta bl e: 'TRUE', 'FALSE' Speci fi es whether the ta bl e i s a n 'i ns ert onl y' ta bl e: 'TRUE', 'FALSE' Speci fi es whether the ta bl e ca n be s ha red a mong other i ns ta nces : 'TRUE', 'FALSE' Speci fi es whether the ta bl e i s a gl oba l ta bl e: 'TRUE', 'FALSE' Ses s i on type: 'NONE', 'SIMPLE', 'HISTORY'. For 'HISTORY', ti me tra vel i s pos s i bl e Speci fi es whether the ta bl e i s a tempora ry ta bl e: 'TRUE', 'FALSE' Tempora ry ta bl e type 'TRUE' i f us er defi ned ta bl e type, 'FALSE' otherwi s e 'TRUE' i f the ta bl e us es prel oa di ng, el s e 'FALSE'. Onl y va l i d for col umn s tore ta bl es

190

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_TEMPORARY_TABLE_COLUMNS
Short description
Columns of temporary tables

Structure
Column name
HOST PORT SCHEMA_NAME TABLE_NAME TABLE_OID COLUMN_NAME POSITION DATA_TYPE_ID DATA_TYPE_NAME OFFSET LENGTH

Data type
VARCHAR(64) INTEGER NVARCHAR(256) NVARCHAR(256) BIGINT NVARCHAR(256) INTEGER SMALLINT VARCHAR(16) SMALLINT INTEGER

Unit

Description
Hos t na me Interna l port Schema na me Ta bl e na me Object ID of the ta bl e Na me of the col umn Ordi na l pos i ti on of the ta bl e col umn SQL da ta type ID of the col umn SQL da ta type na me of the col umn

Byte

Offs et of the col umn i n the record # of cha rs for cha r types ; # of ma x di gi ts for numeri c types ; # of cha rs for da teti me types ; # of bytes for LOB types Numeri c types : the ma xi mum number of di gi ts to the ri ght of the deci ma l poi nt; ti me, ti mes ta mp: the deci ma l di gi ts a re defi ned a s the number of di gi ts to the ri ght of the deci ma l poi nt i n the s econd's component of the da ta Speci fi es whether the col umn i s a l l owed to a ccept a nul l va l ue: 'TRUE', 'FALSE' Defa ul t va l ue of the col umn Col l a ti on of the col umn Comments on the col umn Ma xi mum va l ue Mi ni mum va l ue Col umn s tore da ta type ID Col umn s tore da ta type na me DDIC da ta type ID DDIC da ta type na me Type of compres s i on: 'DEFAULT', 'PREFIXED', 'SPARSE', 'CLUSTERED', 'INDIRECT', 'RLE' Type of i ndex: 'NONE', 'FULL', 'SIGNATURE' ID of the col umn Speci fi es i f col umn i s prel oa ded: 'TRUE', 'FALSE'

SCALE

INTEGER

IS_NULLABLE DEFAULT_VALUE COLLATION COMMENTS MAX_VALUE MIN_VALUE CS_DATA_TYPE_ID CS_DATA_TYPE_NAME DDIC_DATA_TYPE_ID DDIC_DATA_TYPE_NAME COMPRESSION_TYPE INDEX_TYPE COLUMN_ID PRELOAD

VARCHAR(5) NVARCHAR(5000) NVARCHAR(5000) NVARCHAR(5000) NVARCHAR(5000) NVARCHAR(5000) INTEGER VARCHAR(16) INTEGER VARCHAR(7) VARCHAR(9) VARCHAR(9) BIGINT VARCHAR(5)

191

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_TEMPORARY_VIEWS
Short description
Temporary views

Structure
Column name
HOST PORT SCHEMA_NAME VIEW_NAME VIEW_OID IS_UNICODE IS_READ_ONLY HAS_CHECK_OPTION HAS_COLUMN_ALIASE DEFINITION COMMENTS IS_COLUMN_VIEW VIEW_TYPE IS_TENANT_SHARED

Data type
VARCHAR(64) INTEGER NVARCHAR(256) NVARCHAR(256) BIGINT VARCHAR(5) VARCHAR(5) VARCHAR(5) VARCHAR(5) NCLOB NVARCHAR(5000) VARCHAR(5) VARCHAR(16) VARCHAR(5)

Unit

Description
Hos t na me Interna l port Schema na me Vi ew na me Object ID of the vi ew Speci fi es whether the query s tri ng conta i ns Uni code: 'TRUE', 'FALSE' Speci fi es whether thi s vi ew i s a rea d-onl y or a n upda ta bl e vi ew: 'TRUE', 'FALSE' Speci fi es whether thi s vi ew ha s a n upda ta bl e vi ew condi ti on: 'TRUE', 'FALSE' Speci fi es whether the vi ew ha s a col umns a l i a s : 'TRUE', 'FALSE' Defi ni ti on of the vi ew Des cri pti on on the vi ew Speci fi es whether thi s vi ew i s a col umn vi ew or not: 'TRUE', 'FALSE' Type of vi ew : 'ROW', 'OLAP', 'JOIN', 'HIERARCHY', 'CALC' Speci fi es whether the vi ew meta da ta ca n be s ha red a cros s tena nts : 'TRUE', 'FALSE'

192

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_TEMPORARY_VIEW_COLUMNS
Short description
Columns of temporary tables

Structure
Column name
HOST PORT SCHEMA_NAME VIEW_NAME VIEW_OID COLUMN_NAME POSITION DATA_TYPE_ID DATA_TYPE_NAME OFFSET LENGTH

Data type
VARCHAR(64) INTEGER NVARCHAR(256) NVARCHAR(256) BIGINT NVARCHAR(256) INTEGER SMALLINT VARCHAR(16) SMALLINT INTEGER

Unit

Description
Hos t na me Interna l port Schema na me Vi ew na me Object ID of the vi ew Vi ew col umn na me Ordi na l pos i ti on of the vi ew col umn SQL da ta type ID of the col umn SQL da ta type na me of the col umn Offs et of the col umn i n a record # of cha rs for cha r types ; # of ma x di gi ts for numeri c types ; # of cha rs for da teti me types ; # of bytes for LOB types Numeri c types : the ma xi mum number of di gi ts to the ri ght of the deci ma l poi nt; ti me, ti mes ta mp: the deci ma l di gi ts a re defi ned a s the number of di gi ts to the ri ght of the deci ma l poi nt i n the s econd's component of the da ta Speci fi es whether the col umn i s a l l owed to a ccept nul l va l ue: 'TRUE', 'FALSE' Defa ul t va l ue Col l a ti on Des cri pti on for thi s col umn Ma xi mum va l ue Mi ni mum va l ue Col umn s tore da ta type ID Col umn s tore da ta type na me DDIC da ta type ID DDIC da ta type na me Type of compres s i on: 'DEFAULT', 'PREFIXED', 'SPARSE', 'CLUSTERED', 'INDIRECT', 'RLE' Type of i ndex: 'NONE', 'FULL', 'SIGNATURE' ID of the col umn Speci fi es i f col umn i s prel oa ded: 'TRUE', 'FALSE'

SCALE

INTEGER

IS_NULLABLE DEFAULT_VALUE COLLATION COMMENTS MAX_VALUE MIN_VALUE CS_DATA_TYPE_ID CS_DATA_TYPE_NAME DDIC_DATA_TYPE_ID DDIC_DATA_TYPE_NAME COMPRESSION_TYPE INDEX_TYPE COLUMN_ID PRELOAD

VARCHAR(5) NVARCHAR(5000) NVARCHAR(5000) NVARCHAR(5000) NVARCHAR(5000) NVARCHAR(5000) INTEGER VARCHAR(16) INTEGER VARCHAR(7) VARCHAR(9) VARCHAR(9) BIGINT VARCHAR(5)

193

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_TENANTS
Short description
Available tenant information

Structure
Column name
HOST PORT TENANT_NAME CREATE_TIME TENANT_STATUS SQL_PORT

Data type
VARCHAR(64) INTEGER VARCHAR(256) TIMESTAMP VARCHAR(16) INTEGER

Unit

Description
Tena nt s ervi ce hos t na me Tena nt s ervi ce i nterna l port Tena nt na me Crea ti on ti me Sus pend s ta tus : SUSPENDED, ACTIVE, PENDING Tena nt s ervi ce SQL port

194

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_TEXT_ANALYSIS_LANGUAGES
Short description
List of supported languages

Structure
Column name
LANGUAGE_NAME LANGUAGE_CODE

Data type
VARCHAR(256) VARCHAR(2)

Unit

Description
La ngua ge na me La ngua ge ISO 639-1 code

195

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_TEXT_ANALYSIS_MIME_TYPES
Short description
List of supported mime types

Structure
Column name
MIME_TYPE_NAME MIME_TYPE_DESCRIPTION

Data type
VARCHAR(256) NVARCHAR(256)

Unit

Description
Na me of the mi me type Des cri pti on of the mi me type

196

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 use PATH+'/'+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)=VALUE To delete values use ALTER SYSTEM INIFILE('topology.ini','system') remove (PATH,NAME)

Structure
Column name
PATH NAME VALUE LEAF

Data type
VARCHAR(512) VARCHAR(256) VARCHAR(256) VARCHAR(5)

Unit

Description
Pa th to Key Key na me Key va l ue

Bool ea n

Lea f fl a g: 'TRUE', 'FALSE'

197

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 a distributed system, this command will clear all traces on all hosts.
ALTER SYSTEM CLEAR TRACES ('ALERT','CLIENT','CRASHDUMP,'*','INDEXSERVER',...,,'DAEMO N' );

It can clear different types of files:


Name
ALERT CLIENT CRASHDUMP * INDEXSERVER,NAMESERVER,...,DAEMON

Files
<s ervi ce>a l ert....trc l oca l cl i ent_....trc *.cra s hdump....trc open *.trc fi l es of a l l a cti ve s ervi ces open *.trc fi l es of a s i ngl e s ervi ce type

This command will delete files on host 'HOST_NAME'. When a service has a trace file open, then it cannot be deleted, so a "CLEAR" command should be used in that case.
ALTER SYSTEM DELETE TRACES ('HOST_NAME', 'FILENAME1', 'FILENAME2' ... );

Structure
Column name
HOST FILE_NAME FILE_SIZE FILE_MTIME

Data type
VARCHAR(64) VARCHAR(256) BIGINT TIMESTAMP

Unit

Description
Hos t na me Fi l e na me

Byte

Fi l e s i ze Fi l e da te

198

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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. Use HOST, FILE_NAME as returned by the view M_TRACEFILES. This prevents unintentional materialization of all trace 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 <> -value you 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 as CESU-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 bytearray displaydata = filedata.decode('utf-8','replace') # do not use 'strict' error handlin g

Structure
Column name
HOST FILE_NAME OFFSET CONTENT

Data type
VARCHAR(64) VARCHAR(256) BIGINT NVARCHAR(1000)

Unit

Description
Hos t na me Fi l e na me

Byte

Fi l e offs et Fi l e content a t offs et

199

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_TRANSACTIONS
Short description
All transactions created by users or database

Structure
Column name
HOST PORT CONNECTION_ID TRANSACTION_ID VOLUME_ID TRANSACTION_SEQUENCE UPDATE_TRANSACTION_ID TRANSACTION_STATUS

Data type
VARCHAR(64) INTEGER INTEGER INTEGER INTEGER INTEGER BIGINT VARCHAR(128)

Unit

Description
Hos t na me Interna l port Connecti on ID Tra ns a cti on object ID (Thi s number i s reus ed a fter a tra ns a cti on i s cl os ed) Vol ume ID where the tra ns a cti on ha s s ta rted Tra ns a cti on s equence number i n a tra ns a cti on Wri te tra ns a cti on ID (Thi s number i s ever i ncrea s i ng) Tra ns a cti on s ta tus ; INACTIVE, ACTIVE, PRECOMMITTED, ABORTING, PARTIAL_ABORTING, ACTIVE_PREPARE_COMMIT Tra ns a cti on type; USER, VERSION GARBAGE COLLECTION, DDL VERSION GARBAGE COLLECTION, INTERNAL, EXTERNAL Sta rt ti me End ti me Interna l MVCC ti mes ta mp of the tra ns a cti on s ta rt ti me Interna l MVCC ti mes ta mp of the tra ns a cti on end ti me Number of executed s ta tements i n the tra ns a cti on Number of crea ted vers i ons i n the tra ns a cti on

TRANSACTION_TYPE

VARCHAR(128)

START_TIME END_TIME START_MVCC_TIMESTAMP END_MVCC_TIMESTAMP EXECUTED_STATEMENT_COUNT CREATED_VERSION_COUNT ALLOCATED_VERSION_SIZE ACQUIRED_LOCK_COUNT LOCK_WAIT_COUNT LOCK_WAIT_TIME LOG_SIZE CURRENT_STATEMENT_ID CURRENT_STATEMENT_SEQUENCE ALLOCATED_MEMORY_SIZE ACQUIRED_METALOCK_INDEX LOG_PARTITION_ID REDO_LOG_AMOUNT UNDO_LOG_AMOUNT MIN_MVCC_SNAPSHOT_TIMESTAMP LAST_COMMIT_ID ACTIVE_STATEMENT_COUNT ISOLATION_LEVEL

TIMESTAMP TIMESTAMP BIGINT BIGINT INTEGER INTEGER BIGINT INTEGER INTEGER DOUBLE BIGINT VARCHAR(256) INTEGER BIGINT INTEGER SMALLINT BIGINT BIGINT BIGINT BIGINT INTEGER VARCHAR(128) Byte Byte Byte Second Byte Byte

Al l oca ted vers i on s i ze i n the tra ns a cti on Number of a cqui red l ocks i n the tra ns a cti on Number of l ock wa i ts i n the tra ns a cti on Accumul a ted l ock wa i t ti me i n the tra ns a cti on Genera ted l og a mount i n the tra ns a cti on Current s ta tement ID Sequence number of the currentl y executed s ta tement Memory s i ze occupi ed by the tra ns a cti on Index of a cqui red meta l ock Log pa rti ti on ID of the tra ns a cti on Si ze of redo l og a mount genera ted by the tra ns a cti on Si ze of undo l og a mount genera ted by the tra ns a cti on Logi ca l ti mes ta mp of the fi rs t executed s ta tement i n the tra ns a cti on La s t commi t ID of the tra ns a cti on Number of opened curs ors i n the tra ns a cti on Is ol a ti on l evel of ea ch tra ns a cti on: READ UNCOMMITTED, READ COMMITTED, REPEATABLE READ, SERIALIZABLE TRUE i f l oggi ng i s ena bl ed for the tra ns a cti on, FALSE otherwi s e TRUE i f l oggi ng i s ena bl ed for the tra ns a cti on, FALSE otherwi s e

LOG_FLUSH_ENABLED LOGGING_ENABLED

VARCHAR(5) VARCHAR(5)

200

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 information needed for transaction rollback. These files are removed on transaction end. If data is deleted but must still be accessible because of MVCC isolation, the corresponding information is written to cleanup files. On transaction end cleanup files are passed to history management. Garbage collection uses the cleanup files to finally 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
HOST PORT VOLUME_ID TYPE TID PAGE_COUNT RAW_SIZE CLEANUP_MARK NESTED_SESSION_ID NESTED_SESSION_PARENT_ID DEPENDENT_INDEX INDOUBT_FLAG TENTATIVE_PRECOMMIT_POSITION

Data type
VARCHAR(64) INTEGER INTEGER VARCHAR(16) BIGINT BIGINT BIGINT BIGINT INTEGER INTEGER INTEGER VARCHAR(5) BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID Fi l e type (UNDO, CLEANUP, EXTERNALUNDO, FREE)

TID Counter Byte

Tra ns a cti on ID Pa ge count Ra w s i ze Cl ea nup pos i ti on ma rk Nes ted s es s i on ID Nes ted s es s i on pa rent ID Dependent i ndex duri ng redo Indoubt fl a g for di s tri buted tra ns a cti on: 'TRUE', 'FALSE' Tenta ti ve precommi t pos i ti on

201

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_VERSION_MEMORY
Short description
Memory usage of row-store Multiversion Concurrency Control (MVCC) manager

Structure
Column name
HOST PORT ALLOCATED_MEMORY_SIZE USED_MEMORY_SIZE RECLAIMED_VERSION_SIZE FREE_MEMORY_SIZE

Data type
VARCHAR(64) INTEGER BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port

Byte Byte Byte Byte

Si ze of memory a l l oca ted for row-s tore vers i on s pa ce Si ze of memory a ctua l l y us ed by row-s tore vers i ons Si ze of memory recl a i med by row-s tore vers i on ga rba ge col l ecti on Si ze of memory freed a nd reus a bl e i n row-s tore vers i on s pa ce

202

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_VOLUMES
Short description
Volumes used by SAP HANA servers

Structure
Column name
HOST PORT SERVICE_NAME VOLUME_ID SUBPATH LIVECACHE_STORE REMOVE_STATUS

Data type
VARCHAR(64) INTEGER VARCHAR(256) INTEGER VARCHAR(512) VARCHAR(10) VARCHAR(16)

Unit

Description
Hos t na me Interna l port Servi ce na me Vol ume ID Subpa th a ppended to M_DISKS.PATH Li veca che i s ena bl ed Remove progres s

203

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 only registered files (that is, files currently used by the database) have a file type. TOTAL_SIZE is the size as reported 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 file LOG: Used size equals TOTAL_SIZE TRACE: Used size is zero for unused trace files and equals TOTAL_SIZE for used trace files

Structure
Column name
HOST PORT VOLUME_ID FILE_TYPE FILE_NAME USED_SIZE TOTAL_SIZE

Data type
VARCHAR(64) INTEGER INTEGER VARCHAR(16) VARCHAR(256) BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Vol ume ID Type of fi l e (DATA, LOG, TRACER, ...) Fi l e na me Si ze of us ed da ta wi thi n fi l e Tota l fi l e s i ze

204

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 in the dependent view M_VOLUME_IO_STATISTICS_RESET. To reset the values, use the SQL command:
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 to M_VOLUME_IO_PERFORMANCE_STATISTICS for detailed information about read/write performance on various buffer sizes. TOTAL_READ/WRITE _SIZE is aggregated from M_VOLUME_IO_PERFORMANCE_STATISTICS. Note that the column TOTAL_IO_TIME is only an approximation of real I/O times and should not be used to compute exact throughput ratios. Resetting this view implicitly resets the dependent child view M_VOLUME_IO_PERFORMANCE_STATISTICS.

Structure
Column name
HOST PORT VOLUME_ID PATH FILESYSTEM_TYPE TYPE CONFIGURATION OPEN_CALL_COUNT CLOSE_CALL_COUNT EXISTS_CALL_COUNT REMOVE_CALL_COUNT RESIZE_CALL_COUNT SYNC_CALL_COUNT GETSIZE_CALL_COUNT GETMODIFICATIONTIME_CALL_COUNT GETDEVICEID_CALL_COUNT ENQUEUED_WRITE_REQUESTS BLOCKED_WRITE_REQUESTS MAX_BLOCKED_WRITE_REQUESTS EOF_READS TOTAL_SYNC_READS TOTAL_ASYNC_READS TOTAL_TRIGGER_ASYNC_READS TRIGGER_ASYNC_READ_RATIO TOTAL_SHORT_READS TOTAL_FULL_RETRY_READS TOTAL_FAILED_READS TOTAL_READ_SIZE TOTAL_READ_TIME TOTAL_APPENDS TOTAL_SYNC_WRITES TOTAL_ASYNC_WRITES

Data type
VARCHAR(64) INTEGER INTEGER VARCHAR(512) VARCHAR(16) VARCHAR(16) VARCHAR(128) BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT DOUBLE BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Unit

Description
Hos t na me Interna l port Pers i s tence Vol ume ID Fi l es ys tem pa th Fi l es ys tem type Type of conta i ned fi l es Confi gura ti on pa ra meters

Counter Counter Counter Counter Counter Counter Counter Counter Counter

Count of open ca l l s Count of cl os e ca l l s Count of exi s ts ca l l s Count of remove ca l l s Count of res i ze ca l l s Count of s ync ca l l s Count of get s i ze ca l l s Count of get modi fi ca ti on ti me ca l l s Count of get Devi ceID ca l l s Count of enqueued wri te reques ts (depreca ted)

Counter Counter Counter Counter Counter Counter Percent Counter Counter Counter Byte Mi cros econd Counter Counter Counter

Count of bl ocked wri te reques ts Ma x. count of bl ocked wri te reques ts Count of EOF rea ds Count of s ynchronous rea ds Count of a s ynchronous rea ds wi th wa i ti ng Count of tri ggered a s ynchronous rea ds Tri gger-Ra ti o of a s ynchronous rea ds Count of rea ds tha t rea d l es s bytes tha n reques ted Count of ful l retry rea ds Count of fa i l ed rea ds Si ze of rea d da ta Tota l rea d ti me Count of a ppends Count of s ynchronous wri tes Count of a s ynchronous wri tes wi th wa i ti ng

205

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

TOTAL_TRIGGER_ASYNC_WRITES TRIGGER_ASYNC_WRITE_RATIO TOTAL_SHORT_WRITES TOTAL_FULL_RETRY_WRITES TOTAL_FAILED_WRITES TOTAL_WRITE_SIZE TOTAL_WRITE_TIME TOTAL_IO_TIME

BIGINT DOUBLE BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Counter Percent Counter Counter Counter Byte Mi cros econd Mi cros econd

Count of tri ggered a s ynchronous wri tes Tri gger-Ra ti o of a s ynchronous wri tes Count of wri tes tha t wrote l es s bytes tha n reques ted Count of ful l retry wri tes Count of fa i l ed wri tes Si ze of wri tten da ta Tota l wri te ti me Tota l IO ti me

206

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

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 timestamp field RESET_TIME, which indicates the last time the data was reset.

207

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_VOLUME_SIZES
Short description
Volume sizes used by SAP HANA servers

Structure
Column name
VOLUME_ID DISK_ID DATA_SIZE LOG_SIZE

Data type
INTEGER INTEGER BIGINT BIGINT

Unit

Description
Vol ume ID. See M_VOLUMES Di s k ID. See M_DISKS

Byte Byte

Da ta a rea s i ze Log a rea s i ze

208

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_WORKLOAD
Short description
Database workload collected every minute

Structure
Column name
HOST PORT EXECUTION_COUNT

Data type
VARCHAR(64) INTEGER BIGINT

Unit

Description
Hos t na me Interna l port Tota l count of a l l executed s ta tements for da ta ma ni pul a ti on, da ta defi ni ti on, a nd s ys tem control Number of s ta tement prepa ra ti on Number of upda te tra ns a cti ons Number of tra ns a cti on commi ts Number of tra ns a cti on rol l ba cks Current s ta tement executi on count per mi nute Pea k s ta tement executi on count per mi nute Current s ta tement prepa ra ti on count per mi nute Pea k s ta tement prepa ra ti on count per mi nute Current upda te tra ns a cti on count per mi nute Pea k upda te tra ns a cti on count per mi nute Current tra ns a cti on count per mi nute Pea k tra ns a cti on count per mi nute Tota l number of commi ts per mi nute Pea k commi t counts per mi nute Tota l number of rol l ba cks per mi nute Pea k rol l ba ck count per mi nute Tota l s i ze of us ed memory per mi nute Pea k s i ze of us ed memory per mi nute

COMPILATION_COUNT UPDATE_TRANSACTION_COUNT COMMIT_COUNT ROLLBACK_COUNT CURRENT_EXECUTION_RATE PEAK_EXECUTION_RATE CURRENT_COMPILATION_RATE PEAK_COMPILATION_RATE CURRENT_UPDATE_TRANSACTION_RATE PEAK_UPDATE_TRANSACTION_RATE CURRENT_TRANSACTION_RATE PEAK_TRANSACTION_RATE CURRENT_COMMIT_RATE PEAK_COMMIT_RATE CURRENT_ROLLBACK_RATE PEAK_ROLLBACK_RATE CURRENT_MEMORY_USAGE_RATE PEAK_MEMORY_USAGE_RATE

BIGINT BIGINT BIGINT BIGINT DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE DOUBLE

209

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_XS_APPLICATIONS
Short description
Applications deployed and running in SAP HANA XS

Structure
Column name
APPLICATION_NAME DELIVERY_UNIT VENDOR VERSION VERSION_SP VERSION_PATCH

Data type
NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) NVARCHAR(16) NVARCHAR(16)

Unit

Description
Na me of the a ppl i ca ti on Na me of the del i very uni t tha t thi s a ppl i ca ti on bel ongs to Vendor of the del i very uni t Vers i on i nforma ti on of the del i very uni t SP vers i on i nforma ti on of the del i very uni t Pa tch vers i on i nforma ti on of the del i very uni t

210

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

M_XS_APPLICATION_ISSUES
Short description
Issues related to applications in SAP HANA XS

Structure
Column name
APPLICATION_NAME ERROR_MESSAGE

Data type
NVARCHAR(256) VARCHAR(1024)

Unit

Description
Na me of the a ppl i ca ti on Textua l des cri pti on of the i s s ue

211

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

OBJECTS
Short description
Available objects

Structure
Column name
OBJECT_CATEGORY SCHEMA_NAME OBJECT_NAME OBJECT_TYPE OBJECT_OID

Data type
VARCHAR(1) NVARCHAR(256) NVARCHAR(256) VARCHAR(32) BIGINT

Unit

Description
Object ca tegory of the object (defa ul t = nul l ) Schema na me of the object Object na me Object type Object ID

212

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

OBJECT_DEPENDENCIES
Short description
Dependencies between objects, for example, views which refer to a specific table

Structure
Column name
BASE_SCHEMA_NAME BASE_OBJECT_NAME BASE_OBJECT_TYPE DEPENDENT_SCHEMA_NAME DEPENDENT_OBJECT_NAME DEPENDENT_OBJECT_TYPE DEPENDENCY_TYPE

Data type
NVARCHAR(256) NVARCHAR(256) VARCHAR(32) NVARCHAR(256) NVARCHAR(256) VARCHAR(32) INTEGER

Unit

Description
Schema na me of the ba s e object Object na me of the ba s e object Type of the ba s e object Schema na me of the dependent object Object na me of the dependent object Type of the ba s e dependent Type of dependency between ba s e a nd dependent object

213

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

OWNERSHIP
Short description
Ownership of available objects when users create any object in other users' schemas

Structure
Column name
SCHEMA_NAME OWNER_NAME OBJECT_NAME OBJECT_TYPE OBJECT_OID

Data type
NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) VARCHAR(32) BIGINT

Unit

Description
Schema na me of the object Na me of the object owner Object na me Object type Object ID

214

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

PRIVILEGES
Short description
Available privileges

Structure
Column name
NAME TYPE

Data type
NVARCHAR(256) VARCHAR(32)

Unit

Description
Pri vi l ege na me 'SYSTEMPRIVILEGE', 'OBJECTPRIVILEGE', 'PACKAGEPRIVILEGE', 'APPLICATIONPRIVILEGE'

215

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

PROCEDURES
Short description
Available stored procedures

Structure
Column name
SCHEMA_NAME PROCEDURE_NAME PROCEDURE_OID INPUT_PARAMETER_COUNT OUTPUT_PARAMETER_COUNT INOUT_PARAMETER_COUNT RESULT_SET_COUNT IS_UNICODE DEFINITION PROCEDURE_TYPE READ_ONLY IS_VALID

Data type
NVARCHAR(256) NVARCHAR(256) BIGINT INTEGER INTEGER INTEGER INTEGER VARCHAR(5) NCLOB VARCHAR(10) VARCHAR(5) VARCHAR(5)

Unit

Description
Schema na me of the s tored procedure Na me of the s tored procedure Object ID of the s tored procedure Input type pa ra meter count Output type pa ra meter count In-out type pa ra meter count Res ul t s et count Speci fi es whether the s tored procedure conta i ns Uni code or not: 'TRUE', 'FALSE' Query s tri ng of the s tored procedure Type of the s tored procedure Speci fi es whether the procedure i s rea d-onl y or not: 'TRUE', 'FALSE' Speci fi es whether the procedure i s va l i d or not. Thi s becomes 'FALSE' when i ts ba s e objects a re cha nged or dropped: 'TRUE', 'FALSE'

216

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

PROCEDURE_OBJECTS
Short description
Contains results of the system procedure GET_PROCEDURE_OBJECTS

Structure
Column name
SCHEMA_NAME PROCEDURE_NAME OBJECT_SCHEMA OBJECT_NAME OBJECT_TYPE_ID OBJECT_TYPE START_POSITION END_POSITION

Data type
NVARCHAR(128) NVARCHAR(128) NVARCHAR(128) NVARCHAR(128) INTEGER VARCHAR(32) INTEGER INTEGER

Unit

Description
Schema na me of the s tored procedure Procedure na me of the s tored procedure Schema na me of the object i n the s tored procedure code Object na me of the object i n the s tored procedure code Type ID of the object i n the s tored procedure code Type of the object i n the s tored procedure code Sta rt pos i ti on of the object i n the s tored procedure code End pos i ti on of the object i n the s tored procedure code

217

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

PROCEDURE_PARAMETERS
Short description
Parameters of stored procedures

Structure
Column name
SCHEMA_NAME PROCEDURE_NAME PROCEDURE_OID PARAMETER_NAME DATA_TYPE_ID DATA_TYPE_NAME LENGTH SCALE POSITION TABLE_TYPE_SCHEMA TABLE_TYPE_NAME PARAMETER_TYPE HAS_DEFAULT_VALUE IS_NULLABLE

Data type
NVARCHAR(256) NVARCHAR(256) BIGINT NVARCHAR(256) SMALLINT VARCHAR(16) INTEGER INTEGER INTEGER NVARCHAR(256) NVARCHAR(256) VARCHAR(7) VARCHAR(5) VARCHAR(5)

Unit

Description
Schema na me of the s tored procedure Na me of the s tored procedure Object ID of the s tored procedure Pa ra meter na me Da ta type ID Da ta type na me Pa ra meter l ength Sca l e of the pa ra meter Ordi na l pos i ti on of the pa ra meter Schema na me of ta bl e type i f DATA_TYPE_NAME i s TABLE_TYPE Na me of ta bl e type i f DATA_TYPE_NAME i s TABLE_TYPE Pa ra meter mode: 'IN', 'OUT', 'INOUT' Speci fi es whether the pa ra meter ha s a defa ul t va l ue or not: 'TRUE', 'FALSE' Speci fi es whether the pa ra meter a ccepts a nul l va l ue: 'TRUE', 'FALSE'

218

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

QUERY_PLANS
Short description
Plans how to handle query execution

Structure
Column name
PLAN_ID OPERATOR_NAME OPERATOR_DETAILS OBJECT_NAME SUBTREE_COST INPUT_CARDINALITY OUTPUT_CARDINALITY OPERATOR_ID PARENT_OPERATOR_ID LEVEL POSITION TIMESTAMP HOST PORT

Data type
VARCHAR(256) VARCHAR(5000) NCLOB NVARCHAR(256) DOUBLE DOUBLE DOUBLE INTEGER INTEGER INTEGER INTEGER TIMESTAMP VARCHAR(256) INTEGER

Unit

Description
Pl a n ID Opera tor na me Deta i l ed i nforma ti on on opera tors i n the query pl a n Object na me Subtree cos t Input ca rdi na l i ty Output ca rdi na l i ty Opera tor ID Pa rent opera tor ID Level Pos i ti on Ti mes ta mp Hos t where the pl a n opera tor i s executed Port where the pl a n opera tor i s executed

219

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

REFERENTIAL_CONSTRAINTS
Short description
Referential constraints

Structure
Column name
SCHEMA_NAME TABLE_NAME COLUMN_NAME POSITION CONSTRAINT_NAME REFERENCED_SCHEMA_NAME REFERENCED_TABLE_NAME REFERENCED_COLUMN_NAME REFERENCED_CONSTRAINT_NAME UPDATE_RULE DELETE_RULE

Data type
NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) SMALLINT NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) VARCHAR(16) VARCHAR(16)

Unit

Description
Schema na me Ta bl e na me Col umn na me Col umn pos i ti on i n thi s cons tra i nt Cons tra i nt na me Schema na me of the ta bl e referenced by thi s cons tra i nt Ta bl e na me of the ta bl e referenced by thi s cons tra i nt Na me of col umn referenced by thi s col umn Na me of uni que cons tra i nt referenced by thi s cons tra i nt Upda te rul e: 'CASCADE', 'SET NULL', 'SET DEFAULT', 'RESTRICT' Del ete rul e: 'CASCADE', 'SET NULL', 'SET DEFAULT', 'RESTRICT'

220

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

REORG_OVERVIEW
Short description
Overview of landscape redistributions

Structure
Column name
REORG_ID STATUS START_DATE END_DATE USER ALGORITHM_ID PARAMETERS

Data type
INTEGER VARCHAR(32) TIMESTAMP TIMESTAMP VARCHAR(256) INTEGER VARCHAR(1024)

Unit

Description
Reorg ID Sta tus mes s a ge Sta rt da te End da te Us er Al gori thm ID Pa ra meter va l ues for a l gori thm

221

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

REORG_PLAN
Short description
Current plan for landscape reorganization

Structure
Column name
STEP_ID SCHEMA_NAME TABLE_NAME NEW_PARTITION_SPEC OLD_PARTITION_SPEC PARTITION NEW_HOST NEW_PORT OLD_HOST OLD_PORT

Data type
INTEGER NVARCHAR(256) NVARCHAR(256) NCLOB NCLOB INTEGER VARCHAR(64) INTEGER VARCHAR(64) INTEGER

Unit

Description
Step ID Ta bl e na me Schema na me New pa rti ti on s peci fi ca ti on Ol d pa rti ti on s peci fi ca ti on Pa rti ti on ID Hos t where the ta bl e/pa rti ti on i s moved to Port where the ta bl e/pa rti ti on i s moved to Hos t where the ta bl e/pa rti ti on wa s l oca ted Port where the ta bl e/pa rti ti on wa s l oca ted

222

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

REORG_PLAN_INFOS
Short description
Additional informations about current landscape reorganization plan

Structure
Column name
KEY VALUE

Data type
VARCHAR(256) VARCHAR(1024)

Unit

Description
Key Va l ue

223

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

REORG_STEPS
Short description
Details of landscape redistribution

Structure
Column name
REORG_ID STEP_ID SCHEMA_NAME TABLE_NAME NEW_PARTITION_SPEC OLD_PARTITION_SPEC PARTITION NEW_HOST NEW_PORT OLD_HOST OLD_PORT STATUS ERROR START_DATE END_DATE

Data type
INTEGER INTEGER NVARCHAR(256) NVARCHAR(256) NCLOB NCLOB INTEGER VARCHAR(64) INTEGER VARCHAR(64) INTEGER VARCHAR(32) VARCHAR(1024) TIMESTAMP TIMESTAMP

Unit

Description
Reorg ID Step ID Ta bl e na me Schema na me New pa rti ti on s peci fi ca ti on Ol d pa rti ti on s peci fi ca ti on Pa rti ti on ID Hos t where the ta bl e/pa rti ti on i s moved to Port where the ta bl e/pa rti ti on i s moved to Hos t where the ta bl e/pa rti ti on wa s l oca ted Port where the ta bl e/pa rti ti on wa s l oca ted Sta tus mes s a ge Error mes s a ge Sta rt da te End da te

224

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

ROLES
Short description
Shows available roles

Structure
Column name
ROLE_NAME ROLE_ID ROLE_MODE GLOBAL_IDENTITY CREATOR CREATE_TIME

Data type
NVARCHAR(256) BIGINT VARCHAR(5) NVARCHAR(256) NVARCHAR(256) TIMESTAMP

Unit

Description
Rol e na me Rol e ID Mode of the rol e: 'LOCAL' Identi ty s peci fi ed for rol e wi th ROLE_MODE GLOBAL Na me of us er who crea ted the rol e Ti me the rol e wa s crea ted

225

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

SAML_PROVIDERS
Short description
Shows available SAML provider

Structure
Column name
SAML_PROVIDER_NAME SUBJECT_NAME ISSUER_NAME

Data type
NVARCHAR(256) NVARCHAR(512) NVARCHAR(512)

Unit

Description
Provi der na me Subject of the X.509 certi fi ca te of the SAML provi der Is s uer of the X.509 certi fi ca te of the SAML provi der

226

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

SAML_USER_MAPPINGS
Short description
Shows the SAML providers known for each user

Structure
Column name
USER_NAME SAML_PROVIDER_NAME EXTERNAL_IDENTITY

Data type
NVARCHAR(256) NVARCHAR(256) NVARCHAR(256)

Unit

Description
Us er na me Provi der na me Na me of the us er known to the provi der

227

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

SCHEMAS
Short description
Shows available schemas

Structure
Column name
SCHEMA_NAME SCHEMA_OWNER HAS_PRIVILEGES

Data type
NVARCHAR(256) NVARCHAR(256) VARCHAR(5000)

Unit

Description
Schema na me Schema owner Shows i f us er i s s chema owner or ha s a ny pri vi l ege for the s chema or a ny object wi thi n the s chema : 'TRUE', 'FALSE'

228

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

SEQUENCES
Short description
Available sequences

Structure
Column name
SCHEMA_NAME SEQUENCE_NAME SEQUENCE_OID START_NUMBER MIN_VALUE MAX_VALUE INCREMENT_BY IS_CYCLED

Data type
NVARCHAR(256) NVARCHAR(256) BIGINT BIGINT BIGINT BIGINT BIGINT VARCHAR(5)

Unit

Description
Schema na me of the s equence Na me of the s equence Object ID of the s equence Sta rt number Mi ni mum va l ue of the s equence Ma xi mum va l ue of the s equence Incrementa l va l ue Speci fi es whether the s equence wi l l s ta rt wi th MIN_VALUE a fter ha vi ng rea ched MAX_VALUE i n ca s e of INCREMENT_BY grea ter tha n 0 or s ta rt wi th MAX_VALUE a fter ha vi ng rea ched MIN_VALUE i n ca s e of INCREMENT_BY l es s tha n 0: 'TRUE', 'FALSE' Res et by query s tri ng for the s equence

RESET_BY_QUERY

NCLOB

229

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

SESSION_COOKIES
Short description
Shows info about available session cookies

Structure
Column name
USER_NAME CLIENT_HOST CLIENT_PID CREATE_TIME LAST_CONNECT_TIME SESSION_END_TIME

Data type
NVARCHAR(256) NVARCHAR(64) BIGINT TIMESTAMP TIMESTAMP TIMESTAMP

Unit

Description
Na me of the us er thi s s es s i on cooki e wa s crea ted for Hos t na me of cl i ent ma chi ne Cl i ent Proces s ID The ti me the s es s i on cooki e wa s crea ted The l a s t ti me the s es s i on cooki e wa s us ed for s ucces s ful reconnecti on The ti me the ma i n connecti on ha s ended

230

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

SQLSCRIPT_TRACE
Short description
Contains the names of the local temporary tables created by the SQLScript TRACE operator

Structure
Column name
TRACE_TIMESTAMP TRANSACTION_ID STATEMENT_ID PROCEDURE_OID VARIABLE_NAME TABLE_NAME

Data type
TIMESTAMP INTEGER BIGINT BIGINT NVARCHAR(256) NVARCHAR(256)

Unit

Description
Ti mes ta mp genera ted when a TRACE i s performed Tra ns a cti on object ID Logi ca l ID of the outmos t us er s ta tement, whi ch tri ggers the procedure executi on (di rect or i ndi rect) The procedure object ID The i nterna l va ri a bl e na me us ed for the va ri a bl e to whi ch the TRACE opera tor i s a s s i gned The na me of the l oca l tempora ry ta bl e conta i ni ng the ta bl e res ul t

231

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

STATISTICS
Short description
Stores a histogram of tables. The histogram can be used by query optimizer to calculate size of an intermediate result

Structure
Column name
SCHEMA_NAME TABLE_NAME COLUMN_NAME POSITION MINVALUE MINVALUE_STR MAXVALUE MAXVALUE_STR COUNT DCOUNT NULLCOUNT

Data type
NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) SMALLINT DOUBLE NVARCHAR(256) DOUBLE NVARCHAR(256) DOUBLE DOUBLE DOUBLE

Unit

Description
Schema na me Ta bl e na me Col umn na me Ordi na l pos i ti on of the col umn i n the ta bl e Mi n va l ue of the col umn. The va l ue i s ma ni pul a ted i nto the Doubl e type va l ue Stri ng repres enta ti on of the col umn Ma x va l ue of the col umn. The va l ue i s ma ni pul a ted i nto the Doubl e type va l ue Stri ng repres enta ti on of the col umn Number of not nul l va l ue of the col umn Number of di s ti nct va l ue of the col umn Number of nul l va l ues of the col umn

232

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

STRUCTURED_PRIVILEGES
Short description
Available structured privileges

Structure
Column name
STRUCTURED_PRIVILEGE_NAME RESTRICTION_TYPE

Data type
NVARCHAR(256) NVARCHAR(256)

Unit

Description
Na me of the s tructured pri vi l ege Type of the res tri cti on: 'CUBERESTRICTION', 'ACTIVITYRESTRICTION', 'VALIDITYRESTRICTION', 'DIMENSIONRESTRICTION' Na me of the di mens i on a ttri bute Number of fi l ter to be a bl e to combi ne a l l opera tors / opera nds bel ongi ng to one fi l ter Type of fi l ter: 'STATIC', 'DYNAMIC' Opera tor wa s nega ted i n fi l ter; 'TRUE', 'FALSE' Type of opera tor: 'CONTAINS PATTERN', 'BETWEEN', 'EQUAL', 'IN', 'LESS THAN', 'LESS EQUAL', 'GREATER THAN', 'GREATER EQUAL' Sequence of opera nds per fi l ter ID Va l ue the opera tor wi l l be compa red to

DIMENSION_ATTRIBUTE FILTER_ID FILTER_TYPE NEGATED OPERATOR

NVARCHAR(256) BIGINT VARCHAR(16) VARCHAR(5) VARCHAR(16)

OPERAND_ORDER OPERAND

INTEGER NVARCHAR(513)

233

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

SYNONYMS
Short description
Available synonyms

Structure
Column name
SCHEMA_NAME SYNONYM_NAME SYNONYM_OID OBJECT_SCHEMA OBJECT_NAME OBJECT_TYPE IS_COLUMN_OBJECT IS_VALID

Data type
NVARCHAR(256) NVARCHAR(256) BIGINT NVARCHAR(256) NVARCHAR(256) VARCHAR(32) VARCHAR(5) VARCHAR(5)

Unit

Description
Schema na me of the s ynonym Na me of the s ynonym Object ID of the s ynonym Schema na me of the referenced object Na me of the referenced object Type of the referenced object Speci fi es whether thi s vi ew i s a col umn object or not: 'TRUE', 'FALSE' Speci fi es whether the s ynonym i s va l i d or not. Thi s becomes 'FALSE' when i ts ba s e object i s dropped: 'TRUE', 'FALSE'

234

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

TABLES
Short description
Available tables

Structure
Column name
SCHEMA_NAME TABLE_NAME TABLE_OID COMMENTS FIXED_PART_SIZE IS_LOGGED IS_SYSTEM_TABLE IS_COLUMN_TABLE TABLE_TYPE IS_INSERT_ONLY IS_TENANT_SHARED_DATA IS_TENANT_SHARED_METADATA SESSION_TYPE IS_TEMPORARY TEMPORARY_TABLE_TYPE IS_USER_DEFINED_TYPE HAS_PRIMARY_KEY PARTITION_SPEC USES_EXTKEY AUTO_MERGE_ON

Data type
NVARCHAR(256) NVARCHAR(256) BIGINT NVARCHAR(5000) SMALLINT VARCHAR(5) VARCHAR(5) VARCHAR(5) VARCHAR(16) VARCHAR(5) VARCHAR(5) VARCHAR(5) VARCHAR(7) VARCHAR(5) VARCHAR(8) VARCHAR(5) VARCHAR(5) NCLOB VARCHAR(5) VARCHAR(5)

Unit

Description
Schema na me Ta bl e na me Object ID of the ta bl e Ta bl e des cri pti on Fi xed pa rt s i ze of the ta bl e Speci fi es whether or not l oggi ng wa s on for the ta bl e a t l a s t res ta rt ti me: 'TRUE', 'FALSE' Speci fi es whether the ta bl e i s a s ys tem ta bl e: 'TRUE', 'FALSE' Speci fi es whether the ta bl e i s a col umn ta bl e: 'TRUE', 'FALSE' Speci fi es type of the ta bl e: 'ROW', 'COLUMN', 'HYBRID' Speci fi es whether the ta bl e i s a n 'i ns ert onl y' ta bl e: 'TRUE', 'FALSE' Speci fi es whether the ta bl e ca n be s ha red a mong other i ns ta nces : 'TRUE', 'FALSE' Speci fi es whether the ta bl e i s a gl oba l ta bl e: 'TRUE', 'FALSE' Ses s i on type: 'NONE', 'SIMPLE', 'HISTORY'. For 'HISTORY', ti me tra vel i s pos s i bl e Speci fi es whether the ta bl e i s a tempora ry ta bl e: 'TRUE', 'FALSE' Tempora ry ta bl e type 'TRUE' i f us er defi ned ta bl e type, 'FALSE' otherwi s e 'TRUE' i f the ta bl e ha s a pri ma ry key, el s e 'FALSE'. Onl y va l i d for col umn s tore ta bl es Deta i l s peci fi ca ti on of ta bl e pa rti ti oni ng. Onl y va l i d for col umn s tore ta bl es 'TRUE' i f the ta bl e us es a n externa l key, el s e 'FALSE'. Onl y va l i d for col umn s tore ta bl es 'TRUE' i f a utoma ti c del ta ta bl e merge i s a cti va ted for the ta bl e, el s e 'FALSE'. Onl y va l i d for col umn s tore ta bl es 'TRUE' i f Di mFuncti onCa che fea ture i s us ed by the ta bl e, el s e 'FALSE'. Onl y va l i d for col umn s tore ta bl es 'TRUE' i f the ta bl e i s publ i c, el s e 'FALSE'. Onl y va l i d for col umn s tore ta bl es 'TRUE' i f a utoma ti c opti mi ze compres s i on i s a cti va ted for the ta bl e, el s e 'FALSE'. Onl y va l i d for col umn s tore ta bl es 'TRUE' i f the ta bl e us es a compres s ed externa l key, el s e 'FALSE'. Onl y va l i d for col umn s tore ta bl es 'TRUE' i f the ta bl e ha s a t l ea s t one col umn of type TEXT, el s e 'FALSE'. Onl y va l i d for col umn s tore ta bl es 'TRUE' i f the ta bl e us es a queue ta bl e, el s e 'FALSE'. Onl y va l i d for col umn s tore ta bl es 'TRUE' i f the ta bl e us es prel oa di ng, el s e 'FALSE'. Onl y va l i d for col umn s tore ta bl es 'TRUE' i f the ta bl e us es pa rti a l prel oa di ng, el s e 'FALSE'. Onl y va l i d for col umn s tore ta bl es Speci fi es unl oa d pri ori ty of the ta bl e: 0 - 9. 0 mea ns not unl oa da bl e, 1 mea ns l a tes t unl oa d, a nd 9 mea ns ea rl i es t unl oa d 'TRUE' i f the ta bl e ha s s chema fl exi bi l i ty, el s e 'FALSE'. Onl y va l i d for col umn s tore ta bl es

USES_DIMFN_CACHE

VARCHAR(5)

IS_PUBLIC AUTO_OPTIMIZE_COMPRESSION_ON

VARCHAR(5) VARCHAR(5)

COMPRESSED_EXTKEY

VARCHAR(5)

HAS_TEXT_FIELDS

VARCHAR(5)

USES_QUEUE_TABLE IS_PRELOAD IS_PARTIAL_PRELOAD

VARCHAR(5) VARCHAR(5) VARCHAR(5)

UNLOAD_PRIORITY

TINYINT

HAS_SCHEMA_FLEXIBILITY

VARCHAR(5)

235

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

236

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

TABLE_COLUMNS
Short description
Available table columns

Structure
Column name
SCHEMA_NAME TABLE_NAME TABLE_OID COLUMN_NAME POSITION DATA_TYPE_ID DATA_TYPE_NAME OFFSET LENGTH

Data type
NVARCHAR(256) NVARCHAR(256) BIGINT NVARCHAR(256) INTEGER SMALLINT VARCHAR(16) SMALLINT INTEGER

Unit

Description
Schema na me Ta bl e na me Object ID of the ta bl e Na me of the col umn Ordi na l pos i ti on of the col umn i n a record SQL da ta type ID of the col umn SQL da ta type na me of the col umn Offs et of the col umn i n the record Number of cha rs for cha r types , number of ma x di gi ts for numeri c types ; number of cha rs for da teti me types , number of bytes for LOB types Numeri c types : the ma xi mum number of di gi ts to the ri ght of the deci ma l poi nt; ti me, ti mes ta mp: the deci ma l di gi ts a re defi ned a s the number of di gi ts to the ri ght of the deci ma l poi nt i n the s econd's component of the da ta Speci fi es whether the col umn i s a l l owed to a ccept nul l va l ue: 'TRUE', 'FALSE' Defa ul t va l ue of the col umn Col l a ti on us ed for thi s col umn Des cri pti on for thi s col umn Ma xi mum va l ue Mi ni mum va l ue Col umn s tore da ta type ID Col umn s tore da ta type na me DDIC da ta type ID DDIC da ta type na me Type of compres s i on: 'DEFAULT', 'PREFIXED', 'SPARSE', 'CLUSTERED', 'INDIRECT', 'RLE'. Col umns i n TABLE_COLUMNS s how the defa ul t va l ue whi ch ca n be s peci fi ed duri ng ta bl e crea ti on. They ca n a l s o be upda ted us i ng a n 'ALTER TABLE' s ta tement. Type of i ndex: 'NONE', 'FULL', 'SIGNATURE' ID of the col umn Speci fi es i f col umn i s prel oa ded: 'TRUE', 'FALSE' Speci fi es the expres s i on of the col umn crea ted by GENERATED ALWAYS AS Speci fi es i f col umn ha s s chema fl exi bi l i ty: 'TRUE', 'FALSE' Speci fi es i f col umn ha s fuzzy s ea rch i ndex: 'TRUE', 'FALSE' Speci fi es fuzzy s ea rch mode Speci fi es memory thres hol d i n bytes for LOB types

SCALE

INTEGER

IS_NULLABLE DEFAULT_VALUE COLLATION COMMENTS MAX_VALUE MIN_VALUE CS_DATA_TYPE_ID CS_DATA_TYPE_NAME DDIC_DATA_TYPE_ID DDIC_DATA_TYPE_NAME COMPRESSION_TYPE

VARCHAR(5) NVARCHAR(5000) NVARCHAR(256) NVARCHAR(5000) NVARCHAR(5000) NVARCHAR(5000) INTEGER VARCHAR(16) INTEGER VARCHAR(7) VARCHAR(9)

INDEX_TYPE COLUMN_ID PRELOAD GENERATED_ALWAYS_AS HAS_SCHEMA_FLEXIBILITY FUZZY_SEARCH_INDEX FUZZY_SEARCH_MODE MEMORY_THRESHOLD

VARCHAR(9) BIGINT VARCHAR(5) NVARCHAR(1000) VARCHAR(5) VARCHAR(5) VARCHAR(16) INTEGER

237

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

TABLE_COLUMNS_ODBC
Short description
Available table columns

Structure
Column name
SCHEMA_NAME TABLE_NAME TABLE_OID COLUMN_NAME DATA_TYPE_ID DATA_TYPE_NAME COLUMN_SIZE BUFFER_LENGTH DECIMAL_DIGITS NUM_PREC_RADIX NULLABLE COLUMN_DEF SQL_DATA_TYPE SQL_DATETIME_SUB CHAR_OCTET_LENGTH POSITION COMMENTS

Data type
NVARCHAR(256) NVARCHAR(256) BIGINT NVARCHAR(256) SMALLINT VARCHAR(16) INTEGER INTEGER INTEGER INTEGER VARCHAR(5) NVARCHAR(5000) SMALLINT SMALLINT INTEGER INTEGER NVARCHAR(5000)

Unit

Description
Schema na me Ta bl e na me Object ID of the ta bl e Na me of the col umn SQL da ta type ID of the col umn SQL da ta type na me of the col umn Tota l number of cha ra cters requi red to di s pl a y the va l ue when i t i s converted to cha ra cters Length i n bytes requi red to tra ns fer the va l ue Tota l number of s i gni fi ca nt di gi ts to the ri ght of the deci ma l poi nt For numeri c da ta types ei ther 10 or 2. Speci fi es how to i nterpret col umns COLUMN_SIZE a nd DECIMAL_DIGITS Speci fi es whether the col umn i s a l l owed to a ccept nul l va l ue: 'TRUE', 'FALSE' Defa ul t va l ue of the col umn SQL da ta type ID of the col umn Subtype code for da teti me da ta types Ma xi mum l ength i n bytes of a cha ra cter or bi na ry da ta type col umn Ordi na l pos i ti on of the col umn i n a record Des cri pti on for thi s col umn

238

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

TABLE_GROUPS
Short description
Overview of table groups relations

Structure
Column name
SCHEMA_NAME TABLE_NAME GROUP_TYPE SUBTYPE GROUP_NAME

Data type
NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) NVARCHAR(256) NVARCHAR(256)

Unit

Description
Schema na me Ta bl e na me Group type Subtype Group na me

239

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

TRANSACTION_HISTORY
Short description
Committed transactions and their users

Structure
Column name
COMMIT_TIME COMMIT_ID APP_USER

Data type
TIMESTAMP BIGINT NVARCHAR(256)

Unit

Description
Ti mes ta mp ID of the commi tted tra ns a cti on Us er tha t us ed the tra ns a cti on

240

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

TRIGGERS
Short description
Triggers defined for tables

Structure
Column name
SCHEMA_NAME TRIGGER_NAME TRIGGER_OID OWNER_NAME OWNER_OID SUBJECT_TABLE_SCHEMA SUBJECT_TABLE_NAME TRIGGER_ACTION_TIME TRIGGER_EVENT TRIGGERED_ACTION_LEVEL DEFINITION IS_VALID

Data type
NVARCHAR(256) NVARCHAR(256) BIGINT NVARCHAR(256) BIGINT NVARCHAR(256) NVARCHAR(256) VARCHAR(10) VARCHAR(7) VARCHAR(9) NCLOB VARCHAR(5)

Unit

Description
Schema na me of the tri gger Tri gger na me Object ID of the tri gger Na me of the tri gger owner Object ID of the tri gger owner Schema na me of the ta bl e, the tri gger i s defi ned for Ta bl e na me of the ta bl e, the tri gger i s defi ned for Ti me the tri gger i s executed: 'BEFORE', 'AFTER', 'INSTEAD OF' the s peci fi ed event Event, the tri gger i s defi ned for: 'INSERT', 'UPDATE', 'DELETE' Level of the event, where the tri ggered a cti on wi l l ha ppen: 'ROW', 'STATEMENT' Query s tri ng of the tri gger Speci fi es whether the tri gger i s va l i d or not. Thi s becomes 'FALSE' when i ts ba s e objects a re cha nged or dropped: 'TRUE', 'FALSE'

241

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

USERS
Short description
All users

Structure
Column name
USER_NAME USER_ID USER_MODE EXTERNAL_IDENTITY CREATOR CREATE_TIME LAST_SUCCESSFUL_CONNECT LAST_INVALID_CONNECT_ATTEMPT INVALID_CONNECT_ATTEMPTS ADMIN_GIVEN_PASSWORD

Data type
NVARCHAR(256) BIGINT VARCHAR(8) NVARCHAR(256) NVARCHAR(256) TIMESTAMP TIMESTAMP TIMESTAMP INTEGER VARCHAR(5)

Unit

Description
Na me of the us er ID of the us er Mode of the us er: 'LOCAL', 'GLOBAL', 'EXTERNAL' Externa l i denti ty of the us er Crea tor of the us er Crea ti on ti me Ti me of the l a s t s ucces s ful connect of the us er Ti me of the l a s t i nva l i d connect a ttempt Number of i nva l i d connect a ttempts s i nce l a s t s ucces s ful connect Speci fi es i f the pa s s word wa s gi ven by a dmi ni s tra tor or by the us er hi ms el f: 'TRUE', 'FALSE' Ti me of l a s t pa s s word cha nge, NULL, i f pa s s word-l i feti me wi l l not be checked for thi s us er Speci fi es i f us er i s forced to cha nge hi s pa s s word hi ms el f: 'TRUE', 'FALSE' Speci fi es i f us er i s decti va ted: 'TRUE', 'FALSE' Ti me gi ven wi th expl i ci t dea cti va ti on comma nd for thi s us er Authenti ca ti on us i ng pa s s word i s ena bl ed: 'TRUE', 'FALSE' Authenti ca ti on us i ng KERBEROS i s ena bl ed: 'TRUE', 'FALSE' Authenti ca ti on us i ng SAML i s ena bl ed: 'TRUE', 'FALSE'

PASSWORD_CHANGE_TIME

TIMESTAMP

PASSWORD_CHANGE_NEEDED USER_DEACTIVATED DEACTIVATION_TIME IS_PASSWORD_ENABLED IS_KERBEROS_ENABLED IS_SAML_ENABLED

VARCHAR(5) VARCHAR(5) TIMESTAMP VARCHAR(5) VARCHAR(5) VARCHAR(5)

242

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

USER_PARAMETERS
Short description
All parameters and their values, which have been assigned to users in the system (using CREATE USER ... SET PARAMETER or ALTER USER ... SET PARAMETER)

Structure
Column name
USER_NAME PARAMETER VALUE

Data type
NVARCHAR(256) NVARCHAR(256) NVARCHAR(256)

Unit

Description
Na me of the us er Pa ra meter na me: CLIENT Pa ra meter va l ue

243

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

VIEWS
Short description
Available views

Structure
Column name
SCHEMA_NAME VIEW_NAME VIEW_OID IS_UNICODE IS_READ_ONLY HAS_CHECK_OPTION HAS_COLUMN_ALIASES DEFINITION COMMENTS IS_COLUMN_VIEW VIEW_TYPE IS_TENANT_SHARED_METADATA IS_VALID

Data type
NVARCHAR(256) NVARCHAR(256) BIGINT VARCHAR(5) VARCHAR(5) VARCHAR(5) VARCHAR(5) NCLOB NVARCHAR(5000) VARCHAR(5) VARCHAR(16) VARCHAR(5) VARCHAR(5)

Unit

Description
Schema na me Vi ew na me Object ID of the vi ew Speci fi es whether the query s tri ng conta i ns Uni code: 'TRUE', 'FALSE' Speci fi es whether thi s vi ew i s rea d-onl y or upda ta bl e: 'TRUE', 'FALSE' Speci fi es whether thi s vi ew ha s a n upda ta bl e vi ew condi ti on: 'TRUE', 'FALSE' Speci fi es whether the vi ew ha s a col umns a l i a s : 'TRUE', 'FALSE' Vi ew defi ni ti on Vi ew des cri pti on Speci fi es whether thi s vi ew i s a col umn vi ew or not: 'TRUE', 'FALSE' Type of vi ew : 'ROW', 'OLAP', 'JOIN', 'HIERARCHY', 'CALC' Speci fi es whether the ta bl e i s a gl oba l ta bl e or not: 'TRUE', 'FALSE' Speci fi es whether the vi ew i s va l i d or not. Thi s becomes 'FALSE' when i ts ba s e objects a re cha nged or dropped: 'TRUE', 'FALSE'

244

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

VIEW_COLUMNS
Short description
Available view columns

Structure
Column name
SCHEMA_NAME VIEW_NAME VIEW_OID COLUMN_NAME POSITION DATA_TYPE_ID DATA_TYPE_NAME OFFSET LENGTH

Data type
NVARCHAR(256) NVARCHAR(256) BIGINT NVARCHAR(256) INTEGER SMALLINT VARCHAR(16) SMALLINT INTEGER

Unit

Description
Schema na me Vi ew na me Object ID of the vi ew Vi ew col umn na me Ordi na l pos i ti on of the vi ew col umn Da ta type ID Da ta type na me Offs et of the col umn i n a record Number of cha rs for cha ra cter types ; ma x number of di gi ts for numeri c types ; number of cha rs for da teti me types ; number of bytes for LOB types Numeri c types : the ma xi mum number of di gi ts to the ri ght of the deci ma l poi nt; ti me, ti mes ta mp: the deci ma l di gi ts a re defi ned a s the number of di gi ts to the ri ght of the deci ma l poi nt i n the s econd's component of the da ta Speci fi es whether the col umn i s a l l owed to a ccept nul l va l ue: 'TRUE', 'FALSE' Defa ul t va l ue Col l a ti on Des cri pti on for thi s col umn Ma xi mum va l ue Mi ni mum va l ue Col umn s tore da ta type ID Col umn s tore da ta type na me DDIC da ta type ID DDIC da ta type na me Type of compres s i on: 'DEFAULT', 'PREFIXED', 'SPARSE', 'CLUSTERED', 'INDIRECT', 'RLE' Type of i ndex: 'NONE', 'FULL', 'SIGNATURE' ID of the col umn Speci fi es i f col umn i s prel oa ded: 'TRUE', 'FALSE' Speci fi es the expres s i on of the col umn crea ted by GENERATED ALWAYS AS Speci fi es i f col umn ha s s chema fl exi bi l i ty: 'TRUE', 'FALSE' Speci fi es i f col umn ha s fuzzy s ea rch i ndex: 'TRUE', 'FALSE' Speci fi es fuzzy s ea rch mode Speci fi es memory thres hol d i n bytes for LOB types

SCALE

INTEGER

IS_NULLABLE DEFAULT_VALUE COLLATION COMMENTS MAX_VALUE MIN_VALUE CS_DATA_TYPE_ID CS_DATA_TYPE_NAME DDIC_DATA_TYPE_ID DDIC_DATA_TYPE_NAME COMPRESSION_TYPE INDEX_TYPE COLUMN_ID PRELOAD GENERATED_ALWAYS_AS HAS_SCHEMA_FLEXIBILITY FUZZY_SEARCH_INDEX FUZZY_SEARCH_MODE MEMORY_THRESHOLD

VARCHAR(5) NVARCHAR(5000) NVARCHAR(256) NVARCHAR(5000) NVARCHAR(5000) NVARCHAR(5000) INTEGER VARCHAR(16) INTEGER VARCHAR(7) VARCHAR(9) VARCHAR(9) BIGINT VARCHAR(5) NVARCHAR(1000) VARCHAR(5) VARCHAR(5) VARCHAR(16) INTEGER

245

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

Statistics Server Tables


The following tables are from the _SYS_STATISTICS schema.

246

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

GLOBAL_COLUMN_TABLES_SIZE
Short description
Information on all column tables

Structure
Column name
SNAPSHOT_ID DATA_SEQ SERVER_TIMESTAMP LAST_COMPRESSED_RECORD_COUNT MEMORY_SIZE_IN_DELTA MEMORY_SIZE_IN_HISTORY_DELTA MEMORY_SIZE_IN_HISTORY_MAIN MEMORY_SIZE_IN_MAIN MEMORY_SIZE_IN_TOTAL PART_COUNT RAW_RECORD_COUNT_IN_DELTA RAW_RECORD_COUNT_IN_HISTORY_DELTA RAW_RECORD_COUNT_IN_HISTORY_MAIN RAW_RECORD_COUNT_IN_MAIN RECORD_COUNT SCHEMA_NAME TABLE_NAME ESTIMATED_MAX_MEMORY_SIZE_IN_TOTAL TABLE_COLUMN_COUNT

Data type
TIMESTAMP INTEGER TIMESTAMP BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT NVARCHAR NVARCHAR BIGINT BIGINT

Unit

Description
ID of the s na phot Da ta s eqence ID of the s ta ti s ti cs Server ti mes ta mp The number of entri es i n ma i n duri ng l a s t compres s i on run Current memory cons umpti on i n del ta Current memory cons umpti on i n hi s torydel ta Current memory cons umpti on i n hi s toryma i n Current memory cons umpti on i n ma i n Tota l memory s i ze i s the s um of memory s i ze i n ma i n, del ta , a nd hi s tory pa rts Count of pa rti ti ons of a ta bl e Ra w record count i n del ta Ra w record count i n hi s tory-del ta Ra w record count i n ma i n Ra w record count i n hi s tory-ma i n Count of records

256 256

Schema na me Ta bl e na me Es ti ma ted ma xi mum memory cons umpti on i n tota l for ta bl e ful l y l oa ded Count of ta bl e col umns

247

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

GLOBAL_CPU_STATISTICS (Deprecated)
Short description
Global CPU usage information

Structure
Column name
SNAPSHOT_ID DATA_SEQ SERVER_TIMESTAMP TOTAL_CPU_IDLE_TIME TOTAL_CPU_IDLE_TIME_PERCENT TOTAL_CPU_SYSTEM_MODE_PERCENT TOTAL_CPU_SYSTEM_TIME TOTAL_CPU_USER_MODE_PERCENT TOTAL_CPU_USER_TIME TOTAL_CPU_WIO_MODE_PERCENT TOTAL_CPU_WIO_TIME TOTAL_INSTANCE_PROCESSES_CPU_PERCENT TOTAL_INSTANCE_PROCESSES_CPU_TIME

Data type
TIMESTAMP INTEGER TIMESTAMP BIGINT SMALLINT SMALLINT BIGINT SMALLINT BIGINT SMALLINT BIGINT SMALLINT BIGINT

Unit

Description
ID of the s na phot Da ta s eqence ID of the s ta ti s ti cs Server ti mes ta mp CPU i dl e ti me CPU i dl e ti me i n percent Percenta of CPU s pent per mode CPU ti me s pent i n kernel mode Percenta ge of CPU ti me s pent i n us er mode CPU ti me s pent i n us er mode Percenta ge of CPU ti me s pent i n wa i t IO mode (Li nux onl y, Wi ndows a l wa ys 0) CPU ti me s pent i n wa i t IO (Li nux onl y, Wi ndows a l wa ys 0) CPU us a ge of a l l proces s es i n percent CPU us a ge of a l l proces s es

248

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

GLOBAL_INTERNAL_DISKFULL_EVENTS
Short description
Global Internal disk full events

Structure
Column name
SNAPSHOT_ID DATA_SEQ SERVER_TIMESTAMP CREATE_TIME HANDLE_TIME HOST ID INFO PORT STATE TYPE

Data type
TIMESTAMP INTEGER TIMESTAMP TIMESTAMP TIMESTAMP VARCHAR BIGINT VARCHAR INTEGER VARCHAR VARCHAR

Unit

Description
ID of the s na phot Da ta s eqence ID of the s ta ti s ti cs Server ti mes ta mp Ti me event wa s crea ted Ti me event wa s ha ndl ed

64 2000 256 256

Hos t na me ID of event Addi ti ona l i nforma ti on Interna l port Sta te of event Type of event

249

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

GLOBAL_INTERNAL_EVENTS
Short description
Global internal events

Structure
Column name
SNAPSHOT_ID DATA_SEQ SERVER_TIMESTAMP CREATE_TIME HANDLE_TIME HOST ID INFO PORT STATE TYPE

Data type
TIMESTAMP INTEGER TIMESTAMP TIMESTAMP TIMESTAMP VARCHAR BIGINT VARCHAR INTEGER VARCHAR VARCHAR

Unit

Description
ID of the s na phot Da ta s eqence ID of the s ta ti s ti cs Server ti mes ta mp Ti me event wa s crea ted Ti me event wa s ha ndl ed

64 2000 256 256

Hos t na me ID of event Addi ti ona l i nforma ti on Interna l port Sta te of event Type of event

250

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

GLOBAL_MEMORY_STATISTICS (Deprecated)
Short description
Global memory usage statistics

Structure
Column name
SNAPSHOT_ID DATA_SEQ SERVER_TIMESTAMP PHYSICAL_MEMORY_USED_BY_INSTANCE_PROCESSES TOTAL_AVAILABLE_MEMORY TOTAL_MEMORY_USED_BY_ALL_PROCESSES TOTAL_MEMORY_USED_BY_INSTANCE_PROCESSES TOTAL_PHYSICAL_MEMORY

Data type
TIMESTAMP INTEGER TIMESTAMP BIGINT BIGINT BIGINT BIGINT BIGINT

Unit

Description
ID of the s na phot Da ta s eqence ID of the s ta ti s ti cs Server ti mes ta mp Phys i ca l memory s i ze us ed by i ns ta nce proces s es Phys i ca l +s wa p memory s i ze Tota l proces s l ogi ca l memory us a ge Tota l i ns ta nce proces s l ogi ca l memory us a ge Tota l phys i ca l memory s i ze

251

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

GLOBAL_PERSISTENCE_STATISTICS
Short description
Information on all available persistence

Structure
Column name
SNAPSHOT_ID DATA_SEQ SERVER_TIMESTAMP TOTAL_DISKS_SIZE TOTAL_DISKS_USED_SIZE TOTAL_VOLUMES_DATA_SIZE TOTAL_VOLUMES_LOG_SIZE

Data type
TIMESTAMP INTEGER TIMESTAMP BIGINT BIGINT BIGINT BIGINT

Unit

Description
ID of the s na phot Da ta s eqence ID of the s ta ti s ti cs Server ti mes ta mp Tota l di s k s i ze a va i l a bl e Tota l di s k s i ze us ed Tota l l og a rea s i ze Tota l da ta a rea s i ze

252

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

GLOBAL_TABLES_SIZE (Deprecated)
Short description
Global information on tables sizes

Structure
Column name
SNAPSHOT_ID DATA_SEQ SERVER_TIMESTAMP IS_COLUMN_TABLE PART_COUNT RECORD_COUNT SCHEMA_NAME TABLE_NAME TABLE_SIZE

Data type
TIMESTAMP INTEGER TIMESTAMP VARCHAR BIGINT BIGINT NVARCHAR NVARCHAR BIGINT

Unit

Description
ID of the s na phot Da ta s eqence ID of the s ta ti s ti cs Server ti mes ta mp

Speci fi es whether the ta bl e i s a col umn ta bl e: 'TRUE'/'FALSE' Count of pa rti ti ons of a ta bl e Count of records

256 256

Schema na me Ta bl e na me Ta bl e s i ze

253

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

HOST_BLOCKED_TRANSACTIONS
Short description
Information on currently blocked transactions per host

Structure
Column name
SNAPSHOT_ID SERVER_TIMESTAMP BLOCKED_TIME BLOCKED_TRANSACTION_ID BLOCKED_UPDATE_TRANSACTION_ID HOST LOCK_MODE LOCK_OWNER_TRANSACTION_ID LOCK_OWNER_UPDATE_TRANSACTION_ID LOCK_TYPE PORT WAITING_RECORD_ID WAITING_SCHEMA_NAME WAITING_TABLE_NAME

Data type
TIMESTAMP TIMESTAMP TIMESTAMP INTEGER BIGINT VARCHAR VARCHAR INTEGER BIGINT VARCHAR INTEGER VARCHAR VARCHAR VARCHAR

Unit

Description
ID of the s na phot Server ti mes ta mp Bl ocked ti mes ta mp Tra ns a cti on ID of the tra ns a cti on wa i ti ng for a l ock Tra ns a cti on ID of the bl ocked upda te tra ns a cti on

64 32

Hos t na me Lock mode: 'SHARED'/'EXCLUSIVE'/'INTENTIONAL EXCLUSIVE' Tra ns a cti on ID of the tra ns a cti on hol di ng the l ock Tra ns a cti on ID of the upda te tra ns a cti on hol di ng the l ock

32

Lock type: 'RECORD'/'TABLE'/'METADATA' Interna l port ID of the record on whi ch the l ock i s currentl y pl a ced Na me of the s chema on whi ch the l ock i s currentl y pl a ced Na me of the ta bl e on whi ch the l ock i s currentl y pl a ced

256 32 32

254

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

HOST_COLUMN_TABLES_PART_SIZE
Short description
Information on column tables partition size per host

Structure
Column name
SNAPSHOT_ID SERVER_TIMESTAMP CREATE_TIME HOST IS_DELTA_LOADED LAST_COMPRESSED_RECORD_COUNT

Data type
TIMESTAMP TIMESTAMP TIMESTAMP VARCHAR VARCHAR BIGINT

Unit

Description
ID of the s na phot Server ti mes ta mp Crea ted ti me

64 6

Hos t na me Fl a g to i ndi ca te tha t del ta pa rt of ta bl e i s l oa ded The number of entri es i n ma i n duri ng l a s t compres s i on run Poi nt i n ti me, Uni x ti me forma t, l a s t ti me the ta bl e del ta pa rt wa s merged i nto ma i n pa rt Poi nt i n ti me, Uni x ti me forma t, l a s t ti me the ta bl e l og wa s repl a yed

LAST_MERGE_TIME

TIMESTAMP

LAST_REPLAY_LOG_TIME

TIMESTAMP

LOADED MEMORY_SIZE_IN_DELTA MEMORY_SIZE_IN_HISTORY_DELTA MEMORY_SIZE_IN_HISTORY_MAIN

VARCHAR BIGINT BIGINT BIGINT

10

Fl a g to s how how ma ny col umns of ta bl e a re l oa ded i n memory (NO, PARTIALLY, a nd FULL); s ee M_CS_COLUMNS for ea ch col umn Current memory cons umpti on i n del ta Current memory cons umpti on i n hi s torydel ta ; 0 for norma l non-hi s tory ta bl es Current memory cons umpti on i n hi s toryma i n; 0 for norma l non-hi s tory ta bl es Current memory cons umpti on i n ma i n; thi s va l ue va ri es dependi ng on the number of a ttri butes a ctua l l y l oa ded Tota l memory s i ze i s the s um of memory s i ze i n ma i n, del ta , a nd hi s tory pa rts Modi fi ed ti me Pa rti ti on ID. 0 for non-pa rti ti oned ta bl es a nd 1 through number of pa rti ti ons for pa rti ti oned ta bl es Interna l port Current number of entri es i n ta bl e del ta pa rt, thi s va l ue di ffers from number of vi s i bl e ta bl e del ta rows beca us e there a re a ddi ti ona l entri es s uch a s del eted rows or upda ted rows ; ca n conta i n del eted records Ra w record count i n hi s tory-del ta Ra w record count i n hi s tory-ma i n Current number of entri es i n ta bl e ma i n pa rt, thi s va l ue di ffers from number of vi s i bl e ta bl e ma i n rows beca us e there a re entri es of modi fi ed rows ma rked a s i nva l i da ted Record count

MEMORY_SIZE_IN_MAIN

BIGINT

MEMORY_SIZE_IN_TOTAL MODIFY_TIME PART_ID PORT

BIGINT TIMESTAMP INTEGER INTEGER

RAW_RECORD_COUNT_IN_DELTA

BIGINT

RAW_RECORD_COUNT_IN_HISTORY_DELTA RAW_RECORD_COUNT_IN_HISTORY_MAIN

BIGINT BIGINT

RAW_RECORD_COUNT_IN_MAIN

BIGINT

RECORD_COUNT SCHEMA_NAME TABLE_NAME ESTIMATED_MAX_MEMORY_SIZE_IN_TOTAL

BIGINT NVARCHAR NVARCHAR BIGINT 256 256

Schema na me Ta bl e na me Es ti ma ted ma xi mum memory cons umpti on i n tota l for ta bl e ful l y l oa ded

255

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

HOST_DATA_VOLUME_PAGE_STATISTICS
Short description
Data volume page information per host

Structure
Column name
SNAPSHOT_ID SERVER_TIMESTAMP FILE_NAME FILL_RATIO HOST INITIAL_BLOCK_COUNT PAGE_SIZE PAGE_SIZE_CLASS PORT SHADOW_BLOCK_COUNT SUPERBLOCK_COUNT SUPERBLOCK_SIZE TOTAL_ALLOCATE_BLOCK_COUNT TOTAL_SET_BLOCK_FREE_AFTER_SAVEPOINT_COUNT TOTAL_SET_BLOCK_FREE_COUNT USED_BLOCK_COUNT VOLUME_ID

Data type
TIMESTAMP TIMESTAMP VARCHAR DOUBLE VARCHAR BIGINT INTEGER VARCHAR INTEGER BIGINT BIGINT INTEGER BIGINT BIGINT BIGINT BIGINT INTEGER

Unit

Description
ID of the s na phot Server ti mes ta mp

256 15 64

Fi l e Na me Fi l l ra ti o Hos t na me Count of i ni t pa ges Pa ge s i ze

32

Pa ge s i ze cl a s s Interna l port Count of s ha dow bl ocks Number of us ed Superbl ocks Superbl ock s i ze Number of s i ngl e a nd group a l l oca ted bl ocks Number of s i ngl e a nd group freeda fter-s a vepoi nt bl ocks Number of s i ngl e a nd group freed bl ocks Count of us ed bl ocks Pers i s tence Vol ume ID

256

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

HOST_DATA_VOLUME_SUPERBLOCK_STATISTICS
Short description
Data volume superblock information per host

Structure
Column name
SNAPSHOT_ID SERVER_TIMESTAMP DATA_VOLUME_NAME FILL_RATIO HOST PORT SUPERBLOCK_COUNT SUPERBLOCK_SIZE USED_SUPERBLOCK_COUNT VOLUME_ID

Data type
TIMESTAMP TIMESTAMP VARCHAR DOUBLE VARCHAR INTEGER BIGINT BIGINT BIGINT INTEGER

Unit

Description
ID of the s na phot Server ti mes ta mp

256 15 64

Da ta Vol ume na me Fi l l ra ti o Hos t na me Interna l port Count of Superbl ocks Superbl ock s i ze Count of us ed Superbl ocks Pers i s tence Vol ume ID

257

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

HOST_DELTA_MERGE_STATISTICS
Short description
Table delta merge statistics per host

Structure
Column name
SNAPSHOT_ID SERVER_TIMESTAMP EXECUTION_TIME HOST MEMORY_MERGE MERGED_DELTA_RECORDS MOTIVATION PART_ID PASSPORT PORT SCHEMA_NAME START_TIME

Data type
TIMESTAMP TIMESTAMP BIGINT VARCHAR VARCHAR INTEGER VARCHAR INTEGER VARCHAR INTEGER VARCHAR TIMESTAMP

Unit

Description
ID of the s na phot Server ti mes ta mp Executi on dura ti on

64 6 8

Hos t na me Fl a g to i ndi ca te ta bl e wa s merged i n memory onl y Number of documents i n del ta HARD, SMART, AUTO, FORCE Pa rti ti on number (0 for non-pa rti ti oned ta bl es a nd 1 through number of pa rti ti ons for pa rti ti oned ta bl es

256 256

Externa l i denti fi er for ta bl e merge ca l l ed by a n a ppl i ca ti on Interna l port Schema na me Executi on s ta rt ti me Ca l l s ucces s fl a g; depends on fi el d TYPE; HINT: a ppl i ca ti on merge hi nt wa s a ccepted/rejected; MERGE/SPARSE: del ta merge/opti mi ze compres s i on wa s compl eted wi th or wi thout s ucces s Ta bl e na me MERGE (ta bl e del ta merge), HINT (a ppl i ca ti on merge hi nt), SPARSE (opti mi ze compres s i on)

SUCCESS

VARCHAR

TABLE_NAME TYPE

VARCHAR VARCHAR

256 7

258

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

HOST_HEAP_ALLOCATORS
Short description
Memory allocator statistics per host

Structure
Column name
SNAPSHOT_ID SERVER_TIMESTAMP CATEGORY DEPTH EXCLUSIVE_ALLOC_ERRORS EXCLUSIVE_ALLOCATED_COUNT EXCLUSIVE_ALLOCATED_SIZE EXCLUSIVE_COUNT_IN_USE EXCLUSIVE_DEALLOCATED_COUNT EXCLUSIVE_DEALLOCATED_SIZE EXCLUSIVE_MAX_SINGLE_ALLOCATION_SIZE EXCLUSIVE_PEAK_ALLOCATION_SIZE EXCLUSIVE_SIZE_IN_USE FLAGS HOST INCLUSIVE_ALLOCATED_COUNT INCLUSIVE_ALLOCATED_SIZE INCLUSIVE_COUNT_IN_USE INCLUSIVE_DEALLOCATED_COUNT INCLUSIVE_DEALLOCATED_SIZE INCLUSIVE_MAX_SINGLE_ALLOCATION_SIZE INCLUSIVE_PEAK_ALLOCATION_SIZE INCLUSIVE_SIZE_IN_USE MALLOC_PROXY_CACHE_MISSES PORT STATISTICS_ID VOLUME_ID

Data type
TIMESTAMP TIMESTAMP VARCHAR BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT VARCHAR VARCHAR BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT INTEGER BIGINT INTEGER

Unit

Description
ID of the s na phot Server ti mes ta mp

128

Al l oca tor na me Depth Count of a l l oca ti on errors Count of a l l oca ti ons Tota l a l l oca ted s i ze i n thi s a l l oca tor Number of bl ocks currentl y i n us e Count of dea l l oca ti ons Tota l dea l l oca ted s i ze i n thi s a l l oca tor Ma xi mum ever a l l oca ted bl ock s i ze i n thi s a l l oca tor Ma xi mum s i ze of thi s a l l oca tor (es ti ma te) Current s i ze of thi s a l l oca tor

64 64

Al l oca tor fl a gs Hos t na me Count of a l l oca ti ons , i ncl udi ng s uba l l oca tors Tota l a l l oca ted s i ze i n thi s a l l oca tor a nd s uba l l oca tors Number of bl ocks currentl y i n us e, i ncl udi ng s uba l l oca tors Count of dea l l oca ti ons , i ncl udi ng s uba l l oca tors Tota l dea l l oca ted s i ze i n thi s a l l oca tor a nd s uba l l oca tors Ma xi mum ever a l l oca ted bl ock s i ze i n thi s a l l oca tor a nd s uba l l oca tors Ma xi mum s i ze of thi s a l l oca tor a nd s uba l l oca tors (es ti ma te) Current s i ze of thi s a l l oca tor, i ncl udi ng s uba l l oca tors Count of ma l l oc proxy ca che mi s s es Interna l port Sta ti s ti cs object uni que ID Pers i s tence Vol ume ID

259

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

HOST_LONG_RUNNING_STATEMENTS
Short description
Information on long running system operations per host

Structure
Column name
SNAPSHOT_ID SERVER_TIMESTAMP APPLICATION_USER_NAME AUTO_COMMIT CLIENT_HOST CLIENT_IP CLIENT_PID CONNECTION_ID CONNECTION_START_TIME DURATION HOST PORT THREAD_ID TRANSACTION_ID USER_NAME

Data type
TIMESTAMP TIMESTAMP NVARCHAR VARCHAR VARCHAR VARCHAR BIGINT INTEGER TIMESTAMP BIGINT VARCHAR INTEGER BIGINT INTEGER NVARCHAR

Unit

Description
ID of the s na phot Server ti mes ta mp

256 6 64 16

Appl i ca ti on us er Commi t mode of the current tra ns a cti on: TRUE i f the current connecti on i s i n a uto-commi t mode, FALSE otherwi s e Hos t na me of cl i ent ma chi ne IP of cl i ent ma chi ne Cl i ent Proces s ID Connecti on ID Connecti on s ta rt ti mes ta mp Connecti no dura ti on

64

Hos t na me Interna l port Threa d ID Tra ns a cti on ID

256

Na me of us er who tri ggered the s ta tement

260

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

HOST_MEMORY_STATISTICS
Short description
Memory usage per host

Structure
Column name
SNAPSHOT_ID SERVER_TIMESTAMP CHECK_HOST HOST_AVAILABLE_MEMORY HOST_PHYSICAL_MEMORY HOST_TOTAL_USED_MEMORY INSTANCE_PROCESSES_MEMORY INSTANCE_PROCESSES_PHYSICAL_MEMORY

Data type
TIMESTAMP TIMESTAMP VARCHAR BIGINT BIGINT BIGINT BIGINT BIGINT

Unit

Description
ID of the s na phot Server ti mes ta mp

64

Hos t to be checked Hos t phys i ca l +s wa p memory s i ze Hos t phys i ca l memory s i ze Hos t phys i ca l +s wa p memory us a ge Proces s l ogi ca l memory us a ge Proces s phys i ca l memory us a ge

261

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

HOST_ONE_DAY_FILE_COUNT
Short description
Information on trace files accumulated per host

Structure
Column name
SNAPSHOT_ID SERVER_TIMESTAMP FILE_TYPE HOST NUM_FILES SUM_SIZE

Data type
TIMESTAMP TIMESTAMP VARCHAR VARCHAR BIGINT BIGINT

Unit

Description
ID of the s na phot Server ti mes ta mp

128 64

Fi l e type Hos t na me Number of tra ce fi l es Tota l s i ze of tra ce fi l es

262

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

HOST_RESOURCE_UTILIZATION_STATISTICS
Short description
Host resource utilization

Structure
Column name
SNAPSHOT_ID SERVER_TIMESTAMP FREE_PHYSICAL_MEMORY FREE_SWAP_SPACE HOST TOTAL_CPU_IDLE_TIME TOTAL_CPU_SYSTEM_TIME TOTAL_CPU_USER_TIME TOTAL_CPU_WIO_TIME USED_PHYSICAL_MEMORY USED_SWAP_SPACE

Data type
TIMESTAMP TIMESTAMP BIGINT BIGINT VARCHAR BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Unit

Description
ID of the s na phot Server ti mes ta mp Free phys i ca l memory on the hos t Free s wa p memory on the hos t

64

Hos t na me CPU i dl e ti me CPU ti me s pent i n kernel mode CPU ti me s pent i n us er mode CPU ti me s pent i n wa i t IO (Li nux onl y, Wi ndows a l wa ys 0) Us ed phys i ca l memory on the hos t Us ed s wa p memory on the hos t

263

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

HOST_SERVICE_MEMORY
Short description
Service memory usage per host

Structure
SNAPSHOT_ID
SERVER_TIMESTAMP CODE_SIZE COMPACTORS_ALLOCATED_SIZE COMPACTORS_FREEABLE_SIZE HEAP_MEMORY_ALLOCATED_SIZE HEAP_MEMORY_USED_SIZE HOST LOGICAL_MEMORY_SIZE PHYSICAL_MEMORY_SIZE PORT PROCESS_ID SERVICE_NAME SHARED_MEMORY_ALLOCATED_SIZE SHARED_MEMORY_USED_SIZE STACK_SIZE

TIMESTAMP
TIMESTAMP BIGINT BIGINT BIGINT BIGINT BIGINT VARCHAR BIGINT BIGINT INTEGER BIGINT VARCHAR BIGINT BIGINT BIGINT 256 64

ID of the snaphot
Server ti mes ta mp Proces s code s i ze Tota l memory a l l oca ted by compa ctors Memory whi ch ca n be freed on dema nd Proces s hea p memory a l l oca ted s i ze Proces s hea p memory us ed Hos t na me Proces s vi rtua l memory s i ze Proces s phys i ca l memory s i ze Interna l port Proces s ID Servi ce na me Proces s s ha red memory a l l oca ted (row s tore onl y) Proces s s ha red memory us ed (row s tore onl y) Proces s s ta ck s i ze

264

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

HOST_SERVICE_STATISTICS
Short description
Memory utilization by services per host

Structure
Column name
SNAPSHOT_ID SERVER_TIMESTAMP ACTIVE_REQUEST_COUNT ACTIVE_STATUS ACTIVE_THREAD_COUNT ALL_FINISHED_REQUEST_COUNT AVAILABLE_MEMORY DETAIL FINISHED_NON_INTERNAL_REQUEST_COUNT HOST OPEN_FILE_COUNT PENDING_REQUEST_COUNT PHYSICAL_MEMORY PORT PROCESS_CPU_TIME PROCESS_ID PROCESS_MEMORY PROCESS_PHYSICAL_MEMORY REQUESTS_PER_SEC RESPONSE_TIME SERVICE_NAME START_TIME THREAD_COUNT TOTAL_MEMORY

Data type
TIMESTAMP TIMESTAMP INTEGER VARCHAR INTEGER BIGINT BIGINT VARCHAR BIGINT VARCHAR INTEGER INTEGER BIGINT INTEGER BIGINT BIGINT BIGINT BIGINT DOUBLE INTEGER VARCHAR TIMESTANP INTEGER BIGINT

Unit

Description
ID of the s na phot Server ti mes ta mp Number of a cti ve reques ts

128

NO, YES, UNKNOWN, STARTING, STOPPING Number of a cti ve threa ds Fi ni s hed reques ts i ncl udi ng i nterna l reques ts Hos t phys i ca l +s wa p memory s i ze Deta i l i nforma ti on, s i mi l a r to COORDINATOR_TYPE i n M_SERVICES Fi ni s hed reques ts Hos t na me Number of open fi l es Number of pendi ng reques ts Hos t phys i ca l memory s i ze Interna l port CPU us a ge of current proces s s i nce s ta rt Proces s ID Proces s l ogi ca l memory us a ge Proces s phys i ca l memory us a ge Reques ts per s econd. Avera ge over l a s t 1000 reques ts Reques t res pons e ti me. Avera ge over l a s t 1000 reques ts

128

64

15

256

Servi ce na me Proces s s ta rt ti me Number of tota l threa ds CPU us a ge of a l l threa ds

265

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

HOST_TABLE_VIRTUAL_FILES
Short description
Virtual files that belong to a table per host

Structure
Column name
SNAPSHOT_ID SERVER_TIMESTAMP CONTAINER_ID HOST NAME NAMESPACE PAGE_COUNT PART_ID PHYSICAL_SIZE PORT SCHEMA_NAME TABLE_NAME

Data type
TIMESTAMP TIMESTAMP BIGINT VARCHAR VARCHAR VARCHAR BIGINT INTEGER BIGINT INTEGER VARCHAR VARCHAR

Unit

Description
ID of the s na phot Server ti mes ta mp Conta i ner ID

64 512 512

Hos t na me Fi l e na me Fi l e pa th Unus ed Pa rt ID of s pl i t ta bl e Fi l e s i ze Interna l port

256 256

Schema na me Ta bl e na me

266

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

HOST_VIRTUAL_FILES
Short description
Information on virtual files per host

Structure
Column name
SNAPSHOT_ID SERVER_TIMESTAMP BYTES_APPENDED BYTES_READ BYTES_WRITTEN BYTESTREAM_WRITTEN CONTAINER_ID HOST PAGE_COUNT PHYSICAL_SIZE PORT SUM_APPEND SUM_COPY SUM_READ SUM_TRUNCATE SUM_WRITE SUM_WRITEOPTIMIZED VOLUME_ID

Data type
TIMESTAMP TIMESTAMP BIGINT BIGINT BIGINT BIGINT BIGINT VARCHAR BIGINT BIGINT INTEGER INTEGER INTEGER INTEGER INTEGER INTEGER INTEGER INTEGER

Unit

Description
ID of the s na phot Server ti mes ta mp Tota l bytes a ppended to vi rtua l fi l es . Tota l bytes rea d from vi rtua l fi l es . Tota l bytes wri tten to vi rtua l fi l es . Tota l bytes wri tten by byte s trea m. Conta i ner ID

64

Hos t na me Number of pa ges Phys i ca l s i ze Interna l port Sum of a ppends Sum of copi es Sum of rea ds Sum of trunca tes Sum of wri tes Sum of opti mi zed wri tes Pers i s tence Vol ume ID

267

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

HOST_VOLUME_FILES
Short description
Information about volume files per host

Structure
Column name
SNAPSHOT_ID SERVER_TIMESTAMP FILE_NAME FILE_TYPE HOST PORT TOTAL_SIZE USED_SIZE VOLUME_ID

Data type
TIMESTAMP TIMESTAMP VARCHAR VARCHAR VARCHAR INTEGER BIGINT BIGINT INTEGER

Unit

Description
ID of the s na phot Server ti mes ta mp

256 128 64

Fi l e na me Type of fi l e (DATA, LOG, TRACER, ...) Hos t na me Interna l port Tota l fi l e s i ze Si ze of us ed da ta wi thi n fi l e Vol ume ID

268

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

HOST_VOLUME_IO_PERFORMANCE_STATISTICS
Short description
File performance statistics per host

Structure

269

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

Column name
SNAPSHOT_ID SERVER_TIMESTAMP AVG_READ_ENQUEUE_TIME AVG_READ_SIZE AVG_READ_SYNC_TIME AVG_READ_TIME AVG_WRITE_ENQUEUE_TIME AVG_WRITE_SIZE AVG_WRITE_SYNC_TIME AVG_WRITE_TIME DELAYED_READ_REQUESTS DELAYED_WRITE_REQUESTS DEQUEUED_DELAYED_REQUESTS FULL_RETRY_READS FULL_RETRY_WRITES HOST ITEMS_IN_DELAY_QUEUE LAST_READ_ENQUEUE_TIME LAST_READ_SIZE LAST_READ_SYNC_TIME LAST_READ_TIME LAST_WRITE_ENQUEUE_TIME LAST_WRITE_SIZE LAST_WRITE_SYNC_TIME LAST_WRITE_TIME MAX_IO_BUFFER MAX_ITEMS_IN_DELAY_QUEUE MAX_READ_ENQUEUE_TIME MAX_READ_SIZE MAX_READ_SYNC_TIME MAX_READ_TIME MAX_WRITE_ENQUEUE_TIME MAX_WRITE_SIZE MAX_WRITE_SYNC_TIME MAX_WRITE_TIME MIN_READ_ENQUEUE_TIME MIN_READ_SIZE MIN_READ_SYNC_TIME MIN_READ_TIME MIN_WRITE_ENQUEUE_TIME MIN_WRITE_SIZE MIN_WRITE_SYNC_TIME MIN_WRITE_TIME PATH PORT READ_COMPLETIONS READ_REQUESTS READ_SYNC RESUBMITTED_DELAYED_REQUESTS RESUBMITTED_DELAYED_REQUESTS_DELAYED_AGAIN SHORT_READS SHORT_WRITES

Data type
TIMESTAMP TIMESTAMP BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT VARCHAR BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT VARCHAR INTEGER BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT

Unit

Description
ID of the s na phot Server ti mes ta mp Ti me for enqueui ng rea d I/O events (a vg) Si ze of rea d da ta (a vg) Ti me for s ynchronous rea ds (a vg) Ti me for rea d events (a vg) Ti me for enqueui ng wri te I/O events (a vg) Si ze of wri tten da ta (a vg) Ti me for s ynchronous wri tes (a vg) Ti me for wri te events (a vg) Count of del a yed rea d reques ts Count of del a yed wri te reques ts Count of dequeued del a yed reques ts Count of ful l retry rea ds Count of ful l retry wri tes

64

Hos t na me Count of i tems i n del a y queue Ti me for enqueui ng rea d I/O events (l a s t) Si ze of rea d da ta (l a s t) Ti me for s ynchronous rea ds (l a s t) Ti me for rea d events (l a s t) Ti me for enqueui ng wri te I/O events (l a s t) Si ze of wri tten da ta (l a s t) Ti me for s ynchronous wri tes (l a s t) Ti me for wri te events (l a s t) Ma x. I/O buffer s i ze Ma xi mum s i ze of del a y queue Ti me for enqueui ng rea d I/O events (ma x) Si ze of rea d da ta (ma x) Ti me for s ynchronous rea ds (ma x) Ti me for rea d events (ma x) Ti me for enqueui ng wri te I/O events (ma x) Si ze of wri tten da ta (ma x) Ti me for s ynchronous wri tes (ma x) Ti me for wri te events (ma x) Ti me for enqueui ng rea d I/O events (mi n) Si ze of rea d da ta (mi n) Ti me for s ynchronous rea ds (mi n) Ti me for rea d events (mi n) Ti me for enqueui ng wri te I/O events (mi n) Si ze of wri tten da ta (mi n) Ti me for s ynchronous wri tes (mi n) Ti me for wri te events (mi n)

256

Fi l es ys tem pa th Interna l port Count of rea d compl eti ons Count of rea d reques ts Count of s ynchronous rea ds Count of res ubmi tted del a yed reques ts Count of res ubmi tted del a yed reques ts del a yed Count of s hort rea ds Count of s hort wri tes

270

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

SUM_READ_ENQUEUE_TIME SUM_READ_SIZE SUM_READ_SYNC_TIME SUM_READ_TIME SUM_WRITE_ENQUEUE_TIME SUM_WRITE_SIZE SUM_WRITE_SYNC_TIME SUM_WRITE_TIME TYPE VOLUME_ID WRITE_COMPLETIONS WRITE_REQUESTS WRITE_SYNC

BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT VARCHAR INTEGER BIGINT BIGINT BIGINT 16

Ti me for enqueui ng rea d I/O events (tota l ) Si ze of rea d da ta (tota l ) Ti me for s ynchronous rea ds (tota l ) Ti me for rea d events (tota l ) Ti me for enqueui ng wri te I/O events (tota l ) Si ze of wri tten da ta (tota l ) Ti me for s ynchronous wri tes (tota l ) Ti me for wri te events (tota l ) Type of conta i ned fi l es Pers i s tence Vol ume ID Count of wri te compl eti ons Count of wri te reques ts Count of s ynchronous wri tes

271

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

HOST_VOLUME_IO_STATISTICS
Short description
File access statistics per host

Structure
Column name
SNAPSHOT_ID SERVER_TIMESTAMP CLOSE_CALL_COUNT ENQUEUED_WRITE_REQUESTS EOF_READS EXISTS_CALL_COUNT HOST OPEN_CALL_COUNT PATH PORT REMOVE_CALL_COUNT RESIZE_CALL_COUNT SYNC_CALL_COUNT TOTAL_FULL_RETRY_READS TOTAL_FULL_RETRY_WRITES TOTAL_IO_TIME TOTAL_READ_SIZE TOTAL_SHORT_READS TOTAL_SHORT_WRITES TOTAL_WRITE_SIZE TYPE VOLUME_ID

Data type
TIMESTAMP TIMESTAMP BIGINT BIGINT BIGINT BIGINT VARCHAR BIGINT VARCHAR INTEGER BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT BIGINT VARCHAR INTEGER

Unit

Description
ID of the s na phot Server ti mes ta mp Count of cl os e ca l l s Count of enqueued wri te reques ts Count of EOF rea ds Count of exi s ts ca l l s

64 256

Hos t na me Count of open ca l l s Fi l es ys tem pa th Interna l port Count of remove ca l l s Count of res i ze ca l l s Count of s ync ca l l s Count of ful l retry rea ds Count of ful l retry wri tes Tota l I/O ti me Si ze of rea d da ta Count of s hort rea ds Count of s hort wri tes Si ze of wri tten da ta

16

Type of conta i ned fi l es Pers i s tence Vol ume ID

272

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

STATISTICS_ALERTS
Short description
Information on alerts and their status

Structure
Column name
SNAPSHOT_ID HOST SQL_PORT ALERT_ID ALERT_SEQ ALERT_TIMESTAMP ALERT_RATING ALERT_DETAILS EMAIL_STATE PROCESS_STATE PROCESS_TIME PROCESS_AGENT

Data type
TIMESTAMP VARCHAR INTEGER INTEGER INTEGER TIMESTAMP TINYINT NVARCHAR TINYINT TINYINT TIMESTAMP NVARCHAR

Unit

Description
ID of the s na phot

64

Hos t na me SQL port Al ert ID Al ert Sequence Ti mes ta mp of a l ert

3 1024 3 3 256

Al ert ra ti ng (1-5) Informa ti on on the a l ert Ema i l s ent or not; va l ues 1 or 0 Sta te of the proces s Ti mes ta mp of the proces s Us er owi ng the proces s

273

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

STATISTICS_ALERT_INFORMATION
Short description
Information on alerts, possible resolutions and polling intervals

Structure
Column name
ALERT_ID ALERT_NAME ALERT_DESCRIPTION ALERT_USERACTION INTERVAL

Data type
INTEGER NVARCHAR NVARCHAR NVARCHAR NVARCHAR

Unit

Description
Al ert ID

64 1024 1024 128

Na me of the Al ert Des cri pti on of the a l ert Hi nt to us er on a cti ons to ta ke i n res pons e to the a l ert Interva l between pol l i ng

274

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

STATISTICS_ALERT_LAST_CHECK_INFORMATION
Short description
Information from the last alert poll

Structure
Column name
SNAPSHOT_ID HOST SQL_PORT ALERT_ID ALERT_SEQ ALERT_LAST_CHECK_TIMESTAMP ALERT_LAST_CHECK_RATING ALERT_LAST_CHECK_EMAIL

Data type
TIMESTAMP VARCHAR INTEGER INTEGER INTEGER TIMESTAMP TINYINT TINYINT

Unit

Description
ID of the s na phot

64

Hos t na me SQL port Al ert ID Al ert Sequence Ti mes ta mp of l a s t a l ert check

3 3

Ra ti ng of l a s t a l ert check Ema i l s ent on l a s t a l ert check

275

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

STATISTICS_INTERVAL_INFORMATION
Short description
Information on polling interval durations and last start times

Structure
Column name
NAME DURATION START_TIME

Data type
NVARCHAR INTEGER TIMESTAMP

Unit
128

Description
Na me of i nterva l Dura ti on of i nterna l i n s econds Sta rt ti me of i nterva l

276

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

STATISTICS_LASTVALUES
Short description
Information on the last recorded status per process

Structure
Column name
HOST PORT NAME INDEX REACHED_AT VALUE

Data type
VARCHAR INTEGER NVARCHAR NVARCHAR TIMESTAMP NVARCHAR

Unit
64 128 128

Description
Hos t na me Interna l port Proces s na me Ti mes ta mp of l a s t va l ue

1024

277

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

STATISTICS_STATE
Short description
Information on current state of statistics process

Structure
Column name
STATE REACHED_AT

Data type
NVARCHAR TIMESTAMP

Unit
64

Description
Sta te of the proces s (Sta rti ng, Stoppi ng, Runni ng, Stopped) Ti me the s ta te wa s rea ched

278

2012-12-19

SAP HANA System Tables and Monitoring Views Reference

STATISTICS_VERSION
Short description
Information on version of the statistics

Structure
Column name
VERSION SINCE

Data type
TINYINT TIMESTAMP

Unit
3

Description
Sta ti s ti cs vers i on Acti ve s i nce, ti mes ta mp

279

2012-12-19