last updated: 2023-07-26 08:45 CET
( SELECT /* Modification section */
'%' HOST,
'%' PORT,
'%' SERVICE_NAME,
'%' SCHEMA_NAME,
'<insert_table_name>' TABLE_NAME,
'%' DATA_TYPE,
40 COLUMN_NAME_LENGTH_LIMIT,
'% ATTRIBUTE_TYPE, /* CONCAT_ATTRIBUTE, TREX_EXTERNAL_KEY, TREX_UDIV, ROWID, TEXT, UNKNOWN, % */
'%' COMPRESSION_TYPE,
'%' LOADED,
'%' PAGEABLE,
' ' ONLY_INTERNAL_COLUMNS,
' ' EXCLUDE_PK_AND_UNIQUE,
' ' GENERATE_DROP_CONCAT_ATT_COMMAND,
'TABLE' OBJECT_LEVEL, /* TABLE, PARTITION */
'NONE' AGGREGATE_BY, /* HOST, PORT, SERVICE, SCHEMA, TABLE, COLUMN, DATA_TYPE, ATT_TYPE, PAGEABLE, LOADED, COMPRESSION or combinations, NONE for no aggregation */
'SIZE' ORDER_BY, /* SIZE, TABLE */
( SELECT /* Modification section */
'1000/10/18 07:58:00' BEGIN_TIME, /* YYYY/MM/DD HH24:MI:SS timestamp, C, C-S<seconds>, C-M<minutes>, C-H<hours>, C-D<days>, C-W<weeks>, E-S<seconds>, E-M<minutes>, E-H<hours>, E-D<days>, E-W<weeks>, MIN */
'9999/10/18 08:05:00' END_TIME, /* YYYY/MM/DD HH24:MI:SS timestamp, C, C-S<seconds>, C-M<minutes>, C-H<hours>, C-D<days>, C-W<weeks>, B+S<seconds>, B+M<minutes>, B+H<hours>, B+D<days>, B+W<weeks>, MAX */
'<insert_hash>' STATEMENT_HASH,
-1 PLAN_ID,
20 MAX_RESULT_LINES,
86400 TRACE_HISTORY_S,
200 LINE_LENGTH,
' ' SHOW_COMPLETE_BIND_VALUE_LIST,
'H' TIME_UNIT /* MS, S, M, H, D */
******************
* THREAD SAMPLES *
******************
SAMPLES PERCENT HOST PORT THREAD_TYPE
======= ======= ======== ===== ==============================
5033 54.07 hostname 30040 SqlExecutor
4275 45.92 hostname 30040 JobWorker
SAMPLES PERCENT THREAD_STATE LOCK_NAME
======= ======= ================ ======================================================================
8209 88.19 Running ?
1093 11.74 Job Exec Waiting JobBarrier Wait for Jobs
3 0.03 Job Exec Waiting ?
2 0.02 Mutex Wait unnamed Mutex
1 0.01 Mutex Wait ?
SAMPLES PERCENT THREAD_TYPE THREAD_METHOD
======= ======= =========== ==================================================
5033 54.07 SqlExecutor ExecutePrepared
4043 43.43 JobWorker RleScanVecOutJob<range>
230 2.47 JobWorker <unknown method>
2 0.02 JobWorker BarrierEmptyJob
SAMPLES PERCENT THREAD_TYPE THREAD_METHOD THREAD_DETAIL
======= ======= =========== ======================= ================================================================================
5033 54.07 SqlExecutor ExecutePrepared SELECT COUNT(*) FROM "VBEP" WHERE "MANDT" = ? AND "VBELN" = ? AND "EDATU" = ?
4043 43.43 JobWorker RleScanVecOutJob<range> ?
230 2.47 JobWorker <unknown method> <unknown job>
2 0.02 JobWorker BarrierEmptyJob ParallelDispatcher
|M0890|Unusual frequent thread methods (last hour) | |IndirectScanBvOutJob<BV> (5.33 threads) |none |X| 2114710|
|M1125|Columns with many scanned records | |MSEG.BUDAT_MKPF (41067249/s) |none |X| 2000002|
|M1125|Columns with many scanned records | |MSEG.MANDT (16265794/s) |none |X| 2000002|
|M1125|Columns with many scanned records | |MSEG.MATNR (375450570/s) |none |X| 2000002|
|M1125|Columns with many scanned records | |MSEG.MJAHR (354290653/s) |none |X| 2000002|
|M1125|Columns with many scanned records | |MSEG.WERKS (28137626/s) |none |X| 2000002|
( SELECT /* Modification section */
'1000/10/18 07:58:00' BEGIN_TIME, /* YYYY/MM/DD HH24:MI:SS timestamp, C, C-S<seconds>, C-M<minutes>, C-H<hours>, C-D<days>, C-W<weeks>, E-S<seconds>, E-M<minutes>, E-H<hours>, E-D<days>, E-W<weeks>, MIN */
'9999/10/18 08:05:00' END_TIME, /* YYYY/MM/DD HH24:MI:SS timestamp, C, C-S<seconds>, C-M<minutes>, C-H<hours>, C-D<days>, C-W<weeks>, B+S<seconds>, B+M<minutes>, B+H<hours>, B+D<days>, B+W<weeks>, MAX */
'SERVER' TIMEZONE, /* SERVER, UTC */
'%' HOST,
'%' PORT,
-1 THREAD_ID,
'%' THREAD_TYPE, /* e.g. 'SqlExecutor', 'JobWorker' or 'MergedogMonitor' */
'%' THREAD_STATE, /* e.g. 'Running', 'Network Read' or 'Semaphore Wait' */
'RleScanVecOutJob%' THREAD_METHOD,
'%' THREAD_DETAIL,
'%' STATEMENT_HASH,
'%' ROOT_STATEMENT_HASH,
'%' STATEMENT_ID,
'%' STATEMENT_EXECUTION_ID,
'%' DB_USER,
'%' APP_NAME,
'%' APP_USER,
'%' APP_SOURCE,
'%' LOCK_TYPE,
'%' LOCK_NAME,
-1 NUMA_NODE,
'%' CLIENT_IP,
-1 CLIENT_PID,
-1 CONN_ID,
-1 MIN_SAMPLES_TOTAL,
60 TIME_SLICE_S,
'X' EXCLUDE_SERVICE_THREAD_SAMPLER,
'X' EXCLUDE_NEGATIVE_THREAD_IDS,
'X' EXCLUDE_PHANTOM_THREADS,
' ' EXCLUDE_EMPTY_STATEMENT_IDS,
' ' EXCLUDE_EMPTY_STATEMENT_EXECUTION_IDS,
'CURRENT' DATA_SOURCE,
'HASH' AGGREGATE_BY, /* SAMPLE_TIME, HOST, PORT, THREAD_ID, THREAD_TYPE, THREAD_METHOD, THREAD_DETAIL, THREAD_STATE, STATE_LOCK, HASH, ROOT, DB_USER, APP_NAME, APP_USER, APP_SOURCE, CLIENT_IP, CLIENT_PID, CONN_ID, LOCK_TYPE, LOCK_NAME, STATEMENT_ID, STAT_EXEC_ID, NUMA_NODE */
-1 RESULT_ROWS
( SELECT /* Modification section */
'426bdc1658f5f21d5bebf85ec4ab9c2c' STATEMENT_HASH,
60 LINE_LENGTH_TARGET,
' ' ADD_BLANK_AFTER_COMMA,
' ' REPLACE_BINDS,
'EXPENSIVE_STATEMENTS' BIND_VALUES
426bdc1658f5f21d5bebf85ec4ab9c2c
SELECT COUNT(*) FROM "VBEP" WHERE "MANDT" = ? AND "VBELN" =
? AND "EDATU" = ?
Hint: Be ware that HANA can't evaluate ranges in multi column indexes, you can manually create an additional single column index on the parallelization column. |
******************
* THREAD SAMPLES *
******************
SAMPLES PERCENT HOST PORT THREAD_TYPE
======= ======= ============================= ===== ==============================
2144 68.30 hostname 30040 JobWorker
995 31.69 hostname 30040 SqlExecutor
SAMPLES PERCENT THREAD_STATE LOCK_NAME
======= ======= =================================== ======================================================================
2618 83.40 Running ?
518 16.50 Job Exec Waiting JobBarrier Wait for Jobs
3 0.09 Job Exec Waiting ?
SAMPLES PERCENT THREAD_TYPE THREAD_METHOD
======= ======= ==================== ==================================================
1988 63.33 JobWorker SparseIndexScanVecOutJob
995 31.69 SqlExecutor ExecQidItab
86 2.73 JobWorker IndirectIndexScanVecOutJob
65 2.07 JobWorker RleScanVecOutJob
5 0.15 JobWorker
SAMPLES PERCENT THREAD_TYPE THREAD_METHOD THREAD_DETAIL
======= ======= ==================== ================================================== ================================================================================
1988 63.33 JobWorker SparseIndexScanVecOutJob ?
995 31.69 SqlExecutor ExecQidItab ?
86 2.73 JobWorker IndirectIndexScanVecOutJob ?
65 2.07 JobWorker RleScanVecOutJob ?
5 0.15 JobWorker
63% SparseIndexScanVecOutJob 32% ExecQidItab 3% IndirectIndexScanVecOutJob |
Executions 15100
Records 474 0,03
Preparations 2 0
STAT_NAME VALUE VALUE_PER_EXEC VALUE_PER_ROW
Elapsed time 0,34 h 82,8 ms 2637,73 ms
Execution time 0,34 h 82,77 ms 2636,92 ms
Preparation time 0 h 0,02 ms 0,81 ms
Lock wait time 0 h 0 ms 0 ms
******************
* THREAD SAMPLES *
******************
SAMPLES PERCENT HOST PORT THREAD_TYPE
======= ======= ============================= ===== ==============================
13 100.00 hostname 30040 SqlExecutor
SAMPLES PERCENT THREAD_STATE LOCK_NAME
======= ======= =================================== ======================================================================
13 100.00 Running ?
SAMPLES PERCENT THREAD_TYPE THREAD_METHOD
======= ======= ==================== ==================================================
13 100.00 SqlExecutor ExecQidItab
SAMPLES PERCENT THREAD_TYPE THREAD_METHOD THREAD_DETAIL
======= ======= ==================== ================================================== ================================================================================
13 100.00 SqlExecutor ExecQidItab ?
indexserver.ini -> [joins] -> single_thread_execution_for_partitioned_tables to 'false'.
indexserver.ini -> [global] -> create_index_optimize_bulksize
indexserver.ini -> [ddl] -> max_number_of_data_jobs
indexserver.ini -> [ddl] -> merging_unique_check_threshold
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 | |
2 |