SAP HANA System Tables and Monitoring Views Reference SAP HANA Appliance Software Software SPS 05, Revision 45 Target Audience Consultants Administrators SAP SAP Har dware Par tner tner Others
1
2012-12-19
Copyright
© Copyright 2012 SAP AG. All A ll 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 c hanged hanged 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 trademarks of Mic rosoft Corporation. Corporation. IBM, DB2, DB2 Universal Universal Datab Database, ase, System Syst em i, Sys tem i5, Syst em p, Syst em 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 Program Neighborhood, Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems Inc. HTML, XML, XHTML, and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology. Apple, App Store, iBooks, iPad, iPhone, iPhoto, iPod, iTunes, Multi-Touch, Objective-C, Retina, Safari, Siri, and Xcode are trademarks or registered trademarks of Apple Inc. IOS is a registered trademark of Cisco Systems Inc. RIM, BlackBerry, BBM, BlackBerry Curve, BlackBerry Bold, BlackBerry Pearl,
2
2012-12-19
Copyright
© Copyright 2012 SAP AG. All A ll 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 c hanged hanged 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 trademarks of Mic rosoft Corporation. Corporation. IBM, DB2, DB2 Universal Universal Datab Database, ase, System Syst em i, Sys tem i5, Syst em p, Syst em 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 Program Neighborhood, Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems Inc. HTML, XML, XHTML, and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology. Apple, App Store, iBooks, iPad, iPhone, iPhoto, iPod, iTunes, Multi-Touch, Objective-C, Retina, Safari, Siri, and Xcode are trademarks or registered trademarks of Apple Inc. IOS is a registered trademark of Cisco Systems Inc. RIM, BlackBerry, BBM, BlackBerry Curve, BlackBerry Bold, BlackBerry Pearl,
2
2012-12-19
BlackBerry Torch, BlackBerry Storm, BlackBerry Storm2, BlackBerry PlayBook, and BlackBerry App World are trademarks or registered trademarks of Research in Motion Limited. Google App Engine, Google Apps, Google Checkout, Google Data API, Google Maps, Google Mobile Ads, Google Mobile Updater, Updater, Google Mobile, Google Store, St ore, 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 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. company. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.
3
2012-12-19
Table of Content
Table of Content Table Table of Content SAP HANA System Tables and Monitoring Monitoring Vie ws Reference About thi s Document Document SAP HANA Guides HANA Guides AUDIT_POLICIES AUTHORIZATION_GRAPH AUTHORIZATION_GRAPH CONSTRAINTS CONSTRAI NTS CS_BO_VI EWS CS_FREESTYLE_COLUMNS CS_JOIN_CONDITIONS CS_JOIN_CONDITIONS CS_JOIN_CONSTRAINTS CS_JOIN_CONSTRAINTS CS_JOIN_PATHS CS_JOIN_TABLES CS_JOIN_TABLES CS_KEY_FIGURES CS_KEY_FIGURES CS_VIEW_COLUMNS DATA_TYPES DATA_TYPES EFFECTIVE _PRIVI _PRI VILEGES LEGES EFFECTIVE _ROLES EXPLAIN_PLAN_TABLE EXPLAIN_PLAN_TABLE FULLTEXT_INDEXES FULLTEXT_INDEXES FUNCTIONS FUNCTION S FUNCTION_PARAMETERS GRANTED _PRI GRANTED _PRI VILEGES VI LEGES GRANTED _ROLES GRANTED _ROLES INDEXES INDEX_COLUMNS INDEX_COLUMNS INVALID_CONNECT_ATT INVALID_CONNECT_ATTEMPTS EMPTS M_ATTACHED_STORAGES M_BACKUP_CATALOG M_BACKUP_CATALOG_F M_BACKUP_CATALOG_FILES ILES M_BACKUP_CONFIGUR M_BACKUP_CONFIGURATION ATION M_BLOCKED_TRANSACTIONS M_CACHES M_CACHES M_CACHES_RESET M_CACHES_RESET M_CACHE_ENTRIES M_CATALOG_MEMORY M_CATALO G_MEMORY M_CE_CALCSCENARIOS M_CE_CALCSCENARIOS M_CE_CALCVIEW_DEPENDENCIES M_CE_DEBUG_INFOS M_CE_D EBUG_INFOS M_CE_DEBUG_JSONS M_CE_D EBUG_JSONS M_CE_DEBUG_NODE_MAPPING M_CE_PLE_CALCSCENARIOS M_CLIENT_VERSIONS M_COMPACTION_THREAD M_CONDITIONAL_VARIABLES M_CONDITIONAL_VARIABLES_RESET M_CONFIGURATION M_CONNECTIONS M CONNE ONNEC CTION TION STA STATISTIC TISTICS S
4
4 9 9 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 51 52 53 54 56
2012-12-19
Table of Content
_ _ M_CONTAINER_DIRECTORY M_CONTAINER_NAME_DIRECTORY M_CONTEXT_MEMORY M_CONTEXT_MEMORY_RESET M_CONVERTER_STATISTICS M_CONVERTER_STATISTICS_RESET M_CS_ALL_COLUMNS M_CS_COLUMNS M_CS_PARTITIONS M_CS_TABLES M_CS_UNLOADS M_DATABASE M_DATABASE_HISTORY M_DATA_VOLUMES M_DATA_VOLUME_PAGE_STATISTICS M_DATA_VOLUME_PAGE_STATISTICS_RESET M_DATA_VOLUME_SUPERBLOCK_STATISTICS M_DELTA_MERGE_STATISTICS M_DISKS M_ERROR_CODES M_EVENTS M_EXPENSIVE_STATEMENTS M_EXPORT_BINARY_STATUS M_EXTRACTORS M_FEATURES M_FULLTEXT_QUEUES M_FUZZY_SEARCH_INDEXES M_GARBAGE_COLLECTION_STATISTICS M_GARBAGE_COLLECTION_STATISTICS_RESET M_HEAP_MEMORY M_HEAP_MEMORY_RESET M_HISTORY_INDEX_LAST_COMMIT_ID M_HOST_INFORMATION M_HOST_RESOURCE_UTILIZATION M_IMPORT_BINARY_STATUS M_INIFILES M_INIFILE_CONTENTS M_JOB_PROGRESS M_LANDSCAPE_HOST_CONFIGURATION M_LICENSE M_LICENSE_USAGE_HISTORY M_LIVECACHE_CONTAINER_STATISTICS M_LIVECACHE_CONTAINER_STATISTICS_RESET M_LIVECACHE_LOCKS M_LIVECACHE_LOCK_STATISTICS M_LIVECACHE_LOCK_STATISTICS_RESET M_LIVECACHE_OMS_VERSIONS M_LIVECACHE_PROCEDURE_STATISTICS M_LIVECACHE_PROCEDURE_STATISTICS_RESET M_LIVECACHE_SCHEMA_STATISTICS M_LIVECACHE_SCHEMA_STATISTICS_RESET M_LOCK_WAITS_STATISTICS
5
58 59 60 61 62 64 65 66 67 68 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 101 102 103 104 105 106 107 108 109 114 115 116 117
2012-12-19
Table of Content
M_LOG_BUFFERS M_LOG_BUFFERS_RESET M_LOG_PARTITIONS M_LOG_PARTITIONS_RESET M_LOG_SEGMENTS M_LOG_SEGMENTS_RESET M_MEMORY_OBJECTS M_MEMORY_OBJECTS_RESET M_MEMORY_OBJECT_DISPOSITIONS M_MERGED_TRACES M_MONITORS M_MONITOR_COLUMNS M_MUTEXES M_MUTEXES_RESET M_MVCC_TABLES M_OBJECT_LOCKS M_OBJECT_LOCK_STATISTICS M_OBJECT_LOCK_STATISTICS_RESET M_PAGEACCESS_STATISTICS M_PAGEACCESS_STATISTICS_RESET M_PASSWORD_POLICY M_PERFTRACE M_PERSISTENCE_ENCRYPTION_KEYS M_PERSISTENCE_ENCRYPTION_STATUS M_PERSISTENCE_MANAGERS M_PERSISTENCE_MANAGERS_RESET M_PREPARED_STATEMENTS M_READWRITELOCKS M_READWRITELOCKS_RESET M_RECORD_LOCKS M_REORG_ALGORITHMS M_REPO_TRANSPORT_FILES M_RS_INDEXES M_RS_TABLES M_RS_TABLE_VERSION_STATISTICS M_SAVEPOINTS M_SAVEPOINT_STATISTICS M_SAVEPOINT_STATISTICS_RESET M_SEMAPHORES M_SEMAPHORES_RESET M_SERVICES M_SERVICE_COMPONENT_MEMORY M_SERVICE_MEMORY M_SERVICE_NETWORK_IO M_SERVICE_REPLICATION M_SERVICE_STATISTICS M_SERVICE_THREADS M_SERVICE_THREAD_CALLSTACKS M_SERVICE_TRACES M_SERVICE_TYPES M_SESSION_CONTEXT M_SHARED_MEMORY
6
118 119 120 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 148 149 150 151 152 153 154 156 158 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174
2012-12-19
Table of Content
M_SNAPSHOTS M_SQL_PLAN_CACHE M_SQL_PLAN_CACHE_OVERVIEW M_SQL_PLAN_CACHE_RESET M_SYSTEM_INFORMATION_STATEMENTS M_SYSTEM_LIMITS M_SYSTEM_OVERVIEW M_TABLES M_TABLE_LOB_FILES M_TABLE_LOCATIONS M_TABLE_PERSISTENCE_LOCATIONS M_TABLE_PERSISTENCE_STATISTICS M_TABLE_VIRTUAL_FILES M_TEMPORARY_TABLES M_TEMPORARY_TABLE_COLUMNS M_TEMPORARY_VIEWS M_TEMPORARY_VIEW_COLUMNS M_TENANTS M_TEXT_ANALYSIS_LANGUAGES M_TEXT_ANALYSIS_MIME_TYPES M_TOPOLOGY_TREE M_TRACEFILES M_TRACEFILE_CONTENTS M_TRANSACTIONS M_UNDO_CLEANUP_FILES M_VERSION_MEMORY M_VOLUMES M_VOLUME_FILES M_VOLUME_IO_STATISTICS M_VOLUME_IO_STATISTICS_RESET M_VOLUME_SIZES M_WORKLOAD M_XS_APPLICATIONS M_XS_APPLICATION_ISSUES OBJECTS OBJECT_DEPENDENCIES OWNERSHIP PRIVILEGES PROCEDURES PROCEDURE_OBJECTS PROCEDURE_PARAMETERS QUERY_PLANS REFERENTIAL_CONSTRAINTS REORG_OVERVIEW REORG_PLAN REORG_PLAN_INFOS REORG_STEPS ROLES SAML_PROVIDERS SAML_USER_MAPPINGS SCHEMAS SEQUENCES
7
175 176 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229
2012-12-19
Table of Content
SESSION_COOKIES SQLSCRIPT_TRACE STATISTICS STRUCTURED_PRIVILEGES SYNONYMS TABLES TABLE_COLUMNS TABLE_COLUMNS_ODBC TABLE_GROUPS TRANSACTION_HISTORY TRIGGERS USERS USER_PARAMETERS VIEWS VIEW_COLUMNS Statistics Server Tables GLOBAL_COLUMN_TABLES_SIZE GLOBAL_CPU_STATISTICS (De precated ) GLOBAL_INTERNAL_DISKFULL_EVENTS GLOBAL_INTERNAL_EVENTS GLOBAL_MEMORY_STATISTI CS (De precated ) GLOBAL_PERSISTENCE_STATISTICS GLOBAL_TABLES_SIZE (De precated ) HOST_BLOCKED_TRANSACTIONS HOST_COLUMN_TABLES_PART_SIZE HOST_DATA_VOLUME_PAGE_STATISTICS HOST_DATA_VOLUME_SUPERBLOCK_STATISTICS HOST_DELTA_MERGE_STATISTICS HOST_HEAP_ALLOCATORS HOST_LONG_RUNNING_STATEMENTS HOST_MEMORY_STATISTICS HOST_ONE_DAY_FILE_COUNT HOST_RESOURCE_UTILIZATION_STATISTICS HOST_SERVICE_MEMORY HOST_SERVICE_STATISTICS HOST_TABLE_VIRTUAL_FILES HOST_VIRTUAL_FILES HOST_VOLUME_FILES HOST_VOLUME_IO_PERFORMANCE_STATISTICS HOST_VOLUME_IO_STATISTICS STATISTICS_ALERTS STATISTICS_ALERT_INFORMATION STATISTICS_ALERT_LAST_CHECK_INFORMATION STATISTICS_INTERVAL_INFORMATION STATISTICS_LASTVALUES STATISTICS_STATE STATISTICS_VERSION
8
230 231 232 233 234 235 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 272 273 274 275 276 277 278 279
2012-12-19
SAP HANA System Tables and Monitoring Views Reference
SAP HANA System Tables and Monitoring Views Reference About this Document This guide describes the system tables and monitoring views available in the SAP HANA database. System tables and monitoring views allow you to query for various information about the system state using SQL commands. The results appear as tables. Each table contains the following columns: Column name: Contains the name of the table column name Data type: Describes what the data t ype is (integer, character, boolean and so on). For a full explanation of data types see the SAP HANA SQL Reference. Unit: If there is a relevant measurement unit for the column (millisecond, byte and so on) it is displayed here Description: Describes the column
The tables are listed in alphabetical order. System tables can be identified as they have no prefix whereas the monitoring views are prefixed with M_. Some other abbreviations are used in the table names and they are explained here: CS Column Store RS Row store CE Calculation Engine XS XSEngine
SAP HANA Guides Latest documentation for SAP HANA: https://service.sap.com/hana* http://help.sap.com/hana_appliance
9
2012-12-19
SAP HANA System Tables and Monitoring Views Reference
AUDIT_POLICIES Short description Defined audit policies
Structure Column name
Dat a t ype
AUDI T_POLI CY_NAME
NVARCHAR(256)
Unit
De scription Audi t pol icy na me
AUDIT_POLICY_OID
BIGINT
Object ID of the audi t pol i cy
EVENT_STATUS
VARCHAR(32)
Sta tus of e vents to be a udi te d: 'SUCCESSFUL EVENTS', 'UNSUCCESSFUL EVENTS', 'ALL EVENTS'
EVENT_LEVEL
VARCHAR(16)
Leve l of e vents to be a udi ted: 'EMERGENCY', 'CRI TI CAL', 'ALERT', 'WARNING', 'INFO'
I S_AUD IT_POLI CY_ACTI VE
VARCH AR(5)
Au di t po li cy i s a cti ve : 'TR UE', ' FALS E'
EVENT_ACTI ON
VARCHAR(32)
Acti on to be a udi ted, for exa mpl e: 'SELECT', 'GRANT PRIVILEGE', ...
USER_NAME
NVARCHAR(256)
Us er whos e acti ons are to be audi ted
OBJECT_TYPE
VARCHAR(32)
Type of object to be audi ted, 'INVALID' i n cas e of cha nge of object type after creation of au dit pol icy
OBJECT_SCHEMA
NVARCHAR(256)
Schema of object to be a udi ted
OBJECT_NAME
NVARCHAR(256)
Na me of object to be audi ted
10
2012-12-19
SAP HANA System Tables and Monitoring Views Reference
AUTHORIZATION_GRAPH Short description Represents authorization dependencies of complex database objects
Structure Column name
Data type
ROOT_DEPENDENT_TYPE_I D
SMALLI NT
Obje ct type ID of the root obje ct to show a s a graph
ROOT_DEPENDENT_OBJECT_I D
BI GI NT
Obje ct I D of the root object to s how a s a gra ph
DEPENDENT_TYPE_ID
SMALLINT
Object type ID of the dependent object
D EPEND ENT_TYPE_I D_NAME
NVAR CH AR (256)
Ob je ct typ e na me o f th e de pe nd en t o bje ct
DEPENDENT_SUBTYPE_I D
SMALLINT
Object s ubtype ID of the dependent object
D EPE ND EN T_ SU BT YPE _I D _N AME
N VA RCH AR (2 56 )
O bj ec t s u b typ e na m e o f t he d ep e nd e nt o b je ct
DEPENDENT_OBJECT_ID
BIGINT
Object ID of the dependent object
D EPEND ENT_S CH EMA_NAME
NVAR CH AR (256)
S ch ema n a me t he d ep en de nt ob je ct be lo ngs t o
D EPEND ENT_OB JECT_NAME
NVAR CH AR (256)
Ob je ct n ame o f th e d ep en de nt o bje ct
DEPENDENT_OWNER_OID
BIGINT
ID of the us er owni ng the dependent object
D EPEND ENT_OWNER _NAME
NVAR CH AR (256)
Na me of th e u se r o wn in g th e d ep en de nt ob je ct
DEPENDENT_READONLY
INTEGER
Rea donl y property of the dependent object
UNDERLYI NG_TYPE_ID
SMALLINT
Object type ID of the underl yi ng object
U ND ER LYI NG _T YPE _I D_NA ME
NV AR CH AR (256)
Ob je ct typ e n a me of th e u nd erl yi n g o bje ct
UNDERLYI NG_SUBTYPE_ID
SMALLINT
Object s ubtype ID of the underl yi ng object
U ND ER LY I NG _S UB TY PE _I D _N AME
N VA RCH AR (2 56 )
O bj ec t s u b typ e n a me o f th e u nd e rl yi n g ob je ct
UNDERLYI NG_OBJECT_ID
BIGINT
Object ID of the underl yi ng object
U ND ER LYI NG _S CH EMA _NAME
NV AR CH AR (256)
S ch em a n a me th e u nd erl yi n g o bj ect b el o ng s to
U ND ER LYI NG_OB JECT_NAME
NVAR CH AR (256)
Ob je ct na me o f th e un de rl yi ng ob je ct
UNDERLYI NG_OWNER_OID
BIGINT
ID of the us er owni ng the underl yi ng object
U ND ER LYI NG _OW NE R_N AME
NV AR CH AR (256)
Na me of th e u s er o wn i ng th e u nd erl yi n g o bj ect
UNDERLYI NG_READONLY
INTEGER
Rea donl y property of the underl yi ng object
DEPENDENCY_USER_OID
BIGINT
ID of the us er requi red to have a certa i n pri vi lege on the underlying object in order to validate the dependent object
D EPEND ENCY_US ER_NAME
NVAR CH AR (256)
Na me of th e u se r re qu ire d to h ave a ce rta i n privilege o n the underlying object in o rder to validate the dependent object
DEPENDENCY_TYPE
SMALLINT
Type of dependency determi nes the va l i dati on semantics for dependencies sharing the same dependent objects
PRIVI LEGE_ID
BIGINT
ID of the pri vi l ege the dependency us er i s required to have on the underlying object
PRIVI LEGE_NAME
NVARCHAR(256)
Na me of the pri vi l ege the dependency us er i s required to have on the underlying object
I S_VALID
TI NYINT
Current s ta te of the dependency (a s i nteger). I t i s set by the object validation logic and reflects missing privileges or invalidated objects: 0 .. 3
DEPENDENCY_STATUS
VARCHAR(40)
Current s ta te of a pri vi lege for the dependent object: 'INVALID', 'NOT AUTHORIZED', 'AUTHORIZED NON GRANTABLE', 'AUTHORIZED GRANTABLE'
AVAI LABLE_PRI VI LEGES
VARCHAR(256)
Current s ta te of a pri vi lege on uppe r node (dependent object): 'INVALID', 'NOT GRANTABLE', 'GRANTABLE'
11
Unit
Description
2012-12-19
SAP HANA System Tables and Monitoring Views Reference
CONSTRAINTS Short description Constraints defined for tables
Structure C olum n n am e
Dat a t yp e
SCHEMA_NAME
NVARCHAR(256)
Un it
De scr ip tion Schema na me
TABLE_NAME
NVARCHAR(256)
Tabl e na me
COLUMN_NAME
NVARCHAR(256)
Col umn na me
POSITION
SMALLINT
Col umn pos i ti on i n thi s cons trai nt
CONS TR AI NT_NAME
NVAR CH AR (256)
Co ns tra i nt n ame
I S_PRI MARY_KEY
VARCH AR( 5)
Co ns tra i nt i s pri ma ry ke y co ns tra i nt: ' TR UE', ' FALS E'
I S_UNI QUE_KEY
VARCHAR(5)
Con stra int i s un iq ue co ns tra int: 'TRUE', 'FALSE'
12
2012-12-19
SAP HANA System Tables and Monitoring Views Reference
CS_BO_VIEWS Short description Business object views for column store join views
Structure Column name
Dat a t ype
SCHEMA_NAME
NVARCHAR(256)
Unit
Descript ion Schema n a me
VIEW_NAME
NVARCHAR(256)
Joi n vi ew name
BO_VIEW_NAME
NVARCHAR(256)
Bus i nes s object vi ew na me
ANCH OR_S CH EMA_NAME
NVAR CH AR (256)
An ch or s ch ema n ame
ANCHOR_TABLE_NAME
NVARCHAR(256)
Anch or ta bl e n ame
13
2012-12-19
SAP HANA System Tables and Monitoring Views Reference
CS_FREESTYLE_COLUMNS Short description Freestyle search columns for column store join views
Structure Column name
Data type
SCHEMA_NAME
NVARCHAR(256)
Schema na me
VIEW_NAME
NVARCHAR(256)
Joi n vi ew name
COLU MN_NAME
NVAR CH AR(256)
F re es tyl e co lu mn n ame
14
Unit
Description
2012-12-19
SAP HANA System Tables and Monitoring Views Reference
CS_JOIN_CONDITIONS Short description Join conditions defined for column store join views
Structure Column name
Dat a t ype
SCHEMA_NAME
NVARCHAR(256)
Unit
Schema na me
De script ion
VIEW_NAME
NVARCHAR(256)
Joi n vi ew na me
JOI N_COND ITI ON_NAME
NVAR CH AR (256)
Jo in c on di ti on n a me
JOIN_ORDER
BIGINT
Joi n order number
TABLE_SCH EMA_NAME1
NVAR CH AR (256)
S ch ema n a me o f co lu mn 1
TABLE_NAME1
NVARCHAR(256)
Tabl e na me of col umn 1
COLUMN_NAME1
NVARCHAR(256)
Na me of col umn 1
ALIAS_NUMBER1
INTEGER
Al i as Number of ta bl e name 1
TABLE_SCH EMA_NAME2
NVAR CH AR (256)
S ch ema n a me o f co lu mn 2
TABLE_NAME2
NVARCHAR(256)
Tabl e na me of col umn 2
COLUMN_NAME2
NVARCHAR(256)
Na me of col umn 2
ALIAS_NUMBER2
INTEGER
Al i as Number of ta bl e name 2
CONSTRAI NTS
NVARCHAR(256)
Joi n constrai nt na me
JOIN_TYPE
VARCHAR(5)
Joi n type: 'i nner', 'l eft', 'ri ght', 'ful l '
CARDINALITY
VARCHAR(3)
Joi n cardi nal i ty: '1:1', '1:n', 'n:1', 'n:n'
15
2012-12-19
SAP HANA System Tables and Monitoring Views Reference
CS_JOIN_CONSTRAINTS Short description Join constraints defined for column store join views
Structure Column name
Dat a t ype
SCHEMA_NAME
NVARCHAR(256)
Schema n ame
VIEW_NAME
NVARCHAR(256)
Joi n vi ew name
JOI N_CONSTR AI NT_NAME
NVARCH AR( 256)
Jo in co ns tra i nt na me
CONSTRAI NT_TYPE
VARCHAR(32)
Type of constrai nt owner
LOCATION
NVARCHAR(256)
Name of cons tra i nt owner
TABLE_SCHEMA_NAME
NVARCHAR(256)
Schema n ame of ta bl e
TABLE_NAME
NVARCHAR(256)
Ta bl e name of col umn
COLUMN_NAME
NVARCHAR(256)
Col umn name
OPERATOR
NVARCHAR(256)
Opera tor
VALUE
NVARCHAR(5000)
Va l ue
16
Unit
Descript ion
2012-12-19
SAP HANA System Tables and Monitoring Views Reference
CS_JOIN_PATHS Short description Join paths defined for column store join views
Structure C olum n n am e
Dat a t ype
SCHEMA_NAME
NVARCHAR(256)
Un it
D escr ip tion Schema na me
VIEW_NAME
NVARCHAR(256)
Joi n vi ew na me
JOI N_PATH_NAME
NVARCHAR(256)
Joi n pa th na me
J OI N_CON DI TI ON S
NV AR CH AR (5000)
Co mm a s e pa ra te d l i s t o f j oi n co nd i ti o ns
J OI N_CON ST RAI NTS
NV AR CH AR (5000)
Co mm a s ep a ra te d l i s t o f jo i n co ns tra i nt s
17
2012-12-19
SAP HANA System Tables and Monitoring Views Reference
CS_JOIN_TABLES Short description Physical tables referred by column store join views
Structure Colum n nam e
Dat a t ype
SCHEMA_NAME
NVARCHAR(256)
Schema na me
VIEW_NAME
NVARCHAR(256)
Joi n vi ew na me
T AB LE _S CH EMA _N AME
NV AR CH AR (256)
S ch em a n a me of ph ys i ca l ta b le na me
TABLE_NAME
NVARCHAR(256)
Phys i ca l ta bl e na me
TABLE_TYPE
VARCHAR(32)
Type of ta bl e: 'FACT_TABLE', 'D_TABLE', 'X_TABLE', 'Y_TABLE', 'TEMP_TABLE', 'S_TABLE', 'EXTERNAL_OBJECT', 'CONVERSION_TABLE', 'OLAP_TEXT_TABLE', 'AUTHORIZATION_TABLE', 'HIERARCHY'
18
Unit
De scr ipt ion
2012-12-19
SAP HANA System Tables and Monitoring Views Reference
CS_KEY_FIGURES Short description Key figures defined for column store join views
Structure Column name
Data type
SCHEMA_NAME
NVARCHAR(256)
Unit
Schema na me
Description
VIEW_NAME
NVARCHAR(256)
Joi n vi ew na me
KEY_FIGURE_NAME
NVARCHAR(256)
Key fi gure name
D EF AU LT _AG GR EG AT ION_T YPE
VA RCH AR (32)
A gg re ga ti o n typ e l i ke : 's u m' , 'co un t' , 'm in ', ...
DESCRIPTION
NVARCHAR(5000)
Des cri pti on
UNI T_CONVERSI ON_NAME
NVARCHAR(256)
Na me of un it co nve rs ion
TABLE_SCHEMA_NAME
NVARCHAR(256)
Schema na me of tabl e
TABLE_NAME
NVARCHAR(256)
Tabl e na me of col umn
COLUMN_NAME
NVARCHAR(256)
Col umn na me
EXPRESSI ON_FLAGS
VARCHAR(32)
Expres si on fl a gs
EXPRESSI ON
NVARCHAR(256)
Expres si on
19
2012-12-19
SAP HANA System Tables and Monitoring Views Reference
CS_VIEW_COLUMNS Short description Columns defined for column store join views
Structure Colum n nam e
Dat a t ype
SCHEMA_NAME
NVARCHAR(256)
Unit
De scr ipt ion Schema na me
VIEW_NAME
NVARCHAR(256)
Joi n vi ew na me
VI EW_COLU MN_NAME
NVAR CH AR (256)
Vi ew co lu mn n ame
TABLE_SCH EMA_NAME
NVAR CH AR (256)
S ch ema n ame o f ta bl e
TABLE_NAME
NVARCHAR(256)
Tabl e na me of col umn
ALIAS_NUMBER
INTEGER
Al i as number
COLUMN_NAME
NVARCHAR(256)
Col umn na me
JOIN_PATH
NVARCHAR(256)
Joi n pa th na me
CS_TYPE
VARCHAR(16)
Col umn s tore data type
EXPRESSI ON_FLAGS
VARCHAR(32)
Expres si on fl ags
EXPRESSI ON
NVARCHAR(256)
Expres si on
20
2012-12-19