Table of Contents

Hana - Parallel Query

Thread pools Configuration

Two thread pools control the parallelism of statement execution.

SQLExecutor:

JobExecutor:

Parameters

SQL Executor: indexserver.ini.

Parameters for JobExecutor

JobExecutor: global.ini or indexserver.ini.

Hana Max Concurrency

Hint

Parallelism Stopen HINT Details - MAX_CONCURRENCY Controls concurrency. This setting only accepts the value 1 (single thread plan execution) and the Join Engine determines suitable parallelism by default.

Examples:

SELECT * FROM T1 WITH HINT( MAX_CONCURRENCY(1) );

DOP

SPS11.

SAP auto-determines degree of parallelism statement execution with max parallelization.

Degree of Parallelism:

8 means max 8 threads can be engaged at any one time for any one statement.

Hana Default Statement Conc Limit

Execution Priority

Job Executor parameter that set the execution priority for a connection (ie for a statement)

alter user SYSTEM set parameter PRIORITY = '9';
select priority from m_connections where connection_id = CURRENT_CONNECTION;

Workload Class

workload class permits to limit also the parallelism.

Documentation / Reference