You are on page 1of 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

1 2012-12-19
Copyright © Copyright 2012 SAP AG. All rights reserved

SAP Library document classification: PUBLIC

No part of this publication may be reproduced or transmitted in any form or 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,

2 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.

3 2012-12-19
Table of Content

Table of Content
Table of Content 4
SAP HANA System Tables and Monitoring Views Reference 9
About thi s Document 9
SAP HANA Gui des 9
AUDIT_POLICIES 10
AUTHORIZATION_GRAPH 11
CONSTRAINTS 12
CS_BO_VIEWS 13
CS_FREESTYLE_COLUMNS 14
CS_JOIN_CONDITIONS 15
CS_JOIN_CONSTRAINTS 16
CS_JOIN_PATHS 17
CS_JOIN_TABLES 18
CS_KEY_FIGURES 19
CS_VIEW_COLUMNS 20
DATA_TYPES 21
EFFECTIVE_PRIVILEGES 22
EFFECTIVE_ROLES 23
EXPLAIN_PLAN_TABLE 24
FULLTEXT_INDEXES 25
FUNCTIONS 26
FUNCTION_PARAMETERS 27
GRANTED_PRIVILEGES 28
GRANTED_ROLES 29
INDEXES 30
INDEX_COLUMNS 31
INVALID_CONNECT_ATTEMPTS 32
M_ATTACHED_STORAGES 33
M_BACKUP_CATALOG 34
M_BACKUP_CATALOG_FILES 35
M_BACKUP_CONFIGURATION 36
M_BLOCKED_TRANSACTIONS 37
M_CACHES 38
M_CACHES_RESET 39
M_CACHE_ENTRIES 40
M_CATALOG_MEMORY 41
M_CE_CALCSCENARIOS 42
M_CE_CALCVIEW_DEPENDENCIES 43
M_CE_DEBUG_INFOS 44
M_CE_DEBUG_JSONS 45
M_CE_DEBUG_NODE_MAPPING 46
M_CE_PLE_CALCSCENARIOS 47
M_CLIENT_VERSIONS 48
M_COMPACTION_THREAD 49
M_CONDITIONAL_VARIABLES 51
M_CONDITIONAL_VARIABLES_RESET 52
M_CONFIGURATION 53
M_CONNECTIONS 54
M_CONNECTION_STATISTICS 56

4 2012-12-19
Table of Content

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

5 2012-12-19
Table of Content

M_LOG_BUFFERS 118
M_LOG_BUFFERS_RESET 119
M_LOG_PARTITIONS 120
M_LOG_PARTITIONS_RESET 122
M_LOG_SEGMENTS 123
M_LOG_SEGMENTS_RESET 124
M_MEMORY_OBJECTS 125
M_MEMORY_OBJECTS_RESET 126
M_MEMORY_OBJECT_DISPOSITIONS 127
M_MERGED_TRACES 128
M_MONITORS 129
M_MONITOR_COLUMNS 130
M_MUTEXES 131
M_MUTEXES_RESET 132
M_MVCC_TABLES 133
M_OBJECT_LOCKS 134
M_OBJECT_LOCK_STATISTICS 135
M_OBJECT_LOCK_STATISTICS_RESET 136
M_PAGEACCESS_STATISTICS 137
M_PAGEACCESS_STATISTICS_RESET 138
M_PASSWORD_POLICY 139
M_PERFTRACE 140
M_PERSISTENCE_ENCRYPTION_KEYS 141
M_PERSISTENCE_ENCRYPTION_STATUS 142
M_PERSISTENCE_MANAGERS 143
M_PERSISTENCE_MANAGERS_RESET 144
M_PREPARED_STATEMENTS 145
M_READWRITELOCKS 146
M_READWRITELOCKS_RESET 148
M_RECORD_LOCKS 149
M_REORG_ALGORITHMS 150
M_REPO_TRANSPORT_FILES 151
M_RS_INDEXES 152
M_RS_TABLES 153
M_RS_TABLE_VERSION_STATISTICS 154
M_SAVEPOINTS 156
M_SAVEPOINT_STATISTICS 158
M_SAVEPOINT_STATISTICS_RESET 160
M_SEMAPHORES 161
M_SEMAPHORES_RESET 162
M_SERVICES 163
M_SERVICE_COMPONENT_MEMORY 164
M_SERVICE_MEMORY 165
M_SERVICE_NETWORK_IO 166
M_SERVICE_REPLICATION 167
M_SERVICE_STATISTICS 168
M_SERVICE_THREADS 169
M_SERVICE_THREAD_CALLSTACKS 170
M_SERVICE_TRACES 171
M_SERVICE_TYPES 172
M_SESSION_CONTEXT 173
M_SHARED_MEMORY 174

6 2012-12-19
Table of Content

M_SNAPSHOTS 175
M_SQL_PLAN_CACHE 176
M_SQL_PLAN_CACHE_OVERVIEW 179
M_SQL_PLAN_CACHE_RESET 180
M_SYSTEM_INFORMATION_STATEMENTS 181
M_SYSTEM_LIMITS 182
M_SYSTEM_OVERVIEW 183
M_TABLES 184
M_TABLE_LOB_FILES 185
M_TABLE_LOCATIONS 186
M_TABLE_PERSISTENCE_LOCATIONS 187
M_TABLE_PERSISTENCE_STATISTICS 188
M_TABLE_VIRTUAL_FILES 189
M_TEMPORARY_TABLES 190
M_TEMPORARY_TABLE_COLUMNS 191
M_TEMPORARY_VIEWS 192
M_TEMPORARY_VIEW_COLUMNS 193
M_TENANTS 194
M_TEXT_ANALYSIS_LANGUAGES 195
M_TEXT_ANALYSIS_MIME_TYPES 196
M_TOPOLOGY_TREE 197
M_TRACEFILES 198
M_TRACEFILE_CONTENTS 199
M_TRANSACTIONS 200
M_UNDO_CLEANUP_FILES 201
M_VERSION_MEMORY 202
M_VOLUMES 203
M_VOLUME_FILES 204
M_VOLUME_IO_STATISTICS 205
M_VOLUME_IO_STATISTICS_RESET 207
M_VOLUME_SIZES 208
M_WORKLOAD 209
M_XS_APPLICATIONS 210
M_XS_APPLICATION_ISSUES 211
OBJECTS 212
OBJECT_DEPENDENCIES 213
OWNERSHIP 214
PRIVILEGES 215
PROCEDURES 216
PROCEDURE_OBJECTS 217
PROCEDURE_PARAMETERS 218
QUERY_PLANS 219
REFERENTIAL_CONSTRAINTS 220
REORG_OVERVIEW 221
REORG_PLAN 222
REORG_PLAN_INFOS 223
REORG_STEPS 224
ROLES 225
SAML_PROVIDERS 226
SAML_USER_MAPPINGS 227
SCHEMAS 228
SEQUENCES 229

7 2012-12-19
Table of Content

SESSION_COOKIES 230
SQLSCRIPT_TRACE 231
STATISTICS 232
STRUCTURED_PRIVILEGES 233
SYNONYMS 234
TABLES 235
TABLE_COLUMNS 237
TABLE_COLUMNS_ODBC 238
TABLE_GROUPS 239
TRANSACTION_HISTORY 240
TRIGGERS 241
USERS 242
USER_PARAMETERS 243
VIEWS 244
VIEW_COLUMNS 245
Sta ti s ti cs Server Ta bl es 246
GLOBAL_COLUMN_TABLES_SIZE 247
GLOBAL_CPU_STATISTICS (Depreca ted) 248
GLOBAL_INTERNAL_DISKFULL_EVENTS 249
GLOBAL_INTERNAL_EVENTS 250
GLOBAL_MEMORY_STATISTICS (Depreca ted) 251
GLOBAL_PERSISTENCE_STATISTICS 252
GLOBAL_TABLES_SIZE (Depreca ted) 253
HOST_BLOCKED_TRANSACTIONS 254
HOST_COLUMN_TABLES_PART_SIZE 255
HOST_DATA_VOLUME_PAGE_STATISTICS 256
HOST_DATA_VOLUME_SUPERBLOCK_STATISTICS 257
HOST_DELTA_MERGE_STATISTICS 258
HOST_HEAP_ALLOCATORS 259
HOST_LONG_RUNNING_STATEMENTS 260
HOST_MEMORY_STATISTICS 261
HOST_ONE_DAY_FILE_COUNT 262
HOST_RESOURCE_UTILIZATION_STATISTICS 263
HOST_SERVICE_MEMORY 264
HOST_SERVICE_STATISTICS 265
HOST_TABLE_VIRTUAL_FILES 266
HOST_VIRTUAL_FILES 267
HOST_VOLUME_FILES 268
HOST_VOLUME_IO_PERFORMANCE_STATISTICS 269
HOST_VOLUME_IO_STATISTICS 272
STATISTICS_ALERTS 273
STATISTICS_ALERT_INFORMATION 274
STATISTICS_ALERT_LAST_CHECK_INFORMATION 275
STATISTICS_INTERVAL_INFORMATION 276
STATISTICS_LASTVALUES 277
STATISTICS_STATE 278
STATISTICS_VERSION 279

8 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

9 2012-12-19
SAP HANA System Tables and Monitoring Views Reference

AUDIT_POLICIES
Short description

Defined audit policies

Structure

Column name Data type Unit Description


AUDIT_POLICY_NAME NVARCHAR(256) Audi t pol i cy na me
AUDIT_POLICY_OID BIGINT Object ID of the a udi t pol i cy
EVENT_STATUS VARCHAR(32) Sta tus of events to be a udi ted: 'SUCCESSFUL EVENTS',
'UNSUCCESSFUL EVENTS', 'ALL EVENTS'
EVENT_LEVEL VARCHAR(16) Level of events to be a udi ted: 'EMERGENCY', 'CRITICAL',
'ALERT', 'WARNING', 'INFO'
IS_AUDIT_POLICY_ACTIVE VARCHAR(5) Audi t pol i cy i s a cti ve: 'TRUE', 'FALSE'
EVENT_ACTION VARCHAR(32) Acti on to be a udi ted, for exa mpl e: 'SELECT', 'GRANT
PRIVILEGE', ...
USER_NAME NVARCHAR(256) Us er whos e a cti ons a re to be a udi ted
OBJECT_TYPE VARCHAR(32) 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
OBJECT_SCHEMA NVARCHAR(256) Schema of object to be a udi ted
OBJECT_NAME NVARCHAR(256) 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 Data type Unit Description


ROOT_DEPENDENT_TYPE_ID SMALLINT Object type ID of the root object to s how a s a
gra ph
ROOT_DEPENDENT_OBJECT_ID BIGINT Object ID of the root object to s how a s a gra ph
DEPENDENT_TYPE_ID SMALLINT Object type ID of the dependent object
DEPENDENT_TYPE_ID_NAME NVARCHAR(256) Object type na me of the dependent object
DEPENDENT_SUBTYPE_ID SMALLINT Object s ubtype ID of the dependent object
DEPENDENT_SUBTYPE_ID_NAME NVARCHAR(256) Object s ubtype na me of the dependent object
DEPENDENT_OBJECT_ID BIGINT Object ID of the dependent object
DEPENDENT_SCHEMA_NAME NVARCHAR(256) Schema na me the dependent object bel ongs to
DEPENDENT_OBJECT_NAME NVARCHAR(256) Object na me of the dependent object
DEPENDENT_OWNER_OID BIGINT ID of the us er owni ng the dependent object
DEPENDENT_OWNER_NAME NVARCHAR(256) Na me of the us er owni ng the dependent object
DEPENDENT_READONLY INTEGER Rea donl y property of the dependent object
UNDERLYING_TYPE_ID SMALLINT Object type ID of the underl yi ng object
UNDERLYING_TYPE_ID_NAME NVARCHAR(256) Object type na me of the underl yi ng object
UNDERLYING_SUBTYPE_ID SMALLINT Object s ubtype ID of the underl yi ng object
UNDERLYING_SUBTYPE_ID_NAME NVARCHAR(256) Object s ubtype na me of the underl yi ng object
UNDERLYING_OBJECT_ID BIGINT Object ID of the underl yi ng object
UNDERLYING_SCHEMA_NAME NVARCHAR(256) Schema na me the underl yi ng object bel ongs to
UNDERLYING_OBJECT_NAME NVARCHAR(256) Object na me of the underl yi ng object
UNDERLYING_OWNER_OID BIGINT ID of the us er owni ng the underl yi ng object
UNDERLYING_OWNER_NAME NVARCHAR(256) Na me of the us er owni ng the underl yi ng object
UNDERLYING_READONLY INTEGER Rea donl y property of the underl yi ng object
DEPENDENCY_USER_OID BIGINT 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
DEPENDENCY_USER_NAME NVARCHAR(256) 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
DEPENDENCY_TYPE SMALLINT 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
PRIVILEGE_ID BIGINT ID of the pri vi l ege the dependency us er i s
requi red to ha ve on the underl yi ng object
PRIVILEGE_NAME NVARCHAR(256) 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
IS_VALID TINYINT 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
DEPENDENCY_STATUS VARCHAR(40) Current s ta te of a pri vi l ege for the dependent
object: 'INVALID', 'NOT AUTHORIZED', 'AUTHORIZED
NON GRANTABLE', 'AUTHORIZED GRANTABLE'
AVAILABLE_PRIVILEGES VARCHAR(256) Current s ta te of a pri vi l ege on upper node
(dependent object): 'INVALID', 'NOT GRANTABLE',
'GRANTABLE'

11 2012-12-19
SAP HANA System Tables and Monitoring Views Reference

CONSTRAINTS
Short description
Constraints defined for tables

Structure

Column name Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
COLUMN_NAME NVARCHAR(256) Col umn na me
POSITION SMALLINT Col umn pos i ti on i n thi s cons tra i nt
CONSTRAINT_NAME NVARCHAR(256) Cons tra i nt na me
IS_PRIMARY_KEY VARCHAR(5) Cons tra i nt i s pri ma ry key cons tra i nt: 'TRUE', 'FALSE'
IS_UNIQUE_KEY VARCHAR(5) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
VIEW_NAME NVARCHAR(256) Joi n vi ew na me
BO_VIEW_NAME NVARCHAR(256) Bus i nes s object vi ew na me
ANCHOR_SCHEMA_NAME NVARCHAR(256) Anchor s chema na me
ANCHOR_TABLE_NAME NVARCHAR(256) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
VIEW_NAME NVARCHAR(256) Joi n vi ew na me
COLUMN_NAME NVARCHAR(256) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
VIEW_NAME NVARCHAR(256) Joi n vi ew na me
JOIN_CONDITION_NAME NVARCHAR(256) Joi n condi ti on na me
JOIN_ORDER BIGINT Joi n order number
TABLE_SCHEMA_NAME1 NVARCHAR(256) Schema na me of col umn 1
TABLE_NAME1 NVARCHAR(256) Ta bl e na me of col umn 1
COLUMN_NAME1 NVARCHAR(256) Na me of col umn 1
ALIAS_NUMBER1 INTEGER Al i a s Number of ta bl e na me 1
TABLE_SCHEMA_NAME2 NVARCHAR(256) Schema na me of col umn 2
TABLE_NAME2 NVARCHAR(256) Ta bl e na me of col umn 2
COLUMN_NAME2 NVARCHAR(256) Na me of col umn 2
ALIAS_NUMBER2 INTEGER Al i a s Number of ta bl e na me 2
CONSTRAINTS NVARCHAR(256) Joi n cons tra i nt na me
JOIN_TYPE VARCHAR(5) Joi n type: 'i nner', 'l eft', 'ri ght', 'ful l '
CARDINALITY VARCHAR(3) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
VIEW_NAME NVARCHAR(256) Joi n vi ew na me
JOIN_CONSTRAINT_NAME NVARCHAR(256) Joi n cons tra i nt na me
CONSTRAINT_TYPE VARCHAR(32) Type of cons tra i nt owner
LOCATION NVARCHAR(256) Na me of cons tra i nt owner
TABLE_SCHEMA_NAME NVARCHAR(256) Schema na me of ta bl e
TABLE_NAME NVARCHAR(256) Ta bl e na me of col umn
COLUMN_NAME NVARCHAR(256) Col umn na me
OPERATOR NVARCHAR(256) Opera tor
VALUE NVARCHAR(5000) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
VIEW_NAME NVARCHAR(256) Joi n vi ew na me
JOIN_PATH_NAME NVARCHAR(256) Joi n pa th na me
JOIN_CONDITIONS NVARCHAR(5000) Comma s epa ra ted l i s t of joi n condi ti ons
JOIN_CONSTRAINTS NVARCHAR(5000) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
VIEW_NAME NVARCHAR(256) Joi n vi ew na me
TABLE_SCHEMA_NAME NVARCHAR(256) Schema na me of phys i ca l ta bl e na me
TABLE_NAME NVARCHAR(256) Phys i ca l ta bl e na me
TABLE_TYPE VARCHAR(32) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
VIEW_NAME NVARCHAR(256) Joi n vi ew na me
KEY_FIGURE_NAME NVARCHAR(256) Key fi gure na me
DEFAULT_AGGREGATION_TYPE VARCHAR(32) Aggrega ti on type l i ke: 's um', 'count', 'mi n', ...
DESCRIPTION NVARCHAR(5000) Des cri pti on
UNIT_CONVERSION_NAME NVARCHAR(256) Na me of uni t convers i on
TABLE_SCHEMA_NAME NVARCHAR(256) Schema na me of ta bl e
TABLE_NAME NVARCHAR(256) Ta bl e na me of col umn
COLUMN_NAME NVARCHAR(256) Col umn na me
EXPRESSION_FLAGS VARCHAR(32) Expres s i on fl a gs
EXPRESSION NVARCHAR(256) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
VIEW_NAME NVARCHAR(256) Joi n vi ew na me
VIEW_COLUMN_NAME NVARCHAR(256) Vi ew col umn na me
TABLE_SCHEMA_NAME NVARCHAR(256) Schema na me of ta bl e
TABLE_NAME NVARCHAR(256) Ta bl e na me of col umn
ALIAS_NUMBER INTEGER Al i a s number
COLUMN_NAME NVARCHAR(256) Col umn na me
JOIN_PATH NVARCHAR(256) Joi n pa th na me
CS_TYPE VARCHAR(16) Col umn s tore da ta type
EXPRESSION_FLAGS VARCHAR(32) Expres s i on fl a gs
EXPRESSION NVARCHAR(256) 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 Data type Unit Description


TYPE_ID SMALLINT Da ta type ID
TYPE_NAME VARCHAR(16) Da ta type na me
COLUMN_SIZE INTEGER Ma xi mum s i ze of the da ta type tha t thi s s ys tem ca n s upport
LITERAL_PREFIX CHAR(1) 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
LITERAL_SUFFIX CHAR(1) 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
CREATE_PARAMS VARCHAR(16) 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
NULLABLE TINYINT Speci fi es whether the da ta type ca n a ccept nul l or not
CASE_SENSITIVE TINYINT 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
SEARCHABLE TINYINT How the da ta type ca n be us ed i n the WHERE cl a us e
UNSIGNED_ATTRIBUTE TINYINT Si gned or uns i gned
FIXED_PREC_SCALE TINYINT Whether the da ta type ha s predefi ned fi xed preci s i on a nd
s ca l e (ODBC)
AUTO_UNIQUE_VALUE TINYINT Whether the da ta type i s a utoi ncrementi ng (ODBC)
LOCAL_TYPE_NAME VARCHAR(16) 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
MINIMUM_SCALE SMALLINT 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
MAXIMUM_SCALE SMALLINT 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
SQL_DATA_TYPE SMALLINT 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
SQL_DATETIME_SUB SMALLINT 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
NUM_PREC_RADIX INTEGER 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
INTERVAL_PRECISION SMALLINT 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

21 2012-12-19
SAP HANA System Tables and Monitoring Views Reference

EFFECTIVE_PRIVILEGES
Short description
Privileges of the current user

Structure

Column name Data type Unit Description


USER_NAME NVARCHAR(256) Na me of the us er for whom effecti ve pri vi l eges a re s hown
GRANTEE NVARCHAR(256) Us er or rol e tha t ha s the pri vi l ege
GRANTEE_TYPE VARCHAR(4) 'USER' or 'ROLE'
GRANTOR NVARCHAR(256) Us er or rol e tha t provi ded the pri vi l ege
GRANTOR_TYPE VARCHAR(4) 'USER' or 'ROLE'
OBJECT_TYPE VARCHAR(32) Type of the gra nted object l i ke: 'TABLE', 'SCHEMA', ...
SCHEMA_NAME NVARCHAR(256) Schema na me the object bel ongs to
OBJECT_NAME NVARCHAR(256) Object na me of gra nted object
COLUMN_NAME NVARCHAR(256) Col umn na me
PRIVILEGE NVARCHAR(256) Pri vi l ege gra nted
IS_GRANTABLE VARCHAR(5) Pri vi l ege wa s gra nted 'WITH GRANT OPTION', 'WITH ADMIN
OPTION': 'TRUE', 'FALSE'
IS_VALID VARCHAR(5) 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 Data type Unit Description


USER_NAME NVARCHAR(256) Na me of the us er for whom effecti ve rol es a re s hown
GRANTEE NVARCHAR(256) Us er or rol e tha t ha s the rol e
GRANTEE_TYPE VARCHAR(4) 'USER' or 'ROLE'
GRANTOR NVARCHAR(256) Us er tha t gra nted the rol e
ROLE_NAME NVARCHAR(256) Rol e gra nted
IS_GRANTABLE VARCHAR(5) 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 Data type Unit Description


STATEMENT_NAME VARCHAR(256) 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
OPERATOR_NAME VARCHAR(5000) 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
OPERATOR_DETAILS NCLOB 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
EXECUTION_ENGINE VARCHAR(256) Executi on engi ne where the pl a n opera tor i s executed:
COLUMN or ROW
SCHEMA_NAME NVARCHAR(256) Schema na me the dependent object bel ongs to
TABLE_NAME NVARCHAR(256) Na me of da ta ba s e ta bl es a nd vi ews a cces s ed by a n
opera tor
TABLE_TYPE VARCHAR(5000) Ta bl e s tored type: COLUMN or ROW
TABLE_SIZE DOUBLE 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
OUTPUT_SIZE DOUBLE Es ti ma ted output row count of a n opera tor
SUBTREE_COST DOUBLE Es ti ma ted cos t of executi ng the s ubtree s ta rti ng from a n
opera tor
OPERATOR_ID INTEGER Uni que ID of a n opera tor. IDs a re i ntegers s ta rti ng from 1
PARENT_OPERATOR_ID INTEGER 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 INTEGER 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
POSITION INTEGER 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
HOST VARCHAR(256) Hos t where the pl a n opera tor i s genera ted
PORT INTEGER Port where the pl a n opera tor i s genera ted
TIMESTAMP TIMESTAMP Da te a nd ti me when the EXPLAIN PLAN comma nd wa s
executed
CONNECTION_ID INTEGER Connecti on ID

24 2012-12-19
SAP HANA System Tables and Monitoring Views Reference

FULLTEXT_INDEXES
Short description
Fulltext indexes on table columns

Structure

Column name Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
TABLE_OID BIGINT Object ID of the ta bl e
INDEX_NAME NVARCHAR(256) Na me of the ful l text i ndex
INDEX_OID BIGINT Object ID of the ful l text i ndex
LANGUAGE_COLUMN NVARCHAR(256) 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
MIME_TYPE_COLUMN NVARCHAR(256) 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
LANGUAGE_DETECTION NVARCHAR(256) Set of l a ngua ges to be cons i dered for a utoma ti c
l a ngua ge detecti on
FAST_PREPROCESS VARCHAR(5) 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
FUZZY_SEARCH_INDEX VARCHAR(5) 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)
SEARCH_ONLY VARCHAR(5) 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 HTML-
converted 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
IS_EXPLICIT VARCHAR(5) 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
FLUSH_AFTER_DOCUMENTS INTEGER Us ed to s tore cha nge-tra cki ng beha vi or of the ful l text
i ndex
FLUSH_EVERY_MINUTES INTEGER Us ed to s tore cha nge-tra cki ng beha vi or of the ful l text
i ndex
CONFIGURATION NVARCHAR(256) 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
INTERNAL_COLUMN_NAME NVARCHAR(512) 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
PHRASE_INDEX_RATIO REAL 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)
TEXT_MINING VARCHAR(5) 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
TEXT_ANALYSIS VARCHAR(5) 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

25 2012-12-19
SAP HANA System Tables and Monitoring Views Reference

FUNCTIONS
Short description
Available functions

Structure

Column name Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me of the functi on
FUNCTION_NAME NVARCHAR(256) Na me of the functi on
FUNCTION_OID BIGINT Object ID of the functi on
INPUT_PARAMETER_COUNT INTEGER Input type pa ra meter count
RETURN_VALUE_COUNT INTEGER Return va l ue type pa ra meter count
IS_UNICODE VARCHAR(5) Speci fi es whether the functi on conta i ns Uni code or not:
'TRUE', 'FALSE'
DEFINITION NCLOB Query s tri ng of the functi on
FUNCTION_TYPE VARCHAR(10) Type of the functi on
IS_VALID VARCHAR(5) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me of the functi on
FUNCTION_NAME NVARCHAR(256) Na me of the functi on
FUNCTION_OID BIGINT Object ID of the functi on
PARAMETER_NAME NVARCHAR(256) Pa ra meter na me
DATA_TYPE_ID INTEGER Da ta type ID
DATA_TYPE_NAME VARCHAR(16) Da ta type na me
LENGTH INTEGER Pa ra meter l ength
SCALE INTEGER Sca l e of the pa ra meter
POSITION INTEGER Ordi na l pos i ti on of the pa ra meter
TABLE_TYPE_SCHEMA NVARCHAR(256) Schema na me of ta bl e type i f DATA_TYPE_NAME i s
TABLE_TYPE
TABLE_TYPE_NAME NVARCHAR(256) Na me of ta bl e type i f DATA_TYPE_NAME i s TABLE_TYPE
PARAMETER_TYPE VARCHAR(7) Pa ra meter mode: IN, OUT, INOUT
HAS_DEFAULT_VALUE VARCHAR(5) Speci fi es whether the pa ra meter ha s a defa ul t va l ue or not:
'TRUE', 'FALSE'
IS_NULLABLE VARCHAR(5) 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 Data type Unit Description


GRANTEE NVARCHAR(256) Us er or rol e the pri vi l ege i s gra nted to
GRANTEE_TYPE VARCHAR(4) 'USER' or 'ROLE'
GRANTOR NVARCHAR(256) Us er who gra nted the pri vi l ege
OBJECT_TYPE VARCHAR(32) Type of the gra nted object l i ke: 'TABLE', 'SCHEMA', ...
SCHEMA_NAME NVARCHAR(256) Schema na me the object bel ongs to
OBJECT_NAME NVARCHAR(256) Object na me of gra nted object
COLUMN_NAME NVARCHAR(256) Col umn na me
PRIVILEGE NVARCHAR(256) Pri vi l ege gra nted
IS_GRANTABLE VARCHAR(5) Pri vi l ege wa s gra nted 'WITH GRANT OPTION', 'WITH ADMIN
OPTION': 'TRUE', 'FALSE'
IS_VALID VARCHAR(5) 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 Data type Unit Description


GRANTEE NVARCHAR(256) Us er or rol e the rol e i s gra nted to
GRANTEE_TYPE VARCHAR(4) 'USER' or 'ROLE'
ROLE_NAME NVARCHAR(256) Na me of the gra nted rol e
GRANTOR NVARCHAR(256) Us er who gra nted the rol e
IS_GRANTABLE VARCHAR(5) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
TABLE_OID BIGINT Object ID of the ta bl e
INDEX_NAME NVARCHAR(256) Index na me
INDEX_OID BIGINT Object ID of the i ndex
INDEX_TYPE VARCHAR(32) Type of RS-i ndex: 'BTREE', 'BTREE_UNIQUE', 'CPBTREE',
'CPBTREE_UNIQUE'; Type of CS-i ndex: 'INVERTED',
'INVERTED_UNIQUE', 'CONCAT_INVERTED',
'CONCAT_INVERTED_UNIQUE'
CONSTRAINT VARCHAR(32) Cons tra i nt type of the i ndex: 'UNIQUE', 'NOT_NULL_UNIQUE',
'PRIMARY_KEY'
KEY_LENGTH SMALLINT Length of the key
BTREE_FILL_FACTOR SMALLINT B-tree fi l l fa ctor (50~100)
BTREE_SPLIT_TYPE TINYINT B-tree s pl i t type: 'SPLIT_PERCENT', 'SPLIT_INVOKER'
BTREE_SPLIT_POSITION TINYINT B-tree s pl i t pos i ti on (0~100)

30 2012-12-19
SAP HANA System Tables and Monitoring Views Reference

INDEX_COLUMNS
Short description
Columns of indexes

Structure

Column name Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
TABLE_OID BIGINT Object ID of the ta bl e
INDEX_NAME NVARCHAR(256) Index na me
INDEX_OID BIGINT Object ID of the i ndex
CONSTRAINT VARCHAR(32) Cons tra i nt type of the i ndex: UNIQUE, NOT_NULL_UNIQUE,
PRIMARY_KEY
COLUMN_NAME NVARCHAR(256) Na me of the i ndexed col umn
POSITION SMALLINT Ordi na l pos i ti on of the i ndexed col umn
ASCENDING_ORDER VARCHAR(5) 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 Data type Unit Description


USER_NAME NVARCHAR(256) Na me of the us er
SUCCESSFUL_CONNECT_TIME TIMESTAMP Ti me of the va l i d connect a ttempt
INVALID_CONNECT_ATTEMPTS BIGINT 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 Data type Unit Description


HOST VARCHAR(64) Hos t
STORAGE_ID INTEGER Stora ge ID
PATH VARCHAR(512) Pa th
KEY VARCHAR(256) Key (from s tora ge provi der)
VALUE VARCHAR(2000) 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 Data type Unit Description


ENTRY_ID BIGINT Counter Uni que ID of a ba ckup ca ta l og entry
ENTRY_TYPE_NAME VARCHAR(64) 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
SYS_START_TIME TIMESTAMP Sta rt ti me gi ven i n s erver l oca l ti me
UTC_START_TIME TIMESTAMP Sta rt ti me gi ven i n UTC
SYS_END_TIME TIMESTAMP Stop ti me gi ven i n s erver l oca l ti me
UTC_END_TIME TIMESTAMP Stop ti me gi ven i n UTC
STATE_NAME VARCHAR(64) 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'
COMMENT VARCHAR(256) Addi ti ona l i nforma ti on
MESSAGE VARCHAR(512) Addi ti ona l i nforma ti on

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 Data type Unit Description


ENTRY_ID BIGINT Uni que ID of a ba ckup ca ta l og entry
BACKUP_ID BIGINT 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
SOURCE_ID BIGINT Pers i s tence vol ume ID
SOURCE_TYPE_NAME VARCHAR(64) Type of pers i s tence to be ba cked up: 'vol ume',
'topol ogy'
HOST VARCHAR(64) Hos t na me
SERVICE_TYPE_NAME VARCHAR(64) Type of da ta ba s e s ervi ce: 'i ndexs erver', 'na mes erver',
's ta ti s ti cs s erver'
REDO_LOG_POSITION BIGINT 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
FIRST_REDO_LOG_POSITION BIGINT 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
LAST_REDO_LOG_POSITION BIGINT 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
BACKUP_SIZE BIGINT Speci fi es the s i ze of the ba ckup
DESTINATION_PATH VARCHAR(512) Da ta or l og ba ckup wa s wri tten to thi s l oca ti on
DESTINATION_TYPE_NAME VARCHAR(16) Type of l oca ti on: 'fi l e', 'ba cki nt'
EXTERNAL_BACKUP_ID VARCHAR(64) Identi fi er of ba ckup recei ved from a ba ckup tool

35 2012-12-19
SAP HANA System Tables and Monitoring Views Reference

M_BACKUP_CONFIGURATION
Short description
Backup configuration statistics

Structure

Column name Data type Unit Description


MAX_RECOVERY_FILE_AGE BIGINT Second Ma x recovery fi l e a ge
LOG_REPLAY_STEP_SIZE BIGINT Byte Log repl a y s tep s i ze i n bytes
MAX_RECOVERY_BACKINT_CHANNELS BIGINT Ma x number of pa ra l l el ba cki nt cha nnel s per
reques t duri ng recovery
BACKINT_EXECUTABLE_LINK VARCHAR(256) Li nkna me of the ba cki nt executa bl e
BACKINT_EXECUTABLE VARCHAR(256) Rea l fi l ena me of the ba cki nt executa bl e
BACKINT_DATA_BACKUP_PATH VARCHAR(256) Da ta ba ckup di rectory for ba cki nt
BACKINT_LOG_BACKUP_PATH VARCHAR(256) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
BLOCKED_TRANSACTION_ID INTEGER Tra ns a cti on object ID of the tra ns a cti on
wa i ti ng for a l ock
BLOCKED_UPDATE_TRANSACTION_ID BIGINT Wri te tra ns a cti on ID of the bl ocked wri te
tra ns a cti on
LOCK_OWNER_TRANSACTION_ID INTEGER Tra ns a cti on object ID of the tra ns a cti on
hol di ng the l ock
LOCK_OWNER_UPDATE_TRANSACTION_ID BIGINT Wri te tra ns a cti on ID of the wri te
tra ns a cti on hol di ng the l ock
BLOCKED_TIME TIMESTAMP Bl ocked ti mes ta mp
WAITING_RECORD_ID VARCHAR(256) ID of the record on whi ch the l ock i s
currentl y pl a ced
WAITING_SCHEMA_NAME NVARCHAR(256) Na me of the s chema on whi ch the l ock i s
currentl y pl a ced
WAITING_TABLE_NAME NVARCHAR(256) Depreca ted: us e WAITING_OBJECT_NAME
i ns tea d
WAITING_OBJECT_NAME NVARCHAR(256) Na me of the object on whi ch the l ock i s
currentl y pl a ced
WAITING_OBJECT_TYPE VARCHAR(32) Object type
LOCK_TYPE VARCHAR(32) Lock type: 'RECORD', 'TABLE', 'METADATA'
LOCK_MODE VARCHAR(32) Lock mode: 'SHARED', 'EXCLUSIVE',
'INTENTIONAL EXCLUSIVE'

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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
CACHE_ID VARCHAR(128) The uni que i denti fi er for the ca che
TOTAL_SIZE BIGINT Byte 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
USED_SIZE BIGINT Byte The memory i n bytes us ed by the ca che i ns ta nce
ENTRY_COUNT BIGINT Counter The number of entri es i n the ca che i ns ta nce
INSERT_COUNT BIGINT Counter The number of i ns erti ons i nto the ca che i ns ta nce
INVALIDATE_COUNT BIGINT Counter The number of i nva l i da ti ons i n the ca che i ns ta nce
HIT_COUNT BIGINT Counter The number of ca che hi ts for the ca che i ns ta nce
MISS_COUNT BIGINT Counter 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
CACHE_ID VARCHAR(128) ID of the ca che tha t crea ted the entry
ENTRY_ID VARCHAR(128) ID of the ca ched entry
ENTRY_DESCRIPTION NVARCHAR(5000) Des cri pti on of the ca ched entry
COMPONENT VARCHAR(128) Informa ti on a bout the component tha t crea ted the ca ched
entry
USER_NAME NVARCHAR(256) Informa ti on a bout the us er tha t crea ted the ca ched entry
MEMORY_SIZE BIGINT Us ed memory to s tore the ca ched entry i n the ca che
CREATE_TIME TIMESTAMP Poi nt i n ti me when the ca che entry wa s i ns erted i nto the
ca che
READ_COUNT BIGINT 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
CATEGORY VARCHAR(128) Ca tegory of ca ta l og da ta
ALLOCATION_COUNT BIGINT The number of a l l oca ted entri es
ALLOCATED_FIXED_PART_SIZE BIGINT Byte Al l oca ted memory s i ze for fi xed-s i ze pa rt
USED_FIXED_PART_SIZE BIGINT Byte Us ed memory s i ze for fi xed-s i ze pa rt
ALLOCATED_VARIABLE_PART_SIZE BIGINT Byte Al l oca ted memory s i ze for va ri a bl e-s i ze pa rt
USED_VARIABLE_PART_SIZE BIGINT Byte 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SCENARIO_NAME NVARCHAR(256) Scena ri o na me
IS_PERSISTENT VARCHAR(5) 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'
FLAGS BIGINT Ca l cul a ti on s cena ri o fl a gs
CREATE_TIME TIMESTAMP Crea ti on ti me
MEMORY_SIZE BIGINT Byte Memory s i ze of l oa ded ca l cul a ti on s cena ri o model
COMPONENT NVARCHAR(256) Component tha t crea te the ca l cul a ti on s cena ri o
SCENARIO_VERSION NVARCHAR(256) Scena ri o vers i on of the ca l cul a ti on s cena ri o
JSON NCLOB 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema na me of col umn vi ew
VIEW_NAME NVARCHAR(256) Col umn vi ew na me
CALCNODE_NAME NVARCHAR(256) Referenced ca l cul a ti on node na me
SCENARIO_NAME NVARCHAR(256) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SCENARIO_NAME NVARCHAR(256) Scena ri o na me
NODE_NAME NVARCHAR(256) Ca l cul a ti on node na me
STATEMENT_ID BIGINT Sta tement ID
DEBUG_TYPE_MASK BIGINT Bi t ma s k i ndi ca ti ng type of debug i nforma ti on
TABLE_NAME NVARCHAR(256) Ta bl e na me (tempora y i ntermedi a te res ul t ta bl e)
COLUMN_NAMES CLOB Col umn na mes
TABLE_SIZE BIGINT Byte Ta bl e s i ze (tempora y i ntermedi a te res ul t ta bl e)
EXECUTION_TIMESTAMP TIMESTAMP 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SCENARIO_NAME NVARCHAR(256) Scena ri o na me
STATEMENT_ID BIGINT Sta tement ID
TYPE VARCHAR(16) JSON type (ori gi na l , i ns ta nti a ted, opti mi zed, extra ce)
MODEL_JSON NCLOB JSON s tri ng repres enti ng the ca l cul a ti on s cena ri o
EXECUTION_TIMESTAMP TIMESTAMP 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
STATEMENT_ID BIGINT Sta tement ID
SCENARIO_NAME NVARCHAR(256) Scena ri o na me
NODE_NAME NVARCHAR(256) Ca l cul a ti on node na me
NODE_TYPE VARCHAR(16) Ca l cul a ti on node type (ROOT, TEMPLATE, CALC_DS)
SUCC_SCENARIO_NAME NVARCHAR(256) Succes s or s cena ri o na me
SUCC_NODE_NAME NVARCHAR(256) Succes s or ca l cul a ti on node na me
RUNTIME_NODE_NAME NVARCHAR(256) Runti me ca l cul a ti on node na me
RUNTIME_NODE_JSON NCLOB JSON s tri ng repres enti ng the ca l cul a ti on node
EXECUTION_TIMESTAMP TIMESTAMP 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema na me of ca l cul a ti on s cena ri o
SCENARIO_NAME NVARCHAR(256) 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 Data type Unit Description


CLIENT_TYPE VARCHAR(256) Cl i ent, e.g. 'ABAP_FDA', 'BI Model er'
CLIENT_RELEASE_ID SMALLINT Techni ca l rel ea s e ID
CLIENT_RELEASE_DESC VARCHAR(256) Huma n rea da bl e rel ea s e des cri pti on
MIN_VERSION SMALLINT Lowes t s upported protocol vers i on
MAX_VERSION SMALLINT 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
NUM_COMPACTION_COLLISIONS BIGINT 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)
NUM_COMPACTIONS BIGINT Counter Count number of compa cti on
reques ts
LAST_SIZE_COMPACTION_REQUESTS BIGINT Byte Compa cti on reques t i n bytes (l a s t)
MAX_SIZE_COMPACTION_REQUESTS BIGINT Byte Compa cti on reques t i n bytes (ma x)
MIN_SIZE_COMPACTION_REQUESTS BIGINT Byte Compa cti on reques t i n bytes (mi n)
SUM_SIZE_COMPACTION_REQUESTS BIGINT Byte Compa cti on reques t i n bytes (tota l )
AVG_SIZE_COMPACTION_REQUESTS BIGINT Byte Compa cti on reques t i n bytes (a vg)
LAST_SIZE_FREEABLE BIGINT Byte Bytes compa cti bl e a t compa cti on ca l l
(l a s t)
MAX_SIZE_FREEABLE BIGINT Byte Bytes compa cti bl e a t compa cti on ca l l
(ma x)
MIN_SIZE_FREEABLE BIGINT Byte Bytes compa cti bl e a t compa cti on ca l l
(mi n)
SUM_SIZE_FREEABLE BIGINT Byte Bytes compa cti bl e a t compa cti on ca l l
(tota l )
AVG_SIZE_FREEABLE BIGINT Byte Bytes compa cti bl e a t compa cti on ca l l
(a vg)
LAST_SIZE_FREED_BY_GARBAGE_COLLECTION BIGINT Byte Bytes compa cted by memory ga rba ge
col l ecti on (defra gmenta ti on) (l a s t)
MAX_SIZE_FREED_BY_GARBAGE_COLLECTION BIGINT Byte Bytes compa cted by memory ga rba ge
col l ecti on (defra gmenta ti on) (ma x)
MIN_SIZE_FREED_BY_GARBAGE_COLLECTION BIGINT Byte Bytes compa cted by memory ga rba ge
col l ecti on (defra gmenta ti on) (mi n)
SUM_SIZE_FREED_BY_GARBAGE_COLLECTION BIGINT Byte Bytes compa cted by memory ga rba ge
col l ecti on (defra gmenta ti on) (tota l )
AVG_SIZE_FREED_BY_GARBAGE_COLLECTION BIGINT Byte Bytes compa cted by memory ga rba ge
col l ecti on (defra gmenta ti on) (a vg)
LAST_COMPACTION_RESULT BIGINT Byte 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)
MAX_COMPACTION_RESULT BIGINT Byte 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)
MIN_COMPACTION_RESULT BIGINT Byte 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)
SUM_COMPACTION_RESULT BIGINT Byte 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 )
AVG_COMPACTION_RESULT BIGINT Byte Compa cti on res ul t i n bytes
(di fference of a l l oca ted bytes before

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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
STATISTICS_NAME VARCHAR(128) Sta ti s ti cs object na me
STATISTICS_ID BIGINT Sta ti s ti cs object uni que ID
WAIT_COUNT BIGINT Counter Count of wa i t ca l l s
BLOCKING_COUNT BIGINT Counter Count of bl ocki ng wa i t ca l l s
TIMEOUT_COUNT BIGINT Counter Count of ti meouts
WAIT_RATE DOUBLE Percent Wa i t ra te
LAST_BLOCKING_TIME BIGINT Mi cros econd Ti me of bl ocki ng wa i t ca l l s (l a s t)
MAX_BLOCKING_TIME BIGINT Mi cros econd Ti me of bl ocki ng wa i t ca l l s (ma x)
MIN_BLOCKING_TIME BIGINT Mi cros econd Ti me of bl ocki ng wa i t ca l l s (mi n)
SUM_BLOCKING_TIME BIGINT Mi cros econd Ti me of bl ocki ng wa i t ca l l s (tota l )
AVG_BLOCKING_TIME BIGINT Mi cros econd Ti me of bl ocki ng wa i t ca l l s (a vg)
CREATE_COUNT BIGINT Counter Count of s ema phore crea ti on (for s ha red s ta ti s ti cs
onl y)
DESTROY_COUNT BIGINT Counter 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
SECTION_NAME VARCHAR(512) Secti on na me
SECTION_INDEX VARCHAR(1024) Secti on i ndex, e.g.:
pa ra meter[s ecti on_i ndex][pa ra meter_i ndex]
PARAMETER_NAME VARCHAR(512) Pa ra meter na me
PARAMETER_INDEX VARCHAR(1024) Pa ra meter i ndex, e.g.:
pa ra meter[s ecti on_i ndex][pa ra meter_i ndex]
PARAMETER_TYPE VARCHAR(1024) Pa ra meter da ta type
PARAMETER_VALUE VARCHAR(5000) Pa ra meter da ta va l ue
PARAMETER_UNIT VARCHAR(64) Pa ra meter da ta uni t
OPTIONS VARCHAR(1024) Addi ti ona l fl a gs
GROUP_NAME VARCHAR(256) Group na me
SERVICE_NAME VARCHAR(256) Servi ce na me
HOST_NAME VARCHAR(256) Hos t s peci fi c pa ra meter
DATABASE_NAME VARCHAR(256) Logi ca l da ta ba s e na me
SHORT_DESCRIPTION VARCHAR(256) Short pa ra meter des cri pti on
LONG_DESCRIPTION VARCHAR(5000) Deta i l ed i nforma ti on
CONSTRAINT VARCHAR(5000) Cons tra i nt des cri pti on
ONLINE_CHANGEABLE VARCHAR(6) Onl i ne cha nge a l l owed
HOST_OVERWRITABLE VARCHAR(6) Hos t s peci fi c va l ue a l l owed
DATABASE_OVERWRITABLE VARCHAR(6) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
CONNECTION_ID INTEGER Connecti on ID
TRANSACTION_ID INTEGER Tra ns a cti on object ID
START_TIME TIMESTAMP Connected Ti me
IDLE_TIME BIGINT Mi l l i s econd Ti me tha t the connecti on i s unus ed a nd
i dl e
CONNECTION_STATUS VARCHAR(128) Connecti on Sta tus : RUNNING or IDLE
CLIENT_HOST VARCHAR(64) Hos t na me of cl i ent ma chi ne
CLIENT_IP VARCHAR(16) IP of cl i ent ma chi ne
CLIENT_PID BIGINT Cl i ent Proces s ID
USER_NAME NVARCHAR(256) Us er na me
CONNECTION_TYPE VARCHAR(128) Connecti on type: Remote, Loca l , Hi s tory
(remote), Hi s tory (l oca l )
OWN VARCHAR(5) Bool ea n Own connecti on: TRUE i f own connecti on,
FALSE i f not
IS_HISTORY_SAVED VARCHAR(5) Bool ea n Fi el d i s no l onger va l i d - wi l l be
depreca ted s oon
MEMORY_SIZE_PER_CONNECTION BIGINT Byte Al l oca ted memory s i ze per connecti on
AUTO_COMMIT VARCHAR(5) Bool ea n 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
LAST_ACTION VARCHAR(128) 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_STATEMENT_ID VARCHAR(256) Current s ta tement ID
CURRENT_OPERATOR_NAME VARCHAR(64) Current opera tor na me
FETCHED_RECORD_COUNT BIGINT Sum of the record count fetched by s el ect
s ta tements
AFFECTED_RECORD_COUNT BIGINT 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)
SENT_MESSAGE_SIZE BIGINT Byte Tota l s i ze of mes s a ges s ent by the current
connecti on
SENT_MESSAGE_COUNT BIGINT Tota l mes s a ge count s ent by the current
connecti on
RECEIVED_MESSAGE_SIZE BIGINT Byte Tota l s i ze of mes s a ges recei ved by the
current connecti on
RECEIVED_MESSAGE_COUNT BIGINT Tota l mes s a ge count recei ved by the
current connecti on
CREATOR_THREAD_ID BIGINT Threa d ID who crea ted the current
connecti on
CREATED_BY VARCHAR(256) 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 TIMESTAMP The ti me when the connecti on i s cl os ed
for hi s tory connecti ons
PARENT_CONNECTION_ID INTEGER Pa rent connecti on ID
CLIENT_DISTRIBUTION_MODE VARCHAR(128) 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)
LOGICAL_CONNECTION_ID INTEGER Logi ca l connecti on ID i n s ta tement
routi ng
CURRENT_SCHEMA_NAME NVARCHAR(256) Current s chema na me
CURRENT_THREAD_ID BIGINT Current executi ng threa d ID

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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
CONNECTION_ID INTEGER Connecti on ID
SELECT_EXECUTION_COUNT BIGINT Tota l number of s el ect
s ta tement executi ons
SELECT_TOTAL_EXECUTION_TIME BIGINT Mi cros econd Tota l executi on ti me of
s el ect s ta tement
executi on
SELECT_AVG_EXECUTION_TIME REAL Mi cros econd Avera ge executi on ti me
of s el ect s ta tement
executi on
SELECT_MAX_EXECUTION_TIME BIGINT Mi cros econd Ma xi mum executi on ti me
of s el ect s ta tement
executi on
SELECT_FOR_UPDATE_COUNT BIGINT Tota l number of s el ect
for upda te exeuti on
SELECT_FOR_UPDATE_TOTAL_EXECUTION_TIME BIGINT Mi cros econd Tota l executi on ti me of
s el ect for upda te
executi on
SELECT_FOR_UPDATE_AVG_EXECUTION_TIME REAL Mi cros econd Avera ge executi on ti me
of s el ect for upda te
executi on
SELECT_FOR_UPDATE_MAX_EXECUTION_TIME BIGINT Mi cros econd Ma xi mum executi on ti me
of s el ect for upda te
executi on
SELECT_FOR_UPDATE_LOCK_WAIT_COUNT BIGINT Number of l ock wa i ts
duri ng s el ect for upda te
SELECT_FOR_UPDATE_TOTAL_LOCK_WAIT_TIME BIGINT Mi cros econd Tota l l ock wa i t ti me
duri ng s el ect for upda te
SELECT_FOR_UPDATE_AVG_LOCK_WAIT_TIME REAL Mi cros econd Avera ge l ock wa i t ti me
duri ng s el ect for upda te
SELECT_FOR_UPDATE_MAX_LOCK_WAIT_TIME BIGINT Mi cros econd Ma xi mum l ock wa i t ti me
uri ng s el ect for upda te
UPDATE_COUNT BIGINT 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
UPDATE_AVG_EXECUTION_TIME REAL Mi cros econd Avera ge executi on ti me
of upda te s ta tement
executi ons
UPDATE_MAX_EXECUTION_TIME BIGINT Mi cros econd Ma xi mum executi on ti me
of upda te s ta tement
executi ons
UPDATE_LOCK_WAIT_COUNT BIGINT Number of l ock wa i ts
duri ng upda te s ta tement
executi ons
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
UPDATE_AVG_LOCK_WAIT_TIME REAL Mi cros econd Avera ge l ock wa i t ti me
duri ng upda te s ta tement
exectui ons
UPDATE_MAX_LOCK_WAIT_TIME BIGINT Mi cros econd Ma xi mum l ock wa i t ti me
duri ng upda te s ta tement
executi ons
READ_ONLY_TRANSACTION_COUNT BIGINT Mi cros econd Number of rea d onl y
tra ns a cti ons
READ_ONLY_TRANSACTION_TOTAL_EXECUTION_TIME BIGINT Mi cros econd Tota l executi on ti me of
rea d onl y tra ns a cti ons
READ_ONLY_TRANSACTION_AVG_EXECUTION_TIME REAL Mi cros econd Avera ge executi on ti me
of rea d onl y tra ns a cti ons

56 2012-12-19
SAP HANA System Tables and Monitoring Views Reference

READ_ONLY_TRANSACTION_MAX_EXECUTION_TIME BIGINT Mi cros econd Ma xi mum executi on ti me


of rea d onl y tra ns a cti ons
UPDATE_TRANSACTION_COUNT BIGINT Number of upda te
tra ns a cti ons
UPDATE_TRANSACTION_TOTAL_EXECUTION_TIME BIGINT Mi cros econd Tota l executi on ti me of
upda te tra ns a cti ons
UPDATE_TRANSACTION_AVG_EXECUTION_TIME REAL Mi cros econd Avera ge executi on ti me
of upda te tra ns a cti ons
UPDATE_TRANSACTION_MAX_EXECUTION_TIME BIGINT Mi cros econd Ma xi mum executi on ti me
of upda te tra ns a cti ons
ROLLBACK_COUNT BIGINT Number of rol l ba cked
tra ns a cti ons
ROLLBACK_TOTAL_EXECUTION_TIME BIGINT Mi cros econd Tota l executi on ti me of
rol l ba cks
ROLLBACK_AVG_EXECUTION_TIME REAL Mi cros econd Avera ge executi on ti me
of rol l ba cks
ROLLBACK_MAX_EXECUTION_TIME BIGINT Mi cros econd Ma xi mum executi on ti me
of rol l ba cks
OTHERS_COUNT BIGINT 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 BIGINT Mi cros econd Tota l executi on ti me of
other s ta tements
OTHERS_AVG_EXECUTION_TIME REAL Mi cros econd Avera ge executi on ti me
of other s ta tements
OTHERS_MAX_EXECUTION_TIME BIGINT Mi cros econd Ma xi mum executi on ti me
of other s ta tements
OTHERS_LOCK_WAIT_COUNT BIGINT Tota l l ock wa i t count of
other s ta tements
OTHERS_TOTAL_LOCK_WAIT_TIME BIGINT Mi cros econd Tota l l ock wa i t ti me of
other s ta tements
OTHERS_AVG_LOCK_WAIT_TIME REAL Mi cros econd Avera ge l ock wa i t ti me of
other s ta tements
OTHERS_MAX_LOCK_WAIT_TIME BIGINT Mi cros econd Ma xi mum l ock wa i t ti me
of other s ta tements
LAST_EXECUTED_TIME TIMESTAMP La s t executi on
ti mes ta mp wi th thi s
connecti on
AVG_EXECUTION_MEMORY_SIZE BIGINT Avera ge memory s i ze
us ed duri ng ea ch
executi on
MAX_EXECUTION_MEMORY_SIZE BIGINT Ma xi mum memory s i ze
us ed duri ng ea ch
executi on
MIN_EXECUTION_MEMORY_SIZE BIGINT Mi ni mum memory s i ze
us ed duri ng ea ch
executi on
TOTAL_EXECUTION_MEMORY_SIZE BIGINT Sum of memory s i ze us ed
duri ng ea ch executi on
AVG_PREPARATION_TIME BIGINT Avera ge ti me of
s ta tement prepa ra ti on
MAX_PREPARATION_TIME BIGINT Ma xi mum ti me of
s ta tement prepa ra ti on
MIN_PREPARATION_TIME BIGINT Mi ni mi m ti me of
s ta tement prepa ra ti on
TOTAL_PREPARATION_TIME BIGINT Tota l ti me of s ta tement
prepa ra ti on
TOTAL_PREPARATION_COUNT BIGINT Tota l count of s ta tement
prepa ra ti on
EXECUTION_COUNT_BY_ROUTING BIGINT Executi on count by the
cl i ent routed connecti on
i n s ta tement routi ng
END_TIME TIMESTAMP The ti me when the
connecti on i s cl os ed for
hi s tory connecti ons

57 2012-12-19
SAP HANA System Tables and Monitoring Views Reference

M_CONTAINER_DIRECTORY
Short description
ContainerDirectory statistics

Structure

Column name Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
CNT_CREATE BIGINT Counter Count of crea tes
CNT_CREATE_ROLLBACK BIGINT Counter Count of rol l ed ba ck crea tes
CNT_REMOVE BIGINT Counter Count of removes
CNT_REMOVE_FAIL BIGINT Counter Count of fa i l ed removes
CNT_REMOVE_ROLLBACK BIGINT Counter Count of rol l ed ba ck removes
CNT_MOVE BIGINT Counter Count of moves
CNT_GET_PHYSICALSIZE BIGINT Counter Count of getPhys i ca l Si ze
CNT_GET BIGINT Counter Count of retri eved conta i ners
CNT_GET_FAIL BIGINT Counter Count of fa i l ed gets
CNT_BEGIN BIGINT Counter Count of us ed i tera tors
CNT_ITERATED BIGINT Counter Count of i tera ted conta i ners
CNT_CACHEHIT BIGINT Counter Count of ca che hi ts
CNT_CACHEMISS BIGINT Counter Count of ca che mi s s es
CNT_CONTAINERS BIGINT Counter 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
CNT_CREATE BIGINT Counter Count of crea tes
CNT_CREATE_FAIL BIGINT Counter Count of fa i l ed crea tes
CNT_INITIAL_CREATE BIGINT Counter Count of crea tes on l oa d
CNT_INITIAL_SKIP BIGINT Counter Count of s ki ps on l oa d
CNT_REMOVE BIGINT Counter Count of removes
CNT_REMOVE_FAIL BIGINT Counter Count of fa i l ed removes
CNT_REMOVE_ALL BIGINT Counter Count of removeAl l
CNT_RENAME BIGINT Counter Count of rena mes
CNT_RENAME_FAIL BIGINT Counter Count of fa i l ed rena mes
CNT_EXISTS BIGINT Counter Count of checked conta i ners
CNT_GET BIGINT Counter Count of retri eved conta i ners
CNT_GET_FAIL BIGINT Counter Count of fa i l ed gets
CNT_BEGIN BIGINT Counter Count of us ed i tera tors
CNT_ITERATE BIGINT Counter Count of i tera ted conta i ners
CNT_CONTAINERS BIGINT Counter 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
STATISTICS_ID BIGINT Sta ti s ti cs object uni que ID
CATEGORY VARCHAR(128) Al l oca tor na me
DEPTH BIGINT Depth
INCLUSIVE_SIZE_IN_USE BIGINT Byte Current s i ze of thi s a l l oca tor,
i ncl udi ng s uba l l oca tors
INCLUSIVE_COUNT_IN_USE BIGINT Counter Number of bl ocks currentl y i n us e,
i ncl udi ng s uba l l oca tors
INCLUSIVE_ALLOCATED_SIZE BIGINT Byte 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
INCLUSIVE_DEALLOCATED_SIZE BIGINT Byte 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
INCLUSIVE_ALLOCATED_COUNT BIGINT Counter Count of a l l oca ti ons , i ncl udi ng
s uba l l oca tors
INCLUSIVE_DEALLOCATED_COUNT BIGINT Counter Count of dea l l oca ti ons , i ncl udi ng
s uba l l oca tors
INCLUSIVE_MAX_SINGLE_ALLOCATION_SIZE BIGINT Byte 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
INCLUSIVE_PEAK_ALLOCATION_SIZE BIGINT Byte 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)
EXCLUSIVE_SIZE_IN_USE BIGINT Byte Current s i ze of thi s a l l oca tor
EXCLUSIVE_COUNT_IN_USE BIGINT Counter Number of bl ocks currentl y i n us e
EXCLUSIVE_ALLOCATED_SIZE BIGINT Byte Tota l a l l oca ted s i ze i n thi s a l l oca tor
EXCLUSIVE_DEALLOCATED_SIZE BIGINT Byte Tota l dea l l oca ted s i ze i n thi s
a l l oca tor
EXCLUSIVE_ALLOCATED_COUNT BIGINT Counter Count of a l l oca ti ons
EXCLUSIVE_DEALLOCATED_COUNT BIGINT Counter Count of dea l l oca ti ons
EXCLUSIVE_MAX_SINGLE_ALLOCATION_SIZE BIGINT Byte Ma xi mum ever a l l oca ted bl ock s i ze i n
thi s a l l oca tor
EXCLUSIVE_PEAK_ALLOCATION_SIZE BIGINT Byte Ma xi mum s i ze of thi s a l l oca tor
(es ti ma te)
EXCLUSIVE_ALLOC_ERRORS BIGINT Counter Count of a l l oca ti on errors
MALLOC_PROXY_CACHE_MISSES BIGINT Counter Count of ma l l oc proxy ca che mi s s es
FLAGS VARCHAR(64) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume
ID
TYPE VARCHAR(32) Type of converter
MAX_LEVEL BIGINT Counter Ma xi mum l evel , e.g.
l evel of root pa ge
MAX_PAGENUMBER BIGINT HEXID Ma xi mum pa ge
number
ALLOCATED_PAGE_COUNT BIGINT Counter Number of currentl y
a l l oca ted pa ges
ALLOCATED_PAGE_SIZE BIGINT Byte Tota l s i ze [bytes ] of
currentl y a l l oca ted
pa ges
MAX_ALLOCATED_PAGE_COUNT BIGINT Counter Ma xi mum number
of a l l oca ted pa ges
MAX_ALLOCATED_PAGE_SIZE BIGINT Byte Ma xi mum s i ze
[bytes ] of a l l oca ted
pa ges
ALLOCATE_PAGE_COUNT BIGINT Counter Number of pa ge
a l l oca ti ons
ALLOCATE_OR_GET_STATIC_PAGE_COUNT BIGINT Counter Number of pa ge
a l l oca ti ons or
retri eva l s duri ng
s ta ti c pha s e
DEALLOCATE_PAGE_COUNT BIGINT Counter Number of pa ge
dea l l oca ti ons
ASSIGN_PHYSICAL_PAGE_COUNT BIGINT Counter Number of phys i ca l
pa ge a s s i gnments
UNASSIGN_PHYSICAL_PAGE_COUNT BIGINT Counter Number of phys i ca l
pa ge
una s s i gnments
UNASSIGN_PHYSICAL_PAGE_COUNT_DURING_DROP_SNAPSHOT BIGINT Counter Number of phys i ca l
pa ge
una s s i gnments
duri ng drop
s na ps hot
CREATE_SNAPSHOT_COUNT BIGINT Counter Number of
s na ps hots crea ted
DROP_SNAPSHOT_COUNT BIGINT Counter Number of
s na ps hots dropped
WRITE_CONVERTERPAGE_LEVEL0_COUNT BIGINT Counter Number of l evel 0
converter pa ges
wri tten to di s k
WRITE_CONVERTERPAGE_LEVEL1_COUNT BIGINT Counter Number of l evel 1
converter pa ges

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
WRITE_CONVERTERPAGE_LEVEL3_COUNT BIGINT Counter Number of l evel 3
converter pa ges
wri tten to di s k
WRITE_CONVERTERPAGE_LEVEL4_COUNT BIGINT Counter Number of l evel 4
converter pa ges
wri tten to di s k

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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
COLUMN_NAME NVARCHAR(256) Col umn na me
PART_ID INTEGER 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 BIGINT Sum of MEMORY_SIZE_IN_MAIN a nd
MEMORY_SIZE_IN_DELTA col umns
MEMORY_SIZE_IN_MAIN BIGINT Current memory cons umpti on i n ma i n; 0 i f
not l oa ded
MEMORY_SIZE_IN_DELTA BIGINT Current memory cons umpti on i n del ta ; 0 i f
not l oa ded
UNCOMPRESSED_SIZE BIGINT Es ti ma ted s i ze a s s umi ng tha t col umn i s not
compres s ed
COMPRESSION_RATIO_IN_PERCENTAGE DOUBLE MEMORY_SIZE_IN_TOTAL /
UNCOMPRESSED_SIZE * 100
COUNT BIGINT Record count; 0 i f not l oa ded
DISTINCT_COUNT BIGINT Di s ti nct count of va l ues ; 0 i f not l oa ded
COMPRESSION_TYPE VARCHAR(16) 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
INDEX_TYPE VARCHAR(16) Type of i nverted i ndex; ca n be FULL,
SIGNATURE or NONE for no i ndex
INDEX_LOADED VARCHAR(16) Loa d s ta tus of i nverted i ndex; ca n be NOT
APPLICABLE, UNLOADED, LOADING or LOADED
IMPLEMENTATION_FLAGS BIGINT Col umn i nterna l i mpl ementa ti on s pec
s umma ry
LAST_ACCESS_TIME TIMESTAMP 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
LOADED VARCHAR(5) Fl a g to i ndi ca te tha t col umn i s l oa ded i nto
memory: 'TRUE', 'FALSE'
TABLE_OID BIGINT Object ID of ta bl e
MAIN_MEMORY_SIZE_IN_DATA BIGINT Current memory cons umpti on i n da ta
MAIN_MEMORY_SIZE_IN_DICT BIGINT Current memory cons umpti on i n di ct
MAIN_MEMORY_SIZE_IN_INDEX BIGINT Current memory cons umpti on i n i ndex
MAIN_MEMORY_SIZE_IN_MISC BIGINT Current memory cons umpti on i n mi s c
DELTA_MEMORY_SIZE_IN_DATA BIGINT Current memory cons umpti on i n da ta
DELTA_MEMORY_SIZE_IN_DICT BIGINT Current memory cons umpti on i n di ct
DELTA_MEMORY_SIZE_IN_INDEX BIGINT Current memory cons umpti on i n i ndex
DELTA_MEMORY_SIZE_IN_MISC BIGINT Current memory cons umpti on i n mi s c
INDEX_CREATE_DURATION BIGINT Ti me needed for crea ti ng i nverted i ndex
DELTA_IMPLEMENTATION_FLAGS BIGINT Col umn i nterna l i mpl ementa ti on s pec
s umma ry
INTERNAL_ATTRIBUTE_TYPE VARCHAR(32) Attri bute type for i nterna l col umns ; NULL for
noni nterna l col umns

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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
COLUMN_NAME NVARCHAR(256) Col umn na me
PART_ID INTEGER 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 BIGINT Byte Sum of MEMORY_SIZE_IN_MAIN a nd
MEMORY_SIZE_IN_DELTA col umns
MEMORY_SIZE_IN_MAIN BIGINT Byte Current memory cons umpti on i n ma i n; 0
i f not l oa ded
MEMORY_SIZE_IN_DELTA BIGINT Byte Current memory cons umpti on i n del ta ; 0
i f not l oa ded
UNCOMPRESSED_SIZE BIGINT Byte Es ti ma ted s i ze a s s umi ng tha t col umn i s
not compres s ed
COMPRESSION_RATIO_IN_PERCENTAGE DOUBLE Percent MEMORY_SIZE_IN_TOTAL /
UNCOMPRESSED_SIZE * 100
COUNT BIGINT Record count; 0 i f not l oa ded
DISTINCT_COUNT BIGINT Di s ti nct count of va l ues ; 0 i f not l oa ded
COMPRESSION_TYPE VARCHAR(16) 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
INDEX_TYPE VARCHAR(16) Type of i nverted i ndex; ca n be FULL,
SIGNATURE or NONE for no i ndex
INDEX_LOADED VARCHAR(16) Loa d s ta tus of i nverted i ndex; ca n be
NOT APPLICABLE, UNLOADED, LOADING or
LOADED
IMPLEMENTATION_FLAGS BIGINT Col umn i nterna l i mpl ementa ti on s pec
s umma ry
LAST_ACCESS_TIME TIMESTAMP 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
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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema Na me
TABLE_NAME NVARCHAR(256) Ta bl e Na me
PART_ID INTEGER 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.
PARTITION INTEGER 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
SUBPARTITION INTEGER 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
RANGE VARCHAR(64) 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

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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
PART_ID INTEGER 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
MEMORY_SIZE_IN_MAIN BIGINT Byte 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
MEMORY_SIZE_IN_DELTA BIGINT Byte Current memory cons umpti on i n
del ta
MEMORY_SIZE_IN_HISTORY_MAIN BIGINT Byte Current memory cons umpti on i n
hi s tory-ma i n; 0 for norma l non-
hi s tory ta bl es
MEMORY_SIZE_IN_HISTORY_DELTA BIGINT Byte Current memory cons umpti on i n
hi s tory-del ta ; 0 for norma l non-
hi s tory ta bl es
ESTIMATED_MAX_MEMORY_SIZE_IN_TOTAL BIGINT Byte 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 BIGINT Byte Record count
RAW_RECORD_COUNT_IN_MAIN BIGINT 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
RAW_RECORD_COUNT_IN_DELTA BIGINT 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
RAW_RECORD_COUNT_IN_HISTORY_MAIN BIGINT Ra w record count i n hi s tory-ma i n
RAW_RECORD_COUNT_IN_HISTORY_DELTA BIGINT Ra w record count i n hi s tory-del ta
LAST_COMPRESSED_RECORD_COUNT BIGINT The number of entri es i n ma i n
duri ng l a s t opti mi ze compres s i on
run
MAX_UDIV BIGINT 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
MAX_MERGE_CID BIGINT 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
MAX_ROWID BIGINT 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
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
IS_DELTA_LOADED VARCHAR(5) Bool ea n 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'

68 2012-12-19
SAP HANA System Tables and Monitoring Views Reference

IS_LOG_DELTA VARCHAR(5) 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'
PERSISTENT_MERGE VARCHAR(5) Bool ea n 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'
CREATE_TIME TIMESTAMP Crea ted ti me
MODIFY_TIME TIMESTAMP Modi fi ed ti me
LAST_MERGE_TIME TIMESTAMP 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
LAST_REPLAY_LOG_TIME TIMESTAMP 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
LOADED VARCHAR(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
READ_COUNT BIGINT Number of rea d a cces s es on the
ta bl e or pa rti ti on
WRITE_COUNT BIGINT Number of wri te a cces s es on the
ta bl e or pa rti ti on
MERGE_COUNT BIGINT Number of del ta merges done on
the ta bl e or pa rti ti on
IS_REPLICA 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
UNLOAD_TIME TIMESTAMP Ti mes ta mp of unl oa d event
SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
COLUMN_NAME NVARCHAR(256) Col umn na me. Empty i f the whol e ta bl e i s unl oa ded.
PART_ID INTEGER 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.
TABLE_OID BIGINT Object Id of the ta bl e
IS_HISTORY VARCHAR(5) 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.
REASON NVARCHAR(16) Unl oa d rea s on (LOW MEMORY or EXPLICIT)

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 Data type Unit Description


DATABASE_NAME VARCHAR(256) Sys tem SID
HOST VARCHAR(64) Defa ul t ma s ter hos t
START_TIME TIMESTAMP Sta rt ti me
VERSION VARCHAR(32) 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 Data type Unit Description


INSTALL_TIME TIMESTAMP Ins ta l l /fi rs t s ta rt ti me
VERSION VARCHAR(32) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
FILE_NAME VARCHAR(512) Fi l ena me of Da ta Vol ume
FILE_ID BIGINT Fi l eID of Da ta Vol ume
SIZE BIGINT Byte Si ze of Da ta Vol ume
MAX_SIZE BIGINT Byte 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
DATA_VOLUME_NAME VARCHAR(512) Da ta Vol ume na me
PAGE_SIZECLASS VARCHAR(16) Pa ge s i ze cl a s s
PAGE_SIZE BIGINT Byte Pa ge s i ze
SUPERBLOCK_SIZE BIGINT Byte Superbl ock s i ze
INITIAL_BLOCK_COUNT BIGINT Counter Count of i ni t pa ges
TOTAL_ALLOCATE_BLOCK_COUNT BIGINT Counter Number of s i ngl e a nd group
a l l oca ted bl ocks
TOTAL_SET_BLOCK_FREE_COUNT BIGINT Counter Number of s i ngl e a nd group
freed bl ocks
TOTAL_SET_BLOCK_FREE_AFTER_SAVEPOINT_COUNT BIGINT Counter Number of s i ngl e a nd group
freed-a fter-s a vepoi nt bl ocks
SUPERBLOCK_COUNT BIGINT Counter Number of us ed Superbl ocks
USED_BLOCK_COUNT BIGINT Counter Count of us ed bl ocks
SHADOW_BLOCK_COUNT BIGINT Counter Count of s ha dow bl ocks
FILL_RATIO DOUBLE Percent 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
DATA_VOLUME_NAME VARCHAR(512) Da ta Vol ume na me
SUPERBLOCK_SIZE BIGINT Byte Superbl ock s i ze
USED_SUPERBLOCK_COUNT BIGINT Counter Count of us ed Superbl ocks
SUPERBLOCK_COUNT BIGINT Counter Count of Superbl ocks
FILL_RATIO DOUBLE Percent 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
TYPE VARCHAR(8) 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_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
PART_ID INTEGER 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.
HISTORY VARCHAR(5) Bool ea n Fl a g to i ndi ca te hi s tory pa rt wa s merged: 'TRUE',
'FALSE'
MEMORY_MERGE VARCHAR(5) Bool ea n Fl a g to i ndi ca te ta bl e wa s merged i n memory
onl y: 'TRUE', 'FALSE'
PASSPORT VARCHAR(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
START_TIME TIMESTAMP Executi on s ta rt ti me
EXECUTION_TIME BIGINT Mi l l i s econd Executi on dura ti on
MOTIVATION VARCHAR(8) HARD, SMART, AUTO, FORCE
SUCCESS VARCHAR(5) Bool ea n 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'
MERGED_DELTA_RECORDS INTEGER Counter Number of documents i n del ta
LAST_ERROR INTEGER 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

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 Data type Unit Description


DISK_ID INTEGER Di s k ID
DEVICE_ID BIGINT Da ta ba s e Interna l Devi ce ID
HOST VARCHAR(64) 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.
PATH VARCHAR(512) Pa th
SUBPATH VARCHAR(512) Subpa th
FILESYSTEM_TYPE VARCHAR(16) Fi l es ys tem type
USAGE_TYPE VARCHAR(16) Us a ge Type: LOG, DATA, TRACE, DATA_BACKUP a nd LOG_BACKUP
TOTAL_SIZE BIGINT Byte Vol ume Us ed Spa ce
USED_SIZE BIGINT Byte 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 Data type Unit Description


CODE INTEGER Error Code
CODE_STRING VARCHAR(256) Error Code Stri ng
DESCRIPTION VARCHAR(2000) 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 Data type Unit Description


HOST VARCHAR(64) Hos t
PORT INTEGER Port
TYPE VARCHAR(256) Type of event
ID BIGINT ID of event
INFOTEXT VARCHAR(2000) Addi ti ona l i nfo freetext
CREATE_TIME TIMESTAMP Ti me event wa s crea ted
UPDATE_TIME TIMESTAMP Ti me event wa s upda ted
HANDLE_TIME TIMESTAMP Ti me event wa s ha ndl ed
STATE VARCHAR(256) Sta te of event
ACKNOWLEDGED VARCHAR(5) Event a cknowl edged: 'TRUE', 'FALSE'
FAILED_HANDLES BIGINT 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
CONNECTION_ID INTEGER Connecti on ID
TRANSACTION_ID BIGINT Tra ns a cti on object ID
STATEMENT_ID NVARCHAR(256) Sta tement ID
DB_USER NVARCHAR(256) Us er na me
APP_USER NVARCHAR(256) Appl i ca ti on us er na me
START_TIME TIMESTAMP Sta tement s ta rt ti me
DURATION_MICROSEC BIGINT Mi cros econd Sta tement dura ti on
OBJECT_NAME NVARCHAR(5000) Rel a ted objects
OPERATION NVARCHAR(5000) Type of opera ti on: e.g. prepa re, execute,
fetch, cl os e
RECORDS BIGINT Number of records
STATEMENT_STRING NCLOB Sta tement s tri ng
PARAMETERS NVARCHAR(5000) Pa ra meters
ERROR_CODE INTEGER Error code
ERROR_TEXT NVARCHAR(5000) Error mes s a ge
LOCK_WAIT_COUNT INTEGER Accumul a ted l ock wa i t count
LOCK_WAIT_DURATION BIGINT Accumul a ted l ock wa i t dura ti on
ALLOC_MEM_SIZE_ROWSTORE BIGINT Byte Al l oca ted memory s i ze for row s tore
ALLOC_MEM_SIZE_COLSTORE BIGINT Byte Al l oca ted memory s i ze for col umn s tore
MEMORY_SIZE BIGINT 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.
REUSED_MEMORY_SIZE BIGINT Memory reus ed from ca ched da ta
s tructures , 0 i f ca ches empty
CPU_TIME BIGINT CPU ti me (us ) cons umed to compute the
s ta tement

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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
CONNECTION_ID INTEGER 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_NAME NVARCHAR(256) Schema of ta bl e or vi ew bei ng i mported
TABLE_NAME NVARCHAR(256) Na me of ta bl e or vi ew bei ng i mported
INDEX_TYPE VARCHAR(16) Index type: 'UNKNOWN', 'PHYSICAL', 'OLAP', 'JOIN', 'HIERARCHY',
'CALCULATION', ...
STATUS VARCHAR(16) Import s ta tus . 'queued', 'worki ng', 's ki pped', 'done', 'fa i l ed'
ERROR VARCHAR(512) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Na me of the s chema where the DSO ta bl es a re genera ted
TABLE_NAME NVARCHAR(256) Na me of the DSO s peci fi c s ta tus ta bl e
CLIENT NVARCHAR(3) The ID of the cl i ent
STATUS VARCHAR(5) Genera l s ta tus overvi ew s a yi ng 'OK' or 'ERROR'
REQUEST_ID INTEGER SID of the reques t us ed for a cti va ti on
ERROR_MESSAGE NVARCHAR(5000) The mes s a ge i n ca s e of a n error
PHASE VARCHAR(32) The pha s e of the l a s t runni ng opera ti on
TIMESTAMP TIMESTAMP 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 Data type Unit Description


COMPONENT_NAME VARCHAR(16) Na me of the component owni ng the fea ture
FEATURE_NAME VARCHAR(32) Na me of the fea ture
FEATURE_VERSION BIGINT 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
INDEX_OID BIGINT OID of the corres pondi ng ful l text i ndex
SCHEMA_NAME NVARCHAR(256) Schema of the da ta ta bl e
TABLE_NAME NVARCHAR(256) Na me of the da ta ta bl e
PART_ID INTEGER 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.
COLUMN_NAME NVARCHAR(256) Na me of the document col umn
STATUS NVARCHAR(16) Queue s ta tus (ACTIVE, SUSPENDED)
TOTAL_DOCUMENT_COUNT BIGINT Tota l number of documents i n the ori gi na l ta bl e
INDEXED_DOCUMENT_COUNT BIGINT Number of s ucces s ful l y i ndexed documents
QUEUE_DOCUMENT_COUNT BIGINT Number of documents currentl y i n the queue
ERROR_DOCUMENT_COUNT BIGINT Number of fa i l ed documents

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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
COLUMN_NAME NVARCHAR(256) Col umn na me
PART_ID INTEGER 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_SEARCH_MODE NVARCHAR(256) Fuzzy i ndex s ea rch mode
MEMORY_SIZE_IN_TOTAL BIGINT Byte Sum of MEMORY_SIZE_IN_MAIN a nd
MEMORY_SIZE_IN_DELTA
MEMORY_SIZE_IN_MAIN BIGINT Byte Current s i ze of the fuzzy s ea rch i ndexes i n ma i n; 0 i f
not l oa ded
MEMORY_SIZE_IN_DELTA BIGINT Byte Current s i ze of the fuzzy s ea rch i ndexes i n del ta ; 0 i f
not l oa ded
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'

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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
STORE_TYPE VARCHAR(16) type of s tora ge ha ndl ed (COLUMN STORE,
LIVECACHE)
HISTORY_COUNT INTEGER Counter Current count of hi s tory fi l es i n GC
WAITER_COUNT INTEGER Counter Current count of GC wa i ters
MIN_READ_TID BIGINT TID La s t known mi ni mum TID of a rea di ng
tra ns a cti on a t EOT
LAST_STARTED_TID BIGINT TID TID of the l a s t s ta rted GC job
FIRST_WAITING_TID BIGINT TID TID of the fi rs t wa i ti ng GC job
ENTERS BIGINT Counter Count of hi s tory fi l es whi ch entered the queue
STARTED_JOBS BIGINT Counter Count of ga rba ge col l ecti on jobs s ta rted
PROCESSED_JOBS BIGINT Counter Count of ga rba ge col l ecti on fi l es proces s ed
QUEUE_LOADS BIGINT Counter Count of a l l GC queue l oa ds
QUEUE_LOADS_NONEMPTY BIGINT Counter Count of GC queue l oa ds whi ch found s ome
el ements
QUEUE_EMPTY_COUNT BIGINT Counter Count of queue empty s ta tes a fter GC fi ni s hed
SAVEPOINTS BIGINT Counter Count of s a vepoi nts
LAST_HISTORY_SIZE_AT_SVP BIGINT Counter Count of hi s tory fi l es pres ent a t s a vepoi nt (l a s t)
MAX_HISTORY_SIZE_AT_SVP BIGINT Counter Count of hi s tory fi l es pres ent a t s a vepoi nt (ma x)
MIN_HISTORY_SIZE_AT_SVP BIGINT Counter Count of hi s tory fi l es pres ent a t s a vepoi nt (mi n)
SUM_HISTORY_SIZE_AT_SVP BIGINT Counter Count of hi s tory fi l es pres ent a t s a vepoi nt (tota l )
AVG_HISTORY_SIZE_AT_SVP DOUBLE Ra te Count of hi s tory fi l es pres ent a t s a vepoi nt (a vg)
EMPTY_HISTORY_AT_SVP_COUNT BIGINT Counter 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
STATISTICS_ID BIGINT Sta ti s ti cs object uni que ID
CATEGORY VARCHAR(128) Al l oca tor na me
DEPTH BIGINT Depth
INCLUSIVE_SIZE_IN_USE BIGINT Byte Current s i ze of thi s a l l oca tor,
i ncl udi ng s uba l l oca tors
INCLUSIVE_COUNT_IN_USE BIGINT Counter Number of bl ocks currentl y i n us e,
i ncl udi ng s uba l l oca tors
INCLUSIVE_ALLOCATED_SIZE BIGINT Byte 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
INCLUSIVE_DEALLOCATED_SIZE BIGINT Byte 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
INCLUSIVE_ALLOCATED_COUNT BIGINT Counter Count of a l l oca ti ons , i ncl udi ng
s uba l l oca tors
INCLUSIVE_DEALLOCATED_COUNT BIGINT Counter Count of dea l l oca ti ons , i ncl udi ng
s uba l l oca tors
INCLUSIVE_MAX_SINGLE_ALLOCATION_SIZE BIGINT Byte 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
INCLUSIVE_PEAK_ALLOCATION_SIZE BIGINT Byte 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)
EXCLUSIVE_SIZE_IN_USE BIGINT Byte Current s i ze of thi s a l l oca tor
EXCLUSIVE_COUNT_IN_USE BIGINT Counter Number of bl ocks currentl y i n us e
EXCLUSIVE_ALLOCATED_SIZE BIGINT Byte Tota l a l l oca ted s i ze i n thi s a l l oca tor
EXCLUSIVE_DEALLOCATED_SIZE BIGINT Byte Tota l dea l l oca ted s i ze i n thi s
a l l oca tor
EXCLUSIVE_ALLOCATED_COUNT BIGINT Counter Count of a l l oca ti ons
EXCLUSIVE_DEALLOCATED_COUNT BIGINT Counter Count of dea l l oca ti ons
EXCLUSIVE_MAX_SINGLE_ALLOCATION_SIZE BIGINT Byte Ma xi mum ever a l l oca ted bl ock s i ze i n
thi s a l l oca tor
EXCLUSIVE_PEAK_ALLOCATION_SIZE BIGINT Byte Ma xi mum s i ze of thi s a l l oca tor
(es ti ma te)
EXCLUSIVE_ALLOC_ERRORS BIGINT Counter Count of a l l oca ti on errors
MALLOC_PROXY_CACHE_MISSES BIGINT Counter Count of ma l l oc proxy ca che mi s s es
FLAGS VARCHAR(64) 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 Data type Unit Description


SESSION_ID BIGINT Ses s i on ID
SESSION_OWNER_VOLUME_ID BIGINT Vol ume ID of thi s s es s i on
LAST_COMMIT_ID BIGINT 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
KEY VARCHAR(32) Key
VALUE VARCHAR(256) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
FREE_PHYSICAL_MEMORY BIGINT Byte Free phys i ca l memory on the hos t
USED_PHYSICAL_MEMORY BIGINT Byte Us ed phys i ca l memory on the hos t
FREE_SWAP_SPACE BIGINT Byte Free s wa p memory on the hos t
USED_SWAP_SPACE BIGINT Byte Us ed s wa p memory on the hos t
ALLOCATION_LIMIT BIGINT Byte Al l oca ti on l i mi t for a l l proces s es
TOTAL_CPU_USER_TIME BIGINT Mi l l i s econd CPU ti me s pent i n us er mode
TOTAL_CPU_SYSTEM_TIME BIGINT Mi l l i s econd CPU ti me s pent i n kernel mode
TOTAL_CPU_WIO_TIME BIGINT Mi l l i s econd CPU ti me s pent i n wa i t IO (Li nux onl y, Wi ndows
a l wa ys 0)
TOTAL_CPU_IDLE_TIME BIGINT Mi l l i s econd CPU i dl e ti me
SYS_TIMESTAMP TIMESTAMP Hos t ti mes ta mp i n l oca l ti me zone
UTC_TIMESTAMP TIMESTAMP 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
CONNECTION_ID INTEGER 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_NAME NVARCHAR(256) Schema of ta bl e or vi ew bei ng i mported
TABLE_NAME NVARCHAR(256) Na me of ta bl e or vi ew bei ng i mported
INDEX_TYPE VARCHAR(16) Index type: 'UNKNOWN', 'PHYSICAL', 'OLAP', 'JOIN', 'HIERARCHY',
'CALCULATION', ...
STATUS VARCHAR(16) Import s ta tus . 'queued', 'worki ng', 's ki pped', 'done', 'fa i l ed'
ERROR VARCHAR(512) 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 Data type Unit Description


FILE_NAME VARCHAR(256) Confi gura ti on fi l e na me
DEFAULT_LAYER VARCHAR(5) 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)
SYSTEM_LAYER VARCHAR(5) Bool ea n TRUE i f fi l e ha s confi gura ti on on thi s l a yer
TENANT_LAYER VARCHAR(5) Bool ea n TRUE i f fi l e ha s confi gura ti on on thi s l a yer
HOST_LAYER VARCHAR(5) Bool ea n 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 Data type Unit Description


FILE_NAME VARCHAR(256) Confi gura ti on fi l e na me
LAYER_NAME VARCHAR(16) Confi gura ti on l a yer: DEFAULT, SYSTEM, TENANT, HOST
TENANT_NAME VARCHAR(256) Tena nt na me, i f l a yer i s TENANT
HOST VARCHAR(64) Hos t na me, i f l a yer i s HOST
SECTION VARCHAR(128) Confi gura ti on s ecti on na me
KEY VARCHAR(128) Confi gura ti on key na me
VALUE VARCHAR(5000) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema of the object
OBJECT_NAME NVARCHAR(256) Na me of the object
JOB_NAME NVARCHAR(128) Type of the opera ti on
CONNECTION_ID INTEGER Connecti on tha t tri ggered the opera ti on
START_TIME TIMESTAMP Sta rt ti me of the opera ti on
CURRENT_PROGRESS INTEGER Steps of the opera ti on tha t a re a l rea dy fi ni s hed
MAX_PROGRESS INTEGER Ma xi mum s teps of the opera ti on
PROGRESS_DETAIL NVARCHAR(256) 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 Description
YES Al l s ervi ces a re a cti ve
STARTING Some s ervi ces a re a cti ve, hos t i s s ta rti ng
PARTIAL Some s ervi ces a re a cti ve
STOPPING Some s ervi ces a re a cti ve, hos t i s s toppi ng
NO No s ervi ces a re a cti ve

HOST_STATUS
Value Description
OK La nds ca pe opera ti ona l , hos t a ctua l rol e equa l s confi gured rol e
IGNORE 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
INFO La nds ca pe opera ti ona l , hos t a ctua l rol e i s di fferent from confi gured rol e
WARNING 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
ERROR 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
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
.. s ec
wa i ti ng Fa i l ure detected. Wa i ti ng for other 's ta rti ng' hos t
fa i l over
Fa i l over to 'hos t' a cti ve.
to 'hos t'
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
fa i l ba ck
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
to 'hos t'
woul d ca us e s ome downti me
fa i l ed 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
HOST_ACTIVE VARCHAR(128) 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)
HOST_STATUS VARCHAR(128) Hos t s ta tus
FAILOVER_STATUS VARCHAR(128) Fa i l over s ta tus
FAILOVER_GROUP VARCHAR(256) DEPRECATED: repl a ced by FAILOVER_..._GROUP col umns
FAILOVER_CONFIG_GROUP VARCHAR(256) Confi gured fa i l over group
FAILOVER_ACTUAL_GROUP VARCHAR(256) Actua l fa i l over group
NAMESERVER_CONFIG_ROLE VARCHAR(16) Na mes erver confi gured rol e: MASTER, SLAVE
NAMESERVER_ACTUAL_ROLE VARCHAR(16) Na mes erver a ctua l rol e: MASTER, SLAVE
INDEXSERVER_CONFIG_ROLE VARCHAR(16) Indexs erver confi gured rol e: WORKER, STANDBY
INDEXSERVER_ACTUAL_ROLE VARCHAR(16) Indexs erver a ctua l rol e: MASTER, SLAVE, STANDBY
STORAGE_PARTITION INTEGER Stora ge Pa rti ti on ~= s ubpa th us ed by tha t hos t
REMOVE_STATUS VARCHAR(16) 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 Data type Unit Description


HARDWARE_KEY VARCHAR(11) Ha rdwa re key of thi s SAP HANA i ns ta l l a ti on
SYSTEM_ID VARCHAR(3) Sys tem i denti fi er (SID) of thi s SAP HANA da ta ba s e
INSTALL_NO VARCHAR(10) Ins ta l l a ti on number of thi s SAP HANA da ta ba s e
SYSTEM_NO VARCHAR(18) Sys tem number of thi s SAP HANA da ta ba s e
PRODUCT_NAME VARCHAR(256) Na me of the l i cens ed s oftwa re product, e.g. SAP HANA
PRODUCT_LIMIT BIGINT Li cens ed a mount of ma i n memory a s s peci fi ed by the
l i cens e
PRODUCT_USAGE BIGINT Currentl y uti l i zed a mount of ma i n memory
START_DATE TIMESTAMP Sta rt da te of the va l i di ty peri od of the l i cens e
EXPIRATION_DATE TIMESTAMP Expi ra ti on da te of the va l i di ty peri od of the l i cens e
LAST_SUCCESSFUL_CHECK TIMESTAMP 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
PERMANENT VARCHAR(5) 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
VALID VARCHAR(5) TRUE i f the l i cens e i s currentl y va l i d, otherwi s e FALSE
ENFORCED VARCHAR(5) TRUE i f the l i cens e i s a memory-enforced l i cens e,
otherwi s e FALSE
LOCKED_DOWN VARCHAR(5) 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
MEASUREMENT_XML CLOB 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 Data type Unit Description


PRODUCT_USAGE BIGINT Ma xi mum uti l i zed a mount of ma i n memory us ed i n thi s peri od
PERIOD_START_TIME TIMESTAMP Sta rt ti me of the peri od the ma xi mum wa s us ed i n
PERIOD_END_TIME TIMESTAMP 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
CONTAINER_ID BIGINT Conta i ner ID
OMS_CLASS_ID INTEGER OMS cl a s s ID
OMS_CLASS_NAME VARCHAR(64) OMS cl a s s na me
OMS_SCHEMA_HANDLE INTEGER OMS s chema ha ndl e
OMS_CONTAINER_NO INTEGER OMS conta i ner number
CLASS_SIZE BIGINT Byte Object cl a s s s i ze
KEY_SIZE INTEGER Byte Object key s i ze
KEY_PARTITION_COUNT INTEGER Key pa rti ti on count
KEY_PARTITION_PREFIX_SIZE INTEGER Byte Key pa rti ti on prefi x l ength
CACHED_KEYS VARCHAR(5) Ca ched keys a cti ve: 'TRUE', 'FALSE'
COPY_ON_UPDATE VARCHAR(5) Copy on upda te a cti ve: 'TRUE', 'FALSE'
OBJECT_COUNT BIGINT Counter Object count
OBJECT_SIZE_SUM BIGINT Byte Object s i ze s um
HISTORY_OBJECT_COUNT BIGINT Counter Hi s tory (ma rk del eted) object count
HISTORY_SIZE_SUM BIGINT Byte Hi s tory da ta s i ze s um
PAGE_COUNT BIGINT Counter Pa ge count
PAGE_SIZE_SUM BIGINT Byte Pa ge s i ze s um
OBJECT_CREATE_COUNT BIGINT Counter Object crea te count s i nce res ta rt
OBJECT_UPDATE_COUNT BIGINT Counter Object upda te count s i nce res ta rt
OBJECT_DELETE_COUNT BIGINT Counter Object del ete count s i nce res ta rt
CREATE_TIME TIMESTAMP 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
ID VARCHAR(20) ID of the l ock (OID, conta i ner ID, or s chema ID dependent on the
l ock cl a s s )
CLASS VARCHAR(20) The cl a s s tha t the l ock bel ongs to
GRANTED_MODE VARCHAR(20) The mode tha t the l ock ha s currentl y gra nted to s ome reques t(s )
MODE VARCHAR(20) 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'
TYPE VARCHAR(10) 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))
STATE VARCHAR(10) Sta te of thi s l ock reques t
TID BIGINT TID Tra ns a cti on ID bel ongi ng to thi s l ock reques t
TIMEOUT BIGINT 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
CONTAINER_EXCLUSIVE_COUNT BIGINT Counter Number of excl us i ve l ock reques ts on conta i ners
CONTAINER_SHARED_COUNT BIGINT Counter Number of s ha red l ock reques ts on conta i ners
CONTAINER_COLLISION_COUNT BIGINT Counter Number of l ock col l i s i ons on conta i ners
CONTAINER_TIMEOUT_COUNT BIGINT Counter Number of l ock ti meouts on conta i ners
SCHEMA_EXCLUSIVE_COUNT BIGINT Counter Number of excl us i ve l ock reques ts on s chema s
SCHEMA_SHARED_COUNT BIGINT Counter Number of s ha red l ock reques ts on s chema s
SCHEMA_COLLISION_COUNT BIGINT Counter Number of l ock col l i s i ons on s chema s
SCHEMA_TIMEOUT_COUNT BIGINT Counter Number of l ock ti meouts on s chema s
OBJECT_EXCLUSIVE_COUNT BIGINT Counter Number of excl us i ve l ock reques ts on objects
OBJECT_SHARED_COUNT BIGINT Counter Number of s ha red l ock reques ts on objects
OBJECT_COLLISION_COUNT BIGINT Counter Number of l ock col l i s i ons on objects
OBJECT_TIMEOUT_COUNT BIGINT Counter Number of ti meouts on objects
COMMITTED_REQUESTS_COUNT BIGINT Counter 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VERSION_ID VARCHAR(22) ID of the OMS vers i on
CREATE_DATE TIMESTAMP Ti mes ta mp of the crea ti on of the OMS vers i on
LAST_OPEN_DATE TIMESTAMP Ti mes ta mp, when the OMS vers i on wa s opened l a s t
IS_OPEN VARCHAR(5) Bool ea n Fl a g i ndi ca ti ng whether the vers i on i s currentl y open:
'TRUE', 'FALSE'
HEAP_USAGE BIGINT Memory tha t i s currentl y us ed by the vers i on
VERSION_DESCRIPTION NVARCHAR(512) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
OBJECT_NAME VARCHAR(128) Object na me
METHOD_NAME VARCHAR(128) Method na me
CALL_COUNT BIGINT Counter Number of ca l l s of the
procedure
SUM_RUN_TIME BIGINT Mi cros econd Sum runti me of the
procedure
MAX_RUN_TIME BIGINT Mi cros econd Ma x runti me of the
procedure
MIN_RUN_TIME BIGINT Mi cros econd Mi n runti me of the
procedure
AVERAGE_RUN_TIME BIGINT Mi cros econd Avera ge runti me of the
procedure
DEREF_COUNT BIGINT Counter Number of OID derefs
DEREF_BASE_COUNT BIGINT Counter Number of OID derefs
a ga i ns t ba s i s
DEREF_BASE_IN_VERSION_COUNT BIGINT Counter Number of OID derefs
a ga i ns t ba s i s from wi thi n
a n OMS vers i on
DEREF_KEYED_OBJECT_COUNT BIGINT Counter Number of key derefs
DEREF_KEYED_OBJECT_BASE_COUNT BIGINT Counter Number of key derefs
a ga i ns t ba s i s
DEREF_KEYED_OBJECT_BASE_IN_VERSION_COUNT BIGINT Counter Number of key derefs
a ga i ns t ba s i s from wi thi n
a n OMS vers i on
ITER_BASE_COUNT BIGINT Counter Number of objects rea d vi a
a n OID-i tera tor from the
ba s i s
ITER_KEYED_OBJECT_BASE_COUNT BIGINT Counter Number of objects rea d vi a
a key-i tera tor from the
ba s i s
ITER_BASE_IN_VERSION_COUNT BIGINT Counter 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
ITER_IN_VERSION_COUNT BIGINT Counter Number of objects , crea ted
i n a n OMS-vers i on, rea d vi a
a n OID-i tera tor
ITER_KEYED_OBJECT_BASE_IN_VERSION_COUNT BIGINT Counter 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
ITER_KEYED_OBJECT_IN_VERSION_COUNT BIGINT Counter Number of objects , crea ted
i n a n OMS vers i on, rea d vi a
a key-i tera tor

109 2012-12-19
SAP HANA System Tables and Monitoring Views Reference

DEREF_VAR_OBJECT_COUNT BIGINT Counter Number of derefs of va r


objects
DEREF_VAR_OBJECT_BASE_COUNT BIGINT Counter Number of derefs of va r
objects a ga i ns t ba s i s
DEREF_VAR_OBJECT_BASE_SIZE BIGINT Byte Accumul a ted s i ze of va r
objects rea d from the ba s i s
DEREF_VAR_OBJECT_BASE_IN_VERSION_COUNT BIGINT Counter 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
DEREF_VAR_OBJECT_BASE_IN_VERSION_SIZE BIGINT Byte 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
NEW_OBJECT_COUNT BIGINT Counter Number of newl y crea ted
s ta nda rd objects
NEW_KEYED_OBJECT_COUNT BIGINT Counter Number of newl y crea ted
keyed objects
NEW_VAR_OBJECT_COUNT BIGINT Counter Number of newl y crea ted
va r objects
NEW_OBJECT_IN_VERSION_COUNT BIGINT Counter Number of newl y crea ted
s ta nda rd objects i n a n OMS
vers i on
NEW_KEYED_OBJECT_IN_VERSION_COUNT BIGINT Counter Number of newl y crea ted
keyed objects i n a n OMS
vers i on
NEW_VAR_OBJECT_IN_VERSION_COUNT BIGINT Counter Number of newl y crea ted
va r objects i n a n OMS
vers i on
STORE_COUNT BIGINT Counter Number of s tore ca l l s on
s ta nda rd objects
STORE_IN_VERSION_COUNT BIGINT Counter Number of s tore ca l l s on
s ta nda rd objects i n a n OMS
vers i no
STORE_KEYED_OBJECT_COUNT BIGINT Counter Number of s tore ca l l s on
keyed objects
STORE_KEYED_OBJECT_IN_VERSION_COUNT BIGINT Counter Number of s tore ca l l s on
keyed objects i n a n OMS
vers i on
STORE_VAR_OBJECT_COUNT BIGINT Counter Number of s tore ca l l s on
va r objects
STORE_VAR_OBJECT_SIZE BIGINT Byte Accumul a ted s i ze of s tore
ca l l s on va r objects
STORE_VAR_OBJECT_IN_VERSION_COUNT BIGINT Counter Number of s tore ca l l s on
va r objects i n a n OMS
vers i on
STORE_VAR_OBJECT_IN_VERSION_SIZE BIGINT Byte 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
STORE_BASE_COUNT BIGINT Counter Number of upda tes of
s ta nda rd objects i n the
ba s i s
STORE_KEYED_OBJECT_BASE_COUNT BIGINT Counter Number of upda tes of
keyed objects i n the ba s i s
STORE_VAR_OBJECT_BASE_COUNT BIGINT Counter Number of upda tes of va r
objects i n the ba s i s
STORE_VAR_OBJECT_BASE_SIZE BIGINT Byte Accumul a ted s i zes of
upda ted objects i n the
ba s i s
DELETE_COUNT BIGINT Counter Number of del ete ca l l s on
s ta nda rd objects
DELETE_KEYED_OBJECT_COUNT BIGINT Counter Number of del ete ca l l s on
keyed objects
DELETE_VAR_OBJECT_COUNT BIGINT Counter Number of del ete ca l l s on
va r objects
DELETE_IN_VERSION_COUNT BIGINT Counter Number of del ete ca l l s on
s ta nda rd objects i n a n OMS
vers i on
DELETE_KEYED_OBJECT_IN_VERSION_COUNT BIGINT Counter Number of del ete ca l l s on
keyed objects i n a n OMS
vers i on
DELETE_VAR_OBJECT_IN_VERSION_COUNT BIGINT Counter Number of del ete ca l l s on
va r objects i n a n OMS
vers i on
DELETE_BASE_COUNT BIGINT Counter Number of del eted

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 BIGINT Counter Number of del eted keyed
objects i n the ba s i s
DELETE_VAR_OBJECT_BASE_COUNT BIGINT Counter Number of del eted va r
objects i n the ba s i s
LOCK_EXCLUSIVE_BASE_COUNT BIGINT Counter Number of excl us i ve l ock
reques ts on s ta nda rd
objects i n the ba s i s
LOCK_SHARE_BASE_COUNT BIGINT Counter Number of s ha re l ock
reqeus ts on s ta nda rd
objects i n the ba s i s
LOCK_EXCLUSIVE_KEYED_OBJECT_BASE_COUNT BIGINT Counter Number of excl us i ve l ock
reques ts on keyed objects
i n the ba s i s
LOCK_SHARE_KEYED_OBJECT_BASE_COUNT BIGINT Counter Number of s ha re l ock
reqeus ts on keyed objects
i n the ba s i s
LOCK_EXCLUSIVE_VAR_OBJECT_BASE_COUNT BIGINT Counter Number of excl us i ve l ock
reques ts on va r objects i n
the ba s i s
LOCK_SHARE_VAR_OBJECT_BASE_COUNT BIGINT Counter Number of s ha re l ock
reqeus ts on va r objects i n
the ba s i s
RELEASE_CALLED_COUNT BIGINT Counter Number of OMS rel ea s e
ca l l s
RELEASE_EXECUTED_COUNT BIGINT Counter Number of rel ea s ed
s ta nda rd objects
RELEASE_EXECUTED_KEYED_OBJECT_COUNT BIGINT Counter Number of rel ea s es keyed
objects
RELEASE_EXECUTED_VAR_OBJECT_COUNT BIGINT Counter Number of rel ea s es va r
objects
HISTORY_HOP_COUNT BIGINT Counter Number of hops i n the
hi s tory cha i n duri ng deref
ITER_HISTORY_HOP_COUNT BIGINT Counter Number of hops i n the
hi s tory cha i n duri ng
i tera ti on
EXCEPTION_COUNT BIGINT Counter Number of dbp-excepti ons
thrown
OUT_OF_DATE_EXCEPTION_COUNT BIGINT Counter Number of out-of-da te-
excepti ons thrown
OUT_OF_MEMORY_EXCEPTION_COUNT BIGINT Counter Number of out-of-memory-
excepti ons thrown
TIMEOUT_EXCEPTION_COUNT BIGINT Counter Number of ti meout-
excepti ons thrown
OMS_TERMINATE_COUNT BIGINT Counter Number of OMS termi na te
ca l l s
SUBTRANSACTION_ROLLBACK_COUNT BIGINT Counter Number of rol l ed ba ck s ub-
tra ns a cti ons
SUBTRANSACTION_COMMIT_COUNT BIGINT Counter Number of commi tted s ub-
tra ns a cti ons
MAX_SUBTRANSACTION_LEVEL BIGINT Counter Ma xi ma l s ubtra ns a cti on
l evel
NEW_CONSISTENT_VIEW_COUNT BIGINT Counter Number of new-cons i s tent-
vi ew ca l l s wi th objects
AVERAGE_NEW_CONSISTENT_VIEW_WAIT_TIME BIGINT Second Avera ge wa i t ti me of new-
cons i s tent-vi ew ca l l s wi th
objects
NEW_CONSISTENT_VIEW_MAX_WAIT_TIME BIGINT Second Ma xi ma l wa i t ti me of new-
cons i s tent-vi ew ca l l s wi th
objects
KEY_CACHE_HIT_COUNT BIGINT Counter Number of ca che hi ts i n
the key-ca che
KEY_MISS_CACHE_HIT_COUNT BIGINT Counter Number of ca che hi ts i n
the key-mi s s -ca che
DEREF_VERSION_KEYED_OBJECT_COUNT BIGINT Counter Number of key-derefs i n a n
OMS vers i on on objects
crea ted i n thi s vers i on
OMS_REHASH_COUNT BIGINT Counter Number of reha s hes of the
OMS-object-ha s h
AVERAGE_HASH_CHAIN_SEARCH_LENGTH BIGINT Mi cros econd Avera ge s ea rch l ength on
the ha s h-cha i ns of the
OMS-object-ha s h

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 h-


cha i n of the OMS-object-
ha s h
VERSION_CREATE_COUNT BIGINT Counter Number of crea ted OMS
vers i ons
VERSION_OPEN_COUNT BIGINT Counter Number of open-vers i on
ca l l s
VERSION_CLOSE_COUNT BIGINT Counter Number of cl os e-vers i on
ca l l s
VERSION_DROP_COUNT BIGINT Counter Number of dropped OMS
vers i ons
USER_ALLOC_COUNT BIGINT Counter Number of a l l oca ti ons vi a
a us er a l l oca tor
USER_MAX_CHUNK_ALLOCATED_SIZE BIGINT Byte Ma x s i ze of a n chunk
a l l oca ted vi a a us er
a l l oca tor
USER_MIN_CHUNK_ALLOCATED_SIZE BIGINT Byte Mi n s i ze of a n chunk
a l l oca ted vi a a us er
a l l oca tor
USER_AVERAGE_CHUNK_ALLOCATED_SIZE BIGINT Mi cros econd Avera ge s i ze of a n chunk
a l l oca ted vi a a us er
a l l oca tor
USER_DELETE_COUNT BIGINT Counter Number of dea l l oca ti ons
vi a a us er a l l oca tor
USER_MAX_CHUNK_DELETED_SIZE BIGINT Byte Ma x s i ze of a n chunk
dea l l oca ted vi a a us er
a l l oca tor
USER_MIN_CHUNK_DELETED_SIZE BIGINT Byte Mi n s i ze of a n chunk
dea l l oca ted vi a a us er
a l l oca tor
USER_AVERAGE_CHUNK_DELETED_SIZE BIGINT Mi cros econd Avera ge s i ze of a n chunk
dea l l oca ted vi a a us er
a l l oca tor
USER_DELTA_MAX_SIZE BIGINT Byte 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
OMS_ALLOC_COUNT BIGINT Counter Number of a l l oca ti ons vi a
a n OMS i nterna l a l l oca tor
OMS_MAX_CHUNK_ALLOCATED_SIZE BIGINT Byte 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
OMS_MIN_CHUNK_ALLOCATED_SIZE BIGINT Byte 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
OMS_AVERAGE_CHUNK_ALLOCATED_SIZE BIGINT Mi cros econd 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
OMS_DELETE_COUNT BIGINT Counter Number of dea l l oca ti ons
vi a a n OMS i nterna l
a l l oca tor
OMS_MAX_CHUNK_DELETED_SIZE BIGINT Byte 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
OMS_MIN_CHUNK_DELETED_SIZE BIGINT Byte 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
OMS_AVERAGE_CHUNK_DELETED_SIZE BIGINT Byte 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
OMS_DELTA_MAX_SIZE BIGINT Byte 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
STREAM_COMMUNICATION_TIME BIGINT Mi cros econd Avera ge s trea m
communi ca ti on ti me
STREAM_READ_COUNT BIGINT Counter Number of
communi ca ti ons for
rea di ng ABAP ta bl es
STREAM_WRITE_COUNT BIGINT Counter Number of
communi ca ti ons for wri ti ng
ABAP ta bl es
STREAM_READ_ROW_COUNT BIGINT Counter Number of rows rea d from

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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
OMS_SCHEMA_HANDLE INTEGER OMS s chema ID
OMS_SCHEMA_NAME NVARCHAR(96) OMS s chema na me
CREATE_TIME TIMESTAMP 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
LOCK_TYPE VARCHAR(32) Lock type: RECORD, TABLE, METADATA
TOTAL_LOCK_WAITS BIGINT Tota l l ock wa i t count
TOTAL_LOCK_WAIT_TIME BIGINT 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
LOG_MODE VARCHAR(16) Log mode
BUFFER_SIZE BIGINT Ki l obyte Si ze of one l og buffer i n memory
BUFFER_COUNT BIGINT Counter Count of l og buffers i n memory
SEGMENT_SIZE BIGINT Mega byte Ma xi mum s i ze of one l og s egment
BACKUP_ENABLED VARCHAR(5) Log s egment ba ckup ena bl ed: 'TRUE', 'FALSE' ('FALSE'
on l og ba ckup hi s tory broken)
BACKUP_TIMEOUT BIGINT Second Log s egment ba ckup ti meout
SWITCH_NOWAIT_COUNT BIGINT Counter Count of buffer s wi tches wi thout bl ocki ng on buffer
s ema phore
SWITCH_WAIT_COUNT BIGINT Counter Count of buffer s wi tches wi th bl ocki ng on buffer
s ema phore
SWITCH_OPEN_COUNT BIGINT Counter 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
PARTITION_ID BIGINT Log pa rti ti on ID
PATH VARCHAR(512) Log pa rti ti on root pa th
LAST_BUFFER_PREPARE_SIZE BIGINT 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)
MAX_BUFFER_PREPARE_SIZE BIGINT Byte Si ze of l og buffer a t prepa re
ti me (a ctua l l og da ta s i ze) (ma x)
MIN_BUFFER_PREPARE_SIZE BIGINT Byte Si ze of l og buffer a t prepa re
ti me (a ctua l l og da ta s i ze) (mi n)
SUM_BUFFER_PREPARE_SIZE BIGINT Byte Si ze of l og buffer a t prepa re
ti me (a ctua l l og da ta s i ze)
(tota l )
AVG_BUFFER_PREPARE_SIZE BIGINT Byte Si ze of l og buffer a t prepa re
ti me (a ctua l l og da ta s i ze) (a vg)
LAST_BUFFER_OVERHEAD_SIZE BIGINT Byte Si ze of l og buffer a l i gnment
overhea d a t I/O ti me (l a s t)
MAX_BUFFER_OVERHEAD_SIZE BIGINT Byte Si ze of l og buffer a l i gnment
overhea d a t I/O ti me (ma x)
MIN_BUFFER_OVERHEAD_SIZE BIGINT Byte Si ze of l og buffer a l i gnment
overhea d a t I/O ti me (mi n)
SUM_BUFFER_OVERHEAD_SIZE BIGINT Byte Si ze of l og buffer a l i gnment
overhea d a t I/O ti me (tota l )
AVG_BUFFER_OVERHEAD_SIZE BIGINT Byte Si ze of l og buffer a l i gnment
overhea d a t I/O ti me (a vg)
LAST_BUFFER_IO_SIZE BIGINT Byte 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)
MAX_BUFFER_IO_SIZE BIGINT Byte 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)
MIN_BUFFER_IO_SIZE BIGINT Byte 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)
SUM_BUFFER_IO_SIZE BIGINT Byte 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 )
AVG_BUFFER_IO_SIZE BIGINT Byte 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)
LAST_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) (l a s t)
MAX_GROUP_COMMIT_FREQUENCY BIGINT Counter Group commi t frequency
(ca l l ba ck count per buffer wi th

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)
SUM_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) (tota l )
AVG_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) (a vg)
LAST_CALLBACK_TIME BIGINT Mi cros econd Ca l l ba ck ti me per buffer wi th
s ync ca l l ba ck (l a s t)
MAX_CALLBACK_TIME BIGINT Mi cros econd Ca l l ba ck ti me per buffer wi th
s ync ca l l ba ck (ma x)
MIN_CALLBACK_TIME BIGINT Mi cros econd Ca l l ba ck ti me per buffer wi th
s ync ca l l ba ck (mi n)
SUM_CALLBACK_TIME BIGINT Mi cros econd Ca l l ba ck ti me per buffer wi th
s ync ca l l ba ck (tota l )
AVG_CALLBACK_TIME BIGINT Mi cros econd Ca l l ba ck ti me per buffer wi th
s ync ca l l ba ck (a vg)
PREPARED_BUFFERS BIGINT Counter Count of buffers prepa red for
I/O
WRITTEN_BUFFERS BIGINT Counter Count of compl eted a nd wri tten
buffers
WRITTEN_BUFFERS_OOO BIGINT Counter Count of buffers wri tten out-of-
order
NEW_SEGMENT_REQUEST_COUNT BIGINT Counter Count of new l og s egment
reques ts
FREE_SEGMENTS BIGINT Counter Count of currentl y free l og
s egments
IN_BACKUP_SEGMENTS BIGINT Counter Count of currentl y i n-ba ckup l og
s egments
IN_BACKUP_TRUNCATED_SEGMENTS BIGINT Counter Count of currentl y i n-ba ckup
trunca ted l og s egments
BACKED_UP_SEGMENTS BIGINT Counter Count of l og s egments ba cked
up s o fa r
TOTAL_SEGMENTS BIGINT Counter Tota l l og s egment count i n the
pa rti ti on
RECOVERY_SEGMENTS_IN_LOAD BIGINT Counter Count of s egments i n-l oa d
duri ng recovery
RECOVERY_SEGMENTS_WAITING_FOR_LOAD BIGINT Counter Count of s egments wa i ti ng for
l oa d duri ng recovery
RECOVERY_SEGMENTS_IN_PROCESS BIGINT Counter Count of s egments i n proces s
duri ng recovery
RECOVERY_SEGMENTS_PROCESSED BIGINT Counter Count of s egments proces s ed
duri ng recovery

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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
PARTITION_ID BIGINT Log pa rti ti on ID
SEGMENT_ID BIGINT Log s egment ID wi thi n pa rti ti on
FILE_NAME VARCHAR(512) Log s egment fi l e na me
FILE_OFFSET BIGINT Byte Sta rt pos i ti on of l og s egment i n the fi l e
STATE VARCHAR(16) Log s egment s ta te
MIN_POSITION BIGINT Fi rs t pos i ti on conta i ned i n thi s l og s egment
MAX_POSITION BIGINT 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)
HOLE_POSITION BIGINT 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)
USED_SIZE BIGINT Byte Us ed l og s egment s i ze i n bytes
TOTAL_SIZE BIGINT Byte Tota l l og s egment s i ze i n bytes
IN_BACKUP VARCHAR(5) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
TYPE VARCHAR(128) Object (s ta ti s ti c) type
OBJECT_COUNT BIGINT Counter Number of objects currentl y i n memory object conta i ner
OBJECT_SIZE BIGINT Byte Si ze of objects currentl y i n memory object conta i ner
NON_SWAPPABLE_SIZE BIGINT Byte Si ze of non s wa ppa bl e objects currentl y i n memory
object conta i ner
SWAPPABLE_SIZE BIGINT Byte Si ze of s wa ppa bl e objects currentl y i n memory object
conta i ner
PUT_COUNT BIGINT Counter Tota l number of put objects
PUT_SIZE BIGINT Byte Tota l s i ze of put objects
EVICT_COUNT BIGINT Counter Tota l number of evi cted objects
EVICT_SIZE BIGINT Byte Tota l s i ze of evi cted objects
TEMP_EVICT_COUNT BIGINT Counter Tota l number of temp-evi cted objects
TEMP_EVICT_SIZE BIGINT Byte Tota l s i ze of temp-evi cted objects
RESIZE_COUNT BIGINT Counter Tota l number of res i zes
RESIZE_DELTA_SIZE BIGINT Byte Tota l s i ze del ta cha nged by res i ze of objects
SHRINK_COUNT BIGINT Counter Tota l number of s hrunk objects
SHRINK_SIZE BIGINT Byte Tota l s i ze of s hrunk objects
FAILED_SHRINK_COUNT BIGINT Counter Tota l number of objects s hri nk fa i l ed to remove
FAILED_SHRINK_SIZE BIGINT Byte 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
TYPE VARCHAR(128) Object (s ta ti s ti c) type)
TEMPORARY_OBJECT_COUNT BIGINT Counter Number of tempora ry objects
EARLY_UNLOAD_OBJECT_COUNT BIGINT Counter Number of ea rl y unl oa d objects
INTERNAL_SHORT_TERM_OBJECT_COUNT BIGINT Counter Number of i nterna l s hort term objects
SHORT_TERM_OBJECT_COUNT BIGINT Counter Number of s hort term objects
MID_TERM_OBJECT_COUNT BIGINT Counter Number of mi d term objects
LONG_TERM_OBJECT_COUNT BIGINT Counter Number of l ong term objects
NON_SWAPPABLE_OBJECT_COUNT BIGINT Counter Number of non s wa ppa bl e objects
TEMPORARY_OBJECT_SIZE BIGINT Byte Si ze of tempora ry objects
EARLY_UNLOAD_OBJECT_SIZE BIGINT Byte Si ze of ea rl y unl oa d objects
INTERNAL_SHORT_TERM_OBJECT_SIZE BIGINT Byte Si ze of i nterna l s hort term objects
SHORT_TERM_OBJECT_SIZE BIGINT Byte Si ze of s hort term objects
MID_TERM_OBJECT_SIZE BIGINT Byte Si ze of mi d term objects
LONG_TERM_OBJECT_SIZE BIGINT Byte Si ze of l ong term objects
NON_SWAPPABLE_OBJECT_SIZE BIGINT Byte 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 Data type Unit Description


HOST VARCHAR(64) Hos t on whi ch s erver proces s ra n
PORT BIGINT Communi ca ti on port of s erver proces s
USER_NAME NVARCHAR(256) Da ta ba s e us er
APPLICATION_USER_NAME NVARCHAR(256) Appl i ca ti on us er
SERVICE_NAME VARCHAR(256) Na me of s erver proces s
CONNECTION_ID INTEGER Connecti on ID
TRANSACTION_ID BIGINT Tra ns a cti on ID
THREAD_ID BIGINT ID of threa d tha t wrote tra ce entry
TIMESTAMP TIMESTAMP Ti me when tra ce entry wa s wri tten
TRACE_LEVEL VARCHAR(16) Tra ce l evel
COMPONENT VARCHAR(32) Tra ce component
SOURCE_FILE_NAME VARCHAR(512) Source fi l e whi ch conta i ns tra ce
SOURCE_FILE_LINE BIGINT Source fi l e l i ne
TRACE_TEXT NCLOB Tra ced text
TRACE_FILE_NAME VARCHAR(256) Na me of tra ce fi l e conta i ni ng tra ce entry
TRACE_FILE_LINE INTEGER Tra ce fi l e l i ne
PASSPORT_ROOT_CONTEXT_ID VARCHAR(32) Gui d SAP EPP Pa s s port GUID i denti fyi ng s ource of
reques t
PASSPORT_TRANSACTION_ID VARCHAR(32) SAP EPP Pa s s port GUID i denti fyi ng bus i nes s
tra ns a cti on
PASSPORT_CONNECTION_ID VARCHAR(32) Gui d SAP EPP Pa s s port GUID i denti fyi ng connecti on
PASSPORT_CONNECTION_COUNTER BIGINT SAP EPP Pa s s port connecti on counter
PASSPORT_COMPONENT_NAME NVARCHAR(32) SAP EPP Pa s s port component na me of
i ni ti a l /root context
PASSPORT_ACTION NVARCHAR(40) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
VIEW_NAME NVARCHAR(256) Na me of moni tori ng vi ew
DESCRIPTION NVARCHAR(2000) Short des cri pti on of the moni tori ng vi ew
RESETTABLE VARCHAR(5) 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 Data type Unit Description


VIEW_NAME NVARCHAR(256) Na me of moni tori ng vi ew
VIEW_COLUMN_NAME NVARCHAR(256) Na me of moni tori ng vi ew col umn
DATA_TYPE_ID SMALLINT Col umn da ta type ID
DATA_TYPE_NAME VARCHAR(16) Col umn da ta type na me
POSITION INTEGER Ordi na l pos i ti on of the col umn i n a record
DEFAULT_VALUE NVARCHAR(5000) Defa ul t va l ue
UNIT VARCHAR(16) Uni t for the va l ue
COLLATION NVARCHAR(256) Col l a ti on
LENGTH INTEGER Length
SCALE INTEGER Sca l e
IS_NULLABLE VARCHAR(5) TRUE, i f NULL va l ue i s a l l owed
DESCRIPTION NVARCHAR(5000) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
STATISTICS_NAME VARCHAR(128) Sta ti s ti cs object na me
STATISTICS_ID BIGINT Sta ti s ti cs object uni que ID
LOCK_COUNT BIGINT Counter Count of l ock ca l l s
WAIT_COUNT BIGINT Counter Count of bl ocki ng l ock ca l l s
SPURIOUS_WAKEUP_COUNT BIGINT Counter Count of s puri ous wa keups (col l i s i ons on futex)
COLLISION_RATE DOUBLE Percent Col l i s i on ra te i n percent
OWNER_ID BIGINT Context ID of the owner context
LAST_WAIT_TIME BIGINT Mi cros econd Ti me of bl ocki ng l ock ca l l s (l a s t)
MAX_WAIT_TIME BIGINT Mi cros econd Ti me of bl ocki ng l ock ca l l s (ma x)
MIN_WAIT_TIME BIGINT Mi cros econd Ti me of bl ocki ng l ock ca l l s (mi n)
SUM_WAIT_TIME BIGINT Mi cros econd Ti me of bl ocki ng l ock ca l l s (tota l )
AVG_WAIT_TIME BIGINT Mi cros econd Ti me of bl ocki ng l ock ca l l s (a vg)
CREATE_COUNT BIGINT Counter Count of mutex crea ti on (for s ha red s ta ti s ti cs
onl y)
DESTROY_COUNT BIGINT Counter 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
NAME VARCHAR(256) Na me col umn
VALUE VARCHAR(128) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
LOCK_OWNER_TRANSACTION_ID INTEGER Tra ns a cti on object ID owni ng the l ock
LOCK_OWNER_UPDATE_TRANSACTION_ID BIGINT Wri te tra ns a cti on ID owni ng the l ock
ACQUIRED_TIME TIMESTAMP Lock a cqui s i ti on ti me
SCHEMA_NAME NVARCHAR(256) Schema na me
OBJECT_NAME NVARCHAR(256) Object na me
OBJECT_TYPE VARCHAR(32) Object type
LOCK_MODE VARCHAR(32) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
OBJECT_TYPE VARCHAR(32) Object Type: RECORD, TABLE, VIEW, SYNONYM, SEQUENCE..
SCHEMA_NAME NVARCHAR(256) Schema na me tha t the Object bel ongs to
OBJECT_NAME NVARCHAR(256) Object Na me
PART_ID INTEGER Pa rti ti on no. (0 for non-pa rti ti oned ta bl es , -1 for not
s upported)
OBJECT_ID BIGINT Object ID
LOCK_TYPE VARCHAR(32) Lock Type: OBJECT, RECORD
LOCK_WAIT_COUNT BIGINT Lock Wa i t Count
LOCK_WAIT_TIME BIGINT Lock Wa i t Ti me (uni t: mi cro s econd)
LOCK_FAILED_COUNT BIGINT 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
TYPE VARCHAR(32) Type of pa gea cces s
CHUNK_SIZE INTEGER Counter Chunk s i ze
ALLOCATE_COUNT BIGINT Counter Number of a l l oca ti ons
GET_COUNT BIGINT Counter Number of gets
LOAD_COUNT BIGINT Counter Number of s ynchronous l oa ds
TRIGGER_LOAD_COUNT BIGINT Counter Number of a s ynchronous l oa ds
DEALLOCATE_COUNT BIGINT Counter 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 Data type Unit Description


PROPERTY VARCHAR(128) Confi gura ti on property
VALUE VARCHAR(5000) 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 Data type Unit Description


STATUS VARCHAR(16) Sta tus : STOPPED, STARTED, SAVING
START_TIME TIMESTAMP Sta rt ti me
STOP_TIME TIMESTAMP Stop ti me
FILE_SIZE BIGINT Byte 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
REMAINING_SECONDS INTEGER Second Rema i ni ng s econds unti l a utoma ti c s top
USER_NAME NVARCHAR(256) SQL us er na me fi l ter
APPLICATION_USER_NAME NVARCHAR(256) Appl i ca ti on us er na me fi l ter
APPLICATION_NAME NVARCHAR(256) Appl i ca ti on na me fi l ter
PASSPORT_TRACELEVEL VARCHAR(8) Pa s s port fi l ter: 'MEDIUM', 'HIGH'
PLAN_EXECUTION VARCHAR(5) Bool ea n Fl a g i f pl a n executi on deta i l s a re recorded
FUNCTION_PROFILER VARCHAR(5) Bool ea n 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VALID_FROM_SAVEPOINT INTEGER HEXID Va l i d from s a vepoi nt vers i on
VALID_FROM_TIMESTAMP TIMESTAMP Mi cros econd Va l i d from ti mes ta mp gi ven i n UTC
IS_ENCRYPTED VARCHAR(5) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
ENCRYPTION_ACTIVE VARCHAR(5) Encrypti on i s currentl y a cti ve for
wri ti ng i nto pers i s tence: 'TRUE',
'FALSE'
ENCRYPTION_ACTIVE_AFTER_NEXT_SAVEPOINT VARCHAR(5) 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'
KEY_CHANGE_WITH_NEXT_SAVEPOINT VARCHAR(5) Next s a vepoi nt wi l l a cti va te a new
key: 'TRUE', 'FALSE'
ROOT_KEY_CHANGE_WITH_NEXT_SAVEPOINT VARCHAR(5) Next s a vepoi nt wi l l a cti va te a new
root key: 'TRUE', 'FALSE'
DATA_CONVERSION_ACTIVE VARCHAR(5) Convers i on of da ta to l a tes t
encrypti on s ta tus or key a cti ve:
'TRUE', 'FALSE'
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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
MAX_TID BIGINT TID Ma xi mum known TID
CCH_COUNT BIGINT Counter Count of norma l cons i s tent cha nges
(termi na ted s es s i ons )
MASS_CCH_COUNT BIGINT Counter Count of cons i s tent cha nges for ma s s
opera ti ons (termi na ted s es s i ons )
LAST_CCH_TIME BIGINT Mi cros econd 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)
MAX_CCH_TIME BIGINT Mi cros econd Ti me s pent i n norma l cons i s tent cha nges
(termi na ted s es s i ons ) (ma x)
MIN_CCH_TIME BIGINT Mi cros econd Ti me s pent i n norma l cons i s tent cha nges
(termi na ted s es s i ons ) (mi n)
SUM_CCH_TIME BIGINT Mi cros econd Ti me s pent i n norma l cons i s tent cha nges
(termi na ted s es s i ons ) (tota l )
AVG_CCH_TIME BIGINT Mi cros econd Ti me s pent i n norma l cons i s tent cha nges
(termi na ted s es s i ons ) (a vg)
LAST_MASS_CCH_TIME BIGINT Mi cros econd 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)
MAX_MASS_CCH_TIME BIGINT Mi cros econd 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)
MIN_MASS_CCH_TIME BIGINT Mi cros econd 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)
SUM_MASS_CCH_TIME BIGINT Mi cros econd 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 )
AVG_MASS_CCH_TIME BIGINT Mi cros econd 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)
PREPARE_COMMIT_POS BIGINT Newes t known l og pos i ti on of prepa re
commi t (s l a ve onl y)
MASTER_COMMIT_POS BIGINT 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
INDOUBT_WAITERS BIGINT Count of i n-doubt wa i ters for currentl y-
runni ng COMMIT (ma s ter onl y)
INDOUBT_RESTART_COUNT BIGINT Counter Count of open i n-doubt tra ns a cti ons before
res ta rt (ma s ter onl y)
INDOUBT_ONLINE_COUNT BIGINT Counter 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)
SAVEPOINT_CONFIG_FREQUENCY BIGINT Second Confi gured s a vepoi nt frequency
SAVEPOINT_ACTIVE_FREQUENCY BIGINT Second Currentl y a cti ve s a vepoi nt frequency
CHECKSUM_ALGORITHM VARCHAR(16) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
CONNECTION_ID INTEGER Connecti on ID
STATEMENT_ID VARCHAR(256) Prepa red s ta tement ID
START_MVCC_TIMESTAMP BIGINT Interna l MVCC ti mes ta mp of the tra ns a cti on
s ta rt ti me
COMPILED_TIME TIMESTAMP Compi l a ti on ti mes ta mp of the s ta tement
STATEMENT_STATUS VARCHAR(128) Sta tus of SQL s ta tement
STATEMENT_STRING NCLOB SQL s ta tement
ALLOCATED_MEMORY_SIZE BIGINT Byte Current s na ps hot of a l l oca ted memory s i ze for
executi ng thi s s ta tement
USED_MEMORY_SIZE BIGINT Byte Current s na ps hot of us ed memory s i ze for
executi ng thi s s ta tement
PLAN_ID BIGINT Logi ca l pl a n ID
LAST_EXECUTED_TIME TIMESTAMP La s t executi on ti mes ta mp of the s ta tement
RECOMPILE_COUNT BIGINT Recompi l e count
EXECUTION_COUNT BIGINT Count of executi ons
AVG_EXECUTION_TIME BIGINT Avera ge ti me of s ta tement executi on
MAX_EXECUTION_TIME BIGINT Ma xi mum ti me of s ta tement executi on
MIN_EXECUTION_TIME BIGINT Mi ni mum ti me of s ta tement executi on
TOTAL_EXECUTION_TIME BIGINT Sum of s ta tement executi on ti me
AVG_CURSOR_DURATION BIGINT 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
MAX_CURSOR_DURATION BIGINT 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
MIN_CURSOR_DURATION BIGINT 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
TOTAL_CURSOR_DURATION BIGINT Sum of s ta tement executi on ti me i ncl udi ng
communi ca ti on ti me wi th cl i ents
AVG_EXECUTION_MEMORY_SIZE BIGINT Avera ge memory s i ze us ed duri ng ea ch
executi on
MAX_EXECUTION_MEMORY_SIZE BIGINT Ma xi mum memory s i ze us ed duri ng ea ch
executi on
MIN_EXECUTION_MEMORY_SIZE BIGINT Mi ni mum memory s i ze us ed duri ng ea ch
executi on
TOTAL_EXECUTION_MEMORY_SIZE BIGINT Sum of memory s i ze us ed duri ng ea ch executi on
AVG_LOCKWAIT_TIME BIGINT Avera ge l ock wa i t ti me for the s ta tement
MAX_LOCKWAIT_TIME BIGINT Ma xi mum l ock wa i t ti me for the s ta tement
MIN_LOCKWAIT_TIME BIGINT Mi ni mum l ock wa i t ti me for the s ta tement
TOTAL_LOCKWAIT_COUNT BIGINT Tota l l ock wa i t count for the s ta tement
TOTAL_LOCKWAIT_TIME BIGINT Accumul a ted l ock wa i t ti me for the s ta tement
AVG_PREPARATION_TIME BIGINT Avera ge ti me of s ta tement prepa ra ti on
MAX_PREPARATION_TIME BIGINT Ma xi mum ti me of s ta tement prepa ra ti on
MIN_PREPARATION_TIME BIGINT Mi ni mum ti me of s ta tement prepa ra ti on
TOTAL_PREPARATION_TIME BIGINT Tota l ti me of s ta tement prepa ra ti on
TOTAL_PREPARATION_COUNT BIGINT Tota l count of s ta tement prepa ra ti on
HAS_HOLDABLE_CURSOR VARCHAR(5) Hol da bl e curs or exi s tence
PARENT_STATEMENT_ID VARCHAR(256) Pa rent prepa red s ta tement ID
APPLICATION_SOURCE NVARCHAR(2000) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
STATISTICS_NAME VARCHAR(128) Sta ti s ti cs object na me
STATISTICS_ID BIGINT Sta ti s ti cs object uni que ID
OWNER_ID BIGINT Context ID of the owner context (for
excl us i ve/i ntent l ocks )
EXCLUSIVE_LOCK_COUNT BIGINT Counter Count of excl us i ve l ock ca l l s
EXCLUSIVE_WAIT_COUNT BIGINT Counter Count of bl ocki ng excl us i ve l ock ca l l s
EXCLUSIVE_CAS_COLLISION_COUNT BIGINT Counter Col l i s i on count on a tomi c opera ti on on
excl us i ve l ock
EXCLUSIVE_COLLISION_RATE DOUBLE Percent Col l i s i on ra te on excl us i ve l ock i n
percent
LAST_EXCLUSIVE_WAIT_TIME BIGINT Mi cros econd Ti me of bl ocki ng excl us i ve l ock ca l l s
(l a s t)
MAX_EXCLUSIVE_WAIT_TIME BIGINT Mi cros econd Ti me of bl ocki ng excl us i ve l ock ca l l s
(ma x)
MIN_EXCLUSIVE_WAIT_TIME BIGINT Mi cros econd Ti me of bl ocki ng excl us i ve l ock ca l l s
(mi n)
SUM_EXCLUSIVE_WAIT_TIME BIGINT Mi cros econd Ti me of bl ocki ng excl us i ve l ock ca l l s
(tota l )
AVG_EXCLUSIVE_WAIT_TIME BIGINT Mi cros econd Ti me of bl ocki ng excl us i ve l ock ca l l s (a vg)
INTENT_LOCK_COUNT BIGINT Counter Count of i ntent l ock ca l l s
INTENT_WAIT_COUNT BIGINT Counter Count of bl ocki ng i ntent l ock ca l l s
INTENT_CAS_COLLISION_COUNT BIGINT Counter Col l i s i on count on a tomi c opera ti on on
i ntent l ock
INTENT_TIMEOUT_COUNT BIGINT Counter Count of ti med out i ntent l ock ca l l s
INTENT_COLLISION_RATE DOUBLE Percent Col l i s i on ra te on i ntent l ock i n percent
LAST_INTENT_WAIT_TIME BIGINT Mi cros econd Ti me of bl ocki ng i ntent l ock ca l l s (l a s t)
MAX_INTENT_WAIT_TIME BIGINT Mi cros econd Ti me of bl ocki ng i ntent l ock ca l l s (ma x)
MIN_INTENT_WAIT_TIME BIGINT Mi cros econd Ti me of bl ocki ng i ntent l ock ca l l s (mi n)
SUM_INTENT_WAIT_TIME BIGINT Mi cros econd Ti me of bl ocki ng i ntent l ock ca l l s (tota l )
AVG_INTENT_WAIT_TIME BIGINT Mi cros econd Ti me of bl ocki ng i ntent l ock ca l l s (a vg)
SHARED_LOCK_COUNT BIGINT Counter Count of s ha red l ock ca l l s
SHARED_WAIT_COUNT BIGINT Counter Count of bl ocki ng s ha red l ock ca l l s
SHARED_CAS_COLLISION_COUNT BIGINT Counter Col l i s i on count on a tomi c opera ti on on
s ha red l ock
SHARED_TIMEOUT_COUNT BIGINT Counter Count of ti med out s ha red l ock ca l l s
SHARED_COLLISION_RATE DOUBLE Percent Col l i s i on ra te on s ha red l ock i n percent
LAST_SHARED_WAIT_TIME BIGINT Mi cros econd Ti me of bl ocki ng s ha red l ock ca l l s (l a s t)
MAX_SHARED_WAIT_TIME BIGINT Mi cros econd Ti me of bl ocki ng s ha red l ock ca l l s (ma x)
MIN_SHARED_WAIT_TIME BIGINT Mi cros econd Ti me of bl ocki ng s ha red l ock ca l l s (mi n)
SUM_SHARED_WAIT_TIME BIGINT Mi cros econd 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 BIGINT Mi cros econd Ti me of bl ocki ng s ha red l ock ca l l s (a vg)


COLLISION_RATE DOUBLE Percent Gl oba l col l i s i on ra te
CREATE_COUNT BIGINT Counter Count of rea d/wri te l ock crea ti on (for
s ha red s ta ti s ti cs onl y)
DESTROY_COUNT BIGINT Counter 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
LOCK_OWNER_TRANSACTION_ID INTEGER Tra ns a cti on object ID owni ng the l ock
LOCK_OWNER_UPDATE_TRANSACTION_ID BIGINT Wri te tra ns a cti on ID owni ng the l ock
ACQUIRED_TIME TIMESTAMP Lock a cqui s i ti on ti me
RECORD_ID VARCHAR(256) Record ID
SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
LOCK_MODE VARCHAR(32) 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 Data type Unit Description


ALGORITHM_ID INTEGER ID of a l gori thm
DESCRIPTION VARCHAR(256) Des cri pti on
PARAMETERS VARCHAR(256) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
FILE_NAME VARCHAR(256) Fi l e na me
FILE_SIZE BIGINT Byte Fi l e s i ze
FILE_MTIME TIMESTAMP 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
INDEX_NAME NVARCHAR(256) Index na me
KEY_TYPE VARCHAR(128) Key type (da ta type or compos i te)
INDEX_STATUS VARCHAR(16) Index s ta tus : 'VALID', 'INVALID',
'UNUSABLE'
TREE_HEIGHT BIGINT B-tree l evel
LEAF_NODE_COUNT BIGINT Number of l ea f nodes
NONLEAF_NODE_COUNT BIGINT Number of i ntermedi a te nodes
NODE_SIZE BIGINT Byte Node s i ze
FANOUT DOUBLE Index fa n-out
BULKLOAD_FACTOR DOUBLE Fi l l fa ctor of crea ti ng or recoveri ng
i ndexes
INDEX_SIZE BIGINT Byte Index s i ze i n memory = number of
nodes * node s i ze
ENTRY_COUNT BIGINT Number of i ndexed records
FIXED_LEAF_NODE_COUNT BIGINT 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
FIXED_NONLEAF_NODE_COUNT BIGINT Number of fi xed non-l ea f nodes
AVG_LEAF_OFFSET_SIZE DOUBLE Avera ge offs et s i ze of l ea f nodes
AVG_NONLEAF_OFFSET_SIZE DOUBLE Avera ge offs et s i ze of non-l ea f nodes
AVG_LEAF_POINTER_SIZE DOUBLE Avera ge poi nter s i ze of l ea f nodes
AVG_NONLEAF_POINTER_SIZE DOUBLE Avera ge poi nter s i ze of non-l ea f
nodes
LEAF_PARTIAL_KEY_SIZE BIGINT Pa rti a l key l ength of l ea f node
NONLEAF_PARTIAL_KEY_SIZE BIGINT Pa rti a l key l ength of non-l ea f node
INDEX_UTILIZATION DOUBLE Index uti l i za ti on (num_entri es /
ma x_entri es )
IS_UNIQUE VARCHAR(5) Informa ti on whether the i ndex i s
uni que: 'TRUE', 'FALSE'
SEARCH_COUNT BIGINT 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
INSERT_COUNT BIGINT 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
REMOVE_COUNT BIGINT 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
FULL_KEY_REFERENCE_COUNT BIGINT 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
DISTINCT_KEY_COUNT BIGINT Number of di s ti nct keys
KEY_COUNT BIGINT Number of keys
ELIMINATED_DUPLICATE_LEAF_NODE_COUNT BIGINT Number of l ea f nodes whos e
dupl i ca te keys a re el i mi na ted
UNUSED_LEAF_SLOTS_PER_NODE DOUBLE Number of unus ed s l ots per l ea f node

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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
RECORD_COUNT BIGINT Number of records i n thi s ta bl e
ALLOCATED_FIXED_PART_SIZE BIGINT Byte Al l oca ted memory s i ze for fi xed-s i ze pa rt
FIXED_PAGE_HEADER_SIZE BIGINT Byte 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
FIXED_PAGE_FRAGMENT_SIZE BIGINT Byte Fra gmented memory s i ze of fi xed-s i ze pa rt
USED_FIXED_PART_SIZE BIGINT Byte Us ed memory s i ze for fi xed-s i ze pa rt
FIXED_PART_FRAGMENT_SIZE BIGINT Byte Fra gmented memory s i ze of us ed fi xed-s i ze pa rt
FIXED_PART_FREE_SIZE BIGINT Byte Free memory s i ze i n the pa ges of fi xed-s i ze pa rt
ALLOCATED_VARIABLE_PART_SIZE BIGINT Byte Al l oca ted memory s i ze for va ri a bl e-s i ze pa rt
USED_VARIABLE_PART_SIZE BIGINT Byte Us ed memory s i ze for va ri a bl e-s i ze pa rt
VARIABLE_PART_FRAGMENT_SIZE BIGINT Byte Fra gmented memory s i ze of us ed va ri a bl e-s i ze
pa rt
LOAD_STATUS VARCHAR(32) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Na me of s chema to whi ch the conta i ner
bel ongs
TABLE_NAME NVARCHAR(256) Ta bl e na me of the conta i ner
TABLE_OID BIGINT Object ID of the ta bl e
CONTAINER_ID INTEGER 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
IS_SYSTEM_TABLE VARCHAR(5) TRUE i f the ta bl e i s a s ys tem ta bl e
VERSION_COUNT BIGINT 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 .
INSERT_VERSION_COUNT BIGINT Number of i ns ert-vers i ons i n the
conta i ner
UPDATE_VERSION_COUNT BIGINT Number of upda te-vers i ons i n the
conta i ner
DELETE_VERSION_COUNT BIGINT Number of del ete-vers i ons i n the
conta i ner
COMMITTED_VERSION_COUNT BIGINT Number of a l l commi tted vers i ons i n the
conta i ner (i ncl udes a l l types )
COMMITTED_INSERT_VERSION_COUNT BIGINT Number of commi tted i ns ert-vers i ons i n
the conta i ner
COMMITTED_UPDATE_VERSION_COUNT BIGINT Number of commi tted upda te-vers i ons i n
the conta i ner
COMMITTED_DELETE_VERSION_COUNT BIGINT Number of commi tted del ete-vers i ons i n
the conta i ner
UNCOMMITTED_VERSION_COUNT BIGINT Number of a l l uncommi tted vers i ons i n
the conta i ner (i ncl udes a l l types )
UNCOMMITTED_INSERT_VERSION_COUNT BIGINT Number of uncommi tted i ns ert-vers i ons
i n the conta i ner
UNCOMMITTED_UPDATE_VERSION_COUNT BIGINT Number of uncommi tted upda te-vers i ons
i n the conta i ner
UNCOMMITTED_DELETE_VERSION_COUNT BIGINT Number of uncommi tted del ete-vers i ons
i n the conta i ner
VERSION_SIZE BIGINT 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 .
INSERT_VERSION_SIZE BIGINT Us ed s i zed of i ns ert-vers i ons i n the
conta i ner
UPDATE_VERSION_SIZE BIGINT Us ed s i zed of upda te-vers i ons i n the
conta i ner
DELETE_VERSION_SIZE BIGINT Us ed s i zed of del ete-vers i ons i n the
conta i ner
COMMITTED_VERSION_SIZE BIGINT 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 )
COMMITTED_INSERT_VERSION_SIZE BIGINT Us ed s i zed of commi tted i ns ert-vers i ons
i n the conta i ner
COMMITTED_UPDATE_VERSION_SIZE BIGINT Us ed s i zed of commi tted upda te-
vers i ons i n the conta i ner
COMMITTED_DELETE_VERSION_SIZE BIGINT Us ed s i zed of commi tted del ete-vers i ons
i n the conta i ner
UNCOMMITTED_VERSION_SIZE BIGINT 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 )
UNCOMMITTED_INSERT_VERSION_SIZE BIGINT Us ed s i zed of uncommi tted i ns ert-
vers i ons i n the conta i ner
UNCOMMITTED_UPDATE_VERSION_SIZE BIGINT Us ed s i zed of uncommi tted upda te-
vers i ons i n the conta i ner
UNCOMMITTED_DELETE_VERSION_SIZE BIGINT Us ed s i zed of uncommi tted del ete-
vers i ons i n the conta i ner
MIN_COMMIT_ID BIGINT Ea ch commi tted vers i on ha s i ts commi t

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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
START_TIME TIMESTAMP Sa vepoi nt s ta rt ti me
STATE VARCHAR(16) Sa vepoi nt s ta te
VERSION INTEGER Counter Sa vepoi nt vers i on
REQUESTED_FREQUENCY BIGINT Second Confi gured s a vepoi nt
frequency
TIME_SINCE_PREVIOUS BIGINT Second Ti me between previ ous a nd
thi s s a vepoi nt
DURATION BIGINT Mi cros econd Tota l ti me s pent for
crea ti ng s a vepoi nt
CRITICAL_PHASE_DURATION BIGINT Mi cros econd Ti me s pent i n cri ti ca l pha s e
(upda tes a re bl ocked duri ng
thi s )
TOTAL_SIZE BIGINT Byte Tota l a mount of bytes
wri tten for thi s s a vepoi nt
FLUSHED_PAGES BIGINT Counter Count of a s ynchronous l y
fl us hed pa ges
FLUSHED_PAGES_IN_CRITICAL_PHASE BIGINT Counter Count of pa ges fl us hed i n
cri ti ca l pha s e
FLUSHED_ROWSTORE_PAGES BIGINT Counter Count of a s ynchronous l y
fl us hed row s tore pa ges
FLUSHED_ROWSTORE_PAGES_IN_CRITICAL_PHASE BIGINT Counter Count of row s tore pa ges
fl us hed i n cri ti ca l pha s e
FLUSHED_SIZE BIGINT Byte Si ze of a s ynchronous l y
fl us hed pa ges
FLUSHED_SIZE_IN_CRITICAL_PHASE BIGINT Byte Si ze of pa ges fl us hed i n
cri ti ca l pha s e
FLUSHED_ROWSTORE_SIZE BIGINT Byte Si ze of a s ynchronous l y
fl us hed row s tore pa ges
FLUSHED_ROWSTORE_SIZE_IN_CRITICAL_PHASE BIGINT Byte Si ze of row s tore pa ges
fl us hed i n cri ti ca l pha s e
RTT_SIZE BIGINT Counter 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

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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
SAVEPOINTS BIGINT Counter Count of executed
s a vepoi nts
START_TIME TIMESTAMP La s t s a vepoi nt s ta rt
ti me cl ock)
STATE VARCHAR(16) La s t s a vepoi nt s ta te
VERSION INTEGER Counter La s t s a vepoi nt vers i on
REQUESTED_FREQUENCY BIGINT Second Currentl y a cti ve
confi gured s a vepoi nt
frequency
LAST_FREQUENCY BIGINT Second Actua l s a vepoi nt
frequency (ti me
between l a s t two
s a vepoi nts ) (l a s t)
AVG_FREQUENCY BIGINT Second Actua l s a vepoi nt
frequency (ti me
between l a s t two
s a vepoi nts ) (a vg)
LAST_DURATION BIGINT Mi cros econd Tota l ti me s pent
crea ti ng s a vepoi nt
(l a s t)
AVG_DURATION BIGINT Mi cros econd Tota l ti me s pent
crea ti ng s a vepoi nt
(a vg)
LAST_CRITICAL_PHASE_DURATION BIGINT Mi cros econd 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)
AVG_CRITICAL_PHASE_DURATION BIGINT Mi cros econd 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)
LAST_TOTAL_SIZE BIGINT Byte Tota l a mount of bytes
wri tten for a s a vepoi nt
(l a s t)
AVG_TOTAL_SIZE BIGINT Byte Tota l a mount of bytes
wri tten for a s a vepoi nt
(a vg)
LAST_FLUSHED_PAGES BIGINT Counter Count of
a s ynchronous l y
fl us hed pa ges (l a s t)
AVG_FLUSHED_PAGES DOUBLE Ra te Count of

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)
AVG_FLUSHED_PAGES_IN_CRITICAL_PHASE DOUBLE Ra te Count of pa ges
fl us hed i n cri ti ca l
pha s e (a vg)
LAST_FLUSHED_ROWSTORE_PAGES BIGINT Counter Count of
a s ynchronous l y
fl us hed row s tore
pa ges (l a s t)
AVG_FLUSHED_ROWSTORE_PAGES DOUBLE Ra te Count of
a s ynchronous l y
fl us hed row s tore
pa ges (a vg)
LAST_FLUSHED_ROWSTORE_PAGES_IN_CRITICAL_PHASE BIGINT Counter Count of row s tore
pa ges fl us hed i n
cri ti ca l pha s e (l a s t)
AVG_FLUSHED_ROWSTORE_PAGES_IN_CRITICAL_PHASE DOUBLE Ra te Count of row s tore
pa ges fl us hed i n
cri ti ca l pha s e (a vg)
LAST_FLUSHED_SIZE BIGINT Byte Si ze of a s ynchronous l y
fl us hed pa ges (l a s t)
AVG_FLUSHED_SIZE BIGINT Byte Si ze of a s ynchronous l y
fl us hed pa ges (a vg)
LAST_FLUSHED_SIZE_IN_CRITICAL_PHASE BIGINT Byte Si ze of pa ges fl us hed
i n cri ti ca l pha s e (l a s t)
AVG_FLUSHED_SIZE_IN_CRITICAL_PHASE BIGINT Byte Si ze of pa ges fl us hed
i n cri ti ca l pha s e (a vg)
LAST_FLUSHED_ROWSTORE_SIZE BIGINT Byte Si ze of a s ynchronous l y
fl us hed row s tore
pa ges (l a s t)
AVG_FLUSHED_ROWSTORE_SIZE BIGINT Byte Si ze of a s ynchronous l y
fl us hed row s tore
pa ges (a vg)
LAST_FLUSHED_ROWSTORE_SIZE_IN_CRITICAL_PHASE BIGINT Byte Si ze of row s tore
pa ges fl us hed i n
cri ti ca l pha s e (l a s t)
AVG_FLUSHED_ROWSTORE_SIZE_IN_CRITICAL_PHASE BIGINT Byte Si ze of row s tore
pa ges fl us hed i n
cri ti ca l pha s e (a vg)
LAST_RTT_SIZE BIGINT Counter 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 )

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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
STATISTICS_NAME VARCHAR(128) Sta ti s ti cs object na me
STATISTICS_ID BIGINT Sta ti s ti cs object uni que ID
WAIT_COUNT BIGINT Counter Count of wa i t ca l l s
BLOCKING_COUNT BIGINT Counter Count of bl ocki ng wa i t ca l l s
TIMEOUT_COUNT BIGINT Counter Count of ti meouts
WAIT_RATE DOUBLE Percent Wa i t ra te
LAST_BLOCKING_TIME BIGINT Mi cros econd Ti me of bl ocki ng wa i t ca l l s (l a s t)
MAX_BLOCKING_TIME BIGINT Mi cros econd Ti me of bl ocki ng wa i t ca l l s (ma x)
MIN_BLOCKING_TIME BIGINT Mi cros econd Ti me of bl ocki ng wa i t ca l l s (mi n)
SUM_BLOCKING_TIME BIGINT Mi cros econd Ti me of bl ocki ng wa i t ca l l s (tota l )
AVG_BLOCKING_TIME BIGINT Mi cros econd Ti me of bl ocki ng wa i t ca l l s (a vg)
CREATE_COUNT BIGINT Counter Count of s ema phore crea ti on (for s ha red s ta ti s ti cs
onl y)
DESTROY_COUNT BIGINT Counter 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 Host Port Description


n.a . not empty not 0 Reconfi gure s i ngl e s ervi ce on hos t y wi th port z
not empty not empty 0 Reconfi gure a l l s ervi ces of type x on hos t y
not empty empty 0 Reconfi gure a l l s ervi ces of type x
empty empty 0 Reconfi gure a l l s ervi ces

Structure

Column name Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SERVICE_NAME VARCHAR(256) Servi ce na me. See M_SERVICE_TYPES for a l l known s ervi ce
na mes
PROCESS_ID INTEGER Proces s ID
DETAIL VARCHAR(128) Onl y for di s pl a y. Us e COORDINATOR_TYPE to tes t s ervi ce rol e
ACTIVE_STATUS VARCHAR(16) NO, YES, UNKNOWN, STARTING, STOPPING
SQL_PORT INTEGER SQL port
COORDINATOR_TYPE VARCHAR(16) 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 Data type Unit Description


HOST VARCHAR(64) Hos t where the s ervi ce i s runni ng
PORT INTEGER Port where the s ervi ce i s runni ng
COMPONENT VARCHAR(64) The l ogi ca l component for whi ch memory us a ge i s reported
USED_MEMORY_SIZE BIGINT 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SERVICE_NAME VARCHAR(32) Servi ce na me
PROCESS_ID INTEGER Proces s ID
LOGICAL_MEMORY_SIZE BIGINT Byte Vi rtua l memory s i ze (opera ti ng s ys tem
pers pecti ve)
PHYSICAL_MEMORY_SIZE BIGINT Byte Phys i ca l /res i dent memory s i ze (opera ti ng s ys tem
pers pecti ve)
CODE_SIZE BIGINT Byte Code s i ze, i ncl udi ng s ha red l i bra ri es
STACK_SIZE BIGINT Byte Sta ck s i ze
HEAP_MEMORY_ALLOCATED_SIZE BIGINT Byte Hea p pa rt of the memory pool
HEAP_MEMORY_USED_SIZE BIGINT Byte Amount of pool hea p memory tha t i s currentl y
a ctua l l y i n us e
SHARED_MEMORY_ALLOCATED_SIZE BIGINT Byte Sha red memory pa rt of the memory pool
SHARED_MEMORY_USED_SIZE BIGINT Byte Amount of pool s ha red memory tha t i s currentl y
a ctua l l y i n us e
COMPACTORS_ALLOCATED_SIZE BIGINT Byte 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
COMPACTORS_FREEABLE_SIZE BIGINT Byte Memory whi ch ca n a ctua l l y be freed on memory
s horta ge
ALLOCATION_LIMIT BIGINT Byte Ma xi mum memory pool s i ze (confi gura bl e va l ue)
EFFECTIVE_ALLOCATION_LIMIT BIGINT Byte 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)
TOTAL_MEMORY_USED_SIZE BIGINT 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 Data type Unit Description


SENDER_HOST VARCHAR(64) Hos t na me of the s endi ng s ervi ce
SENDER_PORT INTEGER Port tha t the s endi ng s ervi ce l i s tens on
RECEIVER_HOST VARCHAR(64) Hos t na me of the recei vi ng s ervi ce
RECEIVER_PORT INTEGER Port tha t the recei vi ng s ervi ce l i s tens on
SEND_SIZE BIGINT Byte Number of bytes s ent
RECEIVE_SIZE BIGINT Byte Number of bytes recei ved
SEND_DURATION BIGINT Mi cros econd Ti me s pent s endi ng
RECEIVE_DURATION BIGINT Mi cros econd Ti me s pent recei vi ng
REQUEST_COUNT BIGINT Counter 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Vol ume ID
SITE_ID INTEGER Genera ted s i te ID
SITE_NAME VARCHAR(256) Logi ca l s i te na me
SECONDARY_HOST VARCHAR(64) Seconda ry Hos t Na me
SECONDARY_PORT INTEGER Seconda ry Port
SECONDARY_SITE_ID INTEGER Genera ted ID of s econda ry s i te
SECONDARY_SITE_NAME VARCHAR(256) Seconda ry l ogi ca l s i te na me
SECONDARY_ACTIVE_STATUS VARCHAR(16) Seconda ry Acti ve Sta tus
SECONDARY_CONNECT_TIME TIMESTAMP Ti me the connecti on wa s es ta bl i s hed
from the s econda ry
SECONDARY_RECONNECT_COUNT INTEGER Seconda ry Reconnect Count
SECONDARY_FAILOVER_COUNT INTEGER Seconda ry Fa i l over Count
REPLICATION_MODE VARCHAR(16) Repl i ca ti on Mode
REPLICATION_STATUS VARCHAR(16) Repl i ca ti on Sta tus
REPLICATION_STATUS_DETAILS VARCHAR(1024) Repl i ca ti on Sta tus Deta i l s
LAST_LOG_POSITION BIGINT Current Log Pos
LAST_LOG_POSITION_TIME TIMESTAMP Current Log Pos Ti mes ta mp
LAST_SAVEPOINT_VERSION INTEGER Current Sa vepoi nt Vers i on
LAST_SAVEPOINT_LOG_POSITION BIGINT Current Sa vepoi nt Log Pos i ti on
LAST_SAVEPOINT_START_TIME TIMESTAMP Current Sa vepoi nt Ti mes ta mp
SHIPPED_LOG_POSITION BIGINT Shi pped Log Pos i ton
SHIPPED_LOG_POSITION_TIME TIMESTAMP Shi pped Log Pos i ti on Ti mes ta mp
SHIPPED_LOG_BUFFERS_COUNT BIGINT Shi pped Log Buffers Count
SHIPPED_LOG_BUFFERS_SIZE BIGINT Shi pped Log Buffers Si ze i n Bytes
SHIPPED_LOG_BUFFERS_DURATION BIGINT Shi pped Log Buffer Dura ti on i n
mi cros econds
SHIPPED_SAVEPOINT_VERSION INTEGER Shi pped Sa vepoi nt Vers i on
SHIPPED_SAVEPOINT_LOG_POSITION BIGINT Shi pped Sa vepoi nt Log Pos i ti on
SHIPPED_SAVEPOINT_START_TIME TIMESTAMP Shi pped Sa vepoi nt Sta rt Ti me
SHIPPED_FULL_REPLICA_COUNT BIGINT Shi pped Ful l Repl i ca Count
SHIPPED_FULL_REPLICA_SIZE BIGINT Shi pped Ful l Repl i ca Si ze i n Bytes
SHIPPED_FULL_REPLICA_DURATION BIGINT Shi pped Ful l Repl i ca Dura ti on i n
mi cros econds
SHIPPED_LAST_FULL_REPLICA_SIZE BIGINT Shi pped La s t Ful l Repl i ca Si ze i n Bytes
SHIPPED_LAST_FULL_REPLICA_START_TIME TIMESTAMP Shi pped La s t Ful l Repl i ca Sta rt Ti me
SHIPPED_LAST_FULL_REPLICA_END_TIME TIMESTAMP Shi pped La s t Ful l Repl i ca End Ti me
SHIPPED_DELTA_REPLICA_COUNT BIGINT Shi pped Del ta Repl i ca Count
SHIPPED_DELTA_REPLICA_SIZE BIGINT Shi pped Del ta Repl i ca Si ze i n Bytes
SHIPPED_DELTA_REPLICA_DURATION BIGINT Shi pped Del ta Repl i ca Dura ti on i n
mi cros econds
SHIPPED_LAST_DELTA_REPLICA_SIZE BIGINT Shi pped La s t Del ta Repl i ca Si ze i n Bytes
SHIPPED_LAST_DELTA_REPLICA_START_TIME TIMESTAMP Shi pped La s t Del ta Repl i ca Sta rt Ti me
SHIPPED_LAST_DELTA_REPLICA_END_TIME TIMESTAMP 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 Description
NO Servi ce not s ta rted.
STARTING 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.
YES Servi ce s ta rted a nd rea dy for reques ts .
STOPPING 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
UNKNOWN
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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SERVICE_NAME VARCHAR(32) Servi ce na me
PROCESS_ID INTEGER Proces s ID
DETAIL VARCHAR(128) Deta i l i nforma ti on, s i mi l a r to
COORDINATOR_TYPE i n
M_SERVICES
ACTIVE_STATUS VARCHAR(16) NO, YES, UNKNOWN, STARTING,
STOPPING
START_TIME TIMESTAMP Proces s s ta rt ti mes ta mp
SYS_TIMESTAMP TIMESTAMP Current s ys tem ti mes ta mp
PROCESS_CPU SMALLINT Percent CPU us a ge of current proces s
PROCESS_CPU_TIME BIGINT Mi l l i s econd CPU us a ge of current proces s
s i nce s ta rt
TOTAL_CPU SMALLINT Percent CPU us a ge of a l l proces s es
TOTAL_CPU_TIME BIGINT Mi l l i s econd CPU us a ge of a l l proces s es s i nce
s ta rt
PROCESS_MEMORY BIGINT Proces s l ogi ca l memory us a ge
PROCESS_PHYSICAL_MEMORY BIGINT Proces s phys i ca l memory us a ge
TOTAL_MEMORY BIGINT Hos t phys i ca l +s wa p memory
us a ge
AVAILABLE_MEMORY BIGINT Hos t phys i ca l +s wa p memory s i ze
PHYSICAL_MEMORY BIGINT Hos t phys i ca l memory s i ze
REQUESTS_PER_SEC DOUBLE Ra te Reques ts per s econd. Avera ge
over l a s t 1000 reques ts
RESPONSE_TIME INTEGER Mi l l i s econd Reques t res pons e ti me. Avera ge
over l a s t 1000 reques ts
FINISHED_NON_INTERNAL_REQUEST_COUNT BIGINT Counter Fi ni s hed reques ts
ALL_FINISHED_REQUEST_COUNT BIGINT Counter Fi ni s hed reques ts i ncl udi ng
i nterna l reques ts
ACTIVE_REQUEST_COUNT INTEGER Number of a cti ve reques ts
PENDING_REQUEST_COUNT INTEGER Number of pendi ng reques ts
ACTIVE_THREAD_COUNT INTEGER Number of a cti ve threa ds
THREAD_COUNT INTEGER Number of tota l threa ds
OPEN_FILE_COUNT INTEGER 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SERVICE_NAME VARCHAR(32) Servi ce na me. See M_SERVICE_TYPES for a l l
known s ervi ce na mes
HIERARCHY VARCHAR(128) 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
CONNECTION_ID INTEGER Connecti on ID
THREAD_ID BIGINT Threa d ID
THREAD_TYPE VARCHAR(128) Threa d Type
THREAD_METHOD VARCHAR(256) Threa d method
THREAD_DETAIL NCLOB Threa d deta i l
DURATION BIGINT Mi l l i s econd Threa d Dura ti on
CALLER VARCHAR(256) The s ervi ce whi ch ca l l ed thi s threa d
CALLING VARCHAR(256) The s ervi ce whi ch the threa d ca l l s
USER_NAME NVARCHAR(256) SQL us er na me
APPLICATION_USER_NAME NVARCHAR(256) Appl i ca ti on us er na me
CPU_TIME_SELF BIGINT Mi cros econd CPU ti me of threa d
CPU_TIME_CUMULATIVE BIGINT Mi cros econd 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SERVICE_NAME VARCHAR(32) Servi ce na me. See M_SERVICE_TYPES for a l l known s ervi ce na mes
THREAD_ID BIGINT Threa d ID
FRAME_LEVEL INTEGER Level of s ta ck fra me
FRAME_NAME VARCHAR(256) 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 Data type Unit Description


SERVICE_NAME VARCHAR(32) Servi ce na me
COMPONENT_NAME VARCHAR(32) 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 Data type Unit Description


SERVICE_NAME VARCHAR(32) Servi ce na me
INIFILE VARCHAR(36) Confi gura ti on fi l e na me of s ervi ce
HAS_DETAIL VARCHAR(5) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
CONNECTION_ID INTEGER Connecti on ID
KEY VARCHAR(32) Key na me of a s es s i on context va ri a bl e
VALUE VARCHAR(512) Va l ue of a s es s i on context va ri a bl e
SECTION VARCHAR(32) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
CATEGORY VARCHAR(128) Modul e na me
ALLOCATED_SIZE BIGINT Al l oca ted s ha red memory s i ze on the modul e
USED_SIZE BIGINT Us ed s ha red memory s i ze on the modul e
FREE_SIZE BIGINT 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
ID BIGINT Sna ps hot ID
TIMESTAMP TIMESTAMP Crea ti on ti me
FOR_BACKUP VARCHAR(5) Crea ted for ba ckup: 'TRUE', 'FALSE'
ANCHOR BIGINT 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
STATEMENT_STRING NCLOB Sta tement s tri ng
USER_NAME NVARCHAR(256) Us er na me who
prepa red the pl a n
SCHEMA_NAME NVARCHAR(256) 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
IS_VALID VARCHAR(5) 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
IS_INTERNAL VARCHAR(5) 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
IS_DISTRIBUTED_EXECUTION VARCHAR(5) TRUE i f ta bl es a re
l oca ted i n mul ti nodes ,
FALSE otherwi s e
ABAP_VARCHAR_MODE VARCHAR(5) TRUE i f ABAP VARCHAR
mode ena bl ed, FALSE
otherwi s e. ABAP

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 VARCHAR(2000) Rel eva nt ta bl e object ID
l i s t for the pl a n
TABLE_LOCATIONS VARCHAR(2000) Rel eva nt ta bl e l oca ti ons
for the pl a n
TABLE_TYPES VARCHAR(128) 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'
PLAN_SHARING_TYPE VARCHAR(128) The Pl a n s ha ri ng type:
'GLOBAL', 'SESSION
EXCLUSIVE GLOBAL',
'SESSION LOCAL'
OWNER_CONNECTION_ID INTEGER A Connecti on owni ng the
pl a n
PLAN_ID BIGINT Logi ca l pl a n ID whi ch i s
a non-nega ti ve va l ue
PLAN_MEMORY_SIZE BIGINT Byte Memory s i ze us ed by the
pl a n
REFERENCE_COUNT BIGINT Counter 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
PARAMETER_COUNT BIGINT Counter Number of pa ra meters to
be a s s i gned for the
executi on
UPDATED_TABLE_OID BIGINT Object ID of the upda ted
ta bl e for the pl a n
EXECUTION_COUNT BIGINT Counter Accumul a ted count of
pl a n executi on
EXECUTION_COUNT_BY_ROUTING BIGINT Counter Accumul a ted count of
pl a n executi on by cl i ent-
routed 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
TOTAL_CURSOR_DURATION BIGINT Mi cros econd 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
AVG_CURSOR_DURATION BIGINT Mi cros econd Avera ge ti me of pl a n
executi on i ncl udi ng
communi ca te ti me wi th
cl i ents
MIN_CURSOR_DURATION BIGINT Mi cros econd 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
MAX_CURSOR_DURATION BIGINT Mi cros econd 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
TOTAL_EXECUTION_TIME BIGINT Mi cros econd Sum of ti me of pl a n
executi ons
AVG_EXECUTION_TIME BIGINT Mi cros econd Avera ge ti me of pl a n
executi on
MIN_EXECUTION_TIME BIGINT Mi cros econd Mi ni mum ti me of pl a n
executi on
MAX_EXECUTION_TIME BIGINT Mi cros econd Ma xi mum ti me of pl a n
executi on
TOTAL_EXECUTION_OPEN_TIME BIGINT Mi cros econd Sum of ti me of
es ta bl i s hi ng res ul t s ets
AVG_EXECUTION_OPEN_TIME BIGINT Mi cros econd Avera ge ti me for curs or

177 2012-12-19
SAP HANA System Tables and Monitoring Views Reference

open
MIN_EXECUTION_OPEN_TIME BIGINT Mi cros econd Mi ni mum ti me for curs or
cl os e
MAX_EXECUTION_OPEN_TIME BIGINT Mi cros econd Ma xi mum ti me for curs or
cl os e
TOTAL_EXECUTION_FETCH_TIME BIGINT Mi cros econd Sum of ti me for
tra ns ferri ng rows
AVG_EXECUTION_FETCH_TIME BIGINT Mi cros econd Avera ge ti me for curs or
fetch
MIN_EXECUTION_FETCH_TIME BIGINT Mi cros econd Mi ni mum ti me for curs or
fetch
MAX_EXECUTION_FETCH_TIME BIGINT Mi cros econd Ma xi mum ti me for curs or
fetch
TOTAL_EXECUTION_CLOSE_TIME BIGINT Mi cros econd Sum of ti me for cl ea nup
of res ul t s ets
AVG_EXECUTION_CLOSE_TIME BIGINT Mi cros econd Avera ge ti me for curs or
cl os e
MIN_EXECUTION_CLOSE_TIME BIGINT Mi cros econd Mi ni mum ti me for curs or
cl os e
MAX_EXECUTION_CLOSE_TIME BIGINT Mi cros econd Ma xi mum ti me for curs or
cl os e
TOTAL_METADATA_CACHE_MISS_COUNT BIGINT Counter 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.
TOTAL_TABLE_LOAD_TIME_DURING_PREPARATION BIGINT Mi cros econd Sum of ta bl e l oa di ng
ti me duri ng pl a n
prepa ra ti on
AVG_TABLE_LOAD_TIME_DURING_PREPARATION BIGINT Mi cros econd Avera ge ta bl e l oa di ng
ti me duri ng pl a n
prepa ra ti on
MIN_TABLE_LOAD_TIME_DURING_PREPARATION BIGINT Mi cros econd Mi ni mum ta bl e l oa di ng
ti me duri ng pl a n
prepa ra ti on
MAX_TABLE_LOAD_TIME_DURING_PREPARATION BIGINT Mi cros econd Ma xi mum ta bl e l oa di ng
ti me duri ng pl a n
prepa ra ti on
PREPARATION_COUNT BIGINT Counter Number of pl a n
prepa ra ti ons
TOTAL_PREPARATION_TIME BIGINT Mi cros econd Sum of ti me of pl a n
prepa ra ti on
AVG_PREPARATION_TIME BIGINT Mi cros econd Avera ge ti me of pl a n
prepa ra ti on
MIN_PREPARATION_TIME BIGINT Mi cros econd Mi ni mum ti me of pl a n
prepa ra ti on
MAX_PREPARATION_TIME BIGINT Mi cros econd Ma xi mum ti me of pl a n
prepa ra ti on
TOTAL_RESULT_RECORD_COUNT BIGINT Counter Accumul a ted number of
records duri ng pl a n
executi on.
TOTAL_LOCK_WAIT_COUNT BIGINT Counter Accumul a ted l ock wa i t
count for the pl a n
TOTAL_LOCK_WAIT_DURATION BIGINT Counter Accumul a ted l ock wa i t
dura ti on for the pl a n
LAST_CONNECTION_ID INTEGER The l a s t connecti on ID
tha t executed the pl a n
LAST_EXECUTION_TIMESTAMP TIMESTAMP La s t executi on
ti mes ta mp
LAST_PREPARATION_TIMESTAMP TIMESTAMP La s t prepa ra ti on
ti mes ta mp

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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
STATISTICS_COLLECTION_ENABLED VARCHAR(5) 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
EVICTED_PLAN_COUNT BIGINT Number of evi cted pl a ns from SQL
Pl a n Ca che
EVICTED_PLAN_PREPARATION_COUNT BIGINT Tota l pl a n prepa ra ti on count for
evi cted pl a ns
EVICTED_PLAN_EXECUTION_COUNT BIGINT Tota l pl a n executi on count for
evi cted pl a ns
EVICTED_PLAN_PREPARATION_TIME BIGINT Mi cros econd Tota l dura ti on for pl a n prepa ra ti on
for a l l evi cted pl a ns
EVICTED_PLAN_CURSOR_DURATION BIGINT Mi cros econd Tota l curs or dura ti on for evi cted
pl a ns
EVICTED_PLAN_TOTAL_EXECUTION_TIME BIGINT Mi cros econd Tota l executi on ti me for evi cted
pl a ns
EVICTED_PLAN_SIZE BIGINT Byte Accumul a ted tota l s i ze of evi cted
pl a ns
CACHED_PLAN_COUNT BIGINT Tota l ca ched pl a n count i n SQL Pl a n
Ca che
CACHED_PLAN_PREPARATION_COUNT BIGINT Tota l pl a n prepa ra ti on count for
ca ched pl a ns
CACHED_PLAN_EXECUTION_COUNT BIGINT Tota l executi on count for ca ched
pl a ns
CACHED_PLAN_PREPARATION_TIME BIGINT Mi cros econd Tota l pl a n prepa ra ti on dura ti on for
ca ched pl a ns
CACHED_PLAN_CURSOR_DURATION BIGINT Mi cros econd Tota l curs or dura ti on for ca ched
pl a ns
CACHED_PLAN_TOTAL_EXECUTION_TIME BIGINT Mi cros econd Tota l executi on ti me for ca ched
pl a ns
CACHED_PLAN_SIZE BIGINT Byte Tota l s i ze of SQL Pl a n Ca che
PLAN_CACHE_ENABLED TINYINT 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
CLEAR_TIMESTAMP TIMESTAMP Ti mes ta mp when SQL Pl a n Ca che i s
cl ea red

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 Data type Unit Description


NAME VARCHAR(64) Sta tement na me
DESCRIPTION NVARCHAR(256) Sta tement des cri pti on
STATEMENT NCLOB 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 Data type Unit Description


CATEGORY VARCHAR(128) Ca tegory of s ys tem l i mi t i s a da pta bl e
NAME NVARCHAR(256) Na me of s ys tem l i mi t
VALUE VARCHAR(256) Va l ue of s ys tem l i mi t
TYPE VARCHAR(128) Type of va l ue
UNIT VARCHAR(256) Uni t of va l ue
COMMENT VARCHAR(2000) 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 Data type Unit Description


SECTION VARCHAR(16) Secti on na me
NAME VARCHAR(32) Key na me i n s ecti on
STATUS VARCHAR(8) Sta tus va l ue: OK, ERROR, WARNING or empty for i nfo i tems
VALUE VARCHAR(256) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
RECORD_COUNT BIGINT Number of records i n thi s ta bl e
TABLE_SIZE BIGINT 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
IS_COLUMN_TABLE VARCHAR(5) Speci fi es whether the ta bl e i s a col umn ta bl e: 'TRUE', 'FALSE'
TABLE_TYPE VARCHAR(16) Speci fi es type of the ta bl e: 'ROW', 'COLUMN', 'HYBRID'
IS_PARTITIONED VARCHAR(5) Speci fi es whether the ta bl e i s pa rti ti oned: 'TRUE', 'FALSE'
IS_REPLICATED VARCHAR(5) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
COLUMN_NAME NVARCHAR(256) Col umn na me
PART_ID INTEGER Pa rt ID of s pl i t ta bl e
TABLE_OID BIGINT 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
CONTAINER_ID BIGINT Conta i ner ID
PHYSICAL_SIZE BIGINT Byte Fi l e s i ze
BINARY_SIZE BIGINT Byte LOB s i ze
CHARACTER_SIZE INTEGER Number of cha ra cters i n NCLOB
PAGE_COUNT BIGINT Number of pa ges us ed for a LOB fi l e
LOB_TYPE VARCHAR(5) 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 Data type Unit Description


HOST VARCHAR(64) Hos t where ta bl e da ta i s l oca ted. Empty for Vi ews
PORT INTEGER Port where ta bl e da ta i s l oca ted. 0 for Vi ews
SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
PART_ID INTEGER 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.
LOCATION VARCHAR(75) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
PART_ID INTEGER 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_HISTORY VARCHAR(5) Is thi s the hi s tory pa rt of a ta bl e: 'TRUE', 'FALSE'
PERSISTENCE_HOST VARCHAR(64) Hos t where ta bl e da ta i s l oca ted
PERSISTENCE_PORT INTEGER Port where ta bl e da ta i s l oca ted

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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema Na me
TABLE_NAME NVARCHAR(256) Ta bl e Na me
DISK_SIZE BIGINT Tota l di s k s i ze of a l l ta bl e pa rts
PAGE_COUNT BIGINT Tota l number of pa ges of a l l ta bl e pa rts
BYTES_WRITTEN BIGINT Number of bytes wri tten to the ta bl e
BYTES_APPENDED BIGINT Number of bytes a ppended to the ta bl e
BYTES_READ BIGINT Number of bytes rea d from the ta bl e
BYTESTREAM_WRITTEN BIGINT Number of bytes wri tten to the ta bl e vi a s trea mi ng
i nterfa ce
APPEND_COUNT BIGINT Number of ti mes the ta bl e wa s a ppended to
WRITE_COUNT BIGINT Number of ti mes the ta bl e wa s wri tten to
OPTIMIZE_COUNT BIGINT Number of ti mes the ta bl e wa s wri tten to opti mi zed
READ_COUNT BIGINT Number of ti mes the ta bl e wa s rea d from
TRUNCATE_COUNT BIGINT Number of ti mes the ta bl e wa s trunca ted
COPY_COUNT BIGINT 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
PART_ID INTEGER 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_HISTORY VARCHAR(5) Is thi s the hi s tory pa rt of a ta bl e: 'TRUE', 'FALSE'
CONTAINER_ID BIGINT Conta i ner ID
NAMESPACE VARCHAR(512) Fi l e pa th
NAME VARCHAR(512) Fi l e na me
PHYSICAL_SIZE BIGINT Byte Fi l e s i ze
PAGE_COUNT BIGINT Unus ed

189 2012-12-19
SAP HANA System Tables and Monitoring Views Reference

M_TEMPORARY_TABLES
Short description
Temporary tables

Structure

Column name Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
TABLE_OID BIGINT Object ID of the ta bl e
COMMENTS NVARCHAR(5000) Comment on the ta bl e
FIXED_PART_SIZE SMALLINT Byte Fi xed-s i ze pa rt of record
IS_LOGGED VARCHAR(5) Speci fi es whether l oggi ng i s ena bl ed for the
ta bl e: 'TRUE', 'FALSE'
IS_SYSTEM_TABLE VARCHAR(5) Speci fi es whether the ta bl e i s a s ys tem ta bl e:
'TRUE', 'FALSE'
IS_COLUMN_TABLE VARCHAR(5) Speci fi es whether the ta bl e i s a col umn ta bl e:
'TRUE', 'FALSE'
IS_INSERT_ONLY VARCHAR(5) Speci fi es whether the ta bl e i s a n 'i ns ert onl y'
ta bl e: 'TRUE', 'FALSE'
IS_TENANT_SHARED_DATA VARCHAR(5) Speci fi es whether the ta bl e ca n be s ha red a mong
other i ns ta nces : 'TRUE', 'FALSE'
IS_TENANT_SHARED_METADATA VARCHAR(5) Speci fi es whether the ta bl e i s a gl oba l ta bl e:
'TRUE', 'FALSE'
SESSION_TYPE VARCHAR(16) Ses s i on type: 'NONE', 'SIMPLE', 'HISTORY'. For
'HISTORY', ti me tra vel i s pos s i bl e
IS_TEMPORARY VARCHAR(5) Speci fi es whether the ta bl e i s a tempora ry ta bl e:
'TRUE', 'FALSE'
TEMPORARY_TABLE_TYPE VARCHAR(8) Tempora ry ta bl e type
IS_USER_DEFINED_TYPE VARCHAR(5) 'TRUE' i f us er defi ned ta bl e type, 'FALSE'
otherwi s e
PRELOAD VARCHAR(5) '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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
TABLE_OID BIGINT Object ID of the ta bl e
COLUMN_NAME NVARCHAR(256) Na me of the col umn
POSITION INTEGER Ordi na l pos i ti on of the ta bl e col umn
DATA_TYPE_ID SMALLINT SQL da ta type ID of the col umn
DATA_TYPE_NAME VARCHAR(16) SQL da ta type na me of the col umn
OFFSET SMALLINT Byte Offs et of the col umn i n the record
LENGTH INTEGER # 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
SCALE INTEGER 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
IS_NULLABLE VARCHAR(5) Speci fi es whether the col umn i s a l l owed to a ccept a nul l
va l ue: 'TRUE', 'FALSE'
DEFAULT_VALUE NVARCHAR(5000) Defa ul t va l ue of the col umn
COLLATION NVARCHAR(5000) Col l a ti on of the col umn
COMMENTS NVARCHAR(5000) Comments on the col umn
MAX_VALUE NVARCHAR(5000) Ma xi mum va l ue
MIN_VALUE NVARCHAR(5000) Mi ni mum va l ue
CS_DATA_TYPE_ID INTEGER Col umn s tore da ta type ID
CS_DATA_TYPE_NAME VARCHAR(16) Col umn s tore da ta type na me
DDIC_DATA_TYPE_ID INTEGER DDIC da ta type ID
DDIC_DATA_TYPE_NAME VARCHAR(7) DDIC da ta type na me
COMPRESSION_TYPE VARCHAR(9) Type of compres s i on: 'DEFAULT', 'PREFIXED', 'SPARSE',
'CLUSTERED', 'INDIRECT', 'RLE'
INDEX_TYPE VARCHAR(9) Type of i ndex: 'NONE', 'FULL', 'SIGNATURE'
COLUMN_ID BIGINT ID of the col umn
PRELOAD VARCHAR(5) Speci fi es i f col umn i s prel oa ded: 'TRUE', 'FALSE'

191 2012-12-19
SAP HANA System Tables and Monitoring Views Reference

M_TEMPORARY_VIEWS
Short description
Temporary views

Structure

Column name Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema na me
VIEW_NAME NVARCHAR(256) Vi ew na me
VIEW_OID BIGINT Object ID of the vi ew
IS_UNICODE VARCHAR(5) Speci fi es whether the query s tri ng conta i ns Uni code: 'TRUE',
'FALSE'
IS_READ_ONLY VARCHAR(5) 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'
HAS_CHECK_OPTION VARCHAR(5) Speci fi es whether thi s vi ew ha s a n upda ta bl e vi ew
condi ti on: 'TRUE', 'FALSE'
HAS_COLUMN_ALIASE VARCHAR(5) Speci fi es whether the vi ew ha s a col umns a l i a s : 'TRUE',
'FALSE'
DEFINITION NCLOB Defi ni ti on of the vi ew
COMMENTS NVARCHAR(5000) Des cri pti on on the vi ew
IS_COLUMN_VIEW VARCHAR(5) Speci fi es whether thi s vi ew i s a col umn vi ew or not: 'TRUE',
'FALSE'
VIEW_TYPE VARCHAR(16) Type of vi ew : 'ROW', 'OLAP', 'JOIN', 'HIERARCHY', 'CALC'
IS_TENANT_SHARED VARCHAR(5) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SCHEMA_NAME NVARCHAR(256) Schema na me
VIEW_NAME NVARCHAR(256) Vi ew na me
VIEW_OID BIGINT Object ID of the vi ew
COLUMN_NAME NVARCHAR(256) Vi ew col umn na me
POSITION INTEGER Ordi na l pos i ti on of the vi ew col umn
DATA_TYPE_ID SMALLINT SQL da ta type ID of the col umn
DATA_TYPE_NAME VARCHAR(16) SQL da ta type na me of the col umn
OFFSET SMALLINT Offs et of the col umn i n a record
LENGTH INTEGER # 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
SCALE INTEGER 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
IS_NULLABLE VARCHAR(5) Speci fi es whether the col umn i s a l l owed to a ccept nul l
va l ue: 'TRUE', 'FALSE'
DEFAULT_VALUE NVARCHAR(5000) Defa ul t va l ue
COLLATION NVARCHAR(5000) Col l a ti on
COMMENTS NVARCHAR(5000) Des cri pti on for thi s col umn
MAX_VALUE NVARCHAR(5000) Ma xi mum va l ue
MIN_VALUE NVARCHAR(5000) Mi ni mum va l ue
CS_DATA_TYPE_ID INTEGER Col umn s tore da ta type ID
CS_DATA_TYPE_NAME VARCHAR(16) Col umn s tore da ta type na me
DDIC_DATA_TYPE_ID INTEGER DDIC da ta type ID
DDIC_DATA_TYPE_NAME VARCHAR(7) DDIC da ta type na me
COMPRESSION_TYPE VARCHAR(9) Type of compres s i on: 'DEFAULT', 'PREFIXED', 'SPARSE',
'CLUSTERED', 'INDIRECT', 'RLE'
INDEX_TYPE VARCHAR(9) Type of i ndex: 'NONE', 'FULL', 'SIGNATURE'
COLUMN_ID BIGINT ID of the col umn
PRELOAD VARCHAR(5) Speci fi es i f col umn i s prel oa ded: 'TRUE', 'FALSE'

193 2012-12-19
SAP HANA System Tables and Monitoring Views Reference

M_TENANTS
Short description
Available tenant information

Structure

Column name Data type Unit Description


HOST VARCHAR(64) Tena nt s ervi ce hos t na me
PORT INTEGER Tena nt s ervi ce i nterna l port
TENANT_NAME VARCHAR(256) Tena nt na me
CREATE_TIME TIMESTAMP Crea ti on ti me
TENANT_STATUS VARCHAR(16) Sus pend s ta tus : SUSPENDED, ACTIVE, PENDING
SQL_PORT INTEGER 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 Data type Unit Description


LANGUAGE_NAME VARCHAR(256) La ngua ge na me
LANGUAGE_CODE VARCHAR(2) 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 Data type Unit Description


MIME_TYPE_NAME VARCHAR(256) Na me of the mi me type
MIME_TYPE_DESCRIPTION NVARCHAR(256) 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 Data type Unit Description


PATH VARCHAR(512) Pa th to Key
NAME VARCHAR(256) Key na me
VALUE VARCHAR(256) Key va l ue
LEAF VARCHAR(5) 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 Files
ALERT <s ervi ce>a l ert....trc
CLIENT l oca l cl i ent_....trc
CRASHDUMP *.cra s hdump....trc
* open *.trc fi l es of a l l a cti ve s ervi ces
INDEXSERVER,NAMESERVER,...,DAEMON 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
FILE_NAME VARCHAR(256) Fi l e na me
FILE_SIZE BIGINT Byte Fi l e s i ze
FILE_MTIME TIMESTAMP 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
FILE_NAME VARCHAR(256) Fi l e na me
OFFSET BIGINT Byte Fi l e offs et
CONTENT NVARCHAR(1000) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
CONNECTION_ID INTEGER Connecti on ID
TRANSACTION_ID INTEGER 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)
VOLUME_ID INTEGER Vol ume ID where the tra ns a cti on ha s s ta rted
TRANSACTION_SEQUENCE INTEGER Tra ns a cti on s equence number i n a
tra ns a cti on
UPDATE_TRANSACTION_ID BIGINT Wri te tra ns a cti on ID (Thi s number i s ever
i ncrea s i ng)
TRANSACTION_STATUS VARCHAR(128) Tra ns a cti on s ta tus ; INACTIVE, ACTIVE,
PRECOMMITTED, ABORTING,
PARTIAL_ABORTING, ACTIVE_PREPARE_COMMIT
TRANSACTION_TYPE VARCHAR(128) Tra ns a cti on type; USER, VERSION GARBAGE
COLLECTION, DDL VERSION GARBAGE
COLLECTION, INTERNAL, EXTERNAL
START_TIME TIMESTAMP Sta rt ti me
END_TIME TIMESTAMP End ti me
START_MVCC_TIMESTAMP BIGINT Interna l MVCC ti mes ta mp of the tra ns a cti on
s ta rt ti me
END_MVCC_TIMESTAMP BIGINT Interna l MVCC ti mes ta mp of the tra ns a cti on
end ti me
EXECUTED_STATEMENT_COUNT INTEGER Number of executed s ta tements i n the
tra ns a cti on
CREATED_VERSION_COUNT INTEGER Number of crea ted vers i ons i n the tra ns a cti on
ALLOCATED_VERSION_SIZE BIGINT Byte Al l oca ted vers i on s i ze i n the tra ns a cti on
ACQUIRED_LOCK_COUNT INTEGER Number of a cqui red l ocks i n the tra ns a cti on
LOCK_WAIT_COUNT INTEGER Number of l ock wa i ts i n the tra ns a cti on
LOCK_WAIT_TIME DOUBLE Second Accumul a ted l ock wa i t ti me i n the tra ns a cti on
LOG_SIZE BIGINT Byte Genera ted l og a mount i n the tra ns a cti on
CURRENT_STATEMENT_ID VARCHAR(256) Current s ta tement ID
CURRENT_STATEMENT_SEQUENCE INTEGER Sequence number of the currentl y executed
s ta tement
ALLOCATED_MEMORY_SIZE BIGINT Byte Memory s i ze occupi ed by the tra ns a cti on
ACQUIRED_METALOCK_INDEX INTEGER Index of a cqui red meta l ock
LOG_PARTITION_ID SMALLINT Log pa rti ti on ID of the tra ns a cti on
REDO_LOG_AMOUNT BIGINT Byte Si ze of redo l og a mount genera ted by the
tra ns a cti on
UNDO_LOG_AMOUNT BIGINT Byte Si ze of undo l og a mount genera ted by the
tra ns a cti on
MIN_MVCC_SNAPSHOT_TIMESTAMP BIGINT Logi ca l ti mes ta mp of the fi rs t executed
s ta tement i n the tra ns a cti on
LAST_COMMIT_ID BIGINT La s t commi t ID of the tra ns a cti on
ACTIVE_STATEMENT_COUNT INTEGER Number of opened curs ors i n the tra ns a cti on
ISOLATION_LEVEL VARCHAR(128) Is ol a ti on l evel of ea ch tra ns a cti on: READ
UNCOMMITTED, READ COMMITTED, REPEATABLE
READ, SERIALIZABLE
LOG_FLUSH_ENABLED VARCHAR(5) TRUE i f l oggi ng i s ena bl ed for the tra ns a cti on,
FALSE otherwi s e
LOGGING_ENABLED VARCHAR(5) TRUE i f l oggi ng i s ena bl ed for the tra ns a cti on,
FALSE otherwi s e

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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
TYPE VARCHAR(16) Fi l e type (UNDO, CLEANUP, EXTERNALUNDO,
FREE)
TID BIGINT TID Tra ns a cti on ID
PAGE_COUNT BIGINT Counter Pa ge count
RAW_SIZE BIGINT Byte Ra w s i ze
CLEANUP_MARK BIGINT Cl ea nup pos i ti on ma rk
NESTED_SESSION_ID INTEGER Nes ted s es s i on ID
NESTED_SESSION_PARENT_ID INTEGER Nes ted s es s i on pa rent ID
DEPENDENT_INDEX INTEGER Dependent i ndex duri ng redo
INDOUBT_FLAG VARCHAR(5) Indoubt fl a g for di s tri buted tra ns a cti on: 'TRUE',
'FALSE'
TENTATIVE_PRECOMMIT_POSITION BIGINT 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
ALLOCATED_MEMORY_SIZE BIGINT Byte Si ze of memory a l l oca ted for row-s tore vers i on s pa ce
USED_MEMORY_SIZE BIGINT Byte Si ze of memory a ctua l l y us ed by row-s tore vers i ons
RECLAIMED_VERSION_SIZE BIGINT Byte Si ze of memory recl a i med by row-s tore vers i on ga rba ge
col l ecti on
FREE_MEMORY_SIZE BIGINT Byte 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SERVICE_NAME VARCHAR(256) Servi ce na me
VOLUME_ID INTEGER Vol ume ID
SUBPATH VARCHAR(512) Subpa th a ppended to M_DISKS.PATH
LIVECACHE_STORE VARCHAR(10) Li veca che i s ena bl ed
REMOVE_STATUS VARCHAR(16) 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Vol ume ID
FILE_TYPE VARCHAR(16) Type of fi l e (DATA, LOG, TRACER, ...)
FILE_NAME VARCHAR(256) Fi l e na me
USED_SIZE BIGINT Si ze of us ed da ta wi thi n fi l e
TOTAL_SIZE BIGINT 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
VOLUME_ID INTEGER Pers i s tence Vol ume ID
PATH VARCHAR(512) Fi l es ys tem pa th
FILESYSTEM_TYPE VARCHAR(16) Fi l es ys tem type
TYPE VARCHAR(16) Type of conta i ned fi l es
CONFIGURATION VARCHAR(128) Confi gura ti on pa ra meters
OPEN_CALL_COUNT BIGINT Counter Count of open ca l l s
CLOSE_CALL_COUNT BIGINT Counter Count of cl os e ca l l s
EXISTS_CALL_COUNT BIGINT Counter Count of exi s ts ca l l s
REMOVE_CALL_COUNT BIGINT Counter Count of remove ca l l s
RESIZE_CALL_COUNT BIGINT Counter Count of res i ze ca l l s
SYNC_CALL_COUNT BIGINT Counter Count of s ync ca l l s
GETSIZE_CALL_COUNT BIGINT Counter Count of get s i ze ca l l s
GETMODIFICATIONTIME_CALL_COUNT BIGINT Counter Count of get modi fi ca ti on ti me ca l l s
GETDEVICEID_CALL_COUNT BIGINT Counter Count of get Devi ceID ca l l s
ENQUEUED_WRITE_REQUESTS BIGINT Count of enqueued wri te reques ts
(depreca ted)
BLOCKED_WRITE_REQUESTS BIGINT Counter Count of bl ocked wri te reques ts
MAX_BLOCKED_WRITE_REQUESTS BIGINT Counter Ma x. count of bl ocked wri te reques ts
EOF_READS BIGINT Counter Count of EOF rea ds
TOTAL_SYNC_READS BIGINT Counter Count of s ynchronous rea ds
TOTAL_ASYNC_READS BIGINT Counter Count of a s ynchronous rea ds wi th
wa i ti ng
TOTAL_TRIGGER_ASYNC_READS BIGINT Counter Count of tri ggered a s ynchronous rea ds
TRIGGER_ASYNC_READ_RATIO DOUBLE Percent Tri gger-Ra ti o of a s ynchronous rea ds
TOTAL_SHORT_READS BIGINT Counter Count of rea ds tha t rea d l es s bytes
tha n reques ted
TOTAL_FULL_RETRY_READS BIGINT Counter Count of ful l retry rea ds
TOTAL_FAILED_READS BIGINT Counter Count of fa i l ed rea ds
TOTAL_READ_SIZE BIGINT Byte Si ze of rea d da ta
TOTAL_READ_TIME BIGINT Mi cros econd Tota l rea d ti me
TOTAL_APPENDS BIGINT Counter Count of a ppends
TOTAL_SYNC_WRITES BIGINT Counter Count of s ynchronous wri tes
TOTAL_ASYNC_WRITES BIGINT Counter 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 BIGINT Counter Count of tri ggered a s ynchronous


wri tes
TRIGGER_ASYNC_WRITE_RATIO DOUBLE Percent Tri gger-Ra ti o of a s ynchronous wri tes
TOTAL_SHORT_WRITES BIGINT Counter Count of wri tes tha t wrote l es s bytes
tha n reques ted
TOTAL_FULL_RETRY_WRITES BIGINT Counter Count of ful l retry wri tes
TOTAL_FAILED_WRITES BIGINT Counter Count of fa i l ed wri tes
TOTAL_WRITE_SIZE BIGINT Byte Si ze of wri tten da ta
TOTAL_WRITE_TIME BIGINT Mi cros econd Tota l wri te ti me
TOTAL_IO_TIME BIGINT Mi cros econd 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 Data type Unit Description


VOLUME_ID INTEGER Vol ume ID. See M_VOLUMES
DISK_ID INTEGER Di s k ID. See M_DISKS
DATA_SIZE BIGINT Byte Da ta a rea s i ze
LOG_SIZE BIGINT Byte 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 Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
EXECUTION_COUNT BIGINT 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
COMPILATION_COUNT BIGINT Number of s ta tement prepa ra ti on
UPDATE_TRANSACTION_COUNT BIGINT Number of upda te tra ns a cti ons
COMMIT_COUNT BIGINT Number of tra ns a cti on commi ts
ROLLBACK_COUNT BIGINT Number of tra ns a cti on rol l ba cks
CURRENT_EXECUTION_RATE DOUBLE Current s ta tement executi on count per mi nute
PEAK_EXECUTION_RATE DOUBLE Pea k s ta tement executi on count per mi nute
CURRENT_COMPILATION_RATE DOUBLE Current s ta tement prepa ra ti on count per
mi nute
PEAK_COMPILATION_RATE DOUBLE Pea k s ta tement prepa ra ti on count per mi nute
CURRENT_UPDATE_TRANSACTION_RATE DOUBLE Current upda te tra ns a cti on count per mi nute
PEAK_UPDATE_TRANSACTION_RATE DOUBLE Pea k upda te tra ns a cti on count per mi nute
CURRENT_TRANSACTION_RATE DOUBLE Current tra ns a cti on count per mi nute
PEAK_TRANSACTION_RATE DOUBLE Pea k tra ns a cti on count per mi nute
CURRENT_COMMIT_RATE DOUBLE Tota l number of commi ts per mi nute
PEAK_COMMIT_RATE DOUBLE Pea k commi t counts per mi nute
CURRENT_ROLLBACK_RATE DOUBLE Tota l number of rol l ba cks per mi nute
PEAK_ROLLBACK_RATE DOUBLE Pea k rol l ba ck count per mi nute
CURRENT_MEMORY_USAGE_RATE DOUBLE Tota l s i ze of us ed memory per mi nute
PEAK_MEMORY_USAGE_RATE DOUBLE Pea k s i ze of us ed memory per mi nute

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 Data type Unit Description


APPLICATION_NAME NVARCHAR(256) Na me of the a ppl i ca ti on
DELIVERY_UNIT NVARCHAR(256) Na me of the del i very uni t tha t thi s a ppl i ca ti on bel ongs to
VENDOR NVARCHAR(256) Vendor of the del i very uni t
VERSION NVARCHAR(256) Vers i on i nforma ti on of the del i very uni t
VERSION_SP NVARCHAR(16) SP vers i on i nforma ti on of the del i very uni t
VERSION_PATCH NVARCHAR(16) 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 Data type Unit Description


APPLICATION_NAME NVARCHAR(256) Na me of the a ppl i ca ti on
ERROR_MESSAGE VARCHAR(1024) 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 Data type Unit Description


OBJECT_CATEGORY VARCHAR(1) Object ca tegory of the object (defa ul t = nul l )
SCHEMA_NAME NVARCHAR(256) Schema na me of the object
OBJECT_NAME NVARCHAR(256) Object na me
OBJECT_TYPE VARCHAR(32) Object type
OBJECT_OID BIGINT 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 Data type Unit Description


BASE_SCHEMA_NAME NVARCHAR(256) Schema na me of the ba s e object
BASE_OBJECT_NAME NVARCHAR(256) Object na me of the ba s e object
BASE_OBJECT_TYPE VARCHAR(32) Type of the ba s e object
DEPENDENT_SCHEMA_NAME NVARCHAR(256) Schema na me of the dependent object
DEPENDENT_OBJECT_NAME NVARCHAR(256) Object na me of the dependent object
DEPENDENT_OBJECT_TYPE VARCHAR(32) Type of the ba s e dependent
DEPENDENCY_TYPE INTEGER 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me of the object
OWNER_NAME NVARCHAR(256) Na me of the object owner
OBJECT_NAME NVARCHAR(256) Object na me
OBJECT_TYPE VARCHAR(32) Object type
OBJECT_OID BIGINT Object ID

214 2012-12-19
SAP HANA System Tables and Monitoring Views Reference

PRIVILEGES
Short description

Available privileges

Structure

Column
Data type Unit Description
name
NAME NVARCHAR(256) Pri vi l ege na me
TYPE VARCHAR(32) '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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me of the s tored procedure
PROCEDURE_NAME NVARCHAR(256) Na me of the s tored procedure
PROCEDURE_OID BIGINT Object ID of the s tored procedure
INPUT_PARAMETER_COUNT INTEGER Input type pa ra meter count
OUTPUT_PARAMETER_COUNT INTEGER Output type pa ra meter count
INOUT_PARAMETER_COUNT INTEGER In-out type pa ra meter count
RESULT_SET_COUNT INTEGER Res ul t s et count
IS_UNICODE VARCHAR(5) Speci fi es whether the s tored procedure conta i ns
Uni code or not: 'TRUE', 'FALSE'
DEFINITION NCLOB Query s tri ng of the s tored procedure
PROCEDURE_TYPE VARCHAR(10) Type of the s tored procedure
READ_ONLY VARCHAR(5) Speci fi es whether the procedure i s rea d-onl y or not:
'TRUE', 'FALSE'
IS_VALID VARCHAR(5) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(128) Schema na me of the s tored procedure
PROCEDURE_NAME NVARCHAR(128) Procedure na me of the s tored procedure
OBJECT_SCHEMA NVARCHAR(128) Schema na me of the object i n the s tored procedure code
OBJECT_NAME NVARCHAR(128) Object na me of the object i n the s tored procedure code
OBJECT_TYPE_ID INTEGER Type ID of the object i n the s tored procedure code
OBJECT_TYPE VARCHAR(32) Type of the object i n the s tored procedure code
START_POSITION INTEGER Sta rt pos i ti on of the object i n the s tored procedure code
END_POSITION INTEGER 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me of the s tored procedure
PROCEDURE_NAME NVARCHAR(256) Na me of the s tored procedure
PROCEDURE_OID BIGINT Object ID of the s tored procedure
PARAMETER_NAME NVARCHAR(256) Pa ra meter na me
DATA_TYPE_ID SMALLINT Da ta type ID
DATA_TYPE_NAME VARCHAR(16) Da ta type na me
LENGTH INTEGER Pa ra meter l ength
SCALE INTEGER Sca l e of the pa ra meter
POSITION INTEGER Ordi na l pos i ti on of the pa ra meter
TABLE_TYPE_SCHEMA NVARCHAR(256) Schema na me of ta bl e type i f DATA_TYPE_NAME i s
TABLE_TYPE
TABLE_TYPE_NAME NVARCHAR(256) Na me of ta bl e type i f DATA_TYPE_NAME i s TABLE_TYPE
PARAMETER_TYPE VARCHAR(7) Pa ra meter mode: 'IN', 'OUT', 'INOUT'
HAS_DEFAULT_VALUE VARCHAR(5) Speci fi es whether the pa ra meter ha s a defa ul t va l ue or not:
'TRUE', 'FALSE'
IS_NULLABLE VARCHAR(5) 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 Data type Unit Description


PLAN_ID VARCHAR(256) Pl a n ID
OPERATOR_NAME VARCHAR(5000) Opera tor na me
OPERATOR_DETAILS NCLOB Deta i l ed i nforma ti on on opera tors i n the query pl a n
OBJECT_NAME NVARCHAR(256) Object na me
SUBTREE_COST DOUBLE Subtree cos t
INPUT_CARDINALITY DOUBLE Input ca rdi na l i ty
OUTPUT_CARDINALITY DOUBLE Output ca rdi na l i ty
OPERATOR_ID INTEGER Opera tor ID
PARENT_OPERATOR_ID INTEGER Pa rent opera tor ID
LEVEL INTEGER Level
POSITION INTEGER Pos i ti on
TIMESTAMP TIMESTAMP Ti mes ta mp
HOST VARCHAR(256) Hos t where the pl a n opera tor i s executed
PORT INTEGER 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
COLUMN_NAME NVARCHAR(256) Col umn na me
POSITION SMALLINT Col umn pos i ti on i n thi s cons tra i nt
CONSTRAINT_NAME NVARCHAR(256) Cons tra i nt na me
REFERENCED_SCHEMA_NAME NVARCHAR(256) Schema na me of the ta bl e referenced by thi s
cons tra i nt
REFERENCED_TABLE_NAME NVARCHAR(256) Ta bl e na me of the ta bl e referenced by thi s
cons tra i nt
REFERENCED_COLUMN_NAME NVARCHAR(256) Na me of col umn referenced by thi s col umn
REFERENCED_CONSTRAINT_NAME NVARCHAR(256) Na me of uni que cons tra i nt referenced by thi s
cons tra i nt
UPDATE_RULE VARCHAR(16) Upda te rul e: 'CASCADE', 'SET NULL', 'SET DEFAULT',
'RESTRICT'
DELETE_RULE VARCHAR(16) 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 Data type Unit Description


REORG_ID INTEGER Reorg ID
STATUS VARCHAR(32) Sta tus mes s a ge
START_DATE TIMESTAMP Sta rt da te
END_DATE TIMESTAMP End da te
USER VARCHAR(256) Us er
ALGORITHM_ID INTEGER Al gori thm ID
PARAMETERS VARCHAR(1024) 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 Data type Unit Description


STEP_ID INTEGER Step ID
SCHEMA_NAME NVARCHAR(256) Ta bl e na me
TABLE_NAME NVARCHAR(256) Schema na me
NEW_PARTITION_SPEC NCLOB New pa rti ti on s peci fi ca ti on
OLD_PARTITION_SPEC NCLOB Ol d pa rti ti on s peci fi ca ti on
PARTITION INTEGER Pa rti ti on ID
NEW_HOST VARCHAR(64) Hos t where the ta bl e/pa rti ti on i s moved to
NEW_PORT INTEGER Port where the ta bl e/pa rti ti on i s moved to
OLD_HOST VARCHAR(64) Hos t where the ta bl e/pa rti ti on wa s l oca ted
OLD_PORT INTEGER 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 Data type Unit Description


KEY VARCHAR(256) Key
VALUE VARCHAR(1024) 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 Data type Unit Description


REORG_ID INTEGER Reorg ID
STEP_ID INTEGER Step ID
SCHEMA_NAME NVARCHAR(256) Ta bl e na me
TABLE_NAME NVARCHAR(256) Schema na me
NEW_PARTITION_SPEC NCLOB New pa rti ti on s peci fi ca ti on
OLD_PARTITION_SPEC NCLOB Ol d pa rti ti on s peci fi ca ti on
PARTITION INTEGER Pa rti ti on ID
NEW_HOST VARCHAR(64) Hos t where the ta bl e/pa rti ti on i s moved to
NEW_PORT INTEGER Port where the ta bl e/pa rti ti on i s moved to
OLD_HOST VARCHAR(64) Hos t where the ta bl e/pa rti ti on wa s l oca ted
OLD_PORT INTEGER Port where the ta bl e/pa rti ti on wa s l oca ted
STATUS VARCHAR(32) Sta tus mes s a ge
ERROR VARCHAR(1024) Error mes s a ge
START_DATE TIMESTAMP Sta rt da te
END_DATE TIMESTAMP End da te

224 2012-12-19
SAP HANA System Tables and Monitoring Views Reference

ROLES
Short description
Shows available roles

Structure

Column name Data type Unit Description


ROLE_NAME NVARCHAR(256) Rol e na me
ROLE_ID BIGINT Rol e ID
ROLE_MODE VARCHAR(5) Mode of the rol e: 'LOCAL'
GLOBAL_IDENTITY NVARCHAR(256) Identi ty s peci fi ed for rol e wi th ROLE_MODE GLOBAL
CREATOR NVARCHAR(256) Na me of us er who crea ted the rol e
CREATE_TIME TIMESTAMP 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 Data type Unit Description


SAML_PROVIDER_NAME NVARCHAR(256) Provi der na me
SUBJECT_NAME NVARCHAR(512) Subject of the X.509 certi fi ca te of the SAML provi der
ISSUER_NAME NVARCHAR(512) 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 Data type Unit Description


USER_NAME NVARCHAR(256) Us er na me
SAML_PROVIDER_NAME NVARCHAR(256) Provi der na me
EXTERNAL_IDENTITY NVARCHAR(256) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
SCHEMA_OWNER NVARCHAR(256) Schema owner
HAS_PRIVILEGES VARCHAR(5000) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me of the s equence
SEQUENCE_NAME NVARCHAR(256) Na me of the s equence
SEQUENCE_OID BIGINT Object ID of the s equence
START_NUMBER BIGINT Sta rt number
MIN_VALUE BIGINT Mi ni mum va l ue of the s equence
MAX_VALUE BIGINT Ma xi mum va l ue of the s equence
INCREMENT_BY BIGINT Incrementa l va l ue
IS_CYCLED VARCHAR(5) 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'
RESET_BY_QUERY NCLOB Res et by query s tri ng for the s equence

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 Data type Unit Description


USER_NAME NVARCHAR(256) Na me of the us er thi s s es s i on cooki e wa s crea ted for
CLIENT_HOST NVARCHAR(64) Hos t na me of cl i ent ma chi ne
CLIENT_PID BIGINT Cl i ent Proces s ID
CREATE_TIME TIMESTAMP The ti me the s es s i on cooki e wa s crea ted
LAST_CONNECT_TIME TIMESTAMP The l a s t ti me the s es s i on cooki e wa s us ed for s ucces s ful re-
connecti on
SESSION_END_TIME TIMESTAMP 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 Data type Unit Description


TRACE_TIMESTAMP TIMESTAMP Ti mes ta mp genera ted when a TRACE i s performed
TRANSACTION_ID INTEGER Tra ns a cti on object ID
STATEMENT_ID BIGINT 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)
PROCEDURE_OID BIGINT The procedure object ID
VARIABLE_NAME NVARCHAR(256) 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
TABLE_NAME NVARCHAR(256) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
COLUMN_NAME NVARCHAR(256) Col umn na me
POSITION SMALLINT Ordi na l pos i ti on of the col umn i n the ta bl e
MINVALUE DOUBLE 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
MINVALUE_STR NVARCHAR(256) Stri ng repres enta ti on of the col umn
MAXVALUE DOUBLE 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
MAXVALUE_STR NVARCHAR(256) Stri ng repres enta ti on of the col umn
COUNT DOUBLE Number of not nul l va l ue of the col umn
DCOUNT DOUBLE Number of di s ti nct va l ue of the col umn
NULLCOUNT DOUBLE 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 Data type Unit Description


STRUCTURED_PRIVILEGE_NAME NVARCHAR(256) Na me of the s tructured pri vi l ege
RESTRICTION_TYPE NVARCHAR(256) Type of the res tri cti on: 'CUBERESTRICTION',
'ACTIVITYRESTRICTION', 'VALIDITYRESTRICTION',
'DIMENSIONRESTRICTION'
DIMENSION_ATTRIBUTE NVARCHAR(256) Na me of the di mens i on a ttri bute
FILTER_ID BIGINT 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
FILTER_TYPE VARCHAR(16) Type of fi l ter: 'STATIC', 'DYNAMIC'
NEGATED VARCHAR(5) Opera tor wa s nega ted i n fi l ter; 'TRUE', 'FALSE'
OPERATOR VARCHAR(16) Type of opera tor: 'CONTAINS PATTERN', 'BETWEEN',
'EQUAL', 'IN', 'LESS THAN', 'LESS EQUAL', 'GREATER
THAN', 'GREATER EQUAL'
OPERAND_ORDER INTEGER Sequence of opera nds per fi l ter ID
OPERAND NVARCHAR(513) Va l ue the opera tor wi l l be compa red to

233 2012-12-19
SAP HANA System Tables and Monitoring Views Reference

SYNONYMS
Short description

Available synonyms

Structure

Column name Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me of the s ynonym
SYNONYM_NAME NVARCHAR(256) Na me of the s ynonym
SYNONYM_OID BIGINT Object ID of the s ynonym
OBJECT_SCHEMA NVARCHAR(256) Schema na me of the referenced object
OBJECT_NAME NVARCHAR(256) Na me of the referenced object
OBJECT_TYPE VARCHAR(32) Type of the referenced object
IS_COLUMN_OBJECT VARCHAR(5) Speci fi es whether thi s vi ew i s a col umn object or not: 'TRUE',
'FALSE'
IS_VALID VARCHAR(5) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
TABLE_OID BIGINT Object ID of the ta bl e
COMMENTS NVARCHAR(5000) Ta bl e des cri pti on
FIXED_PART_SIZE SMALLINT Fi xed pa rt s i ze of the ta bl e
IS_LOGGED VARCHAR(5) 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'
IS_SYSTEM_TABLE VARCHAR(5) Speci fi es whether the ta bl e i s a s ys tem ta bl e:
'TRUE', 'FALSE'
IS_COLUMN_TABLE VARCHAR(5) Speci fi es whether the ta bl e i s a col umn
ta bl e: 'TRUE', 'FALSE'
TABLE_TYPE VARCHAR(16) Speci fi es type of the ta bl e: 'ROW', 'COLUMN',
'HYBRID'
IS_INSERT_ONLY VARCHAR(5) Speci fi es whether the ta bl e i s a n 'i ns ert onl y'
ta bl e: 'TRUE', 'FALSE'
IS_TENANT_SHARED_DATA VARCHAR(5) Speci fi es whether the ta bl e ca n be s ha red
a mong other i ns ta nces : 'TRUE', 'FALSE'
IS_TENANT_SHARED_METADATA VARCHAR(5) Speci fi es whether the ta bl e i s a gl oba l ta bl e:
'TRUE', 'FALSE'
SESSION_TYPE VARCHAR(7) Ses s i on type: 'NONE', 'SIMPLE', 'HISTORY'. For
'HISTORY', ti me tra vel i s pos s i bl e
IS_TEMPORARY VARCHAR(5) Speci fi es whether the ta bl e i s a tempora ry
ta bl e: 'TRUE', 'FALSE'
TEMPORARY_TABLE_TYPE VARCHAR(8) Tempora ry ta bl e type
IS_USER_DEFINED_TYPE VARCHAR(5) 'TRUE' i f us er defi ned ta bl e type, 'FALSE'
otherwi s e
HAS_PRIMARY_KEY VARCHAR(5) '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
PARTITION_SPEC NCLOB 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
USES_EXTKEY VARCHAR(5) '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
AUTO_MERGE_ON VARCHAR(5) '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
USES_DIMFN_CACHE VARCHAR(5) '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
IS_PUBLIC VARCHAR(5) '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
AUTO_OPTIMIZE_COMPRESSION_ON VARCHAR(5) '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
COMPRESSED_EXTKEY VARCHAR(5) '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
HAS_TEXT_FIELDS VARCHAR(5) '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
USES_QUEUE_TABLE VARCHAR(5) '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
IS_PRELOAD VARCHAR(5) '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
IS_PARTIAL_PRELOAD VARCHAR(5) '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
UNLOAD_PRIORITY TINYINT 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
HAS_SCHEMA_FLEXIBILITY VARCHAR(5) '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

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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
TABLE_OID BIGINT Object ID of the ta bl e
COLUMN_NAME NVARCHAR(256) Na me of the col umn
POSITION INTEGER Ordi na l pos i ti on of the col umn i n a record
DATA_TYPE_ID SMALLINT SQL da ta type ID of the col umn
DATA_TYPE_NAME VARCHAR(16) SQL da ta type na me of the col umn
OFFSET SMALLINT Offs et of the col umn i n the record
LENGTH INTEGER 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
SCALE INTEGER 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
IS_NULLABLE VARCHAR(5) Speci fi es whether the col umn i s a l l owed to a ccept nul l
va l ue: 'TRUE', 'FALSE'
DEFAULT_VALUE NVARCHAR(5000) Defa ul t va l ue of the col umn
COLLATION NVARCHAR(256) Col l a ti on us ed for thi s col umn
COMMENTS NVARCHAR(5000) Des cri pti on for thi s col umn
MAX_VALUE NVARCHAR(5000) Ma xi mum va l ue
MIN_VALUE NVARCHAR(5000) Mi ni mum va l ue
CS_DATA_TYPE_ID INTEGER Col umn s tore da ta type ID
CS_DATA_TYPE_NAME VARCHAR(16) Col umn s tore da ta type na me
DDIC_DATA_TYPE_ID INTEGER DDIC da ta type ID
DDIC_DATA_TYPE_NAME VARCHAR(7) DDIC da ta type na me
COMPRESSION_TYPE VARCHAR(9) 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.
INDEX_TYPE VARCHAR(9) Type of i ndex: 'NONE', 'FULL', 'SIGNATURE'
COLUMN_ID BIGINT ID of the col umn
PRELOAD VARCHAR(5) Speci fi es i f col umn i s prel oa ded: 'TRUE', 'FALSE'
GENERATED_ALWAYS_AS NVARCHAR(1000) Speci fi es the expres s i on of the col umn crea ted by
GENERATED ALWAYS AS
HAS_SCHEMA_FLEXIBILITY VARCHAR(5) Speci fi es i f col umn ha s s chema fl exi bi l i ty: 'TRUE',
'FALSE'
FUZZY_SEARCH_INDEX VARCHAR(5) Speci fi es i f col umn ha s fuzzy s ea rch i ndex: 'TRUE',
'FALSE'
FUZZY_SEARCH_MODE VARCHAR(16) Speci fi es fuzzy s ea rch mode
MEMORY_THRESHOLD INTEGER Speci fi es memory thres hol d i n bytes for LOB types

237 2012-12-19
SAP HANA System Tables and Monitoring Views Reference

TABLE_COLUMNS_ODBC
Short description
Available table columns

Structure

Column name Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
TABLE_OID BIGINT Object ID of the ta bl e
COLUMN_NAME NVARCHAR(256) Na me of the col umn
DATA_TYPE_ID SMALLINT SQL da ta type ID of the col umn
DATA_TYPE_NAME VARCHAR(16) SQL da ta type na me of the col umn
COLUMN_SIZE INTEGER 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
BUFFER_LENGTH INTEGER Length i n bytes requi red to tra ns fer the va l ue
DECIMAL_DIGITS INTEGER Tota l number of s i gni fi ca nt di gi ts to the ri ght of the
deci ma l poi nt
NUM_PREC_RADIX INTEGER 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
NULLABLE VARCHAR(5) Speci fi es whether the col umn i s a l l owed to a ccept nul l
va l ue: 'TRUE', 'FALSE'
COLUMN_DEF NVARCHAR(5000) Defa ul t va l ue of the col umn
SQL_DATA_TYPE SMALLINT SQL da ta type ID of the col umn
SQL_DATETIME_SUB SMALLINT Subtype code for da teti me da ta types
CHAR_OCTET_LENGTH INTEGER Ma xi mum l ength i n bytes of a cha ra cter or bi na ry da ta type
col umn
POSITION INTEGER Ordi na l pos i ti on of the col umn i n a record
COMMENTS NVARCHAR(5000) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
GROUP_TYPE NVARCHAR(256) Group type
SUBTYPE NVARCHAR(256) Subtype
GROUP_NAME NVARCHAR(256) 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 Data type Unit Description


COMMIT_TIME TIMESTAMP Ti mes ta mp
COMMIT_ID BIGINT ID of the commi tted tra ns a cti on
APP_USER NVARCHAR(256) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me of the tri gger
TRIGGER_NAME NVARCHAR(256) Tri gger na me
TRIGGER_OID BIGINT Object ID of the tri gger
OWNER_NAME NVARCHAR(256) Na me of the tri gger owner
OWNER_OID BIGINT Object ID of the tri gger owner
SUBJECT_TABLE_SCHEMA NVARCHAR(256) Schema na me of the ta bl e, the tri gger i s defi ned for
SUBJECT_TABLE_NAME NVARCHAR(256) Ta bl e na me of the ta bl e, the tri gger i s defi ned for
TRIGGER_ACTION_TIME VARCHAR(10) Ti me the tri gger i s executed: 'BEFORE', 'AFTER', 'INSTEAD
OF' the s peci fi ed event
TRIGGER_EVENT VARCHAR(7) Event, the tri gger i s defi ned for: 'INSERT', 'UPDATE',
'DELETE'
TRIGGERED_ACTION_LEVEL VARCHAR(9) Level of the event, where the tri ggered a cti on wi l l
ha ppen: 'ROW', 'STATEMENT'
DEFINITION NCLOB Query s tri ng of the tri gger
IS_VALID VARCHAR(5) 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 Data type Unit Description


USER_NAME NVARCHAR(256) Na me of the us er
USER_ID BIGINT ID of the us er
USER_MODE VARCHAR(8) Mode of the us er: 'LOCAL', 'GLOBAL', 'EXTERNAL'
EXTERNAL_IDENTITY NVARCHAR(256) Externa l i denti ty of the us er
CREATOR NVARCHAR(256) Crea tor of the us er
CREATE_TIME TIMESTAMP Crea ti on ti me
LAST_SUCCESSFUL_CONNECT TIMESTAMP Ti me of the l a s t s ucces s ful connect of the us er
LAST_INVALID_CONNECT_ATTEMPT TIMESTAMP Ti me of the l a s t i nva l i d connect a ttempt
INVALID_CONNECT_ATTEMPTS INTEGER Number of i nva l i d connect a ttempts s i nce l a s t
s ucces s ful connect
ADMIN_GIVEN_PASSWORD VARCHAR(5) 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'
PASSWORD_CHANGE_TIME TIMESTAMP 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
PASSWORD_CHANGE_NEEDED VARCHAR(5) 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'
USER_DEACTIVATED VARCHAR(5) Speci fi es i f us er i s decti va ted: 'TRUE', 'FALSE'
DEACTIVATION_TIME TIMESTAMP Ti me gi ven wi th expl i ci t dea cti va ti on comma nd
for thi s us er
IS_PASSWORD_ENABLED VARCHAR(5) Authenti ca ti on us i ng pa s s word i s ena bl ed:
'TRUE', 'FALSE'
IS_KERBEROS_ENABLED VARCHAR(5) Authenti ca ti on us i ng KERBEROS i s ena bl ed:
'TRUE', 'FALSE'
IS_SAML_ENABLED VARCHAR(5) Authenti ca ti on us i ng SAML i s ena bl ed: 'TRUE',
'FALSE'

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 Data type Unit Description


USER_NAME NVARCHAR(256) Na me of the us er
PARAMETER NVARCHAR(256) Pa ra meter na me: CLIENT
VALUE NVARCHAR(256) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
VIEW_NAME NVARCHAR(256) Vi ew na me
VIEW_OID BIGINT Object ID of the vi ew
IS_UNICODE VARCHAR(5) Speci fi es whether the query s tri ng conta i ns
Uni code: 'TRUE', 'FALSE'
IS_READ_ONLY VARCHAR(5) Speci fi es whether thi s vi ew i s rea d-onl y or
upda ta bl e: 'TRUE', 'FALSE'
HAS_CHECK_OPTION VARCHAR(5) Speci fi es whether thi s vi ew ha s a n upda ta bl e
vi ew condi ti on: 'TRUE', 'FALSE'
HAS_COLUMN_ALIASES VARCHAR(5) Speci fi es whether the vi ew ha s a col umns a l i a s :
'TRUE', 'FALSE'
DEFINITION NCLOB Vi ew defi ni ti on
COMMENTS NVARCHAR(5000) Vi ew des cri pti on
IS_COLUMN_VIEW VARCHAR(5) Speci fi es whether thi s vi ew i s a col umn vi ew or
not: 'TRUE', 'FALSE'
VIEW_TYPE VARCHAR(16) Type of vi ew : 'ROW', 'OLAP', 'JOIN', 'HIERARCHY',
'CALC'
IS_TENANT_SHARED_METADATA VARCHAR(5) Speci fi es whether the ta bl e i s a gl oba l ta bl e or
not: 'TRUE', 'FALSE'
IS_VALID VARCHAR(5) 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 Data type Unit Description


SCHEMA_NAME NVARCHAR(256) Schema na me
VIEW_NAME NVARCHAR(256) Vi ew na me
VIEW_OID BIGINT Object ID of the vi ew
COLUMN_NAME NVARCHAR(256) Vi ew col umn na me
POSITION INTEGER Ordi na l pos i ti on of the vi ew col umn
DATA_TYPE_ID SMALLINT Da ta type ID
DATA_TYPE_NAME VARCHAR(16) Da ta type na me
OFFSET SMALLINT Offs et of the col umn i n a record
LENGTH INTEGER 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
SCALE INTEGER 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
IS_NULLABLE VARCHAR(5) Speci fi es whether the col umn i s a l l owed to a ccept nul l
va l ue: 'TRUE', 'FALSE'
DEFAULT_VALUE NVARCHAR(5000) Defa ul t va l ue
COLLATION NVARCHAR(256) Col l a ti on
COMMENTS NVARCHAR(5000) Des cri pti on for thi s col umn
MAX_VALUE NVARCHAR(5000) Ma xi mum va l ue
MIN_VALUE NVARCHAR(5000) Mi ni mum va l ue
CS_DATA_TYPE_ID INTEGER Col umn s tore da ta type ID
CS_DATA_TYPE_NAME VARCHAR(16) Col umn s tore da ta type na me
DDIC_DATA_TYPE_ID INTEGER DDIC da ta type ID
DDIC_DATA_TYPE_NAME VARCHAR(7) DDIC da ta type na me
COMPRESSION_TYPE VARCHAR(9) Type of compres s i on: 'DEFAULT', 'PREFIXED', 'SPARSE',
'CLUSTERED', 'INDIRECT', 'RLE'
INDEX_TYPE VARCHAR(9) Type of i ndex: 'NONE', 'FULL', 'SIGNATURE'
COLUMN_ID BIGINT ID of the col umn
PRELOAD VARCHAR(5) Speci fi es i f col umn i s prel oa ded: 'TRUE', 'FALSE'
GENERATED_ALWAYS_AS NVARCHAR(1000) Speci fi es the expres s i on of the col umn crea ted by
GENERATED ALWAYS AS
HAS_SCHEMA_FLEXIBILITY VARCHAR(5) Speci fi es i f col umn ha s s chema fl exi bi l i ty: 'TRUE',
'FALSE'
FUZZY_SEARCH_INDEX VARCHAR(5) Speci fi es i f col umn ha s fuzzy s ea rch i ndex: 'TRUE',
'FALSE'
FUZZY_SEARCH_MODE VARCHAR(16) Speci fi es fuzzy s ea rch mode
MEMORY_THRESHOLD INTEGER Speci fi es memory thres hol d i n bytes for LOB types

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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
DATA_SEQ INTEGER Da ta s eqence ID of the s ta ti s ti cs
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
The number of entri es i n ma i n duri ng l a s t
LAST_COMPRESSED_RECORD_COUNT BIGINT
compres s i on run
MEMORY_SIZE_IN_DELTA BIGINT Current memory cons umpti on i n del ta
Current memory cons umpti on i n hi s tory-
MEMORY_SIZE_IN_HISTORY_DELTA BIGINT
del ta
Current memory cons umpti on i n hi s tory-
MEMORY_SIZE_IN_HISTORY_MAIN BIGINT
ma i n
MEMORY_SIZE_IN_MAIN BIGINT Current memory cons umpti on i n ma i n
Tota l memory s i ze i s the s um of memory
MEMORY_SIZE_IN_TOTAL BIGINT
s i ze i n ma i n, del ta , a nd hi s tory pa rts
PART_COUNT BIGINT Count of pa rti ti ons of a ta bl e
RAW_RECORD_COUNT_IN_DELTA BIGINT Ra w record count i n del ta
RAW_RECORD_COUNT_IN_HISTORY_DELTA BIGINT Ra w record count i n hi s tory-del ta
RAW_RECORD_COUNT_IN_HISTORY_MAIN BIGINT Ra w record count i n ma i n
RAW_RECORD_COUNT_IN_MAIN BIGINT Ra w record count i n hi s tory-ma i n
RECORD_COUNT BIGINT Count of records
SCHEMA_NAME NVARCHAR 256 Schema na me
TABLE_NAME NVARCHAR 256 Ta bl e na me
Es ti ma ted ma xi mum memory cons umpti on
ESTIMATED_MAX_MEMORY_SIZE_IN_TOTAL BIGINT
i n tota l for ta bl e ful l y l oa ded
TABLE_COLUMN_COUNT BIGINT 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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
DATA_SEQ INTEGER Da ta s eqence ID of the s ta ti s ti cs
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
TOTAL_CPU_IDLE_TIME BIGINT CPU i dl e ti me
TOTAL_CPU_IDLE_TIME_PERCENT SMALLINT CPU i dl e ti me i n percent
TOTAL_CPU_SYSTEM_MODE_PERCENT SMALLINT Percenta of CPU s pent per mode
TOTAL_CPU_SYSTEM_TIME BIGINT CPU ti me s pent i n kernel mode
TOTAL_CPU_USER_MODE_PERCENT SMALLINT Percenta ge of CPU ti me s pent i n us er mode
TOTAL_CPU_USER_TIME BIGINT CPU ti me s pent i n us er mode
Percenta ge of CPU ti me s pent i n wa i t IO
TOTAL_CPU_WIO_MODE_PERCENT SMALLINT
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,
TOTAL_CPU_WIO_TIME BIGINT
Wi ndows a l wa ys 0)
TOTAL_INSTANCE_PROCESSES_CPU_PERCENT SMALLINT CPU us a ge of a l l proces s es i n percent
TOTAL_INSTANCE_PROCESSES_CPU_TIME BIGINT 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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
DATA_SEQ INTEGER Da ta s eqence ID of the s ta ti s ti cs
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
CREATE_TIME TIMESTAMP Ti me event wa s crea ted
HANDLE_TIME TIMESTAMP Ti me event wa s ha ndl ed
HOST VARCHAR 64 Hos t na me
ID BIGINT ID of event
INFO VARCHAR 2000 Addi ti ona l i nforma ti on
PORT INTEGER Interna l port
STATE VARCHAR 256 Sta te of event
TYPE VARCHAR 256 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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
DATA_SEQ INTEGER Da ta s eqence ID of the s ta ti s ti cs
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
CREATE_TIME TIMESTAMP Ti me event wa s crea ted
HANDLE_TIME TIMESTAMP Ti me event wa s ha ndl ed
HOST VARCHAR 64 Hos t na me
ID BIGINT ID of event
INFO VARCHAR 2000 Addi ti ona l i nforma ti on
PORT INTEGER Interna l port
STATE VARCHAR 256 Sta te of event
TYPE VARCHAR 256 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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
DATA_SEQ INTEGER Da ta s eqence ID of the s ta ti s ti cs
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
Phys i ca l memory s i ze us ed by
PHYSICAL_MEMORY_USED_BY_INSTANCE_PROCESSES BIGINT
i ns ta nce proces s es
TOTAL_AVAILABLE_MEMORY BIGINT Phys i ca l +s wa p memory s i ze
Tota l proces s l ogi ca l memory
TOTAL_MEMORY_USED_BY_ALL_PROCESSES BIGINT
us a ge
Tota l i ns ta nce proces s l ogi ca l
TOTAL_MEMORY_USED_BY_INSTANCE_PROCESSES BIGINT
memory us a ge
TOTAL_PHYSICAL_MEMORY BIGINT 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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
DATA_SEQ INTEGER Da ta s eqence ID of the s ta ti s ti cs
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
TOTAL_DISKS_SIZE BIGINT Tota l di s k s i ze a va i l a bl e
TOTAL_DISKS_USED_SIZE BIGINT Tota l di s k s i ze us ed
TOTAL_VOLUMES_DATA_SIZE BIGINT Tota l l og a rea s i ze
TOTAL_VOLUMES_LOG_SIZE BIGINT 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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
DATA_SEQ INTEGER Da ta s eqence ID of the s ta ti s ti cs
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
IS_COLUMN_TABLE VARCHAR 6 Speci fi es whether the ta bl e i s a col umn ta bl e: 'TRUE'/'FALSE'
PART_COUNT BIGINT Count of pa rti ti ons of a ta bl e
RECORD_COUNT BIGINT Count of records
SCHEMA_NAME NVARCHAR 256 Schema na me
TABLE_NAME NVARCHAR 256 Ta bl e na me
TABLE_SIZE BIGINT 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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
BLOCKED_TIME TIMESTAMP 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
BLOCKED_TRANSACTION_ID INTEGER
l ock
Tra ns a cti on ID of the bl ocked upda te
BLOCKED_UPDATE_TRANSACTION_ID BIGINT
tra ns a cti on
HOST VARCHAR 64 Hos t na me
Lock mode:
LOCK_MODE VARCHAR 32
'SHARED'/'EXCLUSIVE'/'INTENTIONAL EXCLUSIVE'
Tra ns a cti on ID of the tra ns a cti on hol di ng the
LOCK_OWNER_TRANSACTION_ID INTEGER
l ock
Tra ns a cti on ID of the upda te tra ns a cti on
LOCK_OWNER_UPDATE_TRANSACTION_ID BIGINT
hol di ng the l ock
LOCK_TYPE VARCHAR 32 Lock type: 'RECORD'/'TABLE'/'METADATA'
PORT INTEGER Interna l port
ID of the record on whi ch the l ock i s currentl y
WAITING_RECORD_ID VARCHAR 256
pl a ced
Na me of the s chema on whi ch the l ock i s
WAITING_SCHEMA_NAME VARCHAR 32
currentl y pl a ced
Na me of the ta bl e on whi ch the l ock i s
WAITING_TABLE_NAME VARCHAR 32
currentl y pl a ced

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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
CREATE_TIME TIMESTAMP Crea ted ti me
HOST VARCHAR 64 Hos t na me
Fl a g to i ndi ca te tha t del ta pa rt of ta bl e i s
IS_DELTA_LOADED VARCHAR 6
l oa ded
The number of entri es i n ma i n duri ng l a s t
LAST_COMPRESSED_RECORD_COUNT BIGINT
compres s i on run
Poi nt i n ti me, Uni x ti me forma t, l a s t ti me
LAST_MERGE_TIME TIMESTAMP 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
LAST_REPLAY_LOG_TIME TIMESTAMP
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
LOADED VARCHAR 10 a re l oa ded i n memory (NO, PARTIALLY, a nd
FULL); s ee M_CS_COLUMNS for ea ch col umn
MEMORY_SIZE_IN_DELTA BIGINT Current memory cons umpti on i n del ta
Current memory cons umpti on i n hi s tory-
MEMORY_SIZE_IN_HISTORY_DELTA BIGINT
del ta ; 0 for norma l non-hi s tory ta bl es
Current memory cons umpti on i n hi s tory-
MEMORY_SIZE_IN_HISTORY_MAIN BIGINT
ma 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
MEMORY_SIZE_IN_MAIN BIGINT 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
MEMORY_SIZE_IN_TOTAL BIGINT
s i ze i n ma i n, del ta , a nd hi s tory pa rts
MODIFY_TIME TIMESTAMP Modi fi ed ti me
Pa rti ti on ID. 0 for non-pa rti ti oned ta bl es
PART_ID INTEGER a nd 1 through number of pa rti ti ons for
pa rti ti oned ta bl es
PORT INTEGER 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
RAW_RECORD_COUNT_IN_DELTA BIGINT 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
RAW_RECORD_COUNT_IN_HISTORY_DELTA BIGINT Ra w record count i n hi s tory-del ta
RAW_RECORD_COUNT_IN_HISTORY_MAIN BIGINT 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
RAW_RECORD_COUNT_IN_MAIN BIGINT 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 BIGINT Record count
SCHEMA_NAME NVARCHAR 256 Schema na me
TABLE_NAME NVARCHAR 256 Ta bl e na me
Es ti ma ted ma xi mum memory cons umpti on
ESTIMATED_MAX_MEMORY_SIZE_IN_TOTAL BIGINT
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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
FILE_NAME VARCHAR 256 Fi l e Na me
FILL_RATIO DOUBLE 15 Fi l l ra ti o
HOST VARCHAR 64 Hos t na me
INITIAL_BLOCK_COUNT BIGINT Count of i ni t pa ges
PAGE_SIZE INTEGER Pa ge s i ze
PAGE_SIZE_CLASS VARCHAR 32 Pa ge s i ze cl a s s
PORT INTEGER Interna l port
SHADOW_BLOCK_COUNT BIGINT Count of s ha dow bl ocks
SUPERBLOCK_COUNT BIGINT Number of us ed Superbl ocks
SUPERBLOCK_SIZE INTEGER Superbl ock s i ze
Number of s i ngl e a nd group
TOTAL_ALLOCATE_BLOCK_COUNT BIGINT
a l l oca ted bl ocks
Number of s i ngl e a nd group freed-
TOTAL_SET_BLOCK_FREE_AFTER_SAVEPOINT_COUNT BIGINT
a fter-s a vepoi nt bl ocks
Number of s i ngl e a nd group freed
TOTAL_SET_BLOCK_FREE_COUNT BIGINT
bl ocks
USED_BLOCK_COUNT BIGINT Count of us ed bl ocks
VOLUME_ID INTEGER 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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
DATA_VOLUME_NAME VARCHAR 256 Da ta Vol ume na me
FILL_RATIO DOUBLE 15 Fi l l ra ti o
HOST VARCHAR 64 Hos t na me
PORT INTEGER Interna l port
SUPERBLOCK_COUNT BIGINT Count of Superbl ocks
SUPERBLOCK_SIZE BIGINT Superbl ock s i ze
USED_SUPERBLOCK_COUNT BIGINT Count of us ed Superbl ocks
VOLUME_ID INTEGER 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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
EXECUTION_TIME BIGINT Executi on dura ti on
HOST VARCHAR 64 Hos t na me
MEMORY_MERGE VARCHAR 6 Fl a g to i ndi ca te ta bl e wa s merged i n memory onl y
MERGED_DELTA_RECORDS INTEGER Number of documents i n del ta
MOTIVATION VARCHAR 8 HARD, SMART, AUTO, FORCE
Pa rti ti on number (0 for non-pa rti ti oned ta bl es a nd 1 through
PART_ID INTEGER
number of pa rti ti ons for pa rti ti oned ta bl es
PASSPORT VARCHAR 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
PORT INTEGER Interna l port
SCHEMA_NAME VARCHAR 256 Schema na me
START_TIME TIMESTAMP 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
SUCCESS VARCHAR 6
merge/opti mi ze compres s i on wa s compl eted wi th or
wi thout s ucces s
TABLE_NAME VARCHAR 256 Ta bl e na me
MERGE (ta bl e del ta merge), HINT (a ppl i ca ti on merge hi nt),
TYPE VARCHAR 7
SPARSE (opti mi ze compres s i on)

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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
CATEGORY VARCHAR 128 Al l oca tor na me
DEPTH BIGINT Depth
EXCLUSIVE_ALLOC_ERRORS BIGINT Count of a l l oca ti on errors
EXCLUSIVE_ALLOCATED_COUNT BIGINT Count of a l l oca ti ons
EXCLUSIVE_ALLOCATED_SIZE BIGINT Tota l a l l oca ted s i ze i n thi s a l l oca tor
EXCLUSIVE_COUNT_IN_USE BIGINT Number of bl ocks currentl y i n us e
EXCLUSIVE_DEALLOCATED_COUNT BIGINT Count of dea l l oca ti ons
EXCLUSIVE_DEALLOCATED_SIZE BIGINT 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
EXCLUSIVE_MAX_SINGLE_ALLOCATION_SIZE BIGINT
a l l oca tor
EXCLUSIVE_PEAK_ALLOCATION_SIZE BIGINT Ma xi mum s i ze of thi s a l l oca tor (es ti ma te)
EXCLUSIVE_SIZE_IN_USE BIGINT Current s i ze of thi s a l l oca tor
FLAGS VARCHAR 64 Al l oca tor fl a gs
HOST VARCHAR 64 Hos t na me
Count of a l l oca ti ons , i ncl udi ng
INCLUSIVE_ALLOCATED_COUNT BIGINT
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
INCLUSIVE_ALLOCATED_SIZE BIGINT
s uba l l oca tors
Number of bl ocks currentl y i n us e, i ncl udi ng
INCLUSIVE_COUNT_IN_USE BIGINT
s uba l l oca tors
Count of dea l l oca ti ons , i ncl udi ng
INCLUSIVE_DEALLOCATED_COUNT BIGINT
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
INCLUSIVE_DEALLOCATED_SIZE BIGINT
s uba l l oca tors
Ma xi mum ever a l l oca ted bl ock s i ze i n thi s
INCLUSIVE_MAX_SINGLE_ALLOCATION_SIZE BIGINT
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
INCLUSIVE_PEAK_ALLOCATION_SIZE BIGINT
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
INCLUSIVE_SIZE_IN_USE BIGINT
s uba l l oca tors
MALLOC_PROXY_CACHE_MISSES BIGINT Count of ma l l oc proxy ca che mi s s es
PORT INTEGER Interna l port
STATISTICS_ID BIGINT Sta ti s ti cs object uni que ID
VOLUME_ID INTEGER 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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
APPLICATION_USER_NAME NVARCHAR 256 Appl i ca ti on us er
Commi t mode of the current tra ns a cti on: TRUE i f the current
AUTO_COMMIT VARCHAR 6
connecti on i s i n a uto-commi t mode, FALSE otherwi s e
CLIENT_HOST VARCHAR 64 Hos t na me of cl i ent ma chi ne
CLIENT_IP VARCHAR 16 IP of cl i ent ma chi ne
CLIENT_PID BIGINT Cl i ent Proces s ID
CONNECTION_ID INTEGER Connecti on ID
CONNECTION_START_TIME TIMESTAMP Connecti on s ta rt ti mes ta mp
DURATION BIGINT Connecti no dura ti on
HOST VARCHAR 64 Hos t na me
PORT INTEGER Interna l port
THREAD_ID BIGINT Threa d ID
TRANSACTION_ID INTEGER Tra ns a cti on ID
USER_NAME NVARCHAR 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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
CHECK_HOST VARCHAR 64 Hos t to be checked
HOST_AVAILABLE_MEMORY BIGINT Hos t phys i ca l +s wa p memory s i ze
HOST_PHYSICAL_MEMORY BIGINT Hos t phys i ca l memory s i ze
HOST_TOTAL_USED_MEMORY BIGINT Hos t phys i ca l +s wa p memory us a ge
INSTANCE_PROCESSES_MEMORY BIGINT Proces s l ogi ca l memory us a ge
INSTANCE_PROCESSES_PHYSICAL_MEMORY BIGINT 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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
FILE_TYPE VARCHAR 128 Fi l e type
HOST VARCHAR 64 Hos t na me
NUM_FILES BIGINT Number of tra ce fi l es
SUM_SIZE BIGINT 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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
FREE_PHYSICAL_MEMORY BIGINT Free phys i ca l memory on the hos t
FREE_SWAP_SPACE BIGINT Free s wa p memory on the hos t
HOST VARCHAR 64 Hos t na me
TOTAL_CPU_IDLE_TIME BIGINT CPU i dl e ti me
TOTAL_CPU_SYSTEM_TIME BIGINT CPU ti me s pent i n kernel mode
TOTAL_CPU_USER_TIME BIGINT CPU ti me s pent i n us er mode
TOTAL_CPU_WIO_TIME BIGINT CPU ti me s pent i n wa i t IO (Li nux onl y, Wi ndows a l wa ys 0)
USED_PHYSICAL_MEMORY BIGINT Us ed phys i ca l memory on the hos t
USED_SWAP_SPACE BIGINT 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 TIMESTAMP ID of the snaphot


SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
CODE_SIZE BIGINT Proces s code s i ze
COMPACTORS_ALLOCATED_SIZE BIGINT Tota l memory a l l oca ted by compa ctors
COMPACTORS_FREEABLE_SIZE BIGINT Memory whi ch ca n be freed on dema nd
HEAP_MEMORY_ALLOCATED_SIZE BIGINT Proces s hea p memory a l l oca ted s i ze
HEAP_MEMORY_USED_SIZE BIGINT Proces s hea p memory us ed
HOST VARCHAR 64 Hos t na me
LOGICAL_MEMORY_SIZE BIGINT Proces s vi rtua l memory s i ze
PHYSICAL_MEMORY_SIZE BIGINT Proces s phys i ca l memory s i ze
PORT INTEGER Interna l port
PROCESS_ID BIGINT Proces s ID
SERVICE_NAME VARCHAR 256 Servi ce na me
SHARED_MEMORY_ALLOCATED_SIZE BIGINT Proces s s ha red memory a l l oca ted (row s tore onl y)
SHARED_MEMORY_USED_SIZE BIGINT Proces s s ha red memory us ed (row s tore onl y)
STACK_SIZE BIGINT 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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
ACTIVE_REQUEST_COUNT INTEGER Number of a cti ve reques ts
ACTIVE_STATUS VARCHAR 128 NO, YES, UNKNOWN, STARTING, STOPPING
ACTIVE_THREAD_COUNT INTEGER Number of a cti ve threa ds
Fi ni s hed reques ts i ncl udi ng i nterna l
ALL_FINISHED_REQUEST_COUNT BIGINT
reques ts
AVAILABLE_MEMORY BIGINT 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
DETAIL VARCHAR 128
COORDINATOR_TYPE i n M_SERVICES
FINISHED_NON_INTERNAL_REQUEST_COUNT BIGINT Fi ni s hed reques ts
HOST VARCHAR 64 Hos t na me
OPEN_FILE_COUNT INTEGER Number of open fi l es
PENDING_REQUEST_COUNT INTEGER Number of pendi ng reques ts
PHYSICAL_MEMORY BIGINT Hos t phys i ca l memory s i ze
PORT INTEGER Interna l port
PROCESS_CPU_TIME BIGINT CPU us a ge of current proces s s i nce s ta rt
PROCESS_ID BIGINT Proces s ID
PROCESS_MEMORY BIGINT Proces s l ogi ca l memory us a ge
PROCESS_PHYSICAL_MEMORY BIGINT Proces s phys i ca l memory us a ge
Reques ts per s econd. Avera ge over l a s t
REQUESTS_PER_SEC DOUBLE 15
1000 reques ts
Reques t res pons e ti me. Avera ge over l a s t
RESPONSE_TIME INTEGER
1000 reques ts
SERVICE_NAME VARCHAR 256 Servi ce na me
START_TIME TIMESTANP Proces s s ta rt ti me
THREAD_COUNT INTEGER Number of tota l threa ds
TOTAL_MEMORY BIGINT 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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
CONTAINER_ID BIGINT Conta i ner ID
HOST VARCHAR 64 Hos t na me
NAME VARCHAR 512 Fi l e na me
NAMESPACE VARCHAR 512 Fi l e pa th
PAGE_COUNT BIGINT Unus ed
PART_ID INTEGER Pa rt ID of s pl i t ta bl e
PHYSICAL_SIZE BIGINT Fi l e s i ze
PORT INTEGER Interna l port
SCHEMA_NAME VARCHAR 256 Schema na me
TABLE_NAME VARCHAR 256 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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
BYTES_APPENDED BIGINT Tota l bytes a ppended to vi rtua l fi l es .
BYTES_READ BIGINT Tota l bytes rea d from vi rtua l fi l es .
BYTES_WRITTEN BIGINT Tota l bytes wri tten to vi rtua l fi l es .
BYTESTREAM_WRITTEN BIGINT Tota l bytes wri tten by byte s trea m.
CONTAINER_ID BIGINT Conta i ner ID
HOST VARCHAR 64 Hos t na me
PAGE_COUNT BIGINT Number of pa ges
PHYSICAL_SIZE BIGINT Phys i ca l s i ze
PORT INTEGER Interna l port
SUM_APPEND INTEGER Sum of a ppends
SUM_COPY INTEGER Sum of copi es
SUM_READ INTEGER Sum of rea ds
SUM_TRUNCATE INTEGER Sum of trunca tes
SUM_WRITE INTEGER Sum of wri tes
SUM_WRITEOPTIMIZED INTEGER Sum of opti mi zed wri tes
VOLUME_ID INTEGER 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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
FILE_NAME VARCHAR 256 Fi l e na me
FILE_TYPE VARCHAR 128 Type of fi l e (DATA, LOG, TRACER, ...)
HOST VARCHAR 64 Hos t na me
PORT INTEGER Interna l port
TOTAL_SIZE BIGINT Tota l fi l e s i ze
USED_SIZE BIGINT Si ze of us ed da ta wi thi n fi l e
VOLUME_ID INTEGER 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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
Ti me for enqueui ng rea d I/O
AVG_READ_ENQUEUE_TIME BIGINT
events (a vg)
AVG_READ_SIZE BIGINT Si ze of rea d da ta (a vg)
AVG_READ_SYNC_TIME BIGINT Ti me for s ynchronous rea ds (a vg)
AVG_READ_TIME BIGINT Ti me for rea d events (a vg)
Ti me for enqueui ng wri te I/O
AVG_WRITE_ENQUEUE_TIME BIGINT
events (a vg)
AVG_WRITE_SIZE BIGINT Si ze of wri tten da ta (a vg)
AVG_WRITE_SYNC_TIME BIGINT Ti me for s ynchronous wri tes (a vg)
AVG_WRITE_TIME BIGINT Ti me for wri te events (a vg)
DELAYED_READ_REQUESTS BIGINT Count of del a yed rea d reques ts
DELAYED_WRITE_REQUESTS BIGINT Count of del a yed wri te reques ts
Count of dequeued del a yed
DEQUEUED_DELAYED_REQUESTS BIGINT
reques ts
FULL_RETRY_READS BIGINT Count of ful l retry rea ds
FULL_RETRY_WRITES BIGINT Count of ful l retry wri tes
HOST VARCHAR 64 Hos t na me
ITEMS_IN_DELAY_QUEUE BIGINT Count of i tems i n del a y queue
Ti me for enqueui ng rea d I/O
LAST_READ_ENQUEUE_TIME BIGINT
events (l a s t)
LAST_READ_SIZE BIGINT Si ze of rea d da ta (l a s t)
LAST_READ_SYNC_TIME BIGINT Ti me for s ynchronous rea ds (l a s t)
LAST_READ_TIME BIGINT Ti me for rea d events (l a s t)
Ti me for enqueui ng wri te I/O
LAST_WRITE_ENQUEUE_TIME BIGINT
events (l a s t)
LAST_WRITE_SIZE BIGINT Si ze of wri tten da ta (l a s t)
LAST_WRITE_SYNC_TIME BIGINT Ti me for s ynchronous wri tes (l a s t)
LAST_WRITE_TIME BIGINT Ti me for wri te events (l a s t)
MAX_IO_BUFFER BIGINT Ma x. I/O buffer s i ze
MAX_ITEMS_IN_DELAY_QUEUE BIGINT Ma xi mum s i ze of del a y queue
Ti me for enqueui ng rea d I/O
MAX_READ_ENQUEUE_TIME BIGINT
events (ma x)
MAX_READ_SIZE BIGINT Si ze of rea d da ta (ma x)
MAX_READ_SYNC_TIME BIGINT Ti me for s ynchronous rea ds (ma x)
MAX_READ_TIME BIGINT Ti me for rea d events (ma x)
Ti me for enqueui ng wri te I/O
MAX_WRITE_ENQUEUE_TIME BIGINT
events (ma x)
MAX_WRITE_SIZE BIGINT Si ze of wri tten da ta (ma x)
MAX_WRITE_SYNC_TIME BIGINT Ti me for s ynchronous wri tes (ma x)
MAX_WRITE_TIME BIGINT Ti me for wri te events (ma x)
Ti me for enqueui ng rea d I/O
MIN_READ_ENQUEUE_TIME BIGINT
events (mi n)
MIN_READ_SIZE BIGINT Si ze of rea d da ta (mi n)
MIN_READ_SYNC_TIME BIGINT Ti me for s ynchronous rea ds (mi n)
MIN_READ_TIME BIGINT Ti me for rea d events (mi n)
Ti me for enqueui ng wri te I/O
MIN_WRITE_ENQUEUE_TIME BIGINT
events (mi n)
MIN_WRITE_SIZE BIGINT Si ze of wri tten da ta (mi n)
MIN_WRITE_SYNC_TIME BIGINT Ti me for s ynchronous wri tes (mi n)
MIN_WRITE_TIME BIGINT Ti me for wri te events (mi n)
PATH VARCHAR 256 Fi l es ys tem pa th
PORT INTEGER Interna l port
READ_COMPLETIONS BIGINT Count of rea d compl eti ons
READ_REQUESTS BIGINT Count of rea d reques ts
READ_SYNC BIGINT Count of s ynchronous rea ds
Count of res ubmi tted del a yed
RESUBMITTED_DELAYED_REQUESTS BIGINT
reques ts
Count of res ubmi tted del a yed
RESUBMITTED_DELAYED_REQUESTS_DELAYED_AGAIN BIGINT
reques ts del a yed
SHORT_READS BIGINT Count of s hort rea ds
SHORT_WRITES BIGINT Count of s hort wri tes

270 2012-12-19
SAP HANA System Tables and Monitoring Views Reference

Ti me for enqueui ng rea d I/O


SUM_READ_ENQUEUE_TIME BIGINT
events (tota l )
SUM_READ_SIZE BIGINT Si ze of rea d da ta (tota l )
SUM_READ_SYNC_TIME BIGINT Ti me for s ynchronous rea ds (tota l )
SUM_READ_TIME BIGINT Ti me for rea d events (tota l )
Ti me for enqueui ng wri te I/O
SUM_WRITE_ENQUEUE_TIME BIGINT
events (tota l )
SUM_WRITE_SIZE BIGINT Si ze of wri tten da ta (tota l )
SUM_WRITE_SYNC_TIME BIGINT Ti me for s ynchronous wri tes (tota l )
SUM_WRITE_TIME BIGINT Ti me for wri te events (tota l )
TYPE VARCHAR 16 Type of conta i ned fi l es
VOLUME_ID INTEGER Pers i s tence Vol ume ID
WRITE_COMPLETIONS BIGINT Count of wri te compl eti ons
WRITE_REQUESTS BIGINT Count of wri te reques ts
WRITE_SYNC BIGINT 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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
SERVER_TIMESTAMP TIMESTAMP Server ti mes ta mp
CLOSE_CALL_COUNT BIGINT Count of cl os e ca l l s
ENQUEUED_WRITE_REQUESTS BIGINT Count of enqueued wri te reques ts
EOF_READS BIGINT Count of EOF rea ds
EXISTS_CALL_COUNT BIGINT Count of exi s ts ca l l s
HOST VARCHAR 64 Hos t na me
OPEN_CALL_COUNT BIGINT Count of open ca l l s
PATH VARCHAR 256 Fi l es ys tem pa th
PORT INTEGER Interna l port
REMOVE_CALL_COUNT BIGINT Count of remove ca l l s
RESIZE_CALL_COUNT BIGINT Count of res i ze ca l l s
SYNC_CALL_COUNT BIGINT Count of s ync ca l l s
TOTAL_FULL_RETRY_READS BIGINT Count of ful l retry rea ds
TOTAL_FULL_RETRY_WRITES BIGINT Count of ful l retry wri tes
TOTAL_IO_TIME BIGINT Tota l I/O ti me
TOTAL_READ_SIZE BIGINT Si ze of rea d da ta
TOTAL_SHORT_READS BIGINT Count of s hort rea ds
TOTAL_SHORT_WRITES BIGINT Count of s hort wri tes
TOTAL_WRITE_SIZE BIGINT Si ze of wri tten da ta
TYPE VARCHAR 16 Type of conta i ned fi l es
VOLUME_ID INTEGER 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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
HOST VARCHAR 64 Hos t na me
SQL_PORT INTEGER SQL port
ALERT_ID INTEGER Al ert ID
ALERT_SEQ INTEGER Al ert Sequence
ALERT_TIMESTAMP TIMESTAMP Ti mes ta mp of a l ert
ALERT_RATING TINYINT 3 Al ert ra ti ng (1-5)
ALERT_DETAILS NVARCHAR 1024 Informa ti on on the a l ert
EMAIL_STATE TINYINT 3 Ema i l s ent or not; va l ues 1 or 0
PROCESS_STATE TINYINT 3 Sta te of the proces s
PROCESS_TIME TIMESTAMP Ti mes ta mp of the proces s
PROCESS_AGENT NVARCHAR 256 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 Data type Unit Description


ALERT_ID INTEGER Al ert ID
ALERT_NAME NVARCHAR 64 Na me of the Al ert
ALERT_DESCRIPTION NVARCHAR 1024 Des cri pti on of the a l ert
ALERT_USERACTION NVARCHAR 1024 Hi nt to us er on a cti ons to ta ke i n res pons e to the a l ert
INTERVAL NVARCHAR 128 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 Data type Unit Description


SNAPSHOT_ID TIMESTAMP ID of the s na phot
HOST VARCHAR 64 Hos t na me
SQL_PORT INTEGER SQL port
ALERT_ID INTEGER Al ert ID
ALERT_SEQ INTEGER Al ert Sequence
ALERT_LAST_CHECK_TIMESTAMP TIMESTAMP Ti mes ta mp of l a s t a l ert check
ALERT_LAST_CHECK_RATING TINYINT 3 Ra ti ng of l a s t a l ert check
ALERT_LAST_CHECK_EMAIL TINYINT 3 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 Data type Unit Description


NAME NVARCHAR 128 Na me of i nterva l
DURATION INTEGER Dura ti on of i nterna l i n s econds
START_TIME TIMESTAMP 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 Data type Unit Description


HOST VARCHAR 64 Hos t na me
PORT INTEGER Interna l port
NAME NVARCHAR 128 Proces s na me
INDEX NVARCHAR 128
REACHED_AT TIMESTAMP Ti mes ta mp of l a s t va l ue
VALUE NVARCHAR 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 Data type Unit Description


STATE NVARCHAR 64 Sta te of the proces s (Sta rti ng, Stoppi ng, Runni ng, Stopped)
REACHED_AT TIMESTAMP 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 Data type Unit Description


VERSION TINYINT 3 Sta ti s ti cs vers i on
SINCE TIMESTAMP Acti ve s i nce, ti mes ta mp

279 2012-12-19

You might also like