Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
Gisung
Product and Topic Expert
Product and Topic Expert
0 Kudos
578

1. Problem

Unable to increase the value of IQGOVERN_PROIRITY option for an individual user.

>> set option gjang.iqgovern_priority=1

[Error]

Could not execute statement.

Invalid setting for option 'IQgovern_priority'

SQLCODE=-201, ODBC 3 State="42000"

Line 1, column 36

The following options are related to setting the query priority.

  • IQGOVERN_PRIORITY ? Assigns a numeric priority (1, 2, or 3, with 1 being the highest) to queries waiting in the processing queue.
  • IQGOVERN_MAX_PRIORITY ? Allows the DBA to set an upper boundary on IQGOVERN_PRIORITY for a user or a group.
  • IQ_GOVERN_PRIORITY_TIME ? Allows high priority users to start if a high priority (priority 1) query has been waiting in the -iqgovern queue for more than a designated amount of time.

2. Cause

IQGOVERN_MAX_PRIORITY limits the allowed IQGOVERN_PRIORITY setting, which affects the order in which a user’s queries are queued for execution.

3. Solutions

IQGOVERN_PRIORITY could be configured for the user after setting IQgovern_max_priority as public.

  • set option public.IQGOVERN_MAX_PRIORITY=1;
  • set option gjang.IQGOVERN_PRIORITY=1;


===

Gi-Sung Jang