Skip to content

Commit 1494c53

Browse files
Merge branch 'main' into rag-langchain-vllm-mistral
2 parents 244e1c8 + 877fc46 commit 1494c53

File tree

5 files changed

+16
-8
lines changed

5 files changed

+16
-8
lines changed

data-platform/analytical-data-platform-lakehouse/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ Reviewed: 18.01.2024
9393
- Blog describing the need for real time data integrations between different clouds and data stores, explaining multi cloud data architecture patterns deployed in OCI and other Cloud Service Providers.
9494
- [Cloud-native streaming and analysis pipeline](https://medium.com/@danielhalldin/cloud-native-streaming-and-analysis-pipeline-ee1895a97b1f)
9595
- Blog describing a pattern for a cloud native streaming data architecture using OCI services.
96+
- [Data Sharing for Data Lakehouse on OCI](https://medium.com/@danielhalldin/data-sharing-for-data-lakehouse-on-oci-72b49318cbcf)
97+
- Blog describing the different options to share data within and across a data lakehouse deployed in OCI.
9698

9799
## Podcasts
98100

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ BEGIN
2222
RETURN 0;
2323
END;
2424
/
25-
grant execute on burn_cpu to public;
25+
grant execute on redef_user.burn_cpu to public;
2626

2727
-- Use burns.sql to run the script
28-
-- SELECT burn_cpu (5) FROM dual;
28+
-- SELECT redef_burn.burn_cpu (5) FROM dual;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- Run the script to burn CPU
2-
-- First execute burn.sql
1+
-- Connect to REDEF_USER and run the script to burn CPU
2+
-- First execute burn.sql to create the function and the required user
33

44
SELECT redef_user.burn_cpu (5) FROM dual;

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

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ dbms_resource_manager.clear_pending_area();
88
dbms_resource_manager.create_pending_area();
99

1010
DBMS_RESOURCE_MANAGER.create_plan(plan => 'ORG_PLAN', comment=>'Limit CPU for redefinition');
11-
DBMS_RESOURCE_MANAGER.create_plan_directive(plan => 'ORG_PLAN', group_or_subplan => 'REDEF_GROUP', comment => 'For redefinition', cpu_p1 => 30, SWITCH_GROUP=>'LOWER_GROUP', SWITCH_TIME =>30, switch_for_call=>true);
12-
DBMS_RESOURCE_MANAGER.create_plan_directive(plan => 'ORG_PLAN', group_or_subplan => 'OTHER_GROUPS', comment => 'Default', cpu_p1=> 30);
13-
DBMS_RESOURCE_MANAGER.create_plan_directive(plan => 'ORG_PLAN', group_or_subplan => 'SYS_GROUP', comment => 'SYS', cpu_p1 => 30);
14-
DBMS_RESOURCE_MANAGER.create_plan_directive(plan => 'ORG_PLAN', group_or_subplan => 'LOWER_GROUP', comment => 'LOWER GROUP', cpu_p1 =>10, utilization_limit=>10);
11+
DBMS_RESOURCE_MANAGER.create_plan_directive(plan => 'ORG_PLAN', group_or_subplan => 'REDEF_GROUP', comment => 'For redefinition', mgmt_p1 => 30, SWITCH_GROUP=>'LOWER_GROUP', SWITCH_TIME =>30, switch_for_call=>true);
12+
DBMS_RESOURCE_MANAGER.create_plan_directive(plan => 'ORG_PLAN', group_or_subplan => 'OTHER_GROUPS', comment => 'Default', mgmt_p1=> 30);
13+
DBMS_RESOURCE_MANAGER.create_plan_directive(plan => 'ORG_PLAN', group_or_subplan => 'SYS_GROUP', comment => 'SYS', mgmt_p1 => 30);
14+
DBMS_RESOURCE_MANAGER.create_plan_directive(plan => 'ORG_PLAN', group_or_subplan => 'LOWER_GROUP', comment => 'LOWER GROUP', mgmt_p1 =>10, utilization_limit=>10);
1515

1616
DBMS_RESOURCE_MANAGER.VALIDATE_PENDING_AREA();
1717
DBMS_RESOURCE_MANAGER.SUBMIT_PENDING_AREA();

0 commit comments

Comments
 (0)