0
私たちの組織には4つのパーティションがあります。さまざまな保存期間を持つ一度に1つのパーティションを対象にしたいと考えています。次のpl/sqlブロックはあるパーティションでは動作しますが、他のパーティションでは動作しません。お知らせ下さい。soa.delete_instances_in_parallelがすべてのパーティションで動作していません
PL/SQLブロック:
DECLARE
max_creation_date timestamp;
min_creation_date timestamp;
batch_size integer;
max_runtime integer;
DOP integer;
max_count integer;
purge_partitioned_component boolean;
SOA_PARTITION_NAME VARCHAR2(200);
BEGIN
min_creation_date := to_timestamp('2015-01-01','YYYY-MM-DD');
max_creation_date := sysdate - 0;
max_runtime := 60;
batch_size := 10000;
DOP := 3;
max_count := 1000000;
SOA_PARTITION_NAME := 'default'; --define multiple partitions
DEV_SOAINFRA.soa.delete_instances_in_parallel (
min_creation_date => min_creation_date,
max_creation_date => max_creation_date,
batch_size => batch_size,
max_runtime => max_runtime,
DOP => DOP,
max_count => max_count,
SOA_PARTITION_NAME => SOA_PARTITION_NAME
);
END;
感謝。