Skip to content

Commit 7adfd3a

Browse files
authored
Update consumer.sql
Added pending_areas statements to the group_mapping_pri procedure
1 parent 936a0a0 commit 7adfd3a

File tree

1 file changed

+6
-0
lines changed
  • data-platform/core-converged-db/resource-manager/scripts

1 file changed

+6
-0
lines changed

data-platform/core-converged-db/resource-manager/scripts/consumer.sql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ END;
2828

2929
-- change priority of consumer groups if required
3030
begin
31+
dbms_resource_manager.clear_pending_area();
32+
dbms_resource_manager.create_pending_area();
33+
3134
dbms_resource_manager.set_consumer_group_mapping_pri(
3235
explicit => 1,
3336
service_module_action => 2,
@@ -40,6 +43,9 @@ begin
4043
client_os_user => 9,
4144
client_machine => 10,
4245
client_id => 11);
46+
47+
dbms_resource_manager.clear_pending_area();
48+
dbms_resource_manager.create_pending_area();
4349
end;
4450
/
4551

0 commit comments

Comments
 (0)