From 96f7239db673542b9c86f444793c9903b5cb55e3 Mon Sep 17 00:00:00 2001 From: Cedric Serfon Date: Wed, 8 Dec 2021 14:56:28 +0100 Subject: [PATCH 1/2] ATLAS : Fix RUCIO_ACCOUNTING_ALL_SCOPES procedure : Closes #5093 --- etc/sql/oracle/procedures.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/sql/oracle/procedures.sql b/etc/sql/oracle/procedures.sql index 15f437d429..6337aa5089 100644 --- a/etc/sql/oracle/procedures.sql +++ b/etc/sql/oracle/procedures.sql @@ -469,9 +469,9 @@ AS num_null_currtime NUMBER(10); BEGIN -ALTER SESSION SET workarea_size_policy=MANUAL; -ALTER SESSION SET sort_area_size=2100000000; -ALTER SESSION SET hash_area_size=2100000000; +EXECUTE IMMEDIATE 'ALTER SESSION SET workarea_size_policy=MANUAL;' +EXECUTE IMMEDIATE 'ALTER SESSION SET sort_area_size=2100000000;' +EXECUTE IMMEDIATE 'ALTER SESSION SET hash_area_size=2100000000;' -- 9th Nov 2021, version 1.7, include new rep_type column. rep_type defined as following : -- rep_type = 3 if no rule (similar to secondary). Cached data From 63d0595b57ec552cf572d80ed13ed0f2a11e236b Mon Sep 17 00:00:00 2001 From: Cedric Serfon Date: Wed, 8 Dec 2021 14:59:23 +0100 Subject: [PATCH 2/2] ATLAS : Fix RUCIO_ACCOUNTING_ALL_SCOPES procedure : Closes #5093 --- etc/sql/oracle/procedures.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/sql/oracle/procedures.sql b/etc/sql/oracle/procedures.sql index 6337aa5089..3b2e4a9804 100644 --- a/etc/sql/oracle/procedures.sql +++ b/etc/sql/oracle/procedures.sql @@ -469,9 +469,9 @@ AS num_null_currtime NUMBER(10); BEGIN -EXECUTE IMMEDIATE 'ALTER SESSION SET workarea_size_policy=MANUAL;' -EXECUTE IMMEDIATE 'ALTER SESSION SET sort_area_size=2100000000;' -EXECUTE IMMEDIATE 'ALTER SESSION SET hash_area_size=2100000000;' +EXECUTE IMMEDIATE 'ALTER SESSION SET workarea_size_policy=MANUAL'; +EXECUTE IMMEDIATE 'ALTER SESSION SET sort_area_size=2100000000'; +EXECUTE IMMEDIATE 'ALTER SESSION SET hash_area_size=2100000000'; -- 9th Nov 2021, version 1.7, include new rep_type column. rep_type defined as following : -- rep_type = 3 if no rule (similar to secondary). Cached data