SET-PRIORITY
Changes the priority of the local reality user process so as to increase or decrease its response time. In particular, it allows the priority of background processes to be lowered.
Caution
Improper use of SET-PRIORITY may degrade system response time.
Syntax
SET-PRIORITY {priorityLevel}
Syntax Element
priorityLevel Specifies the required priority level, as follows:
0 Low
1 Default
2 High
If priorityLevel is omitted, the current priority number is displayed, but not changed.
Restrictions
SET-PRIORITY can only be used to modify the priority of the current reality process. It cannot be used to modify another process.
Only a user with SYS2 privileges on the database can increase the priority of a process to 2 (high). However, an ordinary user can reduce the priority of their own process and restore it to its original level.
Comments
The effect of SET-PRIORITY can be adjusted by setting the REALPRIORITYINC
. This controls how much the priority of the process is changed.- On UNIX the range is 1 to 20 where 1 has least effect and 20 has most effect. The default is 10.
- On Windows the range is 1 to 6 where 1 has least effect and 6 has most effect. The default is 2.