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

SAP HANA System Tables and Monitoring Views

Reference
SAP HANA Appliance Software SPS 04
Target Audience

Consultants
Administrators
SAP Hardware Partner
Others

1 2012-07-20
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,


BlackBerry Torch, BlackBerry Storm, BlackBerry Storm2, BlackBerry PlayBook,
and BlackBerry App World are trademarks or registered trademarks of Research

2 2012-07-20
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-07-20
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 13
CS_BO_VIEWS 14
CS_FREESTYLE_COLUMNS 15
CS_JOIN_CONDITIONS 16
CS_JOIN_CONSTRAINTS 17
CS_JOIN_PATHS 18
CS_JOIN_TABLES 19
CS_KEY_FIGURES 20
CS_VIEW_COLUMNS 21
DATA_TYPES 22
EFFECTIVE_PRIVILEGES 24
EXPLAIN_PLAN_TABLE 25
FULLTEXT_INDEXES 26
FUNCTIONS 28
FUNCTION_PARAMETERS 29
GRANTED_PRIVILEGES 30
GRANTED_ROLES 31
INDEXES 32
INDEX_COLUMNS 33
INVALID_CONNECT_ATTEMPTS 34
LAST_USED_PASSWORDS 35
M_ATTACHED_STORAGES 36
M_BACKUP_CATALOG 37
M_BACKUP_CATALOG_FILES 38
M_BLOCKED_TRANSACTIONS 39
M_CACHES 40
M_CACHES_RESET 41
M_CATALOG_MEMORY 42
M_CE_CALCSCENARIOS 43
M_CE_CALCVIEW_DEPENDENCIES 44
M_CE_DEBUG_INFOS 45
M_CE_DEBUG_JSONS 46
M_CE_DEBUG_NODE_MAPPING 47
M_CE_PLE_CALCSCENARIOS 48
M_CLIENT_VERSIONS 49
M_COMPACTION_THREAD 50
M_CONDITIONAL_VARIABLES 52
M_CONDITIONAL_VARIABLES_RESET 53
M_CONNECTIONS 54
M_CONNECTION_STATISTICS 56
M_CONTAINER_DIRECTORY 59
M_CONTAINER_NAME_DIRECTORY 60
M_CONTEXT_MEMORY 61

4 2012-07-20
Table of Content

M_CONTEXT_MEMORY 61
M_CONTEXT_MEMORY_RESET 63
M_CONVERTER_STATISTICS 64
M_CONVERTER_STATISTICS_RESET 66
M_CS_COLUMNS 67
M_CS_PARTITIONS 68
M_CS_TABLES 69
M_DATABASE 71
M_DATABASE_HISTORY 72
M_DATA_VOLUMES 73
M_DATA_VOLUME_PAGE_STATISTICS 74
M_DATA_VOLUME_PAGE_STATISTICS_RESET 76
M_DATA_VOLUME_SUPERBLOCK_STATISTICS 77
M_DELTA_MERGE_STATISTICS 78
M_DISKS 79
M_ERROR_CODES 80
M_EVENTS 81
M_EXPENSIVE_STATEMENTS 82
M_EXPORT_BINARY_STATUS 83
M_EXTRACTORS 84
M_FEATURES 85
M_FULLTEXT_QUEUES 86
M_GARBAGE_COLLECTION_STATISTICS 87
M_GARBAGE_COLLECTION_STATISTICS_RESET 89
M_HEAP_MEMORY 90
M_HEAP_MEMORY_RESET 92
M_HISTORY_INDEX_LAST_COMMIT_ID 93
M_HOST_INFORMATION 94
M_HOST_RESOURCE_UTILIZATION 95
M_IMPORT_BINARY_STATUS 96
M_INIFILES 97
M_INIFILE_CONTENTS 98
M_JOB_PROGRESS 99
M_LANDSCAPE_HOST_CONFIGURATION 100
M_LICENSE 102
M_LIVECACHE_CONTAINER_STATISTICS 103
M_LIVECACHE_CONTAINER_STATISTICS_RESET 105
M_LIVECACHE_LOCKS 106
M_LIVECACHE_LOCK_STATISTICS 107
M_LIVECACHE_LOCK_STATISTICS_RESET 108
M_LIVECACHE_OMS_VERSIONS 109
M_LIVECACHE_PROCEDURE_STATISTICS 110
M_LIVECACHE_PROCEDURE_STATISTICS_RESET 116
M_LIVECACHE_SCHEMA_STATISTICS 117
M_LIVECACHE_SCHEMA_STATISTICS_RESET 118
M_LOCK_WAITS_STATISTICS 119
M_LOG_BUFFERS 120
M_LOG_BUFFERS_RESET 122
M_LOG_PARTITIONS 123
M_LOG_PARTITIONS_RESET 126
M_LOG_SEGMENTS 127
M_LOG_SEGMENTS_RESET 129
M_MEMORY 130

5 2012-07-20
Table of Content

M_MEMORY_OBJECTS 132
M_MEMORY_OBJECTS_RESET 134
M_MEMORY_OBJECT_DISPOSITIONS 135
M_MERGED_TRACES 136
M_MONITORS 137
M_MONITOR_COLUMNS 138
M_MUTEXES 139
M_MUTEXES_RESET 141
M_MVCC_TABLES 142
M_PAGEACCESS_STATISTICS 143
M_PAGEACCESS_STATISTICS_RESET 144
M_PASSWORD_POLICY 145
M_PERFTRACE 146
M_PERSISTENCE_MANAGERS 147
M_PERSISTENCE_MANAGERS_RESET 149
M_PREPARED_STATEMENTS 150
M_READWRITELOCKS 152
M_READWRITELOCKS_RESET 154
M_RECORD_LOCKS 155
M_RS_INDEXES 156
M_RS_TABLES 158
M_SAVEPOINT_STATISTICS 159
M_SAVEPOINT_STATISTICS_RESET 161
M_SEMAPHORES 162
M_SEMAPHORES_RESET 163
M_SERVICES 164
M_SERVICE_MEMORY 165
M_SERVICE_NETWORK_IO 166
M_SERVICE_STATISTICS 167
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
M_SNAPSHOTS 175
M_SQL_PLAN_CACHE 176
M_SQL_PLAN_CACHE_OVERVIEW 180
M_SQL_PLAN_CACHE_RESET 182
M_SYSTEM_LIMITS 183
M_SYSTEM_OVERVIEW 184
M_TABLES 185
M_TABLE_LOB_FILES 186
M_TABLE_LOCATIONS 187
M_TABLE_LOCKS 188
M_TABLE_PERSISTENCE_LOCATIONS 189
M_TABLE_PERSISTENCE_STATISTICS 190
M_TABLE_VIRTUAL_FILES 191
M_TEMPORARY_TABLES 192
M_TEMPORARY_TABLE_COLUMNS 193
M_TEMPORARY_VIEWS 194
M_TEMPORARY_VIEW_COLUMNS 195

6 2012-07-20
Table of Content

M_TENANTS 196
M_TEXT_ANALYSIS_LANGUAGES 197
M_TEXT_ANALYSIS_MIME_TYPES 198
M_TOPOLOGY_TREE 199
M_TRACEFILES 200
M_TRACEFILE_CONTENTS 201
M_TRANSACTIONS 202
M_UNDO_CLEANUP_FILES 204
M_VERSION_MEMORY 205
M_VOLUMES 206
M_VOLUME_FILES 207
M_VOLUME_IO_PERFORMANCE_STATISTICS 208
M_VOLUME_IO_PERFORMANCE_STATISTICS_RESET 211
M_VOLUME_IO_STATISTICS 212
M_VOLUME_IO_STATISTICS_RESET 214
M_VOLUME_SIZES 215
M_WORKLOAD 216
M_XS_APPLICATIONS 217
M_XS_APP_ISSUES 218
OBJECTS 219
OBJECT_DEPENDENCIES 220
OWNERSHIP 221
PROCEDURES 222
PROCEDURE_OBJECTS 223
PROCEDURE_PARAMETERS 224
QUERY_PLANS 225
ROLES 226
SCHEMAS 227
SEQUENCES 228
SQLSCRIPT_TRACE 229
STATISTICS 230
STRUCTURED_PRIVILEGES 231
SYNONYMS 232
TABLES 233
TABLE_COLUMNS 235
TABLE_COLUMNS_ODBC 237
TRANSACTION_HISTORY 238
TRIGGERS 239
USERS 240
USER_PARAMETERS 241
VIEWS 242
VIEW_COLUMNS 243
Sta ti s ti cs Server Ta bl es 244
GLOBAL_COLUMN_TABLES_SIZE 245
GLOBAL_INTERNAL_DISKFULL_EVENTS 246
GLOBAL_INTERNAL_EVENTS 247
GLOBAL_PERSISTENCE_STATISTICS 248
HOST_BLOCKED_TRANSACTIONS 249
HOST_DATA_VOLUME_PAGE_STATISTICS 250
HOST_DATA_VOLUME_SUPERBLOCK_STATISTICS 251
HOST_DELTA_MERGE_STATISTICS 252
HOST_HEAP_ALLOCATORS 253

7 2012-07-20
Table of Content

HOST_LONG_RUNNING_STATEMENTS 255
HOST_ONE_DAY_FILE_COUNT 256
HOST_RESOURCE_UTILIZATION_STATISTICS 257
HOST_SERVICE_MEMORY 258
HOST_SERVICE_STATISTICS 259
HOST_VOLUME_FILES 260
HOST_VOLUME_IO_STATISTICS 261
STATISTICS_ALERTS 262
STATISTICS_ALERT_INFORMATION 263
STATISTICS_ALERT_LAST_CHECK_INFORMATION 264
STATISTICS_INTERVAL_INFORMATION 265
STATISTICS_LASTVALUES 266
STATISTICS_STATE 267
STATISTICS_VERSION 268

8 2012-07-20
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-07-20
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(5000) Sta tus of events to be a udi ted: 'SUCCESSFUL EVENTS',
'UNSUCCESSFUL EVENTS', 'ALL EVENTS'
EVENT_LEVEL VARCHAR(5000) Level of events to be a udi ted: 'EMERGENCY', 'CRITICAL',
'ALERT', 'WARNING', 'INFO'
IS_AUDIT_POLICY_ACTIVE VARCHAR(5000) Audi t pol i cy i s a cti ve: 'TRUE', 'FALSE'
EVENT_ACTION VARCHAR(5000) Acti on to be a udi ted, for exa mpl e: 'SELECT', 'GRANT
PRIVILEGE', ...
USER_NAME NVARCHAR(5000) Us er whos e a cti ons a re to be a udi ted
OBJECT_TYPE VARCHAR(5000) Type of object to be a udi ted
OBJECT_SCHEMA VARCHAR(5000) Schema of object to be a udi ted
OBJECT_NAME VARCHAR(5000) Na me of object to be a udi ted

10 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

AUTHORIZATION_GRAPH
Short description

Represents authorization dependencies of complex database objects

Full description

The WHERE clause is mandatory when you SELECT from AUTHORIZATION_GRAPH. This view only returns
data if you specify 'ROOT_DEPENDENT_TYPE_ID = ...AND ROOT_DEPENDENT_OBJECT_ID=...' as part of the
where clause.

Structure

Column name Data type Unit Description


DEPENDENT_TYPE_ID INTEGER Object type ID of the dependent object
DEPENDENT_TYPE_ID_NAME NVARCHAR(5000) 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(5000) 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 INTEGER Object type ID of the underl yi ng object
UNDERLYING_TYPE_ID_NAME NVARCHAR(5000) 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(5000) 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

11 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

DEPENDENCY_TYPE INTEGER 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. 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

12 2012-07-20
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 number i n ta bl e defi ni ti on
CONSTRAINT_NAME NVARCHAR(256) Cons tra i nt na me
IS_PRIMARY_KEY VARCHAR(5000) Cons tra i nt i s pri ma ry key cons tra i nt: 'TRUE', 'FALSE'
IS_UNIQUE_KEY VARCHAR(5000) Cons tra i nt i s uni que cons tra i nt: 'TRUE', 'FALSE'

13 2012-07-20
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

14 2012-07-20
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

15 2012-07-20
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
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
CONSTRAINTS NVARCHAR(256) Joi n cons tra i nt na me
JOIN_TYPE VARCHAR(5000) Joi n type: 'i nner', 'l eft', 'ri ght', 'ful l '
CARDINALITY VARCHAR(5000) Joi n ca rdi na l i ty: '1:1', '1:n', 'n:1', 'n:n'

16 2012-07-20
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(5000) 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

17 2012-07-20
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

18 2012-07-20
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(5000) Type of ta bl e

19 2012-07-20
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 NVARCHAR(5000) 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(5000) Expres s i on fl a gs
EXPRESSION NVARCHAR(256) Expres s i on

20 2012-07-20
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
COLUMN_NAME NVARCHAR(256) Col umn na me
JOIN_PATH NVARCHAR(256) Joi n pa th na me
CS_TYPE VARCHAR(5000) Col umn s tore da ta type
EXPRESSION_FLAGS VARCHAR(5000) Expres s i on fl a gs
EXPRESSION NVARCHAR(256) Expres s i on

21 2012-07-20
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

22 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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

23 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

EFFECTIVE_PRIVILEGES
Short description
Privileges of the current user

Full description
The WHERE clause is mandatory when you SELECT from EFFECTIVE_PRIVILEGES. This view only returns data
if you specify 'USER_NAME =...' as part of the where clause.

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(5000) 'USER' or 'ROLE'
GRANTOR NVARCHAR(256) Us er or rol e tha t provi ded the pri vi l ege
GRANTOR_TYPE VARCHAR(5000) 'USER' or 'ROLE'
OBJECT_TYPE NVARCHAR(256) 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(5000) Object na me of gra nted object
COLUMN_NAME NVARCHAR(5000) Col umn na me
PRIVILEGE NVARCHAR(256) Pri vi l ege gra nted
IS_GRANTABLE VARCHAR(5000) Pri vi l ege wa s gra nted 'WITH GRANT OPTION', 'WITH ADMIN
OPTION': 'TRUE', 'FALSE'
IS_VALID VARCHAR(5000) 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'

24 2012-07-20
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

25 2012-07-20
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
mi metype 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(5000) 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(5000) 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(5000) 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(5000) 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 our of the ful l text
i ndex
FLUSH_EVERY_MINUTES INTEGER Us ed to s tore cha nge-tra cki ng beha vi our 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 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 percenta ge of
the memory s i ze of the ful l text i ndex)

26 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

27 2012-07-20
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(5000) 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(5000) Type of the functi on

28 2012-07-20
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(5000) 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 VARCHAR(5000) Schema na me of ta bl e type i f DATA_TYPE_NAME i s
TABLE_TYPE
TABLE_TYPE_NAME VARCHAR(5000) Na me of ta bl e type i f DATA_TYPE_NAME i s TABLE_TYPE
PARAMETER_TYPE VARCHAR(5000) Pa ra meter mode: IN, OUT, INOUT
HAS_DEFAULT_VALUE VARCHAR(5000) Speci fi es whether the pa ra meter ha s defa ul t va l ue or not:
'TRUE', 'FALSE'
IS_NULLABLE VARCHAR(5000) Speci fi es whether the pa ra meter a ccepts nul l va l ue: 'TRUE',
'FALSE'

29 2012-07-20
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(5000) 'USER' or 'ROLE'
GRANTOR NVARCHAR(256) Us er who gra nted the pri vi l ege
OBJECT_TYPE NVARCHAR(256) 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(5000) Object na me of gra nted object
COLUMN_NAME NVARCHAR(5000) Col umn na me
PRIVILEGE NVARCHAR(256) Pri vi l ege gra nted
IS_GRANTABLE VARCHAR(5000) Pri vi l ege wa s gra nted 'WITH GRANT OPTION', 'WITH ADMIN
OPTION': 'TRUE', 'FALSE'
IS_VALID VARCHAR(5000) 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'

30 2012-07-20
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(5000) '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(5000) Rol e wa s gra nted 'WITH ADMIN OPTION': 'TRUE', 'FALSE'

31 2012-07-20
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(5000) 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(5000) 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)

32 2012-07-20
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(5000) 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(5000) Speci fi es whether the i ndexed col umn i s a s cendi ng order or
not: 'TRUE', 'FALSE'

33 2012-07-20
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

34 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

LAST_USED_PASSWORDS
Short description

Recently used passwords for each user

Structure

Column name Data type Unit Description


USER_NAME NVARCHAR(256) Na me of the us er
PASSWORD_CHANGE_TIME TIMESTAMP Ti me thi s pa s s word wa s overwri tten by the next one
PASSWORD NVARCHAR(256) Ha s h va l ue of pa s s word

35 2012-07-20
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)

36 2012-07-20
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

37 2012-07-20
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

38 2012-07-20
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 ID of the tra ns a cti on wa i ti ng for a l ock
BLOCKED_UPDATE_TRANSACTION_ID
BIGINT Tra ns a cti on ID of the bl ocked upda te tra ns a cti on
LOCK_OWNER_TRANSACTION_ID INTEGER Tra ns a cti on ID of the tra ns a cti on hol di ng the l ock
LOCK_OWNER_UPDATE_TRANSACTION_ID
BIGINT Tra ns a cti on ID of the upda 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 VARCHAR(32) Na me of the s chema on whi ch the l ock i s currentl y
pl a ced
WAITING_TABLE_NAME VARCHAR(32) Na me of the ta bl e on whi ch the l ock i s currentl y
pl a ced
LOCK_TYPE VARCHAR(32) Lock type: 'RECORD', 'TABLE', 'METADATA'
LOCK_MODE VARCHAR(32) Lock mode: 'SHARED', 'EXCLUSIVE', 'INTENTIONAL
EXCLUSIVE'

39 2012-07-20
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

40 2012-07-20
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.

41 2012-07-20
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

42 2012-07-20
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(6) 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
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
JSON NCLOB JSON s tri ng repres enti ng the ca l cul a ti on s cena ri o

43 2012-07-20
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

44 2012-07-20
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

45 2012-07-20
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 NVARCHAR(256) 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

46 2012-07-20
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 NVARCHAR(256) 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

47 2012-07-20
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

48 2012-07-20
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

49 2012-07-20
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

50 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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

51 2012-07-20
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)

52 2012-07-20
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.

53 2012-07-20
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 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(6) Bool ea n Own connecti on: TRUE i f own connecti on,
FALSE i f not
IS_HISTORY_SAVED VARCHAR(6) Bool ea n No l onger va i d fi el 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(6) 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

54 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

FETCHED_RECORD_COUNT BIGINT Fetched record count


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(6) Bool ea n Encrypted: TRUE i f the s ecure 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

55 2012-07-20
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
executi ons

56 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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

57 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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

58 2012-07-20
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

59 2012-07-20
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

60 2012-07-20
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

61 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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

62 2012-07-20
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.

63 2012-07-20
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

64 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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

65 2012-07-20
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.

66 2012-07-20
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 a nd 1
through # of pa rti ti ons for pa rti ti oned ta bl es
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_MAIN / 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_SUPPORTED, UNLOADED, NOW_LOADING or
LOADED
IMPLEMENTATION_FLAGS BIGINT Col umn i nterna l i mpl ementa ti on s pec s umma ry
LOADED VARCHAR(6) Bool ea n Fl a g to i ndi ca te tha t col umn i s l oa ded i nto memory

67 2012-07-20
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 rt ID. 0 for non-pa rti ti oned ta bl es a nd 1 through number of pa rts
for pa rti ti oned ta bl es
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

68 2012-07-20
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 ta bl es a nd
1 through number of pa rti ti ons for pa rti ti oned
ta bl es
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

69 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

LAST_COMPRESSED_RECORD_COUNT
BIGINT The number of entri es i n ma i n duri ng l a s t
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
IS_DELTA2_ACTIVE VARCHAR(6) Bool ea n Fl a g to i ndi ca te tha t a s econd del ta i s us ed,
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(6) 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
IS_LOG_DELTA VARCHAR(6) Bool ea n Fl a g to i ndi ca te tha t currentl y del ta l og i s
wri tten
PERSISTENT_MERGE VARCHAR(6) 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
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 t 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

70 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

M_DATABASE
Short description

Database information

Structure

Column name Data type Unit Description


DATABASE_NAME VARCHAR(256) SAPSYSTEMNAME
HOST VARCHAR(64) SAPGLOBALHOST
START_TIME TIMESTAMP Sta rt ti me
VERSION VARCHAR(32) Vers i on: ma jor.mi nor.pa tch.bui l d

71 2012-07-20
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-07-20
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-07-20
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 cotains 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

74 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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

75 2012-07-20
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.

76 2012-07-20
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 currenbtly 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

77 2012-07-20
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(7) 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)
SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
PART_ID INTEGER Pa rti ti on number (0 for non-pa rti ti oned ta bl es
a nd 1 through number of pa rti ti ons for
pa rti ti oned ta bl es
HISTORY VARCHAR(6) Bool ea n Fl a g to i ndi ca te hi s tory pa rt wa s merged
MEMORY_MERGE VARCHAR(6) Bool ea n Fl a g to i ndi ca te ta bl e wa s merged i n memory
onl y
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(6) 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
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

78 2012-07-20
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 Devi ce ID from OS
HOST VARCHAR(64) Hos t na me. Onl y s et i f di s k i s onl y us ed by one hos t
PATH VARCHAR(512) Pa th
SUBPATH VARCHAR(512) Subpa th i f vol ume i s on a s epa ra te di s k
USAGE_TYPE VARCHAR(128) Us a ge Type: LOG,DATA,TRACE
TOTAL_SIZE BIGINT Byte Vol ume Us a ge
USED_SIZE BIGINT Byte Vol ume Si ze

79 2012-07-20
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

80 2012-07-20
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(6) Event a cknowl edged
FAILED_HANDLES BIGINT Number of fa i l ed ha ndl e a ttempts

81 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

M_EXPENSIVE_STATEMENTS
Short description

All statements with duration longer than a threshold

Structure

Column name Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
CONNECTION_ID BIGINT Connecti on ID
TRANSACTION_ID BIGINT Tra ns a cti on 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) Opera ti on
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

82 2012-07-20
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(128) Index type: 'UNKNOWN', 'PHYSICAL', 'OLAP', 'JOIN', 'HIERARCHY',
'CALCULATION', ...
STATUS VARCHAR(128) Import s ta tus . 'queued', 'worki ng', 's ki pped', 'done', 'fa i l ed'
ERROR VARCHAR(128) Empty i f i mport wa s s ucces s ful , error text otherwi s e

83 2012-07-20
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(20) 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-07-20
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-07-20
SAP HANA System Tables and Monitoring Views Reference

M_FULLTEXT_QUEUES
Short description

Fulltext index queue status

Structure

Column name Data type Unit Description


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 rt number i f s pl i t, 0 otherwi s e
COLUMN_NAME NVARCHAR(256) Na me of the document col umn
STATUS NVARCHAR(128) 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
HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port

86 2012-07-20
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
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

87 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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-07-20
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-07-20
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_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

90 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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

91 2012-07-20
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.

92 2012-07-20
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

93 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

M_HOST_INFORMATION
Short description

Host information such as machine, OS configuration

Structure

Column name Data type Unit Description


HOST VARCHAR(64) Hos t na me
KEY VARCHAR(32) Key
VALUE VARCHAR(256) Va l ue

94 2012-07-20
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
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

95 2012-07-20
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(128) Index type: 'UNKNOWN', 'PHYSICAL', 'OLAP', 'JOIN', 'HIERARCHY',
'CALCULATION', ...
STATUS VARCHAR(128) Import s ta tus . 'queued', 'worki ng', 's ki pped', 'done', 'fa i l ed'
ERROR VARCHAR(128) Empty i f i mport wa s s ucces s ful , error text otherwi s e

96 2012-07-20
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(6) 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(6) Bool ea n TRUE i f fi l e ha s confi gura ti on on thi s l a yer
TENANT_LAYER VARCHAR(6) Bool ea n TRUE i f fi l e ha s confi gura ti on on thi s l a yer
HOST_LAYER VARCHAR(6) Bool ea n TRUE i f fi l e ha s confi gura ti on on thi s l a yer

97 2012-07-20
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(256) 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(2000) Confi gura ti on va l ue

98 2012-07-20
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

99 2012-07-20
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 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 ce a re a cti ve, hos t i s s ta rti ng
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 for Res ta rt to prevent unnecces s a ry fa i l over
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 not 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
to 'hos t'
thi s woul d ca us e s ome downti me
Fa i l over not pos s i bl e, e.g. no more s ta ndby hos ts a va i l a bl e. See na mes erver.trc for
fa i l ed
deta i l s

NAMESERVER_CONFIG_ROLE
During installation up to 3 hosts are automatically configured as MASTER candidate. All others are
SLAVE.

100 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

It is recommended to specifiy 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 nameserver and master indexserver 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.

Structure

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) Fa i l over group
NAMESERVER_CONFIG_ROLE VARCHAR(32) Na mes erver confi gured rol e: MASTER, SLAVE
NAMESERVER_ACTUAL_ROLE VARCHAR(32) Na mes erver a ctua l rol e: MASTER, SLAVE
INDEXSERVER_CONFIG_ROLE VARCHAR(32) Indexs erver confi gured rol e: WORKER, STANDBY
INDEXSERVER_ACTUAL_ROLE VARCHAR(32) 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

101 2012-07-20
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(256) Ha rdwa re key of thi s SAP HANA i ns ta l l a ti on
SYSTEM_ID VARCHAR(256) Sys tem i denti fi er (SID) of thi s SAP HANA da ta ba s e
INSTALL_NO VARCHAR(256) Ins ta l l a ti on number of thi s SAP HANA da ta ba s e
SYSTEM_NO VARCHAR(256) 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(6) 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(6) TRUE i f the l i cens e i s currentl y va l i d, otherwi s e FALSE
ENFORCED VARCHAR(6) TRUE i f the l i cens e i s a memory-enforced l i cens e,
otherwi s e FALSE
LOCKED_DOWN VARCHAR(6) 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

102 2012-07-20
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(6) Ca ched keys a cti ve
COPY_ON_UPDATE VARCHAR(6) Copy on upda te a cti ve
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-07-20
SAP HANA System Tables and Monitoring Views Reference

104 2012-07-20
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.

105 2012-07-20
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
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

106 2012-07-20
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

107 2012-07-20
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.

108 2012-07-20
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(23) ID of the OMS vers i on
CREATE_DATE VARCHAR(29) Ti mes ta mp of the crea ti on of the OMS vers i on
LAST_OPEN_DATE VARCHAR(29) Ti mes ta mp, when the OMS vers i on wa s opened l a s t
IS_OPEN VARCHAR(2) Fl a g i ndi ca ti ng whether the vers i on i s currentl y open
HEAP_USAGE BIGINT Memory tha t i s currentl y us ed by the vers i on
VERSION_DESCRIPTION NVARCHAR(513) Des cri pti on

109 2012-07-20
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

110 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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

111 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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

112 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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

113 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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

114 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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 Mi cros econd 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 l l i s 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 ABAP ta bl es
STREAM_WRITE_ROW_COUNT BIGINT Counter Number of rows wri tten to ABAP ta bl es

115 2012-07-20
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.

116 2012-07-20
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

117 2012-07-20
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.

118 2012-07-20
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

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

119 2012-07-20
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 counted up, otherwise SWITCH_NOWAIT_COUNT is counted up. 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 configuraion 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

120 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

BACKUP_ENABLED VARCHAR(6) Log s egment ba ckup ena bl ed fl a g (di s a bl ed 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 )

121 2012-07-20
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.

122 2012-07-20
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

123 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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

124 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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

125 2012-07-20
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.

126 2012-07-20
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

127 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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(6) Fl a g for l og s egment i n ba ckup

128 2012-07-20
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.

129 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

M_MEMORY
Short description

Memory configuration and usage status by SAP HANA indexserver

Full description
This view contains information about current memory consumption. The following describes the contents of
the individual lines of the monitor view (VALUE), as identified by NAME:

PROCESS_CODE_SIZE
Size of shared libraries/DLLs

PROCESS_STACK_SIZE
Size of thread stacks

PROCESS_MEMORY_SIZE
Virtual size of the process

PROCESS_RESIDENT_SIZE
Resident size of the process

SYSTEM_MEMORY_SIZE
Size of physical RAM (same as statistics counter GlobalMemory.Memory.ram_size)

SYSTEM_MEMORY_FREE_SIZE
Size of free RAM according to operating system

SHARED_MEMORY_ALLOCATED_SIZE
Size of allocated memory in row store: shared memory segments + MemMonitor Footprint

SHARED_MEMORY_USED_SIZE
Size of used memory in row store: shared memory segments + MemMonitor Used

SHARED_MEMORY_FREE_SIZE
Size of free space in row store: MemMonitor Free

PROCESS_ALLOCATION_LIMIT
Process allocation limit, usually 90% of physical RAM (same as statistics counter
GlobalMemory.Memory.process_allocation_limit)

EFFECTIVE_PROCESS_ALLOCATION_LIMIT
Current limit respecting current usage of other processes

HEAP_MEMORY_ALLOCATED_SIZE
Allocated size by allocators (including overhead and free lists) and thread callstacks (same as
statistics counter GlobalMemory.Memory.allocated_size)

HEAP_MEMORY_USED_SIZE

130 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

Size used by clients of allocators (new, malloc etc.) (same as statistics counter
Memory.Usage.INCLUSIVE_SIZE_IN_USE and same as INCLUSIVE_SIZE_IN_USE of
category "/" in view M_HEAP_MEMORY)

HEAP_MEMORY_FREE_SIZE
= HEAP_MEMORY_ALLOCATED_SIZE - HEAP_MEMORY_USED_SIZE

HEAP_MEMORY_ROOT_ALLOCATED_SIZE
= HEAP_MEMORY_USED_SIZE

HEAP_MEMORY_ROOT_FREE_SIZE
Size of big block free list (same as statistics counter
GlobalMemory.Memory.bigblock_free_size)

COMPACTORS_SIZE
Size of caches (ResourceContainer) memory management may shrink in case of low memory

COMPACTORS_FREEABLE_SIZE
Shrinkable size of caches

TOTAL_MEMORY_SIZE_IN_USE
= PROCESS_CODE_SIZE + SHARED_MEMORY_ALLOCATED_SIZE +
HEAP_MEMORY_ROOT_ALLOCATED_SIZE

Structure

Column name Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
NAME VARCHAR(256) Type of memory
VALUE BIGINT Byte Si ze of memory

131 2012-07-20
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 structue 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

132 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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

133 2012-07-20
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.

134 2012-07-20
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
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
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

135 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

M_MERGED_TRACES
Short description
Contains the merged content of all trace files

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(8) 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

136 2012-07-20
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(5000) Schema na me
VIEW_NAME NVARCHAR(5000) Na me of moni tori ng vi ew
DESCRIPTION NVARCHAR(5000) Short des cri pti on of the moni tori ng vi ew
RESETTABLE VARCHAR(5000) Set to TRUE, i f va l ues of thi s moni tor ca n be res et

137 2012-07-20
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(128) Uni t for the va l ue
COLLATION NVARCHAR(256) Col l a ti on
LENGTH DECIMAL(34,-1) Length
SCALE INTEGER Sca l e
IS_NULLABLE VARCHAR(5000) 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

138 2012-07-20
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 anaylse 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)

139 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

140 2012-07-20
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.

141 2012-07-20
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

142 2012-07-20
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

143 2012-07-20
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.

144 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

M_PASSWORD_POLICY
Short description

Configuration values concerning password policy

Structure

Column name Data type Unit Description


PROPERTY VARCHAR(128) Confi gura ti on property
VALUE VARCHAR(5000) Va l ue

145 2012-07-20
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 Performance Trace. It can be restricted to a specific SQL and application user. Optionally plan execution
details can be recorded. If duration is specified it automatically stops after ... seconds.

ALTER SYSTEM START PERFTRACE [USER name] [APPLICATIONUSER name] [PLAN_EXECUTION] [FU
NCTION_PROFILER] [DURATION seconds]

Stop Performance Trace

ALTER SYSTEM STOP PERFTRACE

Collect Performance Trace 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(256) 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
PLAN_EXECUTION VARCHAR(6) Bool ea n Fl a g i f pl a n executi on deta i l s a re recorded
FUNCTION_PROFILER VARCHAR(6) Bool ea n Fl a g i f functi on profi l er deta i l s a re recorded

146 2012-07-20
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

147 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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

148 2012-07-20
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.

149 2012-07-20
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 Al l oca ted memory s i ze
USED_MEMORY_SIZE BIGINT Byte Us ed memory s i ze
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 ti me of s ta tement executi on
AVG_CURSOR_DURATION BIGINT Avera ge ti me of s ta tement executi on i ncl udi ng
communi ca te 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 te 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 te ti me wi th cl i ents
TOTAL_CURSOR_DURATION BIGINT Sum of ti me of s ta tement executi on i ncl udi ng
communi ca te 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

150 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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(6) Hol da bl e curs or exi s tence
PARENT_STATEMENT_ID VARCHAR(256) Pa rent prepa red s ta tement ID

151 2012-07-20
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 anaylse 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

152 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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

153 2012-07-20
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.

154 2012-07-20
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 ID of the l ock owner
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)

155 2012-07-20
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(128) 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(6) 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

156 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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

157 2012-07-20
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 NVARCHAR(256) Loa di ng s ta te of ta bl e: 'LOADED', 'NOW_LOADING',
'PREPARING_UNLOAD', 'NOW_UNLOADING',
'UNLOADED', 'NOT_SUPPORTED'

158 2012-07-20
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.

Structure

Column name Data type Unit Description


HOST VARCHAR(64) Hos t na me
PORT INTEGER Interna l port
SAVEPOINTS BIGINT Counter Count of executed s a vepoi nts
LAST_SAVEPOINT_TIME TIMESTAMP La s t s a vepoi nt ti me (wa l l cl ock)
REQUESTED_FREQUENCY BIGINT Second Currentl y a cti ve reques ted 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 Ti me s pent i n s a vepoi nt (l a s t)
AVG_DURATION BIGINT Mi cros econd Ti me s pent i n s a vepoi nt (a vg)
LAST_FLUSHED_CONV_PAGES BIGINT Counter Count of a s ynchronous l y fl us hed converter
pa ges (l a s t)
AVG_FLUSHED_CONV_PAGES DOUBLE Ra te Count of a s ynchronous l y fl us hed converter
pa ges (a vg)
LAST_FLUSHED_PAGES BIGINT Counter Count of a s ynchronous l y fl us hed l ogi ca l pa ges
(l a s t)
AVG_FLUSHED_PAGES DOUBLE Ra te Count of a s ynchronous l y fl us hed l ogi ca l pa ges
(a vg)
LAST_FLUSHED_CONV_PAGES_IN_CS
BIGINT Counter Count of converter pa ges fl us hed i n cri ti ca l
s ecti on (l a s t)

159 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

AVG_FLUSHED_CONV_PAGES_IN_CS
DOUBLE Ra te Count of converter pa ges fl us hed i n cri ti ca l
s ecti on (a vg)
LAST_FLUSHED_PAGES_IN_CS BIGINT Counter Count of l ogi ca l pa ges fl us hed i n cri ti ca l
s ecti on (l a s t)
AVG_FLUSHED_PAGES_IN_CS DOUBLE Ra te Count of l ogi ca l pa ges fl us hed i n cri ti ca l
s ecti on (a vg)
LAST_FLUSHED_ROWSTORE_CONV_PAGES
BIGINT Counter Count of a bs ol ute converter pa ges fl us hed
(l a s t)
AVG_FLUSHED_ROWSTORE_CONV_PAGES
DOUBLE Ra te Count of a bs ol ute converter pa ges fl us hed (a vg)
LAST_FLUSHED_ROWSTORE_PAGES
BIGINT Counter Count of a bs ol ute l ogi ca l pa ges fl us hed (l a s t)
AVG_FLUSHED_ROWSTORE_PAGES
DOUBLE Ra te Count of a bs ol ute l ogi ca l pa ges fl us hed (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 (mi ght be l es s tha n s um of
components due to dupl i ca te TIDs )

160 2012-07-20
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.

161 2012-07-20
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)

162 2012-07-20
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.

163 2012-07-20
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(128) NO, YES, UNKNOWN, STARTING, STOPPING
SQL_PORT INTEGER SQL port
COORDINATOR_TYPE VARCHAR(128) Coordi na tor type i n di s tri buted l a nds ca pe: MASTER, SLAVE,
STANDBY, NONE

164 2012-07-20
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(256) Servi ce na me
PROCESS_ID INTEGER Proces s ID
LOGICAL_MEMORY_SIZE BIGINT Byte Proces s vi rtua l memory s i ze
PHYSICAL_MEMORY_SIZE BIGINT Byte Proces s phys i ca l memory s i ze
CODE_SIZE BIGINT Byte Proces s code s i ze
STACK_SIZE BIGINT Byte Proces s s ta ck s i ze
HEAP_MEMORY_ALLOCATED_SIZE
BIGINT Byte Proces s hea p memory a l l oca ted s i ze
HEAP_MEMORY_USED_SIZE BIGINT Byte Proces s hea p memory us ed
SHARED_MEMORY_ALLOCATED_SIZE
BIGINT Byte Proces s s ha red memory a l l oca ted (row s tore onl y)
SHARED_MEMORY_USED_SIZE BIGINT Byte Proces s s ha red memory us ed (row s tore onl y)
COMPACTORS_ALLOCATED_SIZE BIGINT Byte Tota l memory a l l oca ted by compa ctors
COMPACTORS_FREEABLE_SIZE BIGINT Byte Memory whi ch ca n be freed on dema nd

165 2012-07-20
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-07-20
SAP HANA System Tables and Monitoring Views Reference

M_SERVICE_STATISTICS
Short description

Statistics on active services

Full description
ACTIVE
Value Description
NO Servi ce not s ta rted.
Servi ce i s s ta rti ng. Thi s s ta te mi ght occur for s evera l mi nutes on fi rs t s ta rtup or
STARTING
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(256) 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(128) NO, YES, UNKNOWN, STARTING, STOPPING
START_TIME TIMESTAMP Proces s s ta rt ti me
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
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

167 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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-07-20
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(256) 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
SYSTEM_CPU_TIME BIGINT Mi cros econd Sys tem CPU ti me
USER_CPU_TIME BIGINT Mi cros econd Us er CPU ti me

169 2012-07-20
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(256) 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-07-20
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(256) Servi ce na me
COMPONENT_NAME VARCHAR(32) Tra ce component na me

171 2012-07-20
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(256) Servi ce na me
INIFILE VARCHAR(256) Confi gura ti on fi l e na me of s ervi ce
HAS_DETAIL VARCHAR(6) Bool ea n Servi ce s hows deta i l s i n M_SERVICE_STATISTICS

172 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

M_SESSION_CONTEXT
Short description

Session variables for each connection

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

173 2012-07-20
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-07-20
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(6) Crea ted for ba ckup
ANCHOR BIGINT HEXID Anchor

175 2012-07-20
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

176 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

IS_VALID VARCHAR(6) 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(6) 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(6) TRUE i f ta bl es a re l oca ted i n mul ti nodes ,
FALSE otherwi s e
ABAP_VARCHAR_MODE VARCHAR(6) TRUE i f ABAP VARCHAR mode ena bl ed,
FALSE otherwi s e. ABAP 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 BIGINT 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

177 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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 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.
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 Mi cros econd Accumul a ted l ock wa i t dura ti on for the
pl a n
LAST_EXECUTION_TIMESTAMP TIMESTAMP La s t executi on ti mes ta mp
LAST_PREPARATION_TIMESTAMP

178 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

TIMESTAMP La s t prepa ra ti on ti mes ta mp

179 2012-07-20
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(6) 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

180 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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

181 2012-07-20
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.

182 2012-07-20
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

183 2012-07-20
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

184 2012-07-20
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(5000) Speci fi es whether the ta bl e i s a col umn ta bl e: 'TRUE', 'FALSE'
TABLE_TYPE VARCHAR(5000) Speci fi es type of the ta bl e: 'ROW', 'COLUMN', 'HYBRID'

185 2012-07-20
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
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 BLOB 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 BLOB fi l e
REF_COUNT BIGINT Current Refcount of a BLOB fi l e

186 2012-07-20
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


SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
PART_ID INTEGER Pa rt ID of s pl i t ta bl e
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
LOCATION VARCHAR(5000) Hos t a nd port where the ta bl e da ta i s l oca ted

187 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

M_TABLE_LOCKS
Short description
Status of currently acquired locks on tables 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 ID of the l ock owner
ACQUIRED_TIME TIMESTAMP Lock a cqui s i ti on ti me
SCHEMA_NAME NVARCHAR(256) Schema na me
TABLE_NAME NVARCHAR(256) Ta bl e na me
OBJECT_TYPE VARCHAR(32) Object type
LOCK_MODE VARCHAR(32) Lock mode: I (Excl us i ve Lock), IX (Intenti ona l
Excl us i ve Lock)

188 2012-07-20
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 rt ID of s pl i t ta bl e
IS_HISTORY VARCHAR(6) Is thi s the hi s tory pa rt of a ta bl e
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

189 2012-07-20
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 a cces s 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

190 2012-07-20
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 rt ID of s pl i t ta bl e
IS_HISTORY VARCHAR(6) Is thi s the hi s tory pa rt of a ta bl e
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

191 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

M_TEMPORARY_TABLES
Short description

Temporary 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) Comment on the ta bl e
FIXED_PART_SIZE SMALLINT Byte Fi xed-s i ze pa rt of record
IS_LOGGED NVARCHAR(10) Speci fi es whether l oggi ng i s ena bl ed for the
ta bl e: 'TRUE', 'FALSE'
IS_SYSTEM_TABLE NVARCHAR(10) Speci fi es whether the ta bl e i s a s ys tem ta bl e:
'TRUE', 'FALSE'
IS_COLUMN_TABLE NVARCHAR(10) Speci fi es whether the ta bl e i s a col umn ta bl e:
'TRUE', 'FALSE'
IS_INSERT_ONLY NVARCHAR(10) 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 NVARCHAR(10) 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 NVARCHAR(10) Speci fi es whether the ta bl e i s a gl oba l ta bl e:
'TRUE', 'FALSE'
SESSION_TYPE NVARCHAR(20) Ses s i on type: 'NONE', 'SIMPLE', 'HISTORY'. For
'HISTORY', ti me tra vel i s pos s i bl e
IS_TEMPORARY NVARCHAR(10) Speci fi es whether the ta bl e i s a tempora ry ta bl e:
'TRUE', 'FALSE'
TEMPORARY_TABLE_TYPE NVARCHAR(10) Tempora ry ta bl e type
IS_USER_DEFINED_TYPE NVARCHAR(10) 'TRUE' i f us er defi ned ta bl e type, 'FALSE'
otherwi s e
PRELOAD NVARCHAR(10) '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

192 2012-07-20
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


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 DECIMAL(34,-1) # 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(5000) 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(5000) Col umn s tore da ta type na me
DDIC_DATA_TYPE_ID INTEGER DDIC da ta type ID
DDIC_DATA_TYPE_NAME VARCHAR(5000) DDIC da ta type na me
COMPRESSION_TYPE VARCHAR(5000) Type of compres s i on: 'DEFAULT', 'PREFIXED', 'SPARSE',
'CLUSTERED', 'INDIRECT', 'RLE'
INDEX_TYPE VARCHAR(5000) Type of i ndex: 'NONE', 'FULL', 'SIGNATURE'
COLUMN_ID BIGINT ID of the col umn
PRELOAD VARCHAR(5000) Speci fi es i f col umn i s prel oa ded: 'TRUE', 'FALSE'

193 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

M_TEMPORARY_VIEWS
Short description

Temporary 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 NVARCHAR(10) Speci fi es whether the query s tri ng conta i ns Uni code: 'TRUE',
'FALSE'
IS_READ_ONLY NVARCHAR(10) 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 NVARCHAR(10) 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 NVARCHAR(10) 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 NVARCHAR(10) Speci fi es whether thi s vi ew i s a col umn vi ew or not: 'TRUE',
'FALSE'
VIEW_TYPE NVARCHAR(20) Type of vi ew : 'ROW', 'OLAP', 'JOIN', 'HIERARCHY', 'CALC'
IS_TENANT_SHARED NVARCHAR(10) Speci fi es whether the vi ew meta da ta ca n be s ha red a cros s
tena nts : 'TRUE', 'FALSE'

194 2012-07-20
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


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 DECIMAL(34,-1) # 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(5000) 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(5000) Col umn s tore da ta type na me
DDIC_DATA_TYPE_ID INTEGER DDIC da ta type ID
DDIC_DATA_TYPE_NAME VARCHAR(5000) DDIC da ta type na me
COMPRESSION_TYPE VARCHAR(5000) Type of compres s i on: 'DEFAULT', 'PREFIXED', 'SPARSE',
'CLUSTERED', 'INDIRECT', 'RLE'
INDEX_TYPE VARCHAR(5000) Type of i ndex: 'NONE', 'FULL', 'SIGNATURE'
COLUMN_ID BIGINT ID of the col umn
PRELOAD VARCHAR(5000) Speci fi es i f col umn i s prel oa ded: 'TRUE', 'FALSE'

195 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

M_TENANTS
Short description

Available tenant information

Structure

Column name Data type Unit Description


TENANT_NAME VARCHAR(256) Tena nt na me
CREATE_TIME TIMESTAMP Crea ti on ti me
TENANT_STATUS VARCHAR(128) Sus pend s ta tus : SUSPENDED, ACTIVE, PENDING
HOST VARCHAR(64) Tena nt s ervi ce hos t na me
PORT INTEGER Tena nt s ervi ce i nterna l port
SQL_PORT INTEGER Tena nt s ervi ce SQL port

196 2012-07-20
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

197 2012-07-20
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

198 2012-07-20
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(6) Bool ea n Lea f fl a g

199 2012-07-20
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

200 2012-07-20
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 efficently 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

201 2012-07-20
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 ID
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 Upda te tra ns a cti on ID
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

202 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

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(6) 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(6) TRUE i f l oggi ng i s ena bl ed for the tra ns a cti on,
FALSE otherwi s e

203 2012-07-20
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(6) Indoubt fl a g for di s tri buted tra ns a cti on
TENTATIVE_PRECOMMIT_POSITION
BIGINT Tenta ti ve precommi t pos i ti on

204 2012-07-20
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

205 2012-07-20
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_DISK.PATH

206 2012-07-20
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

207 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

M_VOLUME_IO_PERFORMANCE_STATISTICS
Short description

File performance 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_PERFORMANCE_STATISTICS_RESET. To reset the values, use
the SQL command:
ALTER SYSTEM RESET MONITORING VIEW SYS.M_VOLUME_IO_PERFORMANCE_STATISTICS_RE
SET

or the management console command:


monitor reset -n M_VOLUME_IO_PERFORMANCE_STATISTICS_RESET

Full description
This view shows I/O performance for various buffer sizes. Each buffer size is a max. value. That is, buffer size
4k actually means <= 4k and buffer size 16k means 4k < buffer size <= 16k. The I/O time is the total time from
starting a request until it finishes, including enqueue time. All measured times are timespans between
enqueueing and finishing a request. This means they contain wait times if the request cannot be started
immediately. Enqueue time is measured separately to see how many requests are executed asynchronously
and how many are synchronous or blocking. For overall I/O performance, see TOTAL_READ/WRITE_SIZE
and TOTAL_IO_TIME in the monitoring view 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
PATH VARCHAR(512) Fi l es ys tem pa th
TYPE VARCHAR(16) Type of conta i ned fi l es
MAX_IO_BUFFER BIGINT Byte Ma x. I/O buffer s i ze
READ_SYNC BIGINT Counter Count of s ynchronous rea ds
WRITE_SYNC BIGINT Counter Count of s ynchronous wri tes
READ_REQUESTS BIGINT Counter Count of rea d reques ts
WRITE_REQUESTS BIGINT Counter Count of wri te reques ts
READ_COMPLETIONS BIGINT Counter Count of rea d compl eti ons
WRITE_COMPLETIONS BIGINT Counter Count of wri te compl eti ons
FULL_RETRY_READS BIGINT Counter Count of ful l retry rea ds
FULL_RETRY_WRITES BIGINT Counter Count of ful l retry wri tes
SHORT_READS BIGINT Counter Count of s hort rea ds

208 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

SHORT_WRITES BIGINT Counter Count of s hort wri tes


DELAYED_READ_REQUESTS BIGINT Counter Count of del a yed rea d reques ts
DELAYED_WRITE_REQUESTS BIGINT Counter Count of del a yed wri te reques ts
DEQUEUED_DELAYED_REQUESTS BIGINT Counter Count of dequeued del a yed reques ts
RESUBMITTED_DELAYED_REQUESTS
BIGINT Counter Count of res ubmi tted del a yed reques ts
RESUBMITTED_DELAYED_REQUESTS_DELAYED_AGAIN
BIGINT Counter Count of res ubmi tted del a yed reques ts
del a yed
ITEMS_IN_DELAY_QUEUE BIGINT Counter Count of i tems i n del a y queue
MAX_ITEMS_IN_DELAY_QUEUE BIGINT Counter Ma xi mum s i ze of del a y queue
LAST_READ_SYNC_TIME BIGINT Mi cros econd Ti me for s ynchronous rea ds (l a s t)
MAX_READ_SYNC_TIME BIGINT Mi cros econd Ti me for s ynchronous rea ds (ma x)
MIN_READ_SYNC_TIME BIGINT Mi cros econd Ti me for s ynchronous rea ds (mi n)
SUM_READ_SYNC_TIME BIGINT Mi cros econd Ti me for s ynchronous rea ds (tota l )
AVG_READ_SYNC_TIME BIGINT Mi cros econd Ti me for s ynchronous rea ds (a vg)
LAST_WRITE_SYNC_TIME BIGINT Mi cros econd Ti me for s ynchronous wri tes (l a s t)
MAX_WRITE_SYNC_TIME BIGINT Mi cros econd Ti me for s ynchronous wri tes (ma x)
MIN_WRITE_SYNC_TIME BIGINT Mi cros econd Ti me for s ynchronous wri tes (mi n)
SUM_WRITE_SYNC_TIME BIGINT Mi cros econd Ti me for s ynchronous wri tes (tota l )
AVG_WRITE_SYNC_TIME BIGINT Mi cros econd Ti me for s ynchronous wri tes (a vg)
LAST_READ_TIME BIGINT Mi cros econd Ti me for rea d events (l a s t)
MAX_READ_TIME BIGINT Mi cros econd Ti me for rea d events (ma x)
MIN_READ_TIME BIGINT Mi cros econd Ti me for rea d events (mi n)
SUM_READ_TIME BIGINT Mi cros econd Ti me for rea d events (tota l )
AVG_READ_TIME BIGINT Mi cros econd Ti me for rea d events (a vg)
LAST_WRITE_TIME BIGINT Mi cros econd Ti me for wri te events (l a s t)
MAX_WRITE_TIME BIGINT Mi cros econd Ti me for wri te events (ma x)
MIN_WRITE_TIME BIGINT Mi cros econd Ti me for wri te events (mi n)
SUM_WRITE_TIME BIGINT Mi cros econd Ti me for wri te events (tota l )
AVG_WRITE_TIME BIGINT Mi cros econd Ti me for wri te events (a vg)
LAST_READ_ENQUEUE_TIME BIGINT Mi cros econd Ti me for enqueui ng rea d I/O events (l a s t)
MAX_READ_ENQUEUE_TIME BIGINT Mi cros econd Ti me for enqueui ng rea d I/O events (ma x)
MIN_READ_ENQUEUE_TIME BIGINT Mi cros econd Ti me for enqueui ng rea d I/O events (mi n)
SUM_READ_ENQUEUE_TIME BIGINT Mi cros econd Ti me for enqueui ng rea d I/O events (tota l )
AVG_READ_ENQUEUE_TIME BIGINT Mi cros econd Ti me for enqueui ng rea d I/O events (a vg)
LAST_WRITE_ENQUEUE_TIME BIGINT Mi cros econd Ti me for enqueui ng wri te I/O events (l a s t)
MAX_WRITE_ENQUEUE_TIME BIGINT Mi cros econd Ti me for enqueui ng wri te I/O events (ma x)
MIN_WRITE_ENQUEUE_TIME BIGINT Mi cros econd Ti me for enqueui ng wri te I/O events (mi n)
SUM_WRITE_ENQUEUE_TIME BIGINT Mi cros econd Ti me for enqueui ng wri te I/O events (tota l )

209 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

AVG_WRITE_ENQUEUE_TIME BIGINT Mi cros econd Ti me for enqueui ng wri te I/O events (a vg)
LAST_READ_SIZE BIGINT Byte Si ze of rea d da ta (l a s t)
MAX_READ_SIZE BIGINT Byte Si ze of rea d da ta (ma x)
MIN_READ_SIZE BIGINT Byte Si ze of rea d da ta (mi n)
SUM_READ_SIZE BIGINT Byte Si ze of rea d da ta (tota l )
AVG_READ_SIZE BIGINT Byte Si ze of rea d da ta (a vg)
LAST_WRITE_SIZE BIGINT Byte Si ze of wri tten da ta (l a s t)
MAX_WRITE_SIZE BIGINT Byte Si ze of wri tten da ta (ma x)
MIN_WRITE_SIZE BIGINT Byte Si ze of wri tten da ta (mi n)
SUM_WRITE_SIZE BIGINT Byte Si ze of wri tten da ta (tota l )
AVG_WRITE_SIZE BIGINT Byte Si ze of wri tten da ta (a vg)
LAST_READ_SYNC_SIZE BIGINT Byte Si ze of s ynchronous l y rea d da ta (l a s t)
MAX_READ_SYNC_SIZE BIGINT Byte Si ze of s ynchronous l y rea d da ta (ma x)
MIN_READ_SYNC_SIZE BIGINT Byte Si ze of s ynchronous l y rea d da ta (mi n)
SUM_READ_SYNC_SIZE BIGINT Byte Si ze of s ynchronous l y rea d da ta (tota l )
AVG_READ_SYNC_SIZE BIGINT Byte Si ze of s ynchronous l y rea d da ta (a vg)
LAST_WRITE_SYNC_SIZE BIGINT Byte Si ze of s ynchronous l y wri tten da ta (l a s t)
MAX_WRITE_SYNC_SIZE BIGINT Byte Si ze of s ynchronous l y wri tten da ta (ma x)
MIN_WRITE_SYNC_SIZE BIGINT Byte Si ze of s ynchronous l y wri tten da ta (mi n)
SUM_WRITE_SYNC_SIZE BIGINT Byte Si ze of s ynchronous l y wri tten da ta (tota l )
AVG_WRITE_SYNC_SIZE BIGINT Byte Si ze of s ynchronous l y wri tten da ta (a vg)

210 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

M_VOLUME_IO_PERFORMANCE_STATISTICS_RESET
Short description

File performance statistics (since last reset)

This view contains values accumulated since the last reset of the main view
M_VOLUME_IO_PERFORMANCE_STATISTICS. Please refer to M_VOLUME_IO_PERFORMANCE_STATISTICS
for information about the structure and use of this view.

In addition to the members mentioned in M_VOLUME_IO_PERFORMANCE_STATISTICS, this view also


contains a timestamp field RESET_TIME, which indicates the last time the data was reset.

211 2012-07-20
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
TYPE VARCHAR(16) Type of conta i ned fi l es
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
ENQUEUED_WRITE_REQUESTS BIGINT Counter Count of enqueued wri te reques ts
EOF_READS BIGINT Counter Count of EOF rea ds

212 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

TOTAL_FULL_RETRY_READS BIGINT Counter Count of ful l retry rea ds


TOTAL_FULL_RETRY_WRITES BIGINT Counter Count of ful l retry wri tes
TOTAL_SHORT_READS BIGINT Counter Count of s hort rea ds
TOTAL_SHORT_WRITES BIGINT Counter Count of s hort wri tes
TOTAL_READ_SIZE BIGINT Byte Si ze of rea d da ta
TOTAL_WRITE_SIZE BIGINT Byte Si ze of wri tten da ta
TOTAL_IO_TIME BIGINT Mi cros econd Tota l I/O ti me
TOTAL_READ_TIME BIGINT Mi cros econd Tota l rea d ti me
TOTAL_WRITE_TIME BIGINT Mi cros econd Tota l wri te ti me

213 2012-07-20
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.

214 2012-07-20
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

215 2012-07-20
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

216 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

M_XS_APPLICATIONS
Short description
Applications deployed and running in the XSEngine

Structure

Column name Data type Unit Description


HOST VARCHAR(64)
PORT INTEGER
APP_NAME VARCHAR(512) Techni ca l na me of the a ppl i ca ti on
APP_ALIAS VARCHAR(512) Al i a s na me of the a ppl i ca ti on, us ed to ha ve more rea da bl e URIs
IS_STATEFUL INTEGER Whether the a ppl i ca ti on keeps a s es s i on s ta te between reques ts

217 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

M_XS_APP_ISSUES
Short description

Issues related with applications in the XSEngine

Structure

Column name Data type Unit Description


HOST VARCHAR(64)
PORT INTEGER
APP_NAME VARCHAR(512) Techni ca l 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

218 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

OBJECTS
Short description

Available objects

Structure

Column name Data type Unit Description


OBJECT_CATEGORY VARCHAR(5000) Object ca tegory of the object (defa ul t = nul l )
SCHEMA_NAME NVARCHAR(256) Schema na me of the object
OBJECT_NAME NVARCHAR(5000) Object na me
OBJECT_TYPE VARCHAR(5000) Object type
OBJECT_OID BIGINT Object ID

219 2012-07-20
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(5000) Object na me of the ba s e object
BASE_OBJECT_TYPE VARCHAR(5000) Type of the ba s e object
DEPENDENT_SCHEMA_NAME NVARCHAR(256) Schema na me of the dependent object
DEPENDENT_OBJECT_NAME NVARCHAR(5000) Object na me of the dependent object
DEPENDENT_OBJECT_TYPE VARCHAR(5000) Type of the ba s e dependent
DEPENDENCY_TYPE INTEGER Type of dependency between ba s e a nd dependent
object

220 2012-07-20
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(5000) 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 NVARCHAR(5000) Object type
OBJECT_OID BIGINT Object ID

221 2012-07-20
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(5000) 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(5000) Type of the s tored procedure
READ_ONLY VARCHAR(5000) Speci fi es whether the procedure i s rea d-onl y or not:
'TRUE', 'FALSE'

222 2012-07-20
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(5000) 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

223 2012-07-20
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(5000) 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(5000) Pa ra meter mode: 'IN', 'OUT', 'INOUT'
HAS_DEFAULT_VALUE VARCHAR(5000) Speci fi es whether the pa ra meter ha s a defa ul t va l ue or not:
'TRUE', 'FALSE'
IS_NULLABLE VARCHAR(5000) Speci fi es whether the pa ra meter a ccepts a nul l va l ue: 'TRUE',
'FALSE'

224 2012-07-20
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

225 2012-07-20
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_MODE VARCHAR(5000) Mode of the rol e: 'LOCAL', 'GLOBAL'
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

226 2012-07-20
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'

227 2012-07-20
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(5000) 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

228 2012-07-20
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

229 2012-07-20
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

230 2012-07-20
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
NEGATED VARCHAR(5000) Opera tor wa s nega ted i n fi l ter; 'TRUE', 'FALSE'
OPERATOR VARCHAR(5000) 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(5000) Va l ue the opera tor wi l l be compa red to

231 2012-07-20
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(5000) Type of the referenced object
IS_COLUMN_OBJECT VARCHAR(5000) Speci fi es whether thi s vi ew i s a col umn object or not: 'TRUE',
'FALSE'

232 2012-07-20
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(5000) Speci fi es whether l oggi ng i s on for the ta bl e:
'TRUE', 'FALSE'
IS_SYSTEM_TABLE VARCHAR(5000) Speci fi es whether the ta bl e i s a s ys tem ta bl e:
'TRUE', 'FALSE'
IS_COLUMN_TABLE VARCHAR(5000) Speci fi es whether the ta bl e i s a col umn ta bl e:
'TRUE', 'FALSE'
TABLE_TYPE VARCHAR(5000) Speci fi es type of the ta bl e: 'ROW', 'COLUMN',
'HYBRID'
IS_INSERT_ONLY VARCHAR(5000) 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(5000) 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(5000) Speci fi es whether the ta bl e i s a gl oba l ta bl e:
'TRUE', 'FALSE'
SESSION_TYPE VARCHAR(5000) Ses s i on type: 'NONE', 'SIMPLE', 'HISTORY'. For
'HISTORY', ti me tra vel i s pos s i bl e
IS_TEMPORARY VARCHAR(5000) Speci fi es whether the ta bl e i s a tempora ry ta bl e:
'TRUE', 'FALSE'
TEMPORARY_TABLE_TYPE VARCHAR(5000) Tempora ry ta bl e type
IS_USER_DEFINED_TYPE VARCHAR(5000) 'TRUE' i f us er defi ned ta bl e type, 'FALSE'
otherwi s e
HAS_PRIMARY_KEY VARCHAR(5000) '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(5000) '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(5000) '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(5000) 'TRUE' i f Di mFuncti onCa che fea ture i s us ed by the

233 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

ta bl e, el s e 'FALSE'. Onl y va l i d for col umn s tore


ta bl es
IS_PUBLIC VARCHAR(5000) '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(5000)
COMPRESSED_EXTKEY VARCHAR(5000) '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(5000) '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(5000) '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(5000) '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(5000) '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

234 2012-07-20
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 DECIMAL(34,-1) 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(5000) 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(5000) Col umn s tore da ta type na me
DDIC_DATA_TYPE_ID INTEGER DDIC da ta type ID
DDIC_DATA_TYPE_NAME VARCHAR(5000) DDIC da ta type na me
COMPRESSION_TYPE VARCHAR(5000) 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(5000) Type of i ndex: 'NONE', 'FULL', 'SIGNATURE'
COLUMN_ID BIGINT ID of the col umn
PRELOAD VARCHAR(5000) Speci fi es i f col umn i s prel oa ded: 'TRUE', 'FALSE'

235 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

236 2012-07-20
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 DECIMAL(34,-1) 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(5000) 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

237 2012-07-20
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

238 2012-07-20
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(5000) Ti me the tri gger i s executed: 'BEFORE', 'AFTER', 'INSTEAD
OF' the s peci fi ed event
TRIGGER_EVENT VARCHAR(5000) Event, the tri gger i s defi ned for: 'INSERT', 'UPDATE',
'DELETE'
TRIGGERED_ACTION_LEVEL VARCHAR(5000) 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

239 2012-07-20
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_MODE VARCHAR(5000) 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(5000) 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(5000) 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(5000) 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

240 2012-07-20
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

241 2012-07-20
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(5000) Speci fi es whether the query s tri ng conta i ns
Uni code: 'TRUE', 'FALSE'
IS_READ_ONLY VARCHAR(5000) 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(5000) 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(5000) 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(5000) Speci fi es whether thi s vi ew i s a col umn vi ew or
not: 'TRUE', 'FALSE'
VIEW_TYPE VARCHAR(5000) Type of vi ew : 'ROW', 'OLAP', 'JOIN', 'HIERARCHY',
'CALC'
IS_TENANT_SHARED_METADATA VARCHAR(5000)

242 2012-07-20
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 DECIMAL(34,-1) 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(5000) 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(5000) Col umn s tore da ta type na me
DDIC_DATA_TYPE_ID INTEGER DDIC da ta type ID
DDIC_DATA_TYPE_NAME VARCHAR(5000) DDIC da ta type na me
COMPRESSION_TYPE VARCHAR(5000) Type of compres s i on: 'DEFAULT', 'PREFIXED', 'SPARSE',
'CLUSTERED', 'INDIRECT', 'RLE'
INDEX_TYPE VARCHAR(5000) Type of i ndex: 'NONE', 'FULL', 'SIGNATURE'
COLUMN_ID BIGINT ID of the col umn
PRELOAD VARCHAR(5000) Speci fi es i f col umn i s prel oa ded: 'TRUE', 'FALSE'

243 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

Statistics Server Tables


The following tables are from the _SYS_STATISTICS schema.

244 2012-07-20
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

245 2012-07-20
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

246 2012-07-20
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

247 2012-07-20
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

248 2012-07-20
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

249 2012-07-20
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

250 2012-07-20
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

251 2012-07-20
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)

252 2012-07-20
SAP HANA System Tables and Monitoring Views Reference

HOST_HEAP_ALLOCATORS
Short description

Memory allocator statistics per host

Structure

253 2012-07-20
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
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

254 2012-07-20
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

255 2012-07-20
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

256 2012-07-20
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

257 2012-07-20
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

258 2012-07-20
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

259 2012-07-20
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

260 2012-07-20
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

261 2012-07-20
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

262 2012-07-20
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

263 2012-07-20
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

264 2012-07-20
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

265 2012-07-20
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

266 2012-07-20
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

267 2012-07-20
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

268 2012-07-20

Вам также может понравиться