You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -2300,7 +2300,8 @@ COMMENT ON TABLE "ATLAS_PANDA"."JOB_STATS_HP" IS 'highest priority job statisti
2300
2300
"NUM_OF_JOBS" NUMBER,
2301
2301
"NUM_OF_CORES" NUMBER,
2302
2302
"VO" VARCHAR2(16 BYTE),
2303
-
"WORKQUEUE_ID" NUMBER(5,0)
2303
+
"WORKQUEUE_ID" NUMBER(5,0),
2304
+
"RESOURCE_TYPE" VARCHAR2(56 BYTE)
2304
2305
) ;
2305
2306
2306
2307
COMMENT ON COLUMN "ATLAS_PANDA"."MV_JOBSACTIVE4_STATS"."CUR_DATE" IS 'The timestamp of the Materialized view refresh ';
@@ -2315,6 +2316,9 @@ COMMENT ON TABLE "ATLAS_PANDA"."JOB_STATS_HP" IS 'highest priority job statisti
2315
2316
COMMENT ON COLUMN "ATLAS_PANDA"."MV_JOBSACTIVE4_STATS"."CURRENTPRIORITY" IS 'actual priority value which is usually the same as assignedPriority, can be modified by Panda server';
2316
2317
COMMENT ON COLUMN "ATLAS_PANDA"."MV_JOBSACTIVE4_STATS"."NUM_OF_JOBS" IS 'Number of jobs computed by grouping all set of attributes(columns) listed in that column, ';
2317
2318
COMMENT ON COLUMN "ATLAS_PANDA"."MV_JOBSACTIVE4_STATS"."NUM_OF_CORES" IS 'Number of cores computed by grouping all set of attributes(columns) listed in that column, ';
2319
+
COMMENT ON COLUMN "ATLAS_PANDA"."MV_JOBSACTIVE4_STATS"."VO" IS 'Virtual organization ';
2320
+
COMMENT ON COLUMN "ATLAS_PANDA"."MV_JOBSACTIVE4_STATS"."WORKQUEUE_ID" IS 'Work queue identifier';
2321
+
COMMENT ON COLUMN "ATLAS_PANDA"."MV_JOBSACTIVE4_STATS"."RESOURCE_TYPE" IS 'Resource type (SCORE, MCORE...)';
2318
2322
COMMENT ON TABLE "ATLAS_PANDA"."MV_JOBSACTIVE4_STATS" IS 'Table (was from Materialized view before, but was not reliable) which collects aggregated data on set of attributes(columns). The data is read from the JOBSACTIVE4 table by an Oracle scheduler job. The refresh interval is 2 min';
2319
2323
2320
2324
@@ -5734,6 +5738,7 @@ set define off;
5734
5738
AS
5735
5739
BEGIN
5736
5740
5741
+
-- 2026 02 23, ver 1.4 , added RESOURCE_TYPE column
5737
5742
-- ver 1.3 , last modified on 2nd September 2024
5738
5743
-- added NUM_OF_CORES columns
5739
5744
-- ver 1.2 , last modified on 2th July 2013
@@ -5760,7 +5765,8 @@ INSERT INTO mv_jobsactive4_stats
5760
5765
VO,
5761
5766
WORKQUEUE_ID,
5762
5767
NUM_OF_JOBS,
5763
-
NUM_OF_CORES
5768
+
NUM_OF_CORES,
5769
+
RESOURCE_TYPE
5764
5770
)
5765
5771
SELECT
5766
5772
sysdate,
@@ -5776,7 +5782,8 @@ INSERT INTO mv_jobsactive4_stats
5776
5782
VO,
5777
5783
WORKQUEUE_ID,
5778
5784
COUNT(*) AS num_of_jobs,
5779
-
SUM(COALESCE(actualcorecount, corecount)) AS num_of_cores
5785
+
SUM(COALESCE(actualcorecount, corecount)) AS num_of_cores,
5786
+
RESOURCE_TYPE
5780
5787
FROM jobsActive4
5781
5788
GROUP BY
5782
5789
sysdate,
@@ -5790,7 +5797,8 @@ INSERT INTO mv_jobsactive4_stats
COMMENT ON TABLE mv_jobsactive4_stats IS E'Table (was from Materialized view before, but was not reliable) which collects aggregated data on set of attributes(columns). The data is read from the JOBSACTIVE4 table by an Oracle scheduler job. The refresh interval is 2 min';
2380
2381
COMMENT ON COLUMN mv_jobsactive4_stats.cloud IS E'cloud (associated with Tier 1) where the job is submitted to';
@@ -2389,6 +2390,9 @@ COMMENT ON COLUMN mv_jobsactive4_stats.prodsourcelabel IS E'activity name of the
2389
2390
COMMENT ON COLUMN mv_jobsactive4_stats.relocationflag IS E'flag for submitting jobs to a single site. I.e. the brokerage is bypassed';
2390
2391
COMMENT ON COLUMN mv_jobsactive4_stats.workinggroup IS E'working group name';
2391
2392
COMMENT ON COLUMN mv_jobsactive4_stats.num_of_cores IS E'Number of cores computed by grouping all set of attributes(columns) listed in that column';
2393
+
COMMENT ON COLUMN mv_jobsactive4_stats.vo IS E'Virtual organization ';
2394
+
COMMENT ON COLUMN mv_jobsactive4_stats.workqueue_id IS E'Work queue identifier';
2395
+
COMMENT ON COLUMN mv_jobsactive4_stats.resource_type IS E'Resource type (SCORE, MCORE...)';
2392
2396
ALTERTABLE mv_jobsactive4_stats OWNER TO panda;
2393
2397
ALTERTABLE mv_jobsactive4_stats ALTER COLUMN JOBSTATUS SETNOT NULL;
0 commit comments